POST api/Reports/GetPrintAnswerStatisReport

Request Information

URI Parameters

None.

Body Parameters

pcritForSummonses
NameDescriptionTypeAdditional information
from_date

date

None.

to_date

date

None.

BusinessBranches

Collection of string

None.

BusinessBranchesGroups

Collection of integer

None.

group_code

integer

None.

clerc2_code

integer

None.

DepCode

integer

None.

OrganizUnits

Collection of integer

None.

DepOrGroup

string

None.

summary

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "from_date": "2024-05-02T17:50:50.1568263+03:00",
  "to_date": "2024-05-02T17:50:50.1568263+03:00",
  "BusinessBranches": [
    "sample string 1",
    "sample string 2"
  ],
  "BusinessBranchesGroups": [
    1,
    1
  ],
  "group_code": 1,
  "clerc2_code": 2,
  "DepCode": 3,
  "OrganizUnits": [
    1,
    1
  ],
  "DepOrGroup": "sample string 4",
  "summary": true
}

application/xml, text/xml

Sample:
<pcritForSummonses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <BusinessBranches xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BusinessBranches>
  <BusinessBranchesGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </BusinessBranchesGroups>
  <DepCode>3</DepCode>
  <DepOrGroup>sample string 4</DepOrGroup>
  <OrganizUnits xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </OrganizUnits>
  <clerc2_code>2</clerc2_code>
  <from_date>2024-05-02T17:50:50.1568263+03:00</from_date>
  <group_code>1</group_code>
  <summary>true</summary>
  <to_date>2024-05-02T17:50:50.1568263+03:00</to_date>
</pcritForSummonses>

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

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.