Skip to content

Create new category

Request

Security
oauth2
Bodyrequired
namenull or string, [ 0 .. 80 ] charactersrequired

Gets or sets the name of the ticket category.

locationsArray of strings or null

Gets or sets the list of locations associated with the ticket category.

PUT
/tickets/categories
{ "name": null, "locations": null }

Responses

OK

Bodyapplication/json
idstring, (uuid)

Gets or sets the ticket category id.

namenull or string

Gets or sets the category name.

isActiveboolean

Gets or sets a value indicating whether the category is active or not.

locationsArray of strings or null

Gets or sets the list of locations associated with the ticket category.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "isActive": true, "locations": null }