Skip to navigation

Create ticket type mapper

View as Markdown

Creates a ticket type mapper and returns it with its server-assigned id and version.

Send the fields at the top level of the body. Don’t send id or version.num; version.change_description is required.

Authentication

AuthorizationBearer

JWT bearer token authentication. Include the Configuration API key in the Authorization header as ‘Bearer <token>’.

Request

This endpoint expects an object.
connector_idstringRequiredformat: "uuid">=1 character

Connector for the ticketing system whose ticket types these settings describe. Cannot be changed after creation. ID of an existing connector (GET /configurations/v1alpha1/platform/connectors).

versionobjectRequired
Document version. On update, send back the num from your last read.
ticket_typeslist of objectsOptional
Settings for each ticket type in the ticketing system. A ticket type may appear more than once.

Response

The created ticket type mapper
idstringOptionalRead-only
Unique ID of this configuration, assigned by the server.
connector_idstringOptionalformat: "uuid">=1 character

Connector for the ticketing system whose ticket types these settings describe. Cannot be changed after creation. ID of an existing connector (GET /configurations/v1alpha1/platform/connectors).

ticket_typeslist of objectsOptional
Settings for each ticket type in the ticketing system. A ticket type may appear more than once.
updated_timedatetimeOptionalRead-only
When the configuration was last updated.
updated_bystringOptionalRead-only
Who last updated the configuration.
versionobjectOptional
Document version. On update, send back the num from your last read.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error