POST api/labs/GetLabTests
Request Information
URI Parameters
None.
Body Parameters
DTOLabArg| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | globally unique identifier |
None. |
|
| TypeBit | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| LabId | globally unique identifier |
None. |
|
| BranchId | globally unique identifier |
None. |
|
| SubServiceId | globally unique identifier |
None. |
|
| DiagnosticId | globally unique identifier |
None. |
|
| DiagnosticName | string |
None. |
|
| PatientId | globally unique identifier |
None. |
|
| LabTests | Collection of globally unique identifier |
None. |
|
| LabTestNames | Collection of string |
None. |
|
| IsOnlyIncludeCovidTests | integer |
None. |
|
| IsOnlyExcludeCovidTests | integer |
None. |
|
| IsForSampleCollectionCharges | boolean |
None. |
|
| IsForAdditionalCharges | boolean |
None. |
|
| IsForUrgentCharges | boolean |
None. |
|
| IsAdditionalChargesForPassenger | boolean |
None. |
|
| IsForAdditionalChargesForCovid | boolean |
None. |
|
| IsForCovid | integer |
None. |
|
| SubDepartmentId | globally unique identifier |
None. |
|
| IsGetAllSubServices | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": "be5adab3-ac3d-4c84-a3fa-a3e987698738",
"TypeBit": 2,
"Latitude": "sample string 3",
"Longitude": "sample string 4",
"LabId": "6e61fa61-0ad3-4a0c-be69-1e56228fad3d",
"BranchId": "022844e1-8992-467c-ad77-8b94ce2eceaf",
"SubServiceId": "05343142-8d7d-488f-b180-34c20c60c19b",
"DiagnosticId": "710e6598-e0c7-43d2-8d7d-71a85f712540",
"DiagnosticName": "sample string 5",
"PatientId": "4c6fe69d-c860-4de2-9cc9-bf4c8e2e9483",
"LabTests": [
"515a7d1f-1715-4705-95b2-9b29c18e5a69",
"82f2a2ef-9b0c-47ae-8e18-3505cc5b0390"
],
"LabTestNames": [
"sample string 1",
"sample string 2"
],
"IsOnlyIncludeCovidTests": 1,
"IsOnlyExcludeCovidTests": 1,
"IsForSampleCollectionCharges": true,
"IsForAdditionalCharges": true,
"IsForUrgentCharges": true,
"IsAdditionalChargesForPassenger": true,
"IsForAdditionalChargesForCovid": true,
"IsForCovid": 1,
"SubDepartmentId": "99e1a659-8674-42f8-ae8e-8dcfe29a72f4",
"IsGetAllSubServices": true
}
application/xml, text/xml
Sample:
<DTOLabArg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.Models">
<BranchId>022844e1-8992-467c-ad77-8b94ce2eceaf</BranchId>
<DiagnosticId>710e6598-e0c7-43d2-8d7d-71a85f712540</DiagnosticId>
<DiagnosticName>sample string 5</DiagnosticName>
<IsAdditionalChargesForPassenger>true</IsAdditionalChargesForPassenger>
<IsForAdditionalCharges>true</IsForAdditionalCharges>
<IsForAdditionalChargesForCovid>true</IsForAdditionalChargesForCovid>
<IsForCovid>1</IsForCovid>
<IsForSampleCollectionCharges>true</IsForSampleCollectionCharges>
<IsForUrgentCharges>true</IsForUrgentCharges>
<IsGetAllSubServices>true</IsGetAllSubServices>
<IsOnlyExcludeCovidTests>1</IsOnlyExcludeCovidTests>
<IsOnlyIncludeCovidTests>1</IsOnlyIncludeCovidTests>
<LabId>6e61fa61-0ad3-4a0c-be69-1e56228fad3d</LabId>
<LabTestNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</LabTestNames>
<LabTests xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>515a7d1f-1715-4705-95b2-9b29c18e5a69</d2p1:guid>
<d2p1:guid>82f2a2ef-9b0c-47ae-8e18-3505cc5b0390</d2p1:guid>
</LabTests>
<Latitude>sample string 3</Latitude>
<Longitude>sample string 4</Longitude>
<PatientId>4c6fe69d-c860-4de2-9cc9-bf4c8e2e9483</PatientId>
<SubDepartmentId>99e1a659-8674-42f8-ae8e-8dcfe29a72f4</SubDepartmentId>
<SubServiceId>05343142-8d7d-488f-b180-34c20c60c19b</SubServiceId>
<Token>be5adab3-ac3d-4c84-a3fa-a3e987698738</Token>
<TypeBit>2</TypeBit>
</DTOLabArg>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.