POST appointment/smcancel

Request Information

URI Parameters

None.

Body Parameters

AppointmentCancellation
NameDescriptionTypeAdditional information
SmLeadId

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SmLeadId": 1,
  "UserId": 2
}

text/html

Sample:
{"SmLeadId":1,"UserId":2}

application/xml, text/xml

Sample:
<AppointmentCancellation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Appointments">
  <SmLeadId>1</SmLeadId>
  <UserId>2</UserId>
</AppointmentCancellation>

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 'AppointmentCancellation'.

Response Information

Resource Description

AppointmentResult
NameDescriptionTypeAdditional information
ApptId

integer

None.

Successful

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ApptId": 1,
  "Successful": true,
  "Message": "sample string 3"
}

text/html

Sample:
{"ApptId":1,"Successful":true,"Message":"sample string 3"}

application/xml, text/xml

Sample:
<AppointmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Appointments">
  <ApptId>1</ApptId>
  <Message>sample string 3</Message>
  <Successful>true</Successful>
</AppointmentResult>