GET patients/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultOfPatientDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | PatientDto |
None. |
|
| Messages | Collection of string |
None. |
|
| Succeeded | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"ID": "28319ae7-83fd-41ec-b302-58c34ecf7c40",
"EMR": "sample string 2",
"Name": {
"Initial": "sample string 1",
"FirstName": "sample string 2",
"MiddleName": "sample string 3",
"LastName": "sample string 4",
"FullName": "sample string 2 sample string 3 sample string 4"
},
"FatherName": {
"Initial": "sample string 1",
"FirstName": "sample string 2",
"MiddleName": "sample string 3",
"LastName": "sample string 4",
"FullName": "sample string 2 sample string 3 sample string 4"
},
"Gender": 64,
"GenderName": "sample string 4",
"Age": {
"Year": 1,
"Month": 2
},
"Email": "sample string 5",
"MobileNo": {
"IsdCode": "sample string 1",
"AccessNumber": "sample string 2"
},
"Address": "sample string 6",
"Place": "sample string 7"
},
"Messages": [
"sample string 1",
"sample string 2"
],
"Succeeded": true
}
application/xml, text/xml
Sample:
<ResultOfPatientDto6MSA0GaG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZoeLife.Shared.Wrapper">
<Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Messages>
<Succeeded>true</Succeeded>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities">
<d2p1:Address>sample string 6</d2p1:Address>
<d2p1:Age xmlns:d3p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Common.Dtos">
<d3p1:Month>2</d3p1:Month>
<d3p1:Year>1</d3p1:Year>
</d2p1:Age>
<d2p1:EMR>sample string 2</d2p1:EMR>
<d2p1:Email>sample string 5</d2p1:Email>
<d2p1:FatherName xmlns:d3p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Common.Dtos">
<d3p1:FirstName>sample string 2</d3p1:FirstName>
<d3p1:Initial>sample string 1</d3p1:Initial>
<d3p1:LastName>sample string 4</d3p1:LastName>
<d3p1:MiddleName>sample string 3</d3p1:MiddleName>
</d2p1:FatherName>
<d2p1:Gender>64</d2p1:Gender>
<d2p1:GenderName>sample string 4</d2p1:GenderName>
<d2p1:ID>28319ae7-83fd-41ec-b302-58c34ecf7c40</d2p1:ID>
<d2p1:MobileNo xmlns:d3p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Common.Dtos">
<d3p1:AccessNumber>sample string 2</d3p1:AccessNumber>
<d3p1:IsdCode>sample string 1</d3p1:IsdCode>
</d2p1:MobileNo>
<d2p1:Name xmlns:d3p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Common.Dtos">
<d3p1:FirstName>sample string 2</d3p1:FirstName>
<d3p1:Initial>sample string 1</d3p1:Initial>
<d3p1:LastName>sample string 4</d3p1:LastName>
<d3p1:MiddleName>sample string 3</d3p1:MiddleName>
</d2p1:Name>
<d2p1:Place>sample string 7</d2p1:Place>
</Data>
</ResultOfPatientDto6MSA0GaG>