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": "4e92661e-df57-44d3-af61-818e64faae90",
"TypeBit": 2,
"Latitude": "sample string 3",
"Longitude": "sample string 4",
"LabId": "7db96c52-f9de-4b6b-b1b9-d5e277ea322f",
"BranchId": "f0d82a72-aa0d-49ae-a32c-bddc0c9a7f05",
"SubServiceId": "fa7fb225-4ffd-42c9-beb0-c68d112c265a",
"DiagnosticId": "69108bc9-a713-476a-bbe4-21933ca5660d",
"DiagnosticName": "sample string 5",
"PatientId": "3ba305c9-1ad4-4958-8da7-09cb7fabd634",
"LabTests": [
"e02f0acb-f57f-4b0a-b39c-bd47a72e4be5",
"7572635f-8a06-484e-b2f3-d6cc0ac24198"
],
"LabTestNames": [
"sample string 1",
"sample string 2"
],
"IsOnlyIncludeCovidTests": 1,
"IsOnlyExcludeCovidTests": 1,
"IsForSampleCollectionCharges": true,
"IsForAdditionalCharges": true,
"IsForUrgentCharges": true,
"IsAdditionalChargesForPassenger": true,
"IsForAdditionalChargesForCovid": true,
"IsForCovid": 1,
"SubDepartmentId": "3e1342f2-bb70-4bb0-b5e1-d6249e6ca0dc",
"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>f0d82a72-aa0d-49ae-a32c-bddc0c9a7f05</BranchId>
<DiagnosticId>69108bc9-a713-476a-bbe4-21933ca5660d</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>7db96c52-f9de-4b6b-b1b9-d5e277ea322f</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>e02f0acb-f57f-4b0a-b39c-bd47a72e4be5</d2p1:guid>
<d2p1:guid>7572635f-8a06-484e-b2f3-d6cc0ac24198</d2p1:guid>
</LabTests>
<Latitude>sample string 3</Latitude>
<Longitude>sample string 4</Longitude>
<PatientId>3ba305c9-1ad4-4958-8da7-09cb7fabd634</PatientId>
<SubDepartmentId>3e1342f2-bb70-4bb0-b5e1-d6249e6ca0dc</SubDepartmentId>
<SubServiceId>fa7fb225-4ffd-42c9-beb0-c68d112c265a</SubServiceId>
<Token>4e92661e-df57-44d3-af61-818e64faae90</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.