Skip to navigation

Update ticket destination mapper

View as Markdown

Changes the fields you send and returns the full updated document.

Send only the fields you want to change, plus version with the num from your last read and a change_description. This is a JSON merge-patch: a field you leave out keeps its stored value, and every list or map you send replaces the stored one whole. The id goes in the URL.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

The id of the ticket destination mapper, as returned when it was created or listed.

Request

This endpoint expects an object.
versionobjectRequired
Document version. On update, send back the num from your last read.
mapper_benderobjectOptional
Data mapping, in Moveworks data mapper JSON, that converts a raw ticket into its ticket destination.
destination_field_mappingslist of objectsOptional
Ticket destination fields and the raw ticket fields that feed them. Needed only for ManageEngine.

Response

The updated ticket destination mapper, at its new version
idstringOptionalRead-only
Unique ID of this configuration, assigned by the server.
connector_idstringOptionalformat: "uuid">=1 character

Connector for the ticketing system whose tickets this mapper reads. Cannot be changed after creation. ID of an existing connector (GET /configurations/v1alpha1/platform/connectors).

mapper_benderobjectOptional
Data mapping, in Moveworks data mapper JSON, that converts a raw ticket into its ticket destination.
destination_field_mappingslist of objectsOptional
Ticket destination fields and the raw ticket fields that feed them. Needed only for ManageEngine.
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
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error