POST api/Reports/GetTasksReport

Request Information

URI Parameters

None.

Body Parameters

CritForServiceReports
NameDescriptionTypeAdditional information
statusForData

Collection of integer

None.

statuses

Collection of integer

None.

departments

Collection of integer

None.

insur_departments

Collection of integer

None.

insurers

Collection of integer

None.

refer_insurers

Collection of integer

None.

referents

Collection of integer

None.

inspectors

Collection of integer

None.

employees

Collection of integer

None.

serviec_types

Collection of integer

None.

fromDate

date

None.

toDate

date

None.

state

integer

None.

report_type

string

None.

by_lines

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "statusForData": [
    1,
    2
  ],
  "statuses": [
    1,
    2
  ],
  "departments": [
    1,
    2
  ],
  "insur_departments": [
    1,
    2
  ],
  "insurers": [
    1,
    2
  ],
  "refer_insurers": [
    1,
    2
  ],
  "referents": [
    1,
    2
  ],
  "inspectors": [
    1,
    1
  ],
  "employees": [
    1,
    1
  ],
  "serviec_types": [
    1,
    2
  ],
  "fromDate": "2024-11-21T11:54:56.0387245+02:00",
  "toDate": "2024-11-21T11:54:56.0387245+02:00",
  "state": 3,
  "report_type": "sample string 4",
  "by_lines": true
}

application/xml, text/xml

Sample:
<CritForServiceReports xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <by_lines>true</by_lines>
  <departments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </departments>
  <employees xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </employees>
  <fromDate>2024-11-21T11:54:56.0387245+02:00</fromDate>
  <inspectors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </inspectors>
  <insur_departments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </insur_departments>
  <insurers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </insurers>
  <refer_insurers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </refer_insurers>
  <referents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </referents>
  <report_type>sample string 4</report_type>
  <serviec_types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </serviec_types>
  <state>3</state>
  <statusForData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </statusForData>
  <statuses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </statuses>
  <toDate>2024-11-21T11:54:56.0387245+02:00</toDate>
</CritForServiceReports>

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

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.