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": "db856a0e-5eaa-4760-ae33-caa90d850d4a",
"DoctorClinicId": "f7ed237e-175a-45e8-933f-75fe16f5f916",
"TimeSlot": "sample string 3",
"AppointmentTimeLockId": "a589f101-1f01-4b70-97d8-782f56db79da",
"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>a589f101-1f01-4b70-97d8-782f56db79da</AppointmentTimeLockId> <Data>sample string 11</Data> <DoctorClinicId>f7ed237e-175a-45e8-933f-75fe16f5f916</DoctorClinicId> <Email>sample string 7</Email> <IsSuccessTransaction>true</IsSuccessTransaction> <Mobile>sample string 6</Mobile> <PaymentGatewayId>db856a0e-5eaa-4760-ae33-caa90d850d4a</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": "9c358a9e-4d8b-4304-8ad0-57ccc75093cd",
"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>9c358a9e-4d8b-4304-8ad0-57ccc75093cd</Data>
</ResultOfguid>