Skip to content

Reschedule Event Appointment

Request

Move an Appointment from this Event to another Event in the same Location.

Security
BearerPartnerUser
Path
location_idinteger, >= 1required

Location ID

event_idinteger, >= 1required

Source Event ID

record_idinteger, >= 1required

Appointment ID; record_id is the literal wire path parameter

Query
includeArray of strings, unique(Appointment Includes)

Related resources to include in the rescheduled Appointment

Items Enum:"client""client.custom_field_values""staff""services""goods""resource_instances""labels""attendance_service_items""attendance_good_items""attendance_document"
Headers
Acceptstringrequired

Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.

Default:"application/vnd.api.v2+json"
Example:application/vnd.api.v2+json
Content-Typestringrequired

Request media type

Value:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

Bodyapplication/jsonrequired
reschedule_activity_idinteger, >= 1required

Literal wire field for the destination Event ID

with_comerboolean

Whether to retain the linked walk-in visitor

commentstring or null, <= 255 characters

Appointment comment

clients_countinteger or null, >= 1

Number of places reserved by the Appointment

curl -i -X PATCH \
  'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/events/{event_id}/appointments/{record_id}?include=client' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "reschedule_activity_id": 12346,
    "with_comer": true,
    "clients_count": 1
  }'

Responses

Event Appointment rescheduled successfully

Bodyapplication/json
dataobject(Appointment Resource)required
metaArray of any, <= 0 itemsrequired

Empty JSON array returned for an Event Appointment item

includedArray of objects(includedResource)

Resources requested through include, when available

Response
{ "data": { "type": "record", "id": "string", "attributes": { … }, "relationships": { … } }, "included": [ { … } ], "meta": [] }