POST Classes/ecomm_insert_booking?appointmentid={appointmentid}&customerid={customerid}

insert a booking

Request Information

URI Parameters

NameDescriptionTypeAdditional information
appointmentid

ID of the Appointment

decimal number

Required

customerid

ID of the Customer

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

BookingResponse
NameDescriptionTypeAdditional information
status

BookingResultType

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "success",
  "msg": "sample string 1"
}

application/xml, text/xml

Sample:
<BookingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel.Responses">
  <msg>sample string 1</msg>
  <status>success</status>
</BookingResponse>