POST api/Reports/OperInProcess

Request Information

URI Parameters

None.

Body Parameters

OperInProcessCriteria
NameDescriptionTypeAdditional information
OperCode

Collection of integer

None.

DiaryNum

integer

None.

CustId

string

None.

Passport

string

None.

fSurgCode

integer

None.

SurgCode

integer

None.

DecodType

integer

None.

Mark

Collection of string

None.

GroupCodes

Collection of integer

None.

AnStatuses

Collection of integer

None.

BBranches

Collection of integer

None.

StatusForm

integer

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:
{
  "OperCode": [
    1,
    2
  ],
  "DiaryNum": 1,
  "CustId": "sample string 2",
  "Passport": "sample string 3",
  "fSurgCode": 4,
  "SurgCode": 5,
  "DecodType": 6,
  "Mark": [
    "sample string 1",
    "sample string 2"
  ],
  "GroupCodes": [
    1,
    2
  ],
  "AnStatuses": [
    1,
    2
  ],
  "BBranches": [
    1,
    2
  ],
  "StatusForm": 7,
  "FromDate": "2024-12-03T00:00:00+02:00",
  "ToDate": "2024-12-03T00:00:00+02:00",
  "FromTime": "sample string 10",
  "FromTimeT": "00:00:00",
  "ToTime": "sample string 11",
  "ToTimeT": "00:00:00"
}

application/xml, text/xml

Sample:
<OperInProcessCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <FromDate>2024-12-03T00:00:00+02:00</FromDate>
  <FromTime>sample string 10</FromTime>
  <ToDate>2024-12-03T00:00:00+02:00</ToDate>
  <ToTime>sample string 11</ToTime>
  <AnStatuses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AnStatuses>
  <BBranches xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BBranches>
  <CustId>sample string 2</CustId>
  <DecodType>6</DecodType>
  <DiaryNum>1</DiaryNum>
  <GroupCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </GroupCodes>
  <Mark xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Mark>
  <OperCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </OperCode>
  <Passport>sample string 3</Passport>
  <StatusForm>7</StatusForm>
  <SurgCode>5</SurgCode>
  <fSurgCode>4</fSurgCode>
</OperInProcessCriteria>

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 'OperInProcessCriteria'.

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.