put https://api.accelevents.com/rest/host/ticketing//holder-data/barcode/
This API updates ticket holder attribute data based on the barcode ID for a specified event and is accessible via API key or event admin token. The API returns a response containing a type and message. To call this API, the user must include query parameters in the URL, such as the event URL, barcode ID, attendee attribute details, and an authentication key.
Here is the description of response attributes, which returns in JSON format. This will return a success message if the call is executed successfully.
Attribute | Description |
---|---|
type | This is the type of API response which will be Success or Fail. |
message | This contains a message for response that can be used to display to the end user. |
Here are the possible error messages, which return if any condition fails or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Ticket Holder Details Updated Successfully. |
201 | Created. |
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4030201 | Not Event Host. |
4069101 | Only 50 Characters are allowed in firstName. |
4069102 | Only 50 Characters are allowed in lastName. |
4069103 | Only 75 Characters are allowed in email. |
4060074 | Email is not valid, please enter valid email. |
4060004 | Not a valid phone number. |
4060132 | Age is not valid. |