POST api/Reports/GetDataForAsciiReport_Defense_Ministry

Request Information

URI Parameters

None.

Body Parameters

AsciiReportCriteria
NameDescriptionTypeAdditional information
Insurer_code

integer

None.

District_code

integer

None.

OpersList

Collection of integer

None.

BusinessBranches

Collection of integer

None.

GroupCode

integer

None.

PriceGroup

integer

None.

Invoice_row_type

string

None.

DepCode

integer

None.

InsurBranch

integer

None.

WithoutOblignum

boolean

None.

ShowPrice

boolean

None.

ByInvoice_row_num

integer

None.

Insur_Format_type

string

None.

file_name

string

None.

Groups

boolean

None.

WithZero

boolean

None.

WithVat

boolean

None.

CreditStandardMode

integer

None.

Single_file_name

string

None.

Supplier_code

string

None.

Supplier_name

string

None.

Supplier_type

string

None.

Supplier_symbol

string

None.

Credit_invoice

integer

None.

Credit_Sum

decimal number

None.

action_type

integer

None.

isOpersSum

boolean

None.

isSingleInvoice

boolean

None.

isReasonVisit

boolean

None.

Invoice_Num

string

None.

Invoice_Date

date

None.

getClinicFrom

character

None.

healthMinistry_branch_code

string

None.

kod_mahon

string

None.

clinic_code

integer

None.

wideFormat

boolean

None.

isMedintech

boolean

None.

CollectFactor

integer

None.

budgetType

string

None.

hospitalCode

string

None.

instituteCode

string

None.

withDateSign

boolean

None.

FromDateSign

date

None.

ToDateSign

date

None.

FromDate

date

None.

ToDate

date

None.

FromTime

string

None.

FromTimeT

time interval

None.

ToTime

string

None.

ToTimeT

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "Insurer_code": 1,
  "District_code": 2,
  "OpersList": [
    1,
    1
  ],
  "BusinessBranches": [
    1,
    1
  ],
  "GroupCode": 3,
  "PriceGroup": 4,
  "Invoice_row_type": "sample string 5",
  "DepCode": 6,
  "InsurBranch": 7,
  "WithoutOblignum": true,
  "ShowPrice": true,
  "ByInvoice_row_num": 1,
  "Insur_Format_type": "sample string 10",
  "file_name": "sample string 11",
  "Groups": true,
  "WithZero": true,
  "WithVat": true,
  "CreditStandardMode": 15,
  "Single_file_name": "sample string 16",
  "Supplier_code": "sample string 17",
  "Supplier_name": "sample string 18",
  "Supplier_type": "sample string 19",
  "Supplier_symbol": "sample string 20",
  "Credit_invoice": 21,
  "Credit_Sum": 22.0,
  "action_type": 23,
  "isOpersSum": true,
  "isSingleInvoice": true,
  "isReasonVisit": true,
  "Invoice_Num": "sample string 27",
  "Invoice_Date": "2024-10-13T12:53:27.6302015+03:00",
  "getClinicFrom": "A",
  "healthMinistry_branch_code": "sample string 30",
  "kod_mahon": "sample string 31",
  "clinic_code": 32,
  "wideFormat": true,
  "isMedintech": true,
  "CollectFactor": 35,
  "budgetType": "sample string 36",
  "hospitalCode": "sample string 37",
  "instituteCode": "sample string 38",
  "withDateSign": true,
  "FromDateSign": "2024-10-13T00:00:00+03:00",
  "ToDateSign": "2024-10-13T00:00:00+03:00",
  "FromDate": "2024-10-13T00:00:00+03:00",
  "ToDate": "2024-10-13T00:00:00+03:00",
  "FromTime": "sample string 44",
  "FromTimeT": "00:00:00",
  "ToTime": "sample string 45",
  "ToTimeT": "00:00:00"
}

application/xml, text/xml

Sample:
<AsciiReportCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <FromDate>2024-10-13T00:00:00+03:00</FromDate>
  <FromTime>sample string 44</FromTime>
  <ToDate>2024-10-13T00:00:00+03:00</ToDate>
  <ToTime>sample string 45</ToTime>
  <BusinessBranches xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </BusinessBranches>
  <ByInvoice_row_num>1</ByInvoice_row_num>
  <CollectFactor>35</CollectFactor>
  <CreditStandardMode>15</CreditStandardMode>
  <Credit_Sum>22</Credit_Sum>
  <Credit_invoice>21</Credit_invoice>
  <DepCode>6</DepCode>
  <District_code>2</District_code>
  <FromDateSign>2024-10-13T00:00:00+03:00</FromDateSign>
  <GroupCode>3</GroupCode>
  <Groups>true</Groups>
  <InsurBranch>7</InsurBranch>
  <Insur_Format_type>sample string 10</Insur_Format_type>
  <Insurer_code>1</Insurer_code>
  <Invoice_Date>2024-10-13T12:53:27.6302015+03:00</Invoice_Date>
  <Invoice_Num>sample string 27</Invoice_Num>
  <Invoice_row_type>sample string 5</Invoice_row_type>
  <OpersList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </OpersList>
  <PriceGroup>4</PriceGroup>
  <ShowPrice>true</ShowPrice>
  <Single_file_name>sample string 16</Single_file_name>
  <Supplier_code>sample string 17</Supplier_code>
  <Supplier_name>sample string 18</Supplier_name>
  <Supplier_symbol>sample string 20</Supplier_symbol>
  <Supplier_type>sample string 19</Supplier_type>
  <ToDateSign>2024-10-13T00:00:00+03:00</ToDateSign>
  <WithVat>true</WithVat>
  <WithZero>true</WithZero>
  <WithoutOblignum>true</WithoutOblignum>
  <action_type>23</action_type>
  <budgetType>sample string 36</budgetType>
  <clinic_code>32</clinic_code>
  <file_name>sample string 11</file_name>
  <getClinicFrom>65</getClinicFrom>
  <healthMinistry_branch_code>sample string 30</healthMinistry_branch_code>
  <hospitalCode>sample string 37</hospitalCode>
  <instituteCode>sample string 38</instituteCode>
  <isMedintech>true</isMedintech>
  <isOpersSum>true</isOpersSum>
  <isReasonVisit>true</isReasonVisit>
  <isSingleInvoice>true</isSingleInvoice>
  <kod_mahon>sample string 31</kod_mahon>
  <wideFormat>true</wideFormat>
  <withDateSign>true</withDateSign>
</AsciiReportCriteria>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AsciiReportCriteria'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.