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": "6116ce35-a9e4-4098-ac1a-39cbae4a6c9e",
"DoctorClinicId": "10ee37bd-fb49-41f8-93eb-3856695309ce",
"TimeSlot": "sample string 3",
"AppointmentTimeLockId": "40b0ba27-2460-4293-9079-0bd002316f13",
"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>40b0ba27-2460-4293-9079-0bd002316f13</AppointmentTimeLockId> <Data>sample string 11</Data> <DoctorClinicId>10ee37bd-fb49-41f8-93eb-3856695309ce</DoctorClinicId> <Email>sample string 7</Email> <IsSuccessTransaction>true</IsSuccessTransaction> <Mobile>sample string 6</Mobile> <PaymentGatewayId>6116ce35-a9e4-4098-ac1a-39cbae4a6c9e</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": "2618e0fd-b521-40d9-923b-b73241b8b8a2",
"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>2618e0fd-b521-40d9-923b-b73241b8b8a2</Data>
</ResultOfguid>