--- title: Trouble Ticket Open API description: The Trouble Ticket Open API provides endpoints to create, update, and retrieve data from the Case \[sn\_customerservice\_case\], Incident \[incident\], and Service Problem Case \[sn\_sprb\_mgmt\_case\] tables.Retrieves a list of all trouble ticket records from the Case \[sn\_customerservice\_case\], Incident \[incident\], and Service Problem Case \[sn\_sprb\_mgmt\_case\] tables.Retrieves a specified record from the Case \[sn\_customerservice\_case\], Incident \[incident\], or Service Problem Case \[sn\_sprb\_mgmt\_case\] table.Updates a specified record in the Case \[sn\_customerservice\_case\], Incident \[incident\], or Service Problem Case \[sn\_sprb\_mgmt\_case\] table.Creates a record in the Case \[sn\_customerservice\_case\], Incident \[incident\], or Service Problem Case \[sn\_sprb\_mgmt\_case\] table. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/trouble-ticket-open-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 28 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # Trouble Ticket Open API The Trouble Ticket Open API provides endpoints to create, update, and retrieve data from the Case \[sn\_customerservice\_case\], Incident \[incident\], and Service Problem Case \[sn\_sprb\_mgmt\_case\] tables. Use this API to manage ticket information between external ticketing systems and the ServiceNow AI Platform. This API is included in the [Proactive Service Experience Workflows](https://store.servicenow.com/sn_appstore_store.do#!/store/application/9e07323d5b2110100206cb837b81c773) application, which is available on the ServiceNow Store. The Customer Service \(com.sn\_customerservice\) and Customer Service Install Base Management \(com.snc.install\_base\) applications are required to use this API with the Case \[sn\_customerservice\_case\] table. This API is provided within the `sn_ind_tsm_sdwan` namespace. The calling user must have the ticket\_integrator role. This API can be extended to make customizations around required parameters, request body validation, additional REST operations, and field mappings. For more information, see the [Trouble Ticket Open API Developer Guide](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/developer-guides/trouble-ticket_dev-guide.md). The Trouble Ticket Open API is a ServiceNow® implementation of the TM Forum Trouble Ticket Management API REST specification. This implementation is based on the [TMF621 Trouble Ticket Management API User Guide v5.0.0](https://www.tmforum.org/resources/specifications/tmf621-trouble-ticket-management-api-user-guide-v5-0-0/), September 2024. The Trouble Ticket Open API is conformance certified by TM Forum. \[Omitted image "tmf-conformance.png"\] Alt text: TMF conformance logo **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## Trouble Ticket - GET /sn\_ind\_tsm\_sdwan/ticket/troubleTicket Retrieves a list of all trouble ticket records from the Case \[sn\_customerservice\_case\], Incident \[incident\], and Service Problem Case \[sn\_sprb\_mgmt\_case\] tables. ### URL format Default URL: `/api/sn_ind_tsm_sdwan/ticket/troubleTicket` ### Supported request parameters |Name|Description| |----|-----------| |None| |
| Name | Description |
|---|---|
| fields | List of fields to return in the response. Invalid fields are ignored.Valid fields: - channel - creationDate - description - href - id - lastUpdate - name - note - relatedEntity - relatedParty - severity - status - ticketType - @type Default: Returns all fields. Data type: String |
| id | Filter trouble tickets by sys\_id. Only tickets with the specified sys\_id are returned in the response.Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the **offset** parameter to paginate record retrieval. Default: 25 Maximum: 100 You can change the default and maximum values by updating the **sn\_ind\_tsm\_sdwan.pagination.set\_limit** and **sn\_ind\_tsm\_sdwan.pagination.max\_limit** system properties. Data type: Number |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks.Data type: Number Default: 0 |
| severity | Filter trouble tickets by severity. Only tickets with the specified severity are returned in the response.Data type: String |
| status | Filter trouble tickets by status. Only tickets with the specified status are returned in the response.Data type: String |
| ticketType | Filter trouble tickets by ticket type. Only tickets of the specified type are returned in the response.Valid values: - Case - Incident - Service Problem Case Data type: String |
| Header | Description |
|---|---|
| Content-Range | Range of content returned in a paginated call. For example, if `offset=2` and `limit=3`, the value of the **Content-Range** header is `items 3-5`. |
| Content-Type | Data format of the response body. Only supports **application/json**. |
| Link | Contains the following links to navigate through query results.- first - last - next - previous |
| X-Total-Count | For paginated queries, this header specifies the total number of records available on the server. |
| Status code | Description |
|---|---|
| 200 | Request successfully processed. Full resource returned in response \(no pagination\). |
| 206 | Partial resource returned in response \(with pagination\). |
| 400 | Bad request. Possible reasons: - Invalid path parameter - Invalid URI |
| 404 | Record not found. No records matching the query parameters are found in the table. |
| Name | Description |
|---|---|
| channel | Method of contact that the ticket was created through.Data type: Object ``` "channel":{ "name": "String" } ``` |
| channel.name | The name of the contact method. Maps to the **Channel** \[contact\_type\] field for cases and the **Contact type** \[contact\_type\] field for incidents.Data type: String |
| creationDate | The date that the case or incident record was created. Maps to the **Created** field.Data type: String |
| description | The description of the issue from the ticket. Maps to the **Description** field.Data type: String |
| href | Relative link to the case or incident record.Data type: String |
| id | The sys\_id of the case or incident record.Data type: String |
| lastUpdate | The date the record was last updated. Maps to the **Updated** field.Data type: String |
| name | The name of the trouble ticket, typically a short description of the issue. Maps to the **Short description** field.Data type: String |
| note | A list of all comments on the ticket. This list does not include work notes.Data type: Array ``` "note":[ { "author": "String", "date": "String", "text": "String", "@type": "String" } ] ``` |
| note.@type | The type of note. Only comments are returned \(not work notes\) so this value is always `comments`.Data type: String |
| note.author | The name of the ServiceNow integration user who made the POST or PATCH request that created the comment.Data type: String |
| note.date | The date the comment was created in the ServiceNow instance.Data type: String |
| note.text | The comment text.Data type: String |
| relatedEntity | List of impacted assets, products, sold products \(product inventory\), configuration items, or services.Data type: Array of Objects ``` "relatedEntity": [ { "id": "String", "href": "String", "name": "String", "role": "String", "@referredType": "String", "@type": "String" } ] ``` |
| relatedEntity.id | Sys\_id of the impacted item or service.For cases, this value is from one of the following tables: - Asset \[alm\_asset\] - Product Inventory \[sn\_prd\_invt\_product\_inventory\], which extends the Sold Product \[sn\_install\_base\_sold\_product\] table - Product Model \[cmdb\_model\] - Sold Product \[sn\_install\_base\_sold\_product\] For incidents, this value is from one of the following tables: - Configuration Item \[cmdb\_ci\] - Service \[cmdb\_ci\_service\] Data type: String |
| relatedEntity.href | Returns an empty string.Data type: String |
| relatedEntity.name | Name of the impacted item or service.Data type: String |
| relatedEntity.role | Description of the impacted item or service.Data type: String |
| relatedEntity.@referredType | Type of item or service.Valid values for case tickets: - asset - product - product\_inventory Valid values for incident tickets: - cmdb\_ci - cmdb\_ci\_service Data type: String |
| relatedEntity.@type | This value is always `relatedEntity`.Data type: String |
| relatedParty | Details about contacts for the ticket.Data type: Array of Objects ``` "relatedParty": [ { "id": "String", "name": "String", "@referredType": "String" } ] ``` |
| relatedParty.id | Sys\_id of the related party. The sys\_id can be from the following tables depending on the ticket type and the related party type.Case: - Account \[customer\_account\]; Related party type is `customer` - Contact \[customer\_contact\]; Related party type is `customer_contact` Incident: - Company \[core\_company\]; Related party type is `customer` - User \[sys\_user\]; Related party type is `customer_contact` Case or incident: - Group \[sys\_user\_group\]; Related party type is `assignment_group` - User \[sys\_user\]; Related party type is `assigned_to` Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.@referredType | Type of related party.Possible values: - `assigned_to`: User assigned to work on the ticket. - `assignment_group`: Group assigned to work on the ticket. - `customer`: Company or account for the ticket. - `customer_contact`: Caller or contact for the ticket. Data type: String |
| severity | The severity of the issue described by the trouble ticket. Maps to the **Priority** field.Data type: String |
| status | The current status of the trouble ticket. Maps to the **State** field.Data type: String |
| ticketType | The type of ticket.Possible values: - Case - Incident - Service Problem Case Data type: String |
| @type | This value is always `TroubleTicket`.Data type: String |
| Name | Description |
|---|---|
| id | Sys\_id of the case or incident record to retrieve. Data type: String Table: Case \[sn\_customerservice\_case\] or Incident \[incident\] |
| Name | Description |
|---|---|
| fields | List of fields to return in the response. Invalid fields are ignored.Valid values: - channel - creationDate - description - href - id - lastUpdate - name - note - relatedEntity - relatedParty - severity - status - ticketType - @type Data type: String Default: Returns all fields. |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected for one or more of the following reasons.- Invalid path parameter. - Invalid URI. |
| 404 | Record not found. A record associated with the ID is not found in the Case \[sn\_customerservice\_case\] or Incident \[incident\] table. |
| Name | Description |
|---|---|
| channel | Method of contact that the ticket was created through.Data type: Object ``` "channel":{ "name": "String" } ``` |
| channel.name | Name of the contact method. Maps to the Channel \[contact\_type\] field for cases and the Contact type \[contact\_type\] field for incidents.Data type: String |
| creationDate | Date that the case or incident record was created. Maps to the Created field.Data type: String |
| description | Description of the issue from the ticket. Maps to the Description field.Data type: String |
| href | Relative link to the case or incident record.Data type: String |
| id | Sys\_id of the case or incident record.Data type: String |
| lastUpdate | Date the record was last updated. Maps to the Updated field.Data type: String |
| name | Name of the trouble ticket, typically a short description of the issue. Maps to the Short description field.Data type: String |
| note | List of all comments on the ticket. This list does not include work notes.Data type: Array of Objects ``` "note":[ { "author": "String", "date": "String", "text": "String", "@type": "String" } ] ``` |
| note.@type | Type of note. Only comments are returned \(not work notes\) so this value is always `comments`.Data type: String |
| note.author | Name of the user who wrote the comment.Data type: String |
| note.date | Date the comment was created in the ServiceNow instance.Data type: String |
| note.text | Comment text.Data type: String |
| relatedEntity | List of impacted assets, products, sold products \(product inventory\), configuration items, or services.Data type: Array of Objects ``` "relatedEntity": [ { "id": "String", "href": "String", "name": "String", "role": "String", "@referredType": "String", "@type": "String" } ] ``` |
| relatedEntity.id | Sys\_id of the impacted item or service.For cases, this value is from one of the following tables: - Asset \[alm\_asset\] - Product Inventory \[sn\_prd\_invt\_product\_inventory\], which extends the Sold Product \[sn\_install\_base\_sold\_product\] table - Product Model \[cmdb\_model\] - Sold Product \[sn\_install\_base\_sold\_product\] For incidents, this value is from one of the following tables: - Configuration Item \[cmdb\_ci\] - Service \[cmdb\_ci\_service\] Data type: String |
| relatedEntity.href | Returns an empty string.Data type: String |
| relatedEntity.name | Name of the impacted item or service.Data type: String |
| relatedEntity.role | Description of the impacted item or service.Data type: String |
| relatedEntity.@referredType | Type of item or service.Valid values for case tickets: - asset - product - product\_inventory Valid values for incident tickets: - cmdb\_ci - cmdb\_ci\_service Data type: String |
| relatedEntity.@type | This value is always `relatedEntity`.Data type: String |
| relatedParty | Details about contacts for the ticket.Data type: Array of Objects ``` "relatedParty": [ { "id": "String", "name": "String", "@referredType": "String" } ] ``` |
| relatedParty.id | Sys\_id of the related party. The sys\_id can be from the following tables depending on the ticket type and the related party type.Case: - Account \[customer\_account\]; Related party type is `customer` - Contact \[customer\_contact\]; Related party type is `customer_contact` Incident: - Company \[core\_company\]; Related party type is `customer` - User \[sys\_user\]; Related party type is `customer_contact` Case or incident: - Group \[sys\_user\_group\]; Related party type is `assignment_group` - User \[sys\_user\]; Related party type is `assigned_to` Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.@referredType | Type of related party.Possible values: - `assigned_to`: User assigned to work on the ticket. - `assignment_group`: Group assigned to work on the ticket. - `customer`: Company or account for the ticket. - `customer_contact`: Caller or contact for the ticket. Data type: String |
| severity | Severity of the issue described by the trouble ticket. Maps to the Priority field.Data type: String |
| status | Current status of the trouble ticket. Maps to the State field.Data type: String |
| ticketType | Type of ticket.Possible values: - Case - Incident - Service Problem Case Data type: String |
| @type | This value is always `TroubleTicket`.Data type: String |
| Name | Description |
|---|---|
| id | Sys\_id of the case or incident record to update.Data type: String Table: Case \[sn\_customerservice\_case\] or Incident \[incident\] |
| Name | Description |
|---|---|
| channel | Method of contact that the ticket was created through.Data type: Object ``` "channel":{ "name": "String" } ``` |
| channel.name | Name of the contact method. Maps to the Channel \[contact\_type\] field for cases and the Contact type \[contact\_type\] field for incidents.Valid values are the choices for the contact\_type field. You can provide the choice label or value. For example, `Virtual Agent` or `virtual_agent`. Data type: String |
| description | Description of the issue. Maps to the **Description** field.Data type: String |
| name | Name of the trouble ticket, typically a short description of the issue. Maps to the Short description field.Data type: String |
| note | List of work notes and comments to add to the ticket.Data type: Array of Objects ``` "note":[ { "text": "String", "@type": "String" } ] ``` |
| note.@type | Type of note. This value determines whether the note is recorded in the Work notes or Additional comments field.Valid values: - comments - work\_notes Data type: String |
| note.text | Note text. Maps to the Work notes or Additional comments field.Data type: String |
| relatedEntity | List of impacted assets, products, sold products \(product inventory\), configuration items, or services.Data type: Array of Objects ``` "relatedEntity": [ { "id": "String", "@referredType": "String" } ] ``` |
| relatedEntity.id | Sys\_id of the impacted item or service.For cases, this value is from one of the following tables: - Asset \[alm\_asset\] - Product Inventory \[sn\_prd\_invt\_product\_inventory\], which extends the Sold Product \[sn\_install\_base\_sold\_product\] table - Product Model \[cmdb\_model\] - Sold Product \[sn\_install\_base\_sold\_product\] For incidents, this value is from one of the following tables: - Configuration Item \[cmdb\_ci\] - Service \[cmdb\_ci\_service\] Data type: String |
| relatedEntity.@referredType | Type of item or service.Valid values for case tickets: - asset - product - product\_inventory Valid values for incident tickets: - cmdb\_ci - cmdb\_ci\_service Data type: String |
| relatedParty | Details about contacts for the ticket. For cases, this parameter populates the Contact or Account field. For incidents, this parameter populates the Caller or Company field.Data type: Array of Objects ``` "relatedParty": [ { "id": "String", "@referredType": "String" } ] ``` |
| relatedParty.id | Sys\_id of the related party. If you provide a contact or a user \(caller\), their account or company is automatically populated on the ticket. Data type: String Table: For cases, the sys\_id is from the Contact \[customer\_contact\] or Account \[customer\_account\] tables. For incidents, the sys\_id is from the User \[sys\_user\] or Company \[core\_company\] tables. |
| relatedParty.@referredType | Type of related party.Valid values: - customer: Company or account for the ticket. - customer\_contact: Caller or contact for the ticket. Data type: String |
| severity | Severity of the issue described by the trouble ticket. Maps to the **Priority** field.Valid values: - 1: Critical - 2: High - 3: Moderate - 4: Low - 5: Planning. Incident only. Valid values are the choices for the Priority field. You must provide the choice value only. For example, `1`. If an invalid value is provided, the severity is set to Low. Data type: String |
| status | Current status of the trouble ticket. Maps to the **State** field.Valid values are the choices for the **State** field. You can provide the choice label or value. For example, `New` or `1`. Data type: String |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected for one or more of the following reasons.- Invalid path parameter. - Invalid URI. |
| 404 | Record not found. A record associated with the ID is not found in the Case \[sn\_customerservice\_case\] or Incident \[incident\] table. |
| Name | Description |
|---|---|
| channel | Method of contact that the ticket was created through.Data type: Object ``` "channel":{ "name": "String" } ``` |
| channel.name | Name of the contact method.Data type: String |
| creationDate | Date the record was created.Data type: String |
| description | Description of the issue from the ticket.Data type: String |
| href | Relative link to the case or incident record.Data type: String |
| id | Sys\_id of the case or incident record.Data type: String |
| lastUpdate | Date the record was last updated.Data type: String |
| name | Name of the trouble ticket, typically a short description of the issue.Data type: String |
| note | List of all comments on the ticket. This list does not include work notes.Data type: Array of Objects ``` "note":[ { "author": "String", "date": "String", "text": "String", "@type": "String" } ] ``` |
| note.@type | Type of note. Only comments are returned \(not work notes\) so this value is always `comments`.Data type: String |
| note.author | Name of the user who wrote the comment.Data type: String |
| note.date | Date the comment was created in the ServiceNow instance.Data type: String |
| note.text | Comment text.Data type: String |
| relatedEntity | List of impacted assets, products, sold products \(product inventory\), configuration items, or services.Data type: Array of Objects ``` "relatedEntity": [ { "id": "String", "href": "String", "name": "String", "role": "String", "@referredType": "String", "@type": "String" } ] ``` |
| relatedEntity.id | Sys\_id of the impacted item or service.For cases, this value is from one of the following tables: - Asset \[alm\_asset\] - Product Inventory \[sn\_prd\_invt\_product\_inventory\], which extends the Sold Product \[sn\_install\_base\_sold\_product\] table - Product Model \[cmdb\_model\] - Sold Product \[sn\_install\_base\_sold\_product\] For incidents, this value is from one of the following tables: - Configuration Item \[cmdb\_ci\] - Service \[cmdb\_ci\_service\] Data type: String |
| relatedEntity.href | Returns an empty string.Data type: String |
| relatedEntity.name | Name of the impacted item or service.Data type: String |
| relatedEntity.role | Description of the impacted item or service.Data type: String |
| relatedEntity.@referredType | Type of item or service.Valid values for case tickets: - asset - product - product\_inventory Valid values for incident tickets: - cmdb\_ci - cmdb\_ci\_service Data type: String |
| relatedEntity.@type | This value is always `relatedEntity`.Data type: String |
| relatedParty | Details about contacts for the ticket.Data type: Array of Objects ``` "relatedParty": [ { "id": "String", "name": "String", "@referredType": "String" } ] ``` |
| relatedParty.id | Sys\_id of the related party. The sys\_id can be from the following tables depending on the ticket type and the related party type.Case: - Account \[customer\_account\]; Related party type is `customer` - Contact \[customer\_contact\]; Related party type is `customer_contact` Incident: - Company \[core\_company\]; Related party type is `customer` - User \[sys\_user\]; Related party type is `customer_contact` Case or incident: - Group \[sys\_user\_group\]; Related party type is `assignment_group` - User \[sys\_user\]; Related party type is `assigned_to` Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.@referredType | Type of related party.Possible values: - `assigned_to`: User assigned to work on the ticket. - `assignment_group`: Group assigned to work on the ticket. - `customer`: Company or account for the ticket. - `customer_contact`: Caller or contact for the ticket. Data type: String |
| severity | Severity of the issue described by the trouble ticket.Data type: String |
| status | Current status of the trouble ticket.Data type: String |
| ticketType | Type of ticket.Possible values: - Case - Incident - Service Problem Case Data type: String |
| @type | This value is always `TroubleTicket`.Data type: String |
| Name | Description |
|---|---|
| channel | Method of contact that the ticket was created through.Data type: Object ``` "channel":{ "name": "String" } ``` |
| channel.name | Name of the contact method. Maps to the Channel \[contact\_type\] field for cases and the Contact type \[contact\_type\] field for incidents.Valid values are the choices for the contact\_type field. You can provide the choice label or value. For example, `Virtual Agent` or `virtual_agent`. Data type: String |
| description | Required. A description of the issue. Maps to the **Description** field.Data type: String |
| name | Name of the trouble ticket, typically a short description of the issue. Maps to the Short description field.Data type: String |
| note | List of work notes and comments to add to the ticket.Data type: Array of Objects ``` "note":[ { "text": "String", "@type": "String" } ] ``` |
| note.@type | Type of note. This value determines whether the note is recorded in the Work notes or Additional comments field.Valid values: - comments - work\_notes Data type: String |
| note.text | Note text. Maps to the Work notes or Additional comments field.Data type: String |
| relatedEntity | List of impacted assets, products, sold products \(product inventory\), configuration items, or services.Data type: Array of Objects ``` "relatedEntity": [ { "id": "String", "@referredType": "String" } ] ``` |
| relatedEntity.id | Sys\_id of the impacted item or service.For cases, this value is from one of the following tables: - Asset \[alm\_asset\] - Product Inventory \[sn\_prd\_invt\_product\_inventory\], which extends the Sold Product \[sn\_install\_base\_sold\_product\] table - Product Model \[cmdb\_model\] - Sold Product \[sn\_install\_base\_sold\_product\] For incidents, this value is from one of the following tables: - Configuration Item \[cmdb\_ci\] - Service \[cmdb\_ci\_service\] Data type: String |
| relatedEntity.@referredType | Type of item or service.Valid values for case tickets: - asset - product - product\_inventory Valid values for incident tickets: - cmdb\_ci - cmdb\_ci\_service Data type: String |
| relatedParty | Details about contacts for the ticket. For cases, this parameter populates the Contact or Account field. For incidents, this parameter populates the Caller or Company field.Data type: Array of Objects ``` "relatedParty": [ { "id": "String", "@referredType": "String" } ] ``` |
| relatedParty.id | Sys\_id of the related party. If you provide a contact or a user \(caller\), their account or company is automatically populated on the ticket. Data type: String Table: For cases, the sys\_id is from the Contact \[customer\_contact\] or Account \[customer\_account\] tables. For incidents, the sys\_id is from the User \[sys\_user\] or Company \[core\_company\] tables. |
| relatedParty.@referredType | Type of related party.Valid values: - customer: Company or account for the ticket. - customer\_contact: Caller or contact for the ticket. Data type: String |
| severity | Required. The severity of the issue described by the trouble ticket. Maps to the **Priority** field.Valid values: - 1: Critical - 2: High - 3: Moderate - 4: Low - 5: Planning. Incident only. Valid values are the choices for the Priority field. You must provide the choice value only. For example, `1`. If an invalid value is provided, the severity is set to Low. Data type: String |
| status | Required. The current status of the trouble ticket. Maps to the **State** field.Valid values are the choices for the **State** field. You can provide the choice label or value. For example, `New` or `1`. If you provide an invalid value, the status is set to New. Data type: String |
| ticketType | The type of ticket. This value determines whether the record is created in the Case \[sn\_customerservice\_case\], Incident \[incident\], or Service Problem Case \[sn\_sprb\_mgmt\_case\] table.Valid values: - Case - Incident - Service Problem Case Data type: String Default: Incident |
| Status code | Description |
|---|---|
| 201 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected for one or more of the following reasons.- Empty payload. - Invalid payload. Mandatory field missing. - Invalid ticketType. |
| Name | Description |
|---|---|
| @type | This value is always `TroubleTicket`.Data type: String |
| channel | Method of contact that the ticket was created through.Data type: Object ``` "channel":{ "name": "String" } ``` |
| channel.name | The name of the contact method.Data type: String |
| creationDate | The date that the case or incident record was created.Data type: String |
| description | The description of the issue from the ticket.Data type: String |
| href | Relative link to the case or incident record.Data type: String |
| id | The sys\_id of the case or incident record that was created.Data type: String |
| lastUpdate | The date that the case or incident record was last updated.Data type: String |
| name | The name of the trouble ticket, typically a short description of the issue.Data type: String |
| note | A list of all comments on the ticket. This list does not include work notes.Data type: Array ``` "note":[ { "author": "String", "date": "String", "text": "String", "@type": "String" } ] ``` |
| note.@type | The type of note. Only comments are returned \(not work notes\) so this value is always `comments`.Data type: String |
| note.author | The name of the user who wrote the comment.Data type: String |
| note.date | The date the comment was created in the ServiceNow instance.Data type: String |
| note.text | The comment text.Data type: String |
| relatedEntity | List of impacted assets, products, sold products \(product inventory\), configuration items, or services.Data type: Array of Objects ``` "relatedEntity": [ { "id": "String", "href": "String", "name": "String", "role": "String", "@referredType": "String", "@type": "String" } ] ``` |
| relatedEntity.id | Sys\_id of the impacted item or service.For cases, this value is from one of the following tables: - Asset \[alm\_asset\] - Product Inventory \[sn\_prd\_invt\_product\_inventory\], which extends the Sold Product \[sn\_install\_base\_sold\_product\] table - Product Model \[cmdb\_model\] - Sold Product \[sn\_install\_base\_sold\_product\] For incidents, this value is from one of the following tables: - Configuration Item \[cmdb\_ci\] - Service \[cmdb\_ci\_service\] Data type: String |
| relatedEntity.href | Returns an empty string.Data type: String |
| relatedEntity.name | Name of the impacted item or service.Data type: String |
| relatedEntity.role | Description of the impacted item or service.Data type: String |
| relatedEntity.@referredType | Type of item or service.Valid values for case tickets: - asset - product - product\_inventory Valid values for incident tickets: - cmdb\_ci - cmdb\_ci\_service Data type: String |
| relatedEntity.@type | This value is always `relatedEntity`.Data type: String |
| relatedParty | Details about contacts for the ticket.Data type: Array of Objects ``` "relatedParty": [ { "id": "String", "name": "String", "@referredType": "String" } ] ``` |
| relatedParty.id | Sys\_id of the related party. The sys\_id can be from the following tables depending on the ticket type and the related party type.Case: - Account \[customer\_account\]; Related party type is `customer` - Contact \[customer\_contact\]; Related party type is `customer_contact` Incident: - Company \[core\_company\]; Related party type is `customer` - User \[sys\_user\]; Related party type is `customer_contact` Case or incident: - Group \[sys\_user\_group\]; Related party type is `assignment_group` - User \[sys\_user\]; Related party type is `assigned_to` Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.@referredType | Type of related party.Possible values: - `assigned_to`: User assigned to work on the ticket. - `assignment_group`: Group assigned to work on the ticket. - `customer`: Company or account for the ticket. - `customer_contact`: Caller or contact for the ticket. Data type: String |
| severity | The severity of the issue described by the trouble ticket.Data type: String |
| status | The current status of the trouble ticket.Data type: String |
| ticketType | The type of ticket.Possible values: - Case - Incident - Service Problem Case Data type: String |