POST appointments/with-payment
Request Information
URI Parameters
None.
Body Parameters
AppointmentRequestWithPaymentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGatewayId | globally unique identifier |
None. |
|
| DoctorClinicId | globally unique identifier |
None. |
|
| TimeSlot | string |
None. |
|
| AppointmentTimeLockId | globally unique identifier |
None. |
|
| TransactionID | string |
None. |
|
| Mobile | string |
None. |
|
| string |
None. |
||
| PaymentGatewayTxnID | string |
None. |
|
| IsSuccessTransaction | boolean |
None. |
|
| PaymentMode | string |
None. |
|
| Data | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentGatewayId": "aa0cd7d3-01eb-47cd-85e5-d6e8f3ae9d46",
"DoctorClinicId": "f1f76eee-9bf0-419e-944a-66856b15798a",
"TimeSlot": "sample string 3",
"AppointmentTimeLockId": "17d12687-303e-4493-a3b1-928a2ffe10b2",
"TransactionID": "sample string 5",
"Mobile": "sample string 6",
"Email": "sample string 7",
"PaymentGatewayTxnID": "sample string 8",
"IsSuccessTransaction": true,
"PaymentMode": "sample string 10",
"Data": "sample string 11"
}
application/xml, text/xml
Sample:
<AppointmentRequestWithPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZoeLife.BusinessEntities"> <AppointmentTimeLockId>17d12687-303e-4493-a3b1-928a2ffe10b2</AppointmentTimeLockId> <Data>sample string 11</Data> <DoctorClinicId>f1f76eee-9bf0-419e-944a-66856b15798a</DoctorClinicId> <Email>sample string 7</Email> <IsSuccessTransaction>true</IsSuccessTransaction> <Mobile>sample string 6</Mobile> <PaymentGatewayId>aa0cd7d3-01eb-47cd-85e5-d6e8f3ae9d46</PaymentGatewayId> <PaymentGatewayTxnID>sample string 8</PaymentGatewayTxnID> <PaymentMode>sample string 10</PaymentMode> <TimeSlot>sample string 3</TimeSlot> <TransactionID>sample string 5</TransactionID> </AppointmentRequestWithPaymentDto>
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": "b845e11d-0562-4e0d-8f0f-48d955ec09dd",
"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>b845e11d-0562-4e0d-8f0f-48d955ec09dd</Data>
</ResultOfguid>