PUT class/cancel/{classId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
classId

integer

Required

Body Parameters

ClassCancel
NameDescriptionTypeAdditional information
cancellationReason

string

None.

cancellationdescription

string

None.

sendClientEmail

boolean

None.

sendClientNotification

boolean

None.

sendClientSMS

boolean

None.

sendTrainerEmail

boolean

None.

sendTrainerNotification

boolean

None.

sendTrainerSMS

boolean

None.

isoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "cancellationReason": "sample string 1",
  "cancellationdescription": "sample string 2",
  "sendClientEmail": true,
  "sendClientNotification": true,
  "sendClientSMS": true,
  "sendTrainerEmail": true,
  "sendTrainerNotification": true,
  "sendTrainerSMS": true,
  "isoCode": "sample string 9"
}

application/xml, text/xml

Sample:
<ClassCancel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FFB2BAPI.Models">
  <CancellationReason>sample string 1</CancellationReason>
  <Cancellationdescription>sample string 2</Cancellationdescription>
  <IsoCode>sample string 9</IsoCode>
  <SendClientEmail>true</SendClientEmail>
  <SendClientNotification>true</SendClientNotification>
  <SendClientSMS>true</SendClientSMS>
  <SendTrainerEmail>true</SendTrainerEmail>
  <SendTrainerNotification>true</SendTrainerNotification>
  <SendTrainerSMS>true</SendTrainerSMS>
</ClassCancel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.