POST appointments/without-payment
Request Information
URI Parameters
None.
Body Parameters
AppointmentRequestWithoutPaymentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorClinicId | globally unique identifier |
None. |
|
| SessionId | globally unique identifier |
None. |
|
| TimeSlot | string |
None. |
|
| TimeSlotType | integer |
None. |
|
| AppointmentTimeLockId | globally unique identifier |
None. |
|
| Patient | PatientDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"DoctorClinicId": "35e41c53-08d3-4282-ac7a-d0beeca17abe",
"SessionId": "2b98e95e-7a2e-4db0-aaa6-a9cb29a8a4af",
"TimeSlot": "sample string 3",
"TimeSlotType": 4,
"AppointmentTimeLockId": "ff0b2343-8f9f-4b78-a0fd-06872c3bff54",
"Patient": {
"ID": "8992cac3-8897-495a-981c-c23e429a1f0a",
"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"
}
}
application/xml, text/xml
Sample:
<AppointmentRequestWithoutPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities">
<AppointmentTimeLockId>ff0b2343-8f9f-4b78-a0fd-06872c3bff54</AppointmentTimeLockId>
<DoctorClinicId>35e41c53-08d3-4282-ac7a-d0beeca17abe</DoctorClinicId>
<Patient>
<Address>sample string 6</Address>
<Age xmlns:d3p1="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities.Common.Dtos">
<d3p1:Month>2</d3p1:Month>
<d3p1:Year>1</d3p1:Year>
</Age>
<EMR>sample string 2</EMR>
<Email>sample string 5</Email>
<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>
</FatherName>
<Gender>64</Gender>
<GenderName>sample string 4</GenderName>
<ID>8992cac3-8897-495a-981c-c23e429a1f0a</ID>
<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>
</MobileNo>
<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>
</Name>
<Place>sample string 7</Place>
</Patient>
<SessionId>2b98e95e-7a2e-4db0-aaa6-a9cb29a8a4af</SessionId>
<TimeSlot>sample string 3</TimeSlot>
<TimeSlotType>4</TimeSlotType>
</AppointmentRequestWithoutPaymentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultOfGuid| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | globally unique identifier |
None. |
|
| Messages | Collection of string |
None. |
|
| Succeeded | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": "3ab5494e-1102-4feb-b6ec-73a8c0fe19b0",
"Messages": [
"sample string 1",
"sample string 2"
],
"Succeeded": true
}
application/xml, text/xml
Sample:
<ResultOfguid 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>3ab5494e-1102-4feb-b6ec-73a8c0fe19b0</Data>
</ResultOfguid>