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": "0d3f0f65-0c2f-4d25-b75b-6d8064175eaa",
"TypeBit": 2,
"Latitude": "sample string 3",
"Longitude": "sample string 4",
"LabId": "e1e945c8-aaf2-4318-b82b-3a14d253f289",
"BranchId": "c5bff4cf-8ad5-4fea-b57d-6cf4d0e49aa0",
"SubServiceId": "fff6f2c3-aaef-4717-8fe4-b4293c384fb9",
"DiagnosticId": "402e57af-591d-46fd-841e-50200313e5c7",
"DiagnosticName": "sample string 5",
"PatientId": "69c4ec72-d026-4e00-8f16-101a9149be71",
"LabTests": [
"c65141cc-f926-465e-8158-c9db273af0e7",
"301b3005-e357-4849-b9cd-bc6562fcbd18"
],
"LabTestNames": [
"sample string 1",
"sample string 2"
],
"IsOnlyIncludeCovidTests": 1,
"IsOnlyExcludeCovidTests": 1,
"IsForSampleCollectionCharges": true,
"IsForAdditionalCharges": true,
"IsForUrgentCharges": true,
"IsAdditionalChargesForPassenger": true,
"IsForAdditionalChargesForCovid": true,
"IsForCovid": 1,
"SubDepartmentId": "13aaf7ed-dcf4-467d-bedf-beb3d8e5ba42",
"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>c5bff4cf-8ad5-4fea-b57d-6cf4d0e49aa0</BranchId>
<DiagnosticId>402e57af-591d-46fd-841e-50200313e5c7</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>e1e945c8-aaf2-4318-b82b-3a14d253f289</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>c65141cc-f926-465e-8158-c9db273af0e7</d2p1:guid>
<d2p1:guid>301b3005-e357-4849-b9cd-bc6562fcbd18</d2p1:guid>
</LabTests>
<Latitude>sample string 3</Latitude>
<Longitude>sample string 4</Longitude>
<PatientId>69c4ec72-d026-4e00-8f16-101a9149be71</PatientId>
<SubDepartmentId>13aaf7ed-dcf4-467d-bedf-beb3d8e5ba42</SubDepartmentId>
<SubServiceId>fff6f2c3-aaef-4717-8fe4-b4293c384fb9</SubServiceId>
<Token>0d3f0f65-0c2f-4d25-b75b-6d8064175eaa</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.