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": "e86ea329-d6c9-43f9-ab9f-25cdb97ddd67",
"TypeBit": 2,
"Latitude": "sample string 3",
"Longitude": "sample string 4",
"LabId": "e5e1d4c2-55ab-4523-bb4a-c8c32806deee",
"BranchId": "3e714160-2c7c-4a6b-bc11-986f9e3f9c2a",
"SubServiceId": "5471b0a5-c7aa-43a4-8473-5c91040e8e03",
"DiagnosticId": "7ea06522-a8df-4b7c-bdde-976a421a0bf2",
"DiagnosticName": "sample string 5",
"PatientId": "e09af446-2ca8-4061-adbb-bc01d67b28e0",
"LabTests": [
"b1521686-45ba-4392-80aa-81b8cd7e91c4",
"2a5748be-d623-4d9e-8a98-10cc80102dd1"
],
"LabTestNames": [
"sample string 1",
"sample string 2"
],
"IsOnlyIncludeCovidTests": 1,
"IsOnlyExcludeCovidTests": 1,
"IsForSampleCollectionCharges": true,
"IsForAdditionalCharges": true,
"IsForUrgentCharges": true,
"IsAdditionalChargesForPassenger": true,
"IsForAdditionalChargesForCovid": true,
"IsForCovid": 1,
"SubDepartmentId": "93919ae8-c7b0-496d-b014-7414f983e76a",
"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>3e714160-2c7c-4a6b-bc11-986f9e3f9c2a</BranchId>
<DiagnosticId>7ea06522-a8df-4b7c-bdde-976a421a0bf2</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>e5e1d4c2-55ab-4523-bb4a-c8c32806deee</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>b1521686-45ba-4392-80aa-81b8cd7e91c4</d2p1:guid>
<d2p1:guid>2a5748be-d623-4d9e-8a98-10cc80102dd1</d2p1:guid>
</LabTests>
<Latitude>sample string 3</Latitude>
<Longitude>sample string 4</Longitude>
<PatientId>e09af446-2ca8-4061-adbb-bc01d67b28e0</PatientId>
<SubDepartmentId>93919ae8-c7b0-496d-b014-7414f983e76a</SubDepartmentId>
<SubServiceId>5471b0a5-c7aa-43a4-8473-5c91040e8e03</SubServiceId>
<Token>e86ea329-d6c9-43f9-ab9f-25cdb97ddd67</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.