POST api/labs/GetLabTests
Request Information
URI Parameters
None.
Body Parameters
DTOLabArgName | 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": "aed590d3-1bc8-4873-b587-268640915528", "TypeBit": 2, "Latitude": "sample string 3", "Longitude": "sample string 4", "LabId": "7922ad6c-8e34-42f7-b0da-3686ea971e15", "BranchId": "5721cad9-daf7-4018-aa12-617fb07e8f32", "SubServiceId": "85b04f70-c834-49fa-af02-8a861da637a5", "DiagnosticId": "5667f2fc-81ab-43d7-98cd-04916c2134de", "DiagnosticName": "sample string 5", "PatientId": "fb4ea3af-fb56-48ed-87c2-fe4551a98382", "LabTests": [ "3ab09f43-0a4b-4b36-9e67-ab666b6ba9ed", "336d7539-a111-4050-a13a-230d213ec780" ], "LabTestNames": [ "sample string 1", "sample string 2" ], "IsOnlyIncludeCovidTests": 1, "IsOnlyExcludeCovidTests": 1, "IsForSampleCollectionCharges": true, "IsForAdditionalCharges": true, "IsForUrgentCharges": true, "IsAdditionalChargesForPassenger": true, "IsForAdditionalChargesForCovid": true, "IsForCovid": 1, "SubDepartmentId": "46d34352-1f10-4637-bbf8-f774cc170240", "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>5721cad9-daf7-4018-aa12-617fb07e8f32</BranchId> <DiagnosticId>5667f2fc-81ab-43d7-98cd-04916c2134de</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>7922ad6c-8e34-42f7-b0da-3686ea971e15</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>3ab09f43-0a4b-4b36-9e67-ab666b6ba9ed</d2p1:guid> <d2p1:guid>336d7539-a111-4050-a13a-230d213ec780</d2p1:guid> </LabTests> <Latitude>sample string 3</Latitude> <Longitude>sample string 4</Longitude> <PatientId>fb4ea3af-fb56-48ed-87c2-fe4551a98382</PatientId> <SubDepartmentId>46d34352-1f10-4637-bbf8-f774cc170240</SubDepartmentId> <SubServiceId>85b04f70-c834-49fa-af02-8a861da637a5</SubServiceId> <Token>aed590d3-1bc8-4873-b587-268640915528</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.