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": "79a1c2ca-380a-4cf9-a387-b32895e00de0",
"DoctorClinicId": "5bfcb32d-991f-49d9-9162-3d1ecd42ef40",
"TimeSlot": "sample string 3",
"AppointmentTimeLockId": "7589d5bf-4ee1-48d0-8c9a-7f0974b059f2",
"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>7589d5bf-4ee1-48d0-8c9a-7f0974b059f2</AppointmentTimeLockId> <Data>sample string 11</Data> <DoctorClinicId>5bfcb32d-991f-49d9-9162-3d1ecd42ef40</DoctorClinicId> <Email>sample string 7</Email> <IsSuccessTransaction>true</IsSuccessTransaction> <Mobile>sample string 6</Mobile> <PaymentGatewayId>79a1c2ca-380a-4cf9-a387-b32895e00de0</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": "7070ff45-f406-4ccf-b18a-5cc845079ee7",
"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>7070ff45-f406-4ccf-b18a-5cc845079ee7</Data>
</ResultOfguid>