RoadOpsDeveloper

Events

Ask

List events

GET/v1/teams/{teamId}/days/{dayId}/events

Lists event records for a day.

Required scopes: event:read

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

query.limitinteger

Maximum number of records to return. Defaults to 50 and is capped at 200.

query.cursorstring

Cursor returned by page.nextCursor from the previous list response.

Response 200

dataobject[]
data[].dayIdstring:uuid
data[].venueIdstring:uuid
data[].namestring
data[].notesstring
data[].visibilityobject

Optional visibility rules for the event.

data[].visibility.groupIdsstring:uuid[]
data[].visibility.userIdsstring:uuid[]
data[].contactsobject[]
data[].contacts[].namestring

Contact person's name.

data[].contacts[].titlestring

Contact person's role or job title.

data[].contacts[].phonestring

Contact phone number.

data[].contacts[].emailstring:email

Contact email address.

data[].contacts[].notesstring

Short notes about this contact.

data[].laborCallsobject[]
data[].laborCalls[].idstring:uuid
data[].laborCalls[].laborCallstring
data[].laborCalls[].timeobject
data[].laborCalls[].isNextDayboolean
data[].laborCalls[].typestring
data[].laborCalls[].locationstring
data[].laborCalls[].addstring
data[].laborCalls[].cutstring
data[].laborCalls[].notesstring
data[].guestListobject
data[].guestList.enabledboolean
data[].guestList.ticketsAllottedinteger | null
data[].guestList.cutoffAtstring:date-time
data[].guestList.willCallPickupInstructionsstring | null
data[].guestList.seatsobject[]
data[].guestList.seats[].idstring:uuid
data[].guestList.seats[].sectionstring
data[].guestList.seats[].rowstring
data[].guestList.seats[].seatstring
data[].guestList.seats[].ticketTypeIdstring:uuid
data[].guestList.seats[].assignedGuestRequestIdstring:uuid
data[].guestList.ticketTypeAllotmentsobject[]
data[].guestList.ticketTypeAllotments[].ticketTypeIdstring:uuid
data[].guestList.ticketTypeAllotments[].quantityinteger
data[].idstring:uuid
data[].orgIdstring:uuid
data[].isDeletedboolean
data[].versioninteger

Current event aggregate version.

data[].cursorinteger

Latest event-ledger cursor projected into this event record.

pageobject
page.limitinteger

Maximum number of records returned in this page.

page.nextCursorstring | null

Cursor to pass as the next request's cursor query parameter, or null when there are no more results.

metaobject
meta.cursornumber | null

Highest record cursor represented by this response.

Create an event

POST/v1/teams/{teamId}/days/{dayId}/events

Accepts a command to create an event for a day.

Required scopes: event:write

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

header.Idempotency-Keystring:uuid

Optional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request.

Request body (application/json)

dayIdrequiredstring:uuid

Day identifier that owns this event.

venueIdrequiredstring:uuid

Venue identifier for this event.

namestring

Event display name.

notesstring

Event notes.

visibilityobject

Optional visibility rules for this event.

visibility.groupIdsstring:uuid[]
visibility.userIdsstring:uuid[]
contactsobject[]

Event contacts. Defaults to an empty list when omitted.

contacts[].namerequiredstring

Contact person's name.

contacts[].titlestring

Contact person's role or job title.

contacts[].phonestring

Contact phone number.

contacts[].emailstring:email

Contact email address.

contacts[].notesstring

Short notes about this contact.

laborCallsobject[]

Labor calls for the event. Defaults to an empty list when omitted.

laborCalls[].idrequiredstring:uuid
laborCalls[].laborCallrequiredstring
laborCalls[].timerequiredobject
laborCalls[].isNextDayrequiredboolean
laborCalls[].typerequiredstring
laborCalls[].locationrequiredstring
laborCalls[].addrequiredstring
laborCalls[].cutrequiredstring
laborCalls[].notesrequiredstring
guestListobject

Guest list settings. Defaults to an enabled guest list with no seats or ticket allotments when omitted.

guestList.enabledboolean
guestList.ticketsAllottedinteger | null
guestList.cutoffAtstring:date-time
guestList.willCallPickupInstructionsstring | null
guestList.seatsobject[]
guestList.seats[].idrequiredstring:uuid
guestList.seats[].sectionrequiredstring
guestList.seats[].rowrequiredstring
guestList.seats[].seatrequiredstring
guestList.seats[].ticketTypeIdstring:uuid
guestList.seats[].assignedGuestRequestIdstring:uuid
guestList.ticketTypeAllotmentsobject[]
guestList.ticketTypeAllotments[].ticketTypeIdrequiredstring:uuid
guestList.ticketTypeAllotments[].quantityrequiredinteger
idstring:uuid

Optional caller-supplied event ID. RoadOps generates one when omitted.

Response 202

commandIdstring:uuid

Command identifier accepted into the RoadOps command ledger.

resourceIdstring:uuid

Identifier of the resource targeted by the command.

resourceTypestring

Resource type targeted by the command.

status"applied"

Command dispatch status.

aggregateVersioninteger

Aggregate version produced by the accepted command.

cursorinteger

Event-ledger cursor for the accepted update. Refetch until returned records reach this cursor.

linksobject
links.refetchstring

Relative URL to refetch the affected resource.

Retrieve an event

GET/v1/teams/{teamId}/days/{dayId}/events/{eventId}

Returns one event record by ID.

Required scopes: event:read

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.eventIdrequiredstring:uuid

Event identifier.

Response 200

dataobject
data.dayIdstring:uuid
data.venueIdstring:uuid
data.namestring
data.notesstring
data.visibilityobject

Optional visibility rules for the event.

data.visibility.groupIdsstring:uuid[]
data.visibility.userIdsstring:uuid[]
data.contactsobject[]
data.contacts[].namestring

Contact person's name.

data.contacts[].titlestring

Contact person's role or job title.

data.contacts[].phonestring

Contact phone number.

data.contacts[].emailstring:email

Contact email address.

data.contacts[].notesstring

Short notes about this contact.

data.laborCallsobject[]
data.laborCalls[].idstring:uuid
data.laborCalls[].laborCallstring
data.laborCalls[].timeobject
data.laborCalls[].isNextDayboolean
data.laborCalls[].typestring
data.laborCalls[].locationstring
data.laborCalls[].addstring
data.laborCalls[].cutstring
data.laborCalls[].notesstring
data.guestListobject
data.guestList.enabledboolean
data.guestList.ticketsAllottedinteger | null
data.guestList.cutoffAtstring:date-time
data.guestList.willCallPickupInstructionsstring | null
data.guestList.seatsobject[]
data.guestList.seats[].idstring:uuid
data.guestList.seats[].sectionstring
data.guestList.seats[].rowstring
data.guestList.seats[].seatstring
data.guestList.seats[].ticketTypeIdstring:uuid
data.guestList.seats[].assignedGuestRequestIdstring:uuid
data.guestList.ticketTypeAllotmentsobject[]
data.guestList.ticketTypeAllotments[].ticketTypeIdstring:uuid
data.guestList.ticketTypeAllotments[].quantityinteger
data.idstring:uuid
data.orgIdstring:uuid
data.isDeletedboolean
data.versioninteger

Current event aggregate version.

data.cursorinteger

Latest event-ledger cursor projected into this event record.

metaobject
meta.cursorinteger

Highest record cursor represented by this response.

Update an event

PATCH/v1/teams/{teamId}/days/{dayId}/events/{eventId}

Accepts a command to update event fields.

Required scopes: event:write

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.eventIdrequiredstring:uuid

Event identifier.

header.Idempotency-Keystring:uuid

Optional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request.

Request body (application/json)

expectedVersioninteger

Optional aggregate version guard.

updatesrequiredobject
updates.namestring

Updated event name.

updates.venueIdstring:uuid

Updated venue identifier.

updates.notesstring | null

Updated event notes, or null to clear them.

updates.visibilityobject | null

Updated visibility rules, or null to clear them.

updates.visibility.groupIdsstring:uuid[]
updates.visibility.userIdsstring:uuid[]
updates.contactsobject[]

Updated event contact list.

updates.contacts[].namerequiredstring

Contact person's name.

updates.contacts[].titlestring

Contact person's role or job title.

updates.contacts[].phonestring

Contact phone number.

updates.contacts[].emailstring:email

Contact email address.

updates.contacts[].notesstring

Short notes about this contact.

updates.laborCallsobject[]

Updated labor calls for the event.

updates.laborCalls[].idrequiredstring:uuid
updates.laborCalls[].laborCallrequiredstring
updates.laborCalls[].timerequiredobject
updates.laborCalls[].isNextDayrequiredboolean
updates.laborCalls[].typerequiredstring
updates.laborCalls[].locationrequiredstring
updates.laborCalls[].addrequiredstring
updates.laborCalls[].cutrequiredstring
updates.laborCalls[].notesrequiredstring
updates.guestListobject

Guest list settings to update.

updates.guestList.enabledboolean
updates.guestList.ticketsAllottedinteger | null
updates.guestList.cutoffAtstring:date-time
updates.guestList.willCallPickupInstructionsstring | null
updates.guestList.seatsobject[]
updates.guestList.seats[].idrequiredstring:uuid
updates.guestList.seats[].sectionrequiredstring
updates.guestList.seats[].rowrequiredstring
updates.guestList.seats[].seatrequiredstring
updates.guestList.seats[].ticketTypeIdstring:uuid
updates.guestList.seats[].assignedGuestRequestIdstring:uuid
updates.guestList.ticketTypeAllotmentsobject[]
updates.guestList.ticketTypeAllotments[].ticketTypeIdrequiredstring:uuid
updates.guestList.ticketTypeAllotments[].quantityrequiredinteger

Response 202

commandIdstring:uuid

Command identifier accepted into the RoadOps command ledger.

resourceIdstring:uuid

Identifier of the resource targeted by the command.

resourceTypestring

Resource type targeted by the command.

status"applied"

Command dispatch status.

aggregateVersioninteger

Aggregate version produced by the accepted command.

cursorinteger

Event-ledger cursor for the accepted update. Refetch until returned records reach this cursor.

linksobject
links.refetchstring

Relative URL to refetch the affected resource.

Delete an event

DELETE/v1/teams/{teamId}/days/{dayId}/events/{eventId}

Accepts a command to delete an event.

Required scopes: event:write

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.eventIdrequiredstring:uuid

Event identifier.

header.Idempotency-Keystring:uuid

Optional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request.

Response 202

commandIdstring:uuid

Command identifier accepted into the RoadOps command ledger.

resourceIdstring:uuid

Identifier of the resource targeted by the command.

resourceTypestring

Resource type targeted by the command.

status"applied"

Command dispatch status.

aggregateVersioninteger

Aggregate version produced by the accepted command.

cursorinteger

Event-ledger cursor for the accepted update. Refetch until returned records reach this cursor.

linksobject
links.refetchstring

Relative URL to refetch the affected resource.