POST appointments/with-payment

Request Information

URI Parameters

None.

Body Parameters

AppointmentRequestWithPaymentDto
NameDescriptionTypeAdditional 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.

Email

string

None.

PaymentGatewayTxnID

string

None.

IsSuccessTransaction

boolean

None.

PaymentMode

string

None.

Data

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentGatewayId": "e73a81b3-d50b-42c7-b588-fadad12ba939",
  "DoctorClinicId": "85baa558-3a9e-4765-8bb2-b6b309b84f3a",
  "TimeSlot": "sample string 3",
  "AppointmentTimeLockId": "e0dac034-2a7f-4555-aba3-a2f96b31ebbb",
  "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>e0dac034-2a7f-4555-aba3-a2f96b31ebbb</AppointmentTimeLockId>
  <Data>sample string 11</Data>
  <DoctorClinicId>85baa558-3a9e-4765-8bb2-b6b309b84f3a</DoctorClinicId>
  <Email>sample string 7</Email>
  <IsSuccessTransaction>true</IsSuccessTransaction>
  <Mobile>sample string 6</Mobile>
  <PaymentGatewayId>e73a81b3-d50b-42c7-b588-fadad12ba939</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
NameDescriptionTypeAdditional information
Data

globally unique identifier

None.

Messages

Collection of string

None.

Succeeded

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "204eda37-5ee3-4093-9916-42317ca67e08",
  "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>204eda37-5ee3-4093-9916-42317ca67e08</Data>
</ResultOfguid>