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": "7fc22c94-cb51-4860-beec-2750dfe44725",
"DoctorClinicId": "2f9e4df6-9f74-4b28-ad92-098ee4c3a877",
"TimeSlot": "sample string 3",
"AppointmentTimeLockId": "5d7270ba-85e7-4211-b6df-0f76178860cf",
"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>5d7270ba-85e7-4211-b6df-0f76178860cf</AppointmentTimeLockId> <Data>sample string 11</Data> <DoctorClinicId>2f9e4df6-9f74-4b28-ad92-098ee4c3a877</DoctorClinicId> <Email>sample string 7</Email> <IsSuccessTransaction>true</IsSuccessTransaction> <Mobile>sample string 6</Mobile> <PaymentGatewayId>7fc22c94-cb51-4860-beec-2750dfe44725</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": "b3d08e8b-cb95-4a06-8b9f-9641283de3f4",
"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>b3d08e8b-cb95-4a06-8b9f-9641283de3f4</Data>
</ResultOfguid>