POST api/Reports/GetServiceReport
Request Information
URI Parameters
None.
Body Parameters
CritForServiceReportsName | Description | Type | Additional 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:51:52.9438447+02:00", "toDate": "2024-11-21T11:51:52.9438447+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:51:52.9438447+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:51:52.9438447+02:00</toDate> </CritForServiceReports>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
Collection of StatusWithDataName | Description | Type | Additional information |
---|---|---|---|
data | Object |
None. |
|
statuses | Dictionary of string [key] and string [value] |
None. |
|
line_code | integer |
None. |
|
sla_time | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "data": {}, "statuses": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "line_code": 2, "sla_time": 1.1 }, { "data": {}, "statuses": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "line_code": 2, "sla_time": 1.1 } ]
application/xml, text/xml
Sample:
<ArrayOfStatusWithData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports"> <StatusWithData> <data /> <line_code>2</line_code> <sla_time>1.1</sla_time> <statuses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </statuses> </StatusWithData> <StatusWithData> <data /> <line_code>2</line_code> <sla_time>1.1</sla_time> <statuses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfstringstring> <d3p1:KeyValueOfstringstring> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfstringstring> </statuses> </StatusWithData> </ArrayOfStatusWithData>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.