PUT api/appointments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

AppointmentEditModel
NameDescriptionTypeAdditional information
completed

boolean

None.

readonly

boolean

None.

subscription_id

globally unique identifier

None.

owner_id

string

None.

organiser

string

None.

title

string

None.

appointment_type_id

globally unique identifier

None.

appointment_type

string

None.

attendees

Collection of SelectListItem

None.

attendees_as_string

string

None.

start

date

None.

start_timezone_id

string

None.

end

date

None.

end_timezone_id

string

None.

is_all_day

boolean

None.

reminder_minutes_before_start

integer

None.

priority

string

None.

location

string

None.

notes

string

None.

send_invite

boolean

None.

id

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "completed": true,
  "readonly": true,
  "subscription_id": "954cdf1c-fb4b-44f2-8e13-fb9a829dfaf1",
  "owner_id": "sample string 3",
  "organiser": "sample string 4",
  "title": "sample string 5",
  "appointment_type_id": "13f65424-64f8-4855-9fff-2aa4fcaa3bb3",
  "appointment_type": "sample string 6",
  "attendees": [
    {
      "value": "sample string 1",
      "text": "sample string 2"
    },
    {
      "value": "sample string 1",
      "text": "sample string 2"
    }
  ],
  "attendees_as_string": "sample string 7",
  "start": "2026-12-06T15:19:42.1327126+08:00",
  "start_timezone_id": "sample string 9",
  "end": "2026-12-06T15:19:42.1327126+08:00",
  "end_timezone_id": "sample string 11",
  "is_all_day": true,
  "reminder_minutes_before_start": 1,
  "priority": "sample string 13",
  "location": "sample string 14",
  "notes": "sample string 15",
  "send_invite": true,
  "id": "7de5a457-43cd-4374-b150-bdb7db4ea26e"
}

application/xml, text/xml

Sample:
<AppointmentEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">7de5a457-43cd-4374-b150-bdb7db4ea26e</Id>
  <AppointmentType>sample string 6</AppointmentType>
  <AppointmentTypeId>13f65424-64f8-4855-9fff-2aa4fcaa3bb3</AppointmentTypeId>
  <Attendees xmlns:d2p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">
    <d2p1:SelectListItem>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 1</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 1</d2p1:Value>
    </d2p1:SelectListItem>
  </Attendees>
  <AttendeesAsString>sample string 7</AttendeesAsString>
  <End>2026-12-06T15:19:42.1327126+08:00</End>
  <EndTimeZoneId>sample string 11</EndTimeZoneId>
  <IsAllDay>true</IsAllDay>
  <Location>sample string 14</Location>
  <Notes>sample string 15</Notes>
  <Organiser>sample string 4</Organiser>
  <OwnerId>sample string 3</OwnerId>
  <Priority>sample string 13</Priority>
  <ReminderMinutesBeforeStart>1</ReminderMinutesBeforeStart>
  <SendInvite>true</SendInvite>
  <Start>2026-12-06T15:19:42.1327126+08:00</Start>
  <StartTimeZoneId>sample string 9</StartTimeZoneId>
  <SubscriptionId>954cdf1c-fb4b-44f2-8e13-fb9a829dfaf1</SubscriptionId>
  <Title>sample string 5</Title>
  <Completed>true</Completed>
  <ReadOnly>true</ReadOnly>
</AppointmentEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.