Create a new EventDate
POST/eventdate
Create a new EventDate.
Note this also requires a guid for an Event.
Request
- application/json
Body
Input data
The guid of the Event for this EventDate.
The start of the date range.
The end of the date range. Must be later than start date.
Possible values: <= 255 characters
The Event key (See Seats.io).
Possible values: <= 255 characters
The Facebook event ID.
Possible values: <= 9999999999
The maximum capacity of people for this EventDate. This number is strictly positive or 0 signaling an infinite capacity.
Responses
- 200
- 403
- 404
- 406
EventDate created.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the EventDate
The guid of the Event for this EventDate.
The start of the date range.
The end of the date range. Must be later than start date.
Possible values: <= 255 characters
The Event key (See Seats.io).
Possible values: <= 255 characters
The Facebook event ID.
Possible values: <= 9999999999
The maximum capacity of people for this EventDate. This number is strictly positive or 0 signaling an infinite capacity.
Whether an EventDate is seated or not.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"start": "2023-08-01T14:40:24+00:00",
"end": "2023-08-01T14:40:24+00:00",
"seats_event_key": "string",
"facebook_event_id": "string",
"capacity": 0,
"seated": true
}
Unauthorized. You do not have permission to manage the EventDates of the Company, the Event or the Location.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Company, Event or Location not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}