GET doctors/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultOfDoctorDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | DoctorDto |
None. |
|
| Messages | Collection of string |
None. |
|
| Succeeded | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"ID": "0925ebe8-24c3-4e79-9541-1bcfd9022ca5",
"Name": "sample string 2"
},
"Messages": [
"sample string 1",
"sample string 2"
],
"Succeeded": true
}
application/xml, text/xml
Sample:
<ResultOfDoctorDto6MSA0GaG 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:ID>0925ebe8-24c3-4e79-9541-1bcfd9022ca5</d2p1:ID>
<d2p1:Name>sample string 2</d2p1:Name>
</Data>
</ResultOfDoctorDto6MSA0GaG>