POST api/PriceListsController/SimpleStaffPaymentReportForStaffForms

Request Information

URI Parameters

None.

Body Parameters

pCritReport
NameDescriptionTypeAdditional information
OccupationCode

integer

None.

Branches

Collection of integer

None.

InsureCode

integer

None.

Opers

Collection of integer

None.

DistrictCode

integer

None.

GroupCode

integer

None.

FromDate

date

None.

ToDate

date

None.

EmpCode

integer

None.

onlyWithCert

boolean

None.

paymentForVisit

boolean

None.

service_code

integer

None.

pay_status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OccupationCode": 1,
  "Branches": [
    1,
    1
  ],
  "InsureCode": 2,
  "Opers": [
    1,
    2
  ],
  "DistrictCode": 3,
  "GroupCode": 4,
  "FromDate": "2024-04-24T09:03:27.5883999+03:00",
  "ToDate": "2024-04-24T09:03:27.5883999+03:00",
  "EmpCode": 7,
  "onlyWithCert": true,
  "paymentForVisit": true,
  "service_code": 8,
  "pay_status": 9
}

application/xml, text/xml

Sample:
<pCritReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <Branches xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </Branches>
  <DistrictCode>3</DistrictCode>
  <EmpCode>7</EmpCode>
  <FromDate>2024-04-24T09:03:27.5883999+03:00</FromDate>
  <GroupCode>4</GroupCode>
  <InsureCode>2</InsureCode>
  <OccupationCode>1</OccupationCode>
  <Opers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Opers>
  <ToDate>2024-04-24T09:03:27.5883999+03:00</ToDate>
  <onlyWithCert>true</onlyWithCert>
  <pay_status>9</pay_status>
  <paymentForVisit>true</paymentForVisit>
  <service_code>8</service_code>
</pCritReport>

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

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.