Skip to main content
PATCH
Update an Event

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Scopes

public.timeline_event:write
Bearer
public.timeline_event:write
OAuth2

Timeline Event (Write)

Path Parameters

event_id
string
required

The ID of the timeline event

Pattern: ^aevt_

Query Parameters

expand
string[]

This endpoint supports expandable responses. For more, see the documentation page.

fields
string[]

Returns only the listed fields, such as id,status,site.name. Identifiers and constant fields such as object are always returned. A field inside an expandable association also needs it in expand, unless the collapsed association returns it, such as site.id. For more, see the documentation page.

Body

application/json

Update Event Request

source
object

Source that reports the event, such as an external system.

template
object

Template that defines the event's message.

contact
object | null

Contact the event relates to.

site
object | null

Site the event relates to.

subscription
object | null

Subscription the event relates to.

tenancy
object | null

Tenancy the event relates to. Ignored when subscription is given.

unit
object | null

Unit the event relates to.

invoice
object | null

Invoice the event relates to.

unit_type
object | null

Unit type the event relates to.

description
string | null

The event description.

external
object | null

The event's record in an external system.

variables
object | null

Values for the template's custom variables.

Response

event updated

Single Timeline Event

event
object
required

Event

meta
object
required