POST api/Patient/PatientRequestAdd
Request Information
URI Parameters
None.
Body Parameters
PatientRequestAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientRequestAdd | PatientRequestAdd |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientRequestAdd": {
"RequestTypeID": "91e359ac-aa66-46bc-bb47-7ea2f41139c9",
"DoctorID": "8228f726-abe4-4bd9-abec-dbdc7e601b96",
"LaboratoryData": [
{
"CategoryID": "a0feed0e-4451-4e96-8fb9-33fb3cce4e76",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "842d8d5d-a5b3-41ec-9ff9-c368b850edd4",
"ServiceName": "sample string 2"
},
{
"ServiceID": "842d8d5d-a5b3-41ec-9ff9-c368b850edd4",
"ServiceName": "sample string 2"
}
]
},
{
"CategoryID": "a0feed0e-4451-4e96-8fb9-33fb3cce4e76",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "842d8d5d-a5b3-41ec-9ff9-c368b850edd4",
"ServiceName": "sample string 2"
},
{
"ServiceID": "842d8d5d-a5b3-41ec-9ff9-c368b850edd4",
"ServiceName": "sample string 2"
}
]
}
],
"RadiologyData": [
{
"TypeID": "538def6c-abb1-4119-a5cc-410e19cc907a",
"TypeName": "sample string 2",
"CategoryList": [
{
"CategoryID": "52cee987-2407-4394-a768-cd468e645f9d",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
},
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
}
]
},
{
"CategoryID": "52cee987-2407-4394-a768-cd468e645f9d",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
},
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
}
]
}
]
},
{
"TypeID": "538def6c-abb1-4119-a5cc-410e19cc907a",
"TypeName": "sample string 2",
"CategoryList": [
{
"CategoryID": "52cee987-2407-4394-a768-cd468e645f9d",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
},
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
}
]
},
{
"CategoryID": "52cee987-2407-4394-a768-cd468e645f9d",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
},
{
"ServiceID": "843d9934-0b22-4773-8900-d51d24de7df4",
"ServiceName": "sample string 2"
}
]
}
]
}
]
},
"PatientID": "981b8084-e76c-49a8-865a-c93b2b0dd81a",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientRequestAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>981b8084-e76c-49a8-865a-c93b2b0dd81a</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientRequestAdd>
<DoctorID>8228f726-abe4-4bd9-abec-dbdc7e601b96</DoctorID>
<LaboratoryData>
<LaboratoryCategoryLookup>
<CategoryID>a0feed0e-4451-4e96-8fb9-33fb3cce4e76</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<LaboratoryServiceLookup>
<ServiceID>842d8d5d-a5b3-41ec-9ff9-c368b850edd4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
<LaboratoryServiceLookup>
<ServiceID>842d8d5d-a5b3-41ec-9ff9-c368b850edd4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
</ServiceList>
</LaboratoryCategoryLookup>
<LaboratoryCategoryLookup>
<CategoryID>a0feed0e-4451-4e96-8fb9-33fb3cce4e76</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<LaboratoryServiceLookup>
<ServiceID>842d8d5d-a5b3-41ec-9ff9-c368b850edd4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
<LaboratoryServiceLookup>
<ServiceID>842d8d5d-a5b3-41ec-9ff9-c368b850edd4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
</ServiceList>
</LaboratoryCategoryLookup>
</LaboratoryData>
<RadiologyData>
<RadiologyTypeLookup>
<CategoryList>
<RadiologyCategoryLookup>
<CategoryID>52cee987-2407-4394-a768-cd468e645f9d</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
<RadiologyCategoryLookup>
<CategoryID>52cee987-2407-4394-a768-cd468e645f9d</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
</CategoryList>
<TypeID>538def6c-abb1-4119-a5cc-410e19cc907a</TypeID>
<TypeName>sample string 2</TypeName>
</RadiologyTypeLookup>
<RadiologyTypeLookup>
<CategoryList>
<RadiologyCategoryLookup>
<CategoryID>52cee987-2407-4394-a768-cd468e645f9d</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
<RadiologyCategoryLookup>
<CategoryID>52cee987-2407-4394-a768-cd468e645f9d</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>843d9934-0b22-4773-8900-d51d24de7df4</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
</CategoryList>
<TypeID>538def6c-abb1-4119-a5cc-410e19cc907a</TypeID>
<TypeName>sample string 2</TypeName>
</RadiologyTypeLookup>
</RadiologyData>
<RequestTypeID>91e359ac-aa66-46bc-bb47-7ea2f41139c9</RequestTypeID>
</PatientRequestAdd>
</PatientRequestAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientRequestResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientRequest | PatientRequest |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientRequest": {
"PatientRequestID": "90c098ca-e9b2-4237-8db6-69887e24dd17",
"RequestTypeID": "47fc1148-d1f3-4224-a71f-e39236636aa0",
"DoctorID": "ac47b2a7-1347-47c4-baba-c8061241f48f",
"RequestTitle": "sample string 4",
"LaboratoryData": [
{
"CategoryID": "a5500ef3-8e1a-4f04-b475-28b751102ad5",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "c6dc27da-d79c-4081-9a72-4df893895edb",
"ServiceName": "sample string 2"
},
{
"ServiceID": "c6dc27da-d79c-4081-9a72-4df893895edb",
"ServiceName": "sample string 2"
}
]
},
{
"CategoryID": "a5500ef3-8e1a-4f04-b475-28b751102ad5",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "c6dc27da-d79c-4081-9a72-4df893895edb",
"ServiceName": "sample string 2"
},
{
"ServiceID": "c6dc27da-d79c-4081-9a72-4df893895edb",
"ServiceName": "sample string 2"
}
]
}
],
"RadiologyData": [
{
"TypeID": "39a213c2-2f48-41f3-9b6e-14fcfcc9d980",
"TypeName": "sample string 2",
"CategoryList": [
{
"CategoryID": "18a478b9-2fb7-4001-affc-df800caa34dd",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
},
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
}
]
},
{
"CategoryID": "18a478b9-2fb7-4001-affc-df800caa34dd",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
},
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
}
]
}
]
},
{
"TypeID": "39a213c2-2f48-41f3-9b6e-14fcfcc9d980",
"TypeName": "sample string 2",
"CategoryList": [
{
"CategoryID": "18a478b9-2fb7-4001-affc-df800caa34dd",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
},
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
}
]
},
{
"CategoryID": "18a478b9-2fb7-4001-affc-df800caa34dd",
"CategoryName": "sample string 2",
"ServiceList": [
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
},
{
"ServiceID": "e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9",
"ServiceName": "sample string 2"
}
]
}
]
}
]
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PatientRequestResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<PatientRequest>
<DoctorID>ac47b2a7-1347-47c4-baba-c8061241f48f</DoctorID>
<LaboratoryData>
<LaboratoryCategoryLookup>
<CategoryID>a5500ef3-8e1a-4f04-b475-28b751102ad5</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<LaboratoryServiceLookup>
<ServiceID>c6dc27da-d79c-4081-9a72-4df893895edb</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
<LaboratoryServiceLookup>
<ServiceID>c6dc27da-d79c-4081-9a72-4df893895edb</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
</ServiceList>
</LaboratoryCategoryLookup>
<LaboratoryCategoryLookup>
<CategoryID>a5500ef3-8e1a-4f04-b475-28b751102ad5</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<LaboratoryServiceLookup>
<ServiceID>c6dc27da-d79c-4081-9a72-4df893895edb</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
<LaboratoryServiceLookup>
<ServiceID>c6dc27da-d79c-4081-9a72-4df893895edb</ServiceID>
<ServiceName>sample string 2</ServiceName>
</LaboratoryServiceLookup>
</ServiceList>
</LaboratoryCategoryLookup>
</LaboratoryData>
<PatientRequestID>90c098ca-e9b2-4237-8db6-69887e24dd17</PatientRequestID>
<RadiologyData>
<RadiologyTypeLookup>
<CategoryList>
<RadiologyCategoryLookup>
<CategoryID>18a478b9-2fb7-4001-affc-df800caa34dd</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
<RadiologyCategoryLookup>
<CategoryID>18a478b9-2fb7-4001-affc-df800caa34dd</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
</CategoryList>
<TypeID>39a213c2-2f48-41f3-9b6e-14fcfcc9d980</TypeID>
<TypeName>sample string 2</TypeName>
</RadiologyTypeLookup>
<RadiologyTypeLookup>
<CategoryList>
<RadiologyCategoryLookup>
<CategoryID>18a478b9-2fb7-4001-affc-df800caa34dd</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
<RadiologyCategoryLookup>
<CategoryID>18a478b9-2fb7-4001-affc-df800caa34dd</CategoryID>
<CategoryName>sample string 2</CategoryName>
<ServiceList>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
<RadiologyServiceLookup>
<ServiceID>e60dc7c7-2b04-4cd9-b23f-0eb4e420c9a9</ServiceID>
<ServiceName>sample string 2</ServiceName>
</RadiologyServiceLookup>
</ServiceList>
</RadiologyCategoryLookup>
</CategoryList>
<TypeID>39a213c2-2f48-41f3-9b6e-14fcfcc9d980</TypeID>
<TypeName>sample string 2</TypeName>
</RadiologyTypeLookup>
</RadiologyData>
<RequestTitle>sample string 4</RequestTitle>
<RequestTypeID>47fc1148-d1f3-4224-a71f-e39236636aa0</RequestTypeID>
</PatientRequest>
</PatientRequestResponse>