POST api/payment/CreatePaymentOrder

Request Information

URI Parameters

None.

Body Parameters

CreatePaymentOrderRequest
NameDescriptionTypeAdditional information
customer_id

integer

None.

specialization_id

integer

None.

doctor_id

integer

None.

scheduledDate

string

None.

scheduledSlot

string

None.

Name

string

None.

Age

integer

None.

Gender

string

None.

Email

string

None.

Contact

string

None.

payment_amount

decimal number

None.

InputLatlong

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_id": 1,
  "specialization_id": 2,
  "doctor_id": 3,
  "scheduledDate": "sample string 4",
  "scheduledSlot": "sample string 5",
  "Name": "sample string 6",
  "Age": 7,
  "Gender": "sample string 8",
  "Email": "sample string 9",
  "Contact": "sample string 10",
  "payment_amount": 11.0,
  "InputLatlong": "sample string 12"
}

application/xml, text/xml

Sample:
<CreatePaymentOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VELNO_API.Controllers">
  <Age>7</Age>
  <Contact>sample string 10</Contact>
  <Email>sample string 9</Email>
  <Gender>sample string 8</Gender>
  <InputLatlong>sample string 12</InputLatlong>
  <Name>sample string 6</Name>
  <customer_id>1</customer_id>
  <doctor_id>3</doctor_id>
  <payment_amount>11</payment_amount>
  <scheduledDate>sample string 4</scheduledDate>
  <scheduledSlot>sample string 5</scheduledSlot>
  <specialization_id>2</specialization_id>
</CreatePaymentOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.