POST classroomAPI/Coaching/cancelCalendarEvent

Request Information

URI Parameters

None.

Body Parameters

cancelCalendarEventData
NameDescriptionTypeAdditional information
calendarID

globally unique identifier

None.

dateToCancel

string

None.

datesToCancel

Collection of string

None.

cancellationReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "calendarID": "3b423b64-5324-4d9e-ae45-8ccedf7555b2",
  "dateToCancel": "sample string 2",
  "datesToCancel": [
    "sample string 1",
    "sample string 2"
  ],
  "cancellationReason": "sample string 3"
}

application/xml, text/xml

Sample:
<cancelCalendarEventData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classroom.ClassroomBLL.ClassroomCommon">
  <calendarID>3b423b64-5324-4d9e-ae45-8ccedf7555b2</calendarID>
  <cancellationReason>sample string 3</cancellationReason>
  <dateToCancel>sample string 2</dateToCancel>
  <datesToCancel xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </datesToCancel>
</cancelCalendarEventData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>