Back to InsightlyUpdates A Ticket
If you have trouble updating a Ticket, try accessing the Ticket via the GET request to inspect its fields and sub-elements. A common source of problems with write/update requests occurs when users either omit required fields, or insert invalid data into a field (for example, by referring a CATEGORY_ID or LINK_ID which does not exist.
Input
type: object
properties:
parameters:
type: object
properties:
fieldValues:
title: Ticket
required:
- SUBJECT
- TICKET_STATUS
- CONTACT_ID
type: object
properties:
TICKET_ID:
format: int64
maxLength: 0
type: integer
readOnly: true
ORGANISATION_ID:
format: int64
maxLength: 0
type: integer
readOnly: false
TICKET_TYPE:
format: string
maxLength: 0
type: string
readOnly: false
SUBJECT:
format: string
maxLength: 500
type: string
readOnly: false
TICKET_STATUS:
format: string
maxLength: 20
type: string
readOnly: false
PRIORITY:
format: string
maxLength: 20
type: string
readOnly: false
TO_EMAIL_ADDRESS:
format: string
maxLength: 255
type: string
readOnly: false
CONTACT_ID:
format: int64
maxLength: 0
type: integer
readOnly: false
OWNER_USER_ID:
format: int32
maxLength: 0
type: integer
readOnly: false
CUSTOMFIELDS:
type: array
items:
title: CustomField
type: object
properties:
FIELD_NAME:
type: string
FIELD_VALUE:
type: object
description: >-
The record to update (just include the JSON object as the request
body)
required:
- fieldValues
title: Parameters