Events
Ask
List events
GET/v1/teams/{teamId}/days/{dayId}/eventsLists event records for a day.
Required scopes: event:read
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.dayIdrequired | string:uuidDay identifier. |
query.limit | integerMaximum number of records to return. Defaults to 50 and is capped at 200. |
query.cursor | stringCursor returned by page.nextCursor from the previous list response. |
Response 200
data | object[] |
|---|---|
data[].dayId | string:uuid |
data[].venueId | string:uuid |
data[].name | string |
data[].notes | string |
data[].visibility | objectOptional visibility rules for the event. |
data[].visibility.groupIds | string:uuid[] |
data[].visibility.userIds | string:uuid[] |
data[].contacts | object[] |
data[].contacts[].name | stringContact person's name. |
data[].contacts[].title | stringContact person's role or job title. |
data[].contacts[].phone | stringContact phone number. |
data[].contacts[].email | string:emailContact email address. |
data[].contacts[].notes | stringShort notes about this contact. |
data[].laborCalls | object[] |
data[].laborCalls[].id | string:uuid |
data[].laborCalls[].laborCall | string |
data[].laborCalls[].time | object |
data[].laborCalls[].isNextDay | boolean |
data[].laborCalls[].type | string |
data[].laborCalls[].location | string |
data[].laborCalls[].add | string |
data[].laborCalls[].cut | string |
data[].laborCalls[].notes | string |
data[].guestList | object |
data[].guestList.enabled | boolean |
data[].guestList.ticketsAllotted | integer | null |
data[].guestList.cutoffAt | string:date-time |
data[].guestList.willCallPickupInstructions | string | null |
data[].guestList.seats | object[] |
data[].guestList.seats[].id | string:uuid |
data[].guestList.seats[].section | string |
data[].guestList.seats[].row | string |
data[].guestList.seats[].seat | string |
data[].guestList.seats[].ticketTypeId | string:uuid |
data[].guestList.seats[].assignedGuestRequestId | string:uuid |
data[].guestList.ticketTypeAllotments | object[] |
data[].guestList.ticketTypeAllotments[].ticketTypeId | string:uuid |
data[].guestList.ticketTypeAllotments[].quantity | integer |
data[].id | string:uuid |
data[].orgId | string:uuid |
data[].isDeleted | boolean |
data[].version | integerCurrent event aggregate version. |
data[].cursor | integerLatest event-ledger cursor projected into this event record. |
page | object |
page.limit | integerMaximum number of records returned in this page. |
page.nextCursor | string | nullCursor to pass as the next request's cursor query parameter, or null when there are no more results. |
meta | object |
meta.cursor | number | nullHighest record cursor represented by this response. |
Create an event
POST/v1/teams/{teamId}/days/{dayId}/eventsAccepts a command to create an event for a day.
Required scopes: event:write
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.dayIdrequired | string:uuidDay identifier. |
header.Idempotency-Key | string:uuidOptional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request. |
Request body (application/json)
dayIdrequired | string:uuidDay identifier that owns this event. |
|---|---|
venueIdrequired | string:uuidVenue identifier for this event. |
name | stringEvent display name. |
notes | stringEvent notes. |
visibility | objectOptional visibility rules for this event. |
visibility.groupIds | string:uuid[] |
visibility.userIds | string:uuid[] |
contacts | object[]Event contacts. Defaults to an empty list when omitted. |
contacts[].namerequired | stringContact person's name. |
contacts[].title | stringContact person's role or job title. |
contacts[].phone | stringContact phone number. |
contacts[].email | string:emailContact email address. |
contacts[].notes | stringShort notes about this contact. |
laborCalls | object[]Labor calls for the event. Defaults to an empty list when omitted. |
laborCalls[].idrequired | string:uuid |
laborCalls[].laborCallrequired | string |
laborCalls[].timerequired | object |
laborCalls[].isNextDayrequired | boolean |
laborCalls[].typerequired | string |
laborCalls[].locationrequired | string |
laborCalls[].addrequired | string |
laborCalls[].cutrequired | string |
laborCalls[].notesrequired | string |
guestList | objectGuest list settings. Defaults to an enabled guest list with no seats or ticket allotments when omitted. |
guestList.enabled | boolean |
guestList.ticketsAllotted | integer | null |
guestList.cutoffAt | string:date-time |
guestList.willCallPickupInstructions | string | null |
guestList.seats | object[] |
guestList.seats[].idrequired | string:uuid |
guestList.seats[].sectionrequired | string |
guestList.seats[].rowrequired | string |
guestList.seats[].seatrequired | string |
guestList.seats[].ticketTypeId | string:uuid |
guestList.seats[].assignedGuestRequestId | string:uuid |
guestList.ticketTypeAllotments | object[] |
guestList.ticketTypeAllotments[].ticketTypeIdrequired | string:uuid |
guestList.ticketTypeAllotments[].quantityrequired | integer |
id | string:uuidOptional caller-supplied event ID. RoadOps generates one when omitted. |
Response 202
commandId | string:uuidCommand identifier accepted into the RoadOps command ledger. |
|---|---|
resourceId | string:uuidIdentifier of the resource targeted by the command. |
resourceType | stringResource type targeted by the command. |
status | "applied"Command dispatch status. |
aggregateVersion | integerAggregate version produced by the accepted command. |
cursor | integerEvent-ledger cursor for the accepted update. Refetch until returned records reach this cursor. |
links | object |
links.refetch | stringRelative 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.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.dayIdrequired | string:uuidDay identifier. |
path.eventIdrequired | string:uuidEvent identifier. |
Response 200
data | object |
|---|---|
data.dayId | string:uuid |
data.venueId | string:uuid |
data.name | string |
data.notes | string |
data.visibility | objectOptional visibility rules for the event. |
data.visibility.groupIds | string:uuid[] |
data.visibility.userIds | string:uuid[] |
data.contacts | object[] |
data.contacts[].name | stringContact person's name. |
data.contacts[].title | stringContact person's role or job title. |
data.contacts[].phone | stringContact phone number. |
data.contacts[].email | string:emailContact email address. |
data.contacts[].notes | stringShort notes about this contact. |
data.laborCalls | object[] |
data.laborCalls[].id | string:uuid |
data.laborCalls[].laborCall | string |
data.laborCalls[].time | object |
data.laborCalls[].isNextDay | boolean |
data.laborCalls[].type | string |
data.laborCalls[].location | string |
data.laborCalls[].add | string |
data.laborCalls[].cut | string |
data.laborCalls[].notes | string |
data.guestList | object |
data.guestList.enabled | boolean |
data.guestList.ticketsAllotted | integer | null |
data.guestList.cutoffAt | string:date-time |
data.guestList.willCallPickupInstructions | string | null |
data.guestList.seats | object[] |
data.guestList.seats[].id | string:uuid |
data.guestList.seats[].section | string |
data.guestList.seats[].row | string |
data.guestList.seats[].seat | string |
data.guestList.seats[].ticketTypeId | string:uuid |
data.guestList.seats[].assignedGuestRequestId | string:uuid |
data.guestList.ticketTypeAllotments | object[] |
data.guestList.ticketTypeAllotments[].ticketTypeId | string:uuid |
data.guestList.ticketTypeAllotments[].quantity | integer |
data.id | string:uuid |
data.orgId | string:uuid |
data.isDeleted | boolean |
data.version | integerCurrent event aggregate version. |
data.cursor | integerLatest event-ledger cursor projected into this event record. |
meta | object |
meta.cursor | integerHighest 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.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.dayIdrequired | string:uuidDay identifier. |
path.eventIdrequired | string:uuidEvent identifier. |
header.Idempotency-Key | string:uuidOptional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request. |
Request body (application/json)
expectedVersion | integerOptional aggregate version guard. |
|---|---|
updatesrequired | object |
updates.name | stringUpdated event name. |
updates.venueId | string:uuidUpdated venue identifier. |
updates.notes | string | nullUpdated event notes, or null to clear them. |
updates.visibility | object | nullUpdated visibility rules, or null to clear them. |
updates.visibility.groupIds | string:uuid[] |
updates.visibility.userIds | string:uuid[] |
updates.contacts | object[]Updated event contact list. |
updates.contacts[].namerequired | stringContact person's name. |
updates.contacts[].title | stringContact person's role or job title. |
updates.contacts[].phone | stringContact phone number. |
updates.contacts[].email | string:emailContact email address. |
updates.contacts[].notes | stringShort notes about this contact. |
updates.laborCalls | object[]Updated labor calls for the event. |
updates.laborCalls[].idrequired | string:uuid |
updates.laborCalls[].laborCallrequired | string |
updates.laborCalls[].timerequired | object |
updates.laborCalls[].isNextDayrequired | boolean |
updates.laborCalls[].typerequired | string |
updates.laborCalls[].locationrequired | string |
updates.laborCalls[].addrequired | string |
updates.laborCalls[].cutrequired | string |
updates.laborCalls[].notesrequired | string |
updates.guestList | objectGuest list settings to update. |
updates.guestList.enabled | boolean |
updates.guestList.ticketsAllotted | integer | null |
updates.guestList.cutoffAt | string:date-time |
updates.guestList.willCallPickupInstructions | string | null |
updates.guestList.seats | object[] |
updates.guestList.seats[].idrequired | string:uuid |
updates.guestList.seats[].sectionrequired | string |
updates.guestList.seats[].rowrequired | string |
updates.guestList.seats[].seatrequired | string |
updates.guestList.seats[].ticketTypeId | string:uuid |
updates.guestList.seats[].assignedGuestRequestId | string:uuid |
updates.guestList.ticketTypeAllotments | object[] |
updates.guestList.ticketTypeAllotments[].ticketTypeIdrequired | string:uuid |
updates.guestList.ticketTypeAllotments[].quantityrequired | integer |
Response 202
commandId | string:uuidCommand identifier accepted into the RoadOps command ledger. |
|---|---|
resourceId | string:uuidIdentifier of the resource targeted by the command. |
resourceType | stringResource type targeted by the command. |
status | "applied"Command dispatch status. |
aggregateVersion | integerAggregate version produced by the accepted command. |
cursor | integerEvent-ledger cursor for the accepted update. Refetch until returned records reach this cursor. |
links | object |
links.refetch | stringRelative 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.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.dayIdrequired | string:uuidDay identifier. |
path.eventIdrequired | string:uuidEvent identifier. |
header.Idempotency-Key | string:uuidOptional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request. |
Response 202
commandId | string:uuidCommand identifier accepted into the RoadOps command ledger. |
|---|---|
resourceId | string:uuidIdentifier of the resource targeted by the command. |
resourceType | stringResource type targeted by the command. |
status | "applied"Command dispatch status. |
aggregateVersion | integerAggregate version produced by the accepted command. |
cursor | integerEvent-ledger cursor for the accepted update. Refetch until returned records reach this cursor. |
links | object |
links.refetch | stringRelative URL to refetch the affected resource. |