Allows for the editing of ticket information for a particular ticket event.
When editing ticket holder fields (e.g. name, email, phone, address, dob, age), only fields included in the request will be updated.
If both dob
and age
are included in the request, the age must match the date of birth based on the event date or the current date.
To clear a ticket holder field, it should be sent as null
.
If no address fields are sent, the existing address will be retained, but if at least one is set, any field not sent will be cleared.
When editing ticket question responses, only questions asked per ticket are supported. Only question responses included in the request will be updated. Question response limits will be ignored.
The question_responses
field should be an array of objects, each containing the fields question_id
and response
.
For Freeform and Essay type responses (response type codes F and A), response
should be a string with the response text.
For Radio and Select type responses (response type codes R and S), response
should be an integer response ID.
For Checkbox type responses (response type code C), response
should be an array of integer response IDs.
For Boolean type responses (response type code B), response
should be the string T
or F
.
To clear a question response, the response
field should be sent as null
.
For JSON requests, the request should look like the example below.
{ "tickets": [ { "ticket_id": 123, "checked_in": "T", "ticket_number": "1", "first_name": "Elijah", "last_name": "Craig", "email": "elijah.craig@example.com", "street": "7291 Lone Wolf Trail", "street2": "Apt. 123", "city": "Moorestown", "state": "NJ", "countrycode": "US", "zipcode": "08057", "phone": "555-555-5555", "dob": "1987-08-29", "age": 36 "question_responses": [ { "question_id": 4, "response": "F" }, { "question_id": 5, "response": [10, 11] } ] } ] }
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
ticket_event_id Required |
GET | ID of ticket event. | uint |
|
rsu_api_key |
GET | API key. | string |
|
X-RSU-API-SECRET |
HTTP Header | API secret. | string |
|
request |
POST | Request in proper format. | string |
|
clear_null_ticket_numbers |
GET | F | Clear ticket numbers set to null? | bool |