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": "89254eca-f3de-4194-a1fd-726ef03db33e",
"TypeBit": 2,
"Latitude": "sample string 3",
"Longitude": "sample string 4",
"LabId": "8397e998-b739-450f-a8e4-77b1272a58c1",
"BranchId": "5e9eeb7d-a502-4916-8825-2e0d38f99c32",
"SubServiceId": "173ce242-37c4-424f-a3a1-19753f0732f9",
"DiagnosticId": "8dac4292-9b8a-41c4-b5e9-a1799db9879a",
"DiagnosticName": "sample string 5",
"PatientId": "530c3c42-ef70-49a6-92c0-1eb02a224ccb",
"LabTests": [
"734b2970-d6b2-4665-b4dc-4898efdaa5da",
"38bd08fc-590c-4973-8fa8-1f6f990f28cf"
],
"LabTestNames": [
"sample string 1",
"sample string 2"
],
"IsOnlyIncludeCovidTests": 1,
"IsOnlyExcludeCovidTests": 1,
"IsForSampleCollectionCharges": true,
"IsForAdditionalCharges": true,
"IsForUrgentCharges": true,
"IsAdditionalChargesForPassenger": true,
"IsForAdditionalChargesForCovid": true,
"IsForCovid": 1,
"SubDepartmentId": "b90e408c-6903-441f-8c3d-a3b12a632f02",
"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>5e9eeb7d-a502-4916-8825-2e0d38f99c32</BranchId>
<DiagnosticId>8dac4292-9b8a-41c4-b5e9-a1799db9879a</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>8397e998-b739-450f-a8e4-77b1272a58c1</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>734b2970-d6b2-4665-b4dc-4898efdaa5da</d2p1:guid>
<d2p1:guid>38bd08fc-590c-4973-8fa8-1f6f990f28cf</d2p1:guid>
</LabTests>
<Latitude>sample string 3</Latitude>
<Longitude>sample string 4</Longitude>
<PatientId>530c3c42-ef70-49a6-92c0-1eb02a224ccb</PatientId>
<SubDepartmentId>b90e408c-6903-441f-8c3d-a3b12a632f02</SubDepartmentId>
<SubServiceId>173ce242-37c4-424f-a3a1-19753f0732f9</SubServiceId>
<Token>89254eca-f3de-4194-a1fd-726ef03db33e</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.