POST api/userAppointments/SendSMSFromCalendar

Request Information

URI Parameters

None.

Body Parameters

SendSMSForAppointment
NameDescriptionTypeAdditional information
AppointmentId

integer

None.

SalonId

integer

None.

LookUpStatusId

integer

None.

smsTemplateText

string

None.

Url

string

None.

isReminderAppointment

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentId": 1,
  "SalonId": 2,
  "LookUpStatusId": 3,
  "smsTemplateText": "sample string 4",
  "Url": "sample string 5",
  "isReminderAppointment": true
}

text/xml

Sample:
<SendSMSForAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
  <AppointmentId xmlns="http://schemas.datacontract.org/2004/07/">1</AppointmentId>
  <LookUpStatusId xmlns="http://schemas.datacontract.org/2004/07/">3</LookUpStatusId>
  <SalonId xmlns="http://schemas.datacontract.org/2004/07/">2</SalonId>
  <Url xmlns="http://schemas.datacontract.org/2004/07/">sample string 5</Url>
  <isReminderAppointment xmlns="http://schemas.datacontract.org/2004/07/">true</isReminderAppointment>
  <smsTemplateText xmlns="http://schemas.datacontract.org/2004/07/">sample string 4</smsTemplateText>
</SendSMSForAppointment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SendSMSForAppointment'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.