Servicenow
ServiceNow is a cloud-based platform that automates IT service management and streamlines enterprise operations.
ServiceNow is a leading cloud-based platform that provides IT service management (ITSM) and automates enterprise operations. The ServiceNow connector for Swimlane Turbine enables seamless integration with ServiceNow's ITSM and security incident management capabilities. This integration allows users to automate the creation, retrieval, and management of incidents, requests, and attachments, enhancing operational efficiency and response times. By leveraging ServiceNow's robust features within Swimlane Turbine, security teams can streamline workflows, reduce manual tasks, and improve incident response and resolution processes.
Prerequisites
Before you can use the ServiceNow connector for Turbine, you'll need access to the ServiceNow API. This requires the following:
- OAuth 2.0 Client Credentials authentication using the following parameters:
- URL: The base URL of your ServiceNow instance.
- Client ID: The client identifier issued to the client during the registration process.
- Client Secret: The client secret issued to the client during the registration process.
- Token URL: The URL used to obtain the OAuth 2.0 token.
- OAuth 2.0 Password authentication using the following parameters:
- URL: The base URL of your ServiceNow instance.
- Client ID: The client identifier issued to the client during the registration process.
- Client Secret: The client secret issued to the client during the registration process.
- OAuth2 Username: The username for OAuth2 authentication.
- OAuth2 Password: The password for OAuth2 authentication.
- HTTP Basic authentication using the following parameters:
- URL: The base URL of your ServiceNow instance.
- Username: The username for basic authentication.
- Password: The password for basic authentication.
Capabilities
The ServiceNow connector provides the following capabilities:
- Add Attachment to Table
- Create Incident
- Create Request
- Create Security Incident
- Create Table Row
- Create Ticket
- Delete Custom Endpoint
- Get all Incidents
- Get all Security Incidents
- Get Attachment
- Get Attachment Metadata
- Get Custom Endpoint
- Get Table
- Patch Custom Endpoint
- Post Custom Endpoint ... and so on
Task Setup
Use Add a property under JSON Body option in the action inputs screen, to add additional parameters like state, close notes, etc. for Creating/Updating Incidents or Security Incidents.
Additional Information about Capabilities
- To close an incident from the update incident action, you must provide appropriate values for state, close notes, and close code.
- A ticket can be changed from the update ticket action just by changing the state.
- The Security Incident integrations will fail if the 'Security Incident' table is not created, see the Service Now documentation.
- For ServiceNow Query inputs, you can use this documentation to format your query correctly.
Limitations
Currently the only action able to retrieve Work Notes is the 'Get Journal Field Information' action.
Developer Notes
This plugin was last tested against product version: Paris.
Configurations
HTTP Basic Authentication
Authenticates using username and password
Configuration Parameters
Parameter | Description | Type | Required |
|---|---|---|---|
url | A URL to the target host | string | Required |
username | Username | string | Required |
password | Password | string | Required |
verify_ssl | Verify SSL certificate | boolean | Optional |
http_proxy | A proxy to route requests through | string | Optional |
ca_cert | A Base64 encoded CA certificate to use for SSL verification | string | Optional |
Oauth 2.0 Client Credentials
Authenticates using oauth 2.0 client credentials
Configuration Parameters
Parameter | Description | Type | Required |
|---|---|---|---|
url | A URL to the target host. | string | Required |
token_url | ο»Ώ | string | Required |
client_id | The client ID | string | Required |
client_secret | The client secret. | string | Required |
scope | Permission scopes for this action. | array | Optional |
verify_ssl | Verify SSL certificate | boolean | Optional |
http_proxy | A proxy to route requests through. | string | Optional |
ca_cert | A Base64 encoded CA certificate to use for SSL verification | string | Optional |
Oauth 2.0 Password
Authenticates using oauth 2.0 Password
Configuration Parameters
Parameter | Description | Type | Required |
|---|---|---|---|
url | A URL to the target host. | string | Required |
client_id | The client ID | string | Required |
client_secret | The client secret. | string | Required |
scope | Permission scopes for this action. | array | Optional |
verify_ssl | Verify SSL certificate | boolean | Optional |
http_proxy | A proxy to route requests through. | string | Optional |
oauth2_username | The username for authentication | string | Required |
oauth2_password | The password for authentication | string | Required |
ca_cert | A Base64 encoded CA certificate to use for SSL verification | string | Optional |
Actions
Add Attachment to Table
Add an attachment to a ServiceNow table using the provided file name, table name, and system ID.
Endpoint
- URL: api/now/attachment/file
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
attachments | array | Required | File to be uploaded |
attachments.file_name | string | Required | Name of the resource |
attachments.file | string | Required | Parameter for Add Attachment to Table |
parameters.encryption_context | string | Optional | Sys_id of an encryption context record. Specify this parameter to allow only users with the specified encryption context to access the attachment. |
parameters.file_name | string | Required | Parameters for the Add Attachment to Table action |
parameters.table_name | string | Required | Parameters for the Add Attachment to Table action |
parameters.table_sys_id | string | Required | Sys_id of the record in the table specified in table_name that you want to attach the file to. |
headers | object | Optional | HTTP headers for the request |
headers.Content-Type | string | Required | HTTP headers for the request |
Input Example
{"parameters":{"encryption_context":"","file_name":"test","table_name":"incident","table_sys_id":"1c741bd70b2322007518478d83673af3"},"headers":{"Content-type":"application/json"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | object | Result of the operation |
result.size_bytes | string | Result of the operation |
result.file_name | string | Name of the resource |
result.sys_mod_count | string | Result of the operation |
result.average_image_color | string | Result of the operation |
result.image_width | string | Unique identifier |
result.sys_updated_on | string | Result of the operation |
result.sys_tags | string | Result of the operation |
result.table_name | string | Name of the resource |
result.sys_id | string | Unique identifier |
result.image_height | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.download_link | string | Result of the operation |
result.content_type | string | Type of the resource |
result.sys_created_on | string | Result of the operation |
result.size_compressed | string | Result of the operation |
result.compressed | string | Result of the operation |
result.state | string | Result of the operation |
result.table_sys_id | string | Unique identifier |
result.chunk_size_bytes | string | Result of the operation |
result.hash | string | Result of the operation |
result.sys_created_by | string | Result of the operation |
Output Example
{"status_code":201,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"89f9d2509783","Location":"https://dev130168.service-now.com/api/now/attachment/41f9dad09783111084d57e12115...","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Expires":"0","Content-Type":"application/json;charset=UTF-8","Transfer-Encoding":"chunked","Date":"Sat...
Create Incident
Initiate incident response workflows by creating a new incident record in ServiceNow using the provided JSON body.
Endpoint
- URL: /api/now/table/incident
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
parameters.sysparm_display_value | string | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
parameters.sysparm_exclude_reference_link | boolean | Optional | Flag that indicates whether to exclude Table API links for reference fields. |
parameters.sysparm_fields | string | Optional | Comma-separated list of fields to return in the response. |
parameters.sysparm_input_display_value | boolean | Optional | Flag that indicates whether to set field values using the display value or the actual value. |
parameters.sysparm_view | string | Optional | UI view for which to render the data. Determines the fields returned in the response. |
short_description | string | Optional | Parameter for Create Incident |
assignment_group | string | Optional | Parameter for Create Incident |
urgency | string | Optional | Possible values are 1-High, 2-Medium, 3-Low. |
impact | string | Optional | Possible values are 1-High, 2-Medium, 3-Low. |
description | string | Optional | Parameter for Create Incident |
Input Example
{"parameters":{"sysparm_display_value":"false","sysparm_exclude_reference_link":false,"sysparm_fields":"","sysparm_input_display_value":false,"sysparm_view":""},"json_body":{"short_description":"Unable to connect to office wifi","assignment_group":"287ebd7da9fe198100f92cc8d1d2154e","urgency":"2","impact":"2","description":"testing servicenow"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | object | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.caused_by | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.child_incidents | string | Unique identifier |
result.hold_reason | string | Response reason phrase |
result.origin_table | string | Result of the operation |
result.task_effective_number | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.resolved_by | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.link | string | Result of the operation |
result.opened_by.value | string | Value for the parameter |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
result.sys_domain.link | string | Result of the operation |
result.sys_domain.value | string | Value for the parameter |
Output Example
{"status_code":201,"response_headers":{"Set-Cookie":"JSESSIONID=65CFEB1152B06972DD21833AFE556414; Path=/; HttpOnly;Secure, glide_user...","Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"6ed13c41a300","Location":"https://dev60827.service-now.com/api/now/v2/table/incident/26d1744d47603110d737c...","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Exp...
Create Request
Generate a new service request in ServiceNow with options for display value identification and input tracking using parameters like susparm_display_value and sysparm_input_display_value.
Endpoint
- URL: /api/now/v2/table/sc_request
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
parameters.sysparm_display_value | boolean | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
parameters.sysparm_input_display_value | boolean | Required | Flag that indicates whether to set field values using the display value or the actual value. |
active | boolean | Optional | Parameter for Create Request |
activity_due | string | Optional | Parameter for Create Request |
additional_assignee_list | string | Optional | Parameter for Create Request |
approval | string | Optional | Parameter for Create Request |
approval_set | string | Optional | Parameter for Create Request |
assigned_to | string | Optional | Parameter for Create Request |
assignment_group | string | Optional | Parameter for Create Request |
business_duration | string | Optional | Parameter for Create Request |
business_service | string | Optional | Parameter for Create Request |
calendar_duration | string | Optional | Parameter for Create Request |
calendar_stc | string | Optional | Parameter for Create Request |
close_notes | string | Optional | Parameter for Create Request |
closed_at | string | Optional | Parameter for Create Request |
closed_by | string | Optional | Parameter for Create Request |
cmdb_ci | object | Optional | Parameter for Create Request |
cmdb_ci.link | string | Optional | Parameter for Create Request |
cmdb_ci.value | string | Optional | Value for the parameter |
company | string | Optional | Parameter for Create Request |
contact_type | string | Optional | Type of the resource |
contract | string | Optional | Parameter for Create Request |
correlation | string | Optional | Parameter for Create Request |
correlation_id | string | Optional | Unique identifier |
delivery_address | string | Optional | Parameter for Create Request |
Input Example
{"parameters":{"sysparm_display_value":true,"sysparm_input_display_value":true}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | object | Result of the operation |
result.parent | string | Result of the operation |
result.delivery_address | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.requested_for | object | Result of the operation |
result.requested_for.link | string | Result of the operation |
result.requested_for.value | string | Value for the parameter |
result.sys_updated_on | string | Result of the operation |
result.task_effective_number | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.link | string | Result of the operation |
result.opened_by.value | string | Value for the parameter |
result.user_input | string | Input data for the action |
result.price | string | Result of the operation |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
result.sys_domain.link | string | Result of the operation |
result.sys_domain.value | string | Value for the parameter |
Output Example
{"status_code":201,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"096cc61b9736","Location":"https://dev130168.service-now.com/api/now/v2/table/sc_request/896c865f9736111084...","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Expires":"0","Content-Type":"application/json;charset=UTF-8","Transfer-Encoding":"chunked","Date":"Tue...
Create Security Incident
Create a new security incident in ServiceNow using the specified path parameters.
Endpoint
- URL: /api/now/table/{{security_incident}}
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.security_incident | string | Required | Name of the Security Incident Table |
sysparm_display_value | string | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
sysparm_exclude_reference_link | boolean | Optional | Flag that indicates whether to exclude Table API links for reference fields. |
sysparm_fields | string | Optional | Comma-separated list of fields to return in the response. |
sysparm_input_display_value | boolean | Optional | Flag that indicates whether to set field values using the display value or the actual value. |
sysparm_view | string | Optional | If you also specify the sysparm_fields parameter, it takes precedent. |
Input Example
{"path_parameters":{"security_incident":"string"},"sysparm_display_value":"false","sysparm_exclude_reference_link":true,"sysparm_fields":"string","sysparm_input_display_value":true,"sysparm_view":"string"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | object | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.caused_by | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.child_incidents | string | Unique identifier |
result.hold_reason | string | Response reason phrase |
result.origin_table | string | Result of the operation |
result.task_effective_number | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.resolved_by | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.link | string | Result of the operation |
result.opened_by.value | string | Value for the parameter |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
result.sys_domain.link | string | Result of the operation |
result.sys_domain.value | string | Value for the parameter |
Output Example
{"status_code":201,"response_headers":{"Set-Cookie":"JSESSIONID=65CFEB1152B06972DD21833AFE556414; Path=/; HttpOnly;Secure, glide_user...","Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"6ed13c41a300","Location":"https://dev60827.service-now.com/api/now/v2/table/incident/26d1744d47603110d737c...","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Exp...
Create Table Row
Create a new entry in a specified ServiceNow table using tableName, sysparm_display_value, and sysparm_input_display_value.
Endpoint
- URL: api/now/v2/table/{{tableName}}
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.tableName | string | Required | Table name. |
parameters.sysparm_display_value | boolean | Required | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
parameters.sysparm_input_display_value | boolean | Required | Flag that indicates whether to set field values using the display value or the actual value. |
comments | string | Optional | Parameter for Create Table Row |
Input Example
{"parameters":{"sysparm_display_value":true,"sysparm_input_display_value":true},"json_body":{"comments":"test"},"path_parameters":{"tableName":"incident"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | object | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.caused_by | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.child_incidents | string | Unique identifier |
result.hold_reason | string | Response reason phrase |
result.origin_table | string | Result of the operation |
result.task_effective_number | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.resolved_by | object | Result of the operation |
result.resolved_by.display_value | string | Value for the parameter |
result.resolved_by.link | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.display_value | string | Value for the parameter |
result.opened_by.link | string | Result of the operation |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
Output Example
{"result":{"parent":"string","made_sla":"string","caused_by":"string","watch_list":"string","upon_reject":"string","sys_updated_on":"string","child_incidents":"string","hold_reason":"string","origin_table":"string","task_effective_number":"string","approval_history":"string","number":"string","resolved_by":{"display_value":"string","link":"string"},"sys_updated_by":"string","opened_by":{"display_value":"string","link":"string"}}}
Delete Custom Endpoint
Remove a specified custom endpoint from ServiceNow using the provided 'custom_endpoint' path parameter.
Endpoint
- URL: api/now/v2/{{custom_endpoint}}
- Method: DELETE
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.custom_endpoint | string | Required | Parameters for the Delete Custom Endpoint action |
data_body | object | Optional | Data Body |
Input Example
{"path_parameters":{"custom_endpoint":"table/incident"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{}}
Get all Incidents
Retrieves all incident records from ServiceNow with options to customize display values and set result count limits.
Endpoint
- URL: /api/now/v2/table/incident
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
parameters.sysparm_query | string | Optional | Encoded query used to filter the result set. You can use a UI filter to obtain a properly encoded query. Syntax - sysparm_query=<col_name> ο»Ώ ο»Ώ |
parameters.sysparm_display_value | string | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. Display values are manipulated based on the actual value in the database and user or system settings and preferences. Valid values are true - Returns the display values for all fields. false - Returns the actual values from the database. all - Returns both actual and display values. |
parameters.sysparm_exclude_reference_link | boolean | Optional | Flag that indicates whether to exclude Table API links for reference fields. Valid values are true - Exclude Table API links for reference fields. false - Include Table API links for reference fields. |
parameters.sysparm_fields | string | Optional | Comma-separated list of fields to return in the response. |
parameters.sysparm_limit | number | Optional | Maximum number of records to return. For requests that exceed this number of records, use the sysparm_offset parameter to paginate record retrieval. This limit is applied before ACL evaluation. If no records return, including records you have access to, rearrange the record order so records you have access to return first. |
parameters.sysparm_no_count | boolean | Optional | Flag that indicates whether to execute a select count() query on the table to return the number of rows in the associated table. Valid values are true - Do not execute a select count(). false - Execute a select count(*). |
parameters.sysparm_offset | number | Optional | Starting record index for 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. For example, the first time you call this endpoint, sysparm_offset is set to "0". To simply page through all available records, use sysparm_offset=sysparm_offset+sysparm_limit, until you reach the end of all records. Don't pass a negative number in the sysparm_offset parameter. |
parameters.sysparm_query_category | string | Optional | Name of the category to use for queries. |
parameters.sysparm_query_no_domain | boolean | Optional | Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. Valid values are false - Exclude the record if it is in a domain that the currently logged in user is not configured to access. true - Include the record even if it is in a domain that the currently logged in user is not configured to access. |
parameters.sysparm_suppress_pagination_header | boolean | Optional | Flag that indicates whether to remove the Link header from the response. The Link header provides various URLs to relative pages in the record set which you can use to paginate the returned record set. Valid values are true - Remove the Link header from the response. false - Do not remove the Link header from the response. |
parameters.sysparm_view | string | Optional | UI view for which to render the data. Determines the fields returned in the response. Valid values are desktop, mobile, both. If you also specify the sysparm_fields parameter, it takes precedent. |
Input Example
{"parameters":{"sysparm_query":"number=INC0000040","sysparm_display_value":"false","sysparm_exclude_reference_link":false,"sysparm_fields":"","sysparm_limit":10000,"sysparm_no_count":false,"sysparm_offset":0,"sysparm_query_category":"","sysparm_query_no_domain":false,"sysparm_suppress_pagination_header":false,"sysparm_view":"desktop"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | array | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.caused_by | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.child_incidents | string | Unique identifier |
result.hold_reason | string | Response reason phrase |
result.origin_table | string | Result of the operation |
result.task_effective_number | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.resolved_by | object | Result of the operation |
result.resolved_by.link | string | Result of the operation |
result.resolved_by.value | string | Value for the parameter |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.link | string | Result of the operation |
result.opened_by.value | string | Value for the parameter |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
Output Example
{"status_code":200,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"7d9414489707","Link":"<https://dev130168.service-now.com/api/now/v2/table/incident?query=number%3DINC0...","X-Total-Count":"67","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Expires":"0","Content-Type":"application/json;charset=UTF-8","Transfer-Encoding":"chu...
Get all Security Incidents
Retrieve all security incident records from ServiceNow with options for display customization and pagination using a specific incident path parameter.
Endpoint
- URL: /api/now/table/{{security_incident}}
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.security_incident | string | Required | Name of the Security Incident Table. |
parameters.sysparm_query | string | Optional | Encoded query used to filter the result set. You can use a UI filter to obtain a properly encoded query. Syntax - sysparm_query=<col_name> ο»Ώ ο»Ώ |
parameters.sysparm_display_value | string | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. Display values are manipulated based on the actual value in the database and user or system settings and preferences. Valid values are true - Returns the display values for all fields. false - Returns the actual values from the database. all - Returns both actual and display values. |
parameters.sysparm_exclude_reference_link | boolean | Optional | Flag that indicates whether to exclude Table API links for reference fields. Valid values are true - Exclude Table API links for reference fields. false - Include Table API links for reference fields. |
parameters.sysparm_fields | string | Optional | Comma-separated list of fields to return in the response. |
parameters.sysparm_limit | number | Optional | Maximum number of records to return. For requests that exceed this number of records, use the sysparm_offset parameter to paginate record retrieval. This limit is applied before ACL evaluation. If no records return, including records you have access to, rearrange the record order so records you have access to return first. |
parameters.sysparm_no_count | boolean | Optional | Flag that indicates whether to execute a select count() query on the table to return the number of rows in the associated table. Valid values are true - Do not execute a select count(). false - Execute a select count(*). |
parameters.sysparm_offset | number | Optional | Starting record index for 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. For example, the first time you call this endpoint, sysparm_offset is set to "0". To simply page through all available records, use sysparm_offset=sysparm_offset+sysparm_limit, until you reach the end of all records. Don't pass a negative number in the sysparm_offset parameter. |
parameters.sysparm_query_category | string | Optional | Name of the category to use for queries. |
parameters.sysparm_query_no_domain | boolean | Optional | Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. Valid values are false - Exclude the record if it is in a domain that the currently logged in user is not configured to access. true - Include the record even if it is in a domain that the currently logged in user is not configured to access. |
parameters.sysparm_suppress_pagination_header | boolean | Optional | Flag that indicates whether to remove the Link header from the response. The Link header provides various URLs to relative pages in the record set which you can use to paginate the returned record set. Valid values are true - Remove the Link header from the response. false - Do not remove the Link header from the response. |
parameters.sysparm_view | string | Optional | UI view for which to render the data. Determines the fields returned in the response. Valid values are desktop, mobile, both. If you also specify the sysparm_fields parameter, it takes precedent. |
Input Example
{"parameters":{"sysparm_query":"number=INC0000040","sysparm_display_value":"false","sysparm_exclude_reference_link":false,"sysparm_fields":"","sysparm_limit":10000,"sysparm_no_count":false,"sysparm_offset":0,"sysparm_query_category":"","sysparm_query_no_domain":false,"sysparm_suppress_pagination_header":false,"sysparm_view":"desktop"},"path_parameters":{"security_incident":"sn_si_incident"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | array | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.link | string | Result of the operation |
result.opened_by.value | string | Value for the parameter |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
result.sys_domain.link | string | Result of the operation |
result.sys_domain.value | string | Value for the parameter |
result.state | string | Result of the operation |
result.sys_created_by | string | Result of the operation |
result.knowledge | string | Result of the operation |
result.order | string | Result of the operation |
result.closed_at | string | Result of the operation |
result.cmdb_ci | object | Result of the operation |
Output Example
{"status_code":200,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"0a564c938322","X-Total-Count":"1","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Expires":"0","Content-Type":"application/json;charset=UTF-8","Transfer-Encoding":"chunked","Date":"Mon, 23 Dec 2024 10:03:47 GMT","Keep-Alive":"timeout=70","Connection":"keep-aliv...
Get Attachment
Retrieve a specific attachment from a ServiceNow table using the provided unique sys_id.
Endpoint
- URL: api/now/attachment/{{sys_id}}/file
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.sys_id | string | Required | Sys_id of the attachment record from which to return binary data. |
Input Example
{"path_parameters":{"sys_id":"1c741bd70b2322007518478d83673af3"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
file | array | Output field: file |
Output Example
{"status_code":200,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"1dd293709703","Content-Disposition":"attachment;filename=\"test\";filename*=UTF-8''test","X-Content-Type-Options":"nosniff","x-attachment-metadata":"{ \"size_bytes\" : \"5881\", \"file_name\" : \"test\", \"sys_mod_count\" : \"1\", \"avera...","x-edge-enc-proxy-static":"true","Content-Type":"application/json;charset=UTF-8","Transfer-Enc...
Get Attachment Metadata
Retrieve metadata for attachments in ServiceNow using optional 'sysparm_query' filtering.
Endpoint
- URL: api/now/attachment
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
parameters.sysparm_query | string | Required | Encoded query. Queries for the Attachment API are relative to the Attachments [sys_attachment] table. |
Input Example
{"parameters":{"sysparm_query":"table_sys_id=1c741bd70b2322007518478d83673af3"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | array | Result of the operation |
Output Example
{"status_code":200,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"09ee25ec974f","X-Total-Count":"2","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Expires":"0","Content-Type":"application/json;charset=UTF-8","Transfer-Encoding":"chunked","Date":"Sat, 05 Nov 2022 16:24:03 GMT","Keep-Alive":"timeout=20","Connection":"keep-aliv...
Get Custom Endpoint
Retrieve data from a specified ServiceNow custom endpoint using the 'custom_endpoint' path parameter.
Endpoint
- URL: api/now/v2/{{custom_endpoint}}
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.custom_endpoint | string | Required | Parameters for the Get Custom Endpoint action |
parameters.display_value | boolean | Optional | Parameters for the Get Custom Endpoint action |
parameters.sysparm_limit | number | Optional | Parameters for the Get Custom Endpoint action |
data_body | object | Optional | Data Body |
Input Example
{"parameters":{"display_value":true,"sysparm_limit":1},"path_parameters":{"custom_endpoint":"table/incident"}}
Get Table
Retrieve records from a specified ServiceNow table using the 'tableName' path parameter.
Endpoint
- URL: api/now/v2/table/{{tableName}}
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.tableName | string | Required | Name of the table from which to retrieve the records. |
parameters.name_value_pairs | object | Optional | Parameters for the Get Table action |
parameters.name_value_pairs.active | string | Optional | Parameters for the Get Table action |
parameters.name_value_pairs.assigned_to | string | Optional | Parameters for the Get Table action |
parameters.name_value_pairs.state | string | Optional | Parameters for the Get Table action |
parameters.sysparm_display_value | string | Optional | Parameters for the Get Table action |
parameters.sysparm_exclude_reference_link | boolean | Optional | Parameters for the Get Table action |
parameters.sysparm_fields | string | Optional | Parameters for the Get Table action |
parameters.sysparm_limit | number | Optional | Parameters for the Get Table action |
parameters.sysparm_no_count | boolean | Optional | Parameters for the Get Table action |
parameters.sysparm_offset | number | Optional | Parameters for the Get Table action |
parameters.sysparm_query | string | Optional | Parameters for the Get Table action |
parameters.sysparm_query_category | string | Optional | Parameters for the Get Table action |
parameters.sysparm_query_no_domain | boolean | Optional | Parameters for the Get Table action |
parameters.sysparm_suppress_pagination_header | boolean | Optional | Parameters for the Get Table action |
parameters.sysparm_view | string | Optional | Parameters for the Get Table action |
Input Example
{"parameters":{"name_value_pairs":{"active":"true","assigned_to":"john.smith","state":"closed"},"sysparm_display_value":"all","sysparm_exclude_reference_link":true,"sysparm_fields":"field1,field2,field3","sysparm_limit":100,"sysparm_no_count":true,"sysparm_offset":0,"sysparm_query":"caller_id=javascript:gs.getUserID()^active=true^ORDERBYnumber^ORDERBYDESCcategory","sysparm_query_category":"category_name","sysparm_query_no_domain":false,"sysparm_suppress_pagination_header":true,"sysparm_view":"desktop"},"path_parameters":{"tableName":"problem"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | array | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.link | string | Result of the operation |
result.opened_by.value | string | Value for the parameter |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
result.sys_domain.link | string | Result of the operation |
result.sys_domain.value | string | Value for the parameter |
result.state | string | Result of the operation |
result.sys_created_by | string | Result of the operation |
result.knowledge | string | Result of the operation |
result.order | string | Result of the operation |
result.closed_at | string | Result of the operation |
result.cmdb_ci | object | Result of the operation |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"result":[{}]}}
Patch Custom Endpoint
Apply a PATCH request to a specified custom ServiceNow endpoint using path parameters with the v2 API.
Endpoint
- URL: api/now/v2/{{custom_endpoint}}
- Method: PATCH
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.custom_endpoint | string | Required | Parameters for the Patch Custom Endpoint action |
data_body | object | Optional | Data Body |
Input Example
{"path_parameters":{"custom_endpoint":"table/incident"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{}}
Post Custom Endpoint
Execute a POST request to a specified custom endpoint in ServiceNow v2 using the 'custom_endpoint' path parameter.
Endpoint
- URL: api/now/v2/{{custom_endpoint}}
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.custom_endpoint | string | Required | Parameters for the Post Custom Endpoint action |
parameters.sysparm_display_value | boolean | Optional | Parameters for the Post Custom Endpoint action |
parameters.sysparm_input_display_value | boolean | Optional | Parameters for the Post Custom Endpoint action |
data_body | object | Optional | Data Body |
Input Example
{"parameters":{"sysparm_display_value":true,"sysparm_input_display_value":true},"path_parameters":{"custom_endpoint":"table/sc_request"}}
Put Custom Endpoint
Execute a PUT request to a user-defined ServiceNow custom endpoint using path parameters.
Endpoint
- URL: api/now/v2/{{custom_endpoint}}
- Method: PUT
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.custom_endpoint | string | Required | Parameters for the Put Custom Endpoint action |
data_body | object | Optional | Data Body |
Input Example
{"path_parameters":{"custom_endpoint":"table/incident"}}
Queries ServiceNow CMDB
Retrieve CMDB records from ServiceNow using sys_id, IP, hostname, or FQDN. Supports optional parameters for additional data retrieval.
Endpoint
- URL: api/now/table/cmdb_ci
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
hostname | string | Optional | Short host name as stored on the CMDB CI name field. |
fqdn | string | Optional | Fully qualified domain name if it matches the CMDB name field. |
ip_address | string | Optional | Primary IP on the configuration item when modeled on cmdb_ci.ip_address. |
cmdb_ci_sys_id | string | Optional | 32-character sys_id of the configuration item when already known. |
parameters.include_ip_addresses | boolean | Optional | GET cmdb_ci_ip_address for rows linked to the matched CI. |
parameters.include_vulnerable_items | boolean | Optional | GET sn_vulnerable_item when Vulnerability Response exists (404 skipped). |
parameters.sysparm_limit | number | Optional | Max CMDB rows (Table API default 10000; this action defaults 10). |
parameters.vulnerable_item_limit | number | Optional | sysparm_limit for the vulnerable-items GET. |
parameters.sysparm_display_value | string | Optional | Response field format β false, true, or all (default all in this action). |
parameters.sysparm_exclude_reference_link | boolean | Optional | Exclude Table API link metadata on reference fields (default true). |
parameters.sysparm_fields | string | Optional | Comma-separated fields to return; invalid fields ignored. |
parameters.sysparm_offset | number | Optional | Pagination start index for the CMDB GET (default 0). |
parameters.sysparm_no_count | boolean | Optional | true skips select count(*) for total row count. |
parameters.sysparm_query_no_domain | boolean | Optional | true includes records outside user domain (restricted role). |
parameters.sysparm_suppress_pagination_header | boolean | Optional | true removes Link header used for pagination URLs. |
parameters.sysparm_view | string | Optional | desktop, mobile, or both β fields returned unless sysparm_fields set. |
parameters.sysparm_query_category | string | Optional | Category name for query filtering. |
Input Example
{"hostname":"SRV-FINANCE-03","fqdn":"srv-finance-03.corp.example.com","ip_address":"10.1.1.50","cmdb_ci_sys_id":"55b35562c0a8010e01cff22378e0aea9"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
enrichment_status | string | success, no_match, or error. |
error | string | Error message if any |
warnings | array | Output field: warnings |
query_used | string | Encoded sysparm_query sent to cmdb_ci. |
match_count | number | Count value |
asset_summary | object | Subset of CMDB fields from the primary CI. |
cmdb_ci_records | array | Table API result array from GET /api/now/table/cmdb_ci. |
ip_addresses | array | Rows from GET /api/now/table/cmdb_ci_ip_address when enabled. |
users | object | sys_user records from GET /api/now/table/sys_user/ο»Ώ. |
vulnerable_items | array | Rows from GET /api/now/table/sn_vulnerable_item when enabled. |
notes | string | Output field: notes |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"enrichment_status":"success","warnings":[],"query_used":"ip_address=10.1.1.50","match_count":1,"asset_summary":{"name":"SRV-FINANCE-03","sys_id":"55b35562c0a8010e01cff22378e0aea9","ip_address":"10.1.1.50","os":"Windows Server 2019"},"cmdb_ci_records":[],"ip_addresses":[],"users":{},"vulnerable_items":[],"notes":""}}
ServiceNow Get Custom Action
Execute a custom action in ServiceNow by targeting specific API endpoints using 'mid_extension' and 'end_extension' path parameters.
Endpoint
- URL: api/{{mid_extension}}/v2/{{end_extension}}
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.mid_extension | string | Required | Parameters for the ServiceNow Get Custom Action action |
path_parameters.end_extension | string | Required | Parameters for the ServiceNow Get Custom Action action |
Input Example
{"path_parameters":{"mid_extension":"string","end_extension":"string"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Output Example
{"status_code":200,"response_headers":{"content-length":"140","content-type":"application/json","Date":"Mon, 2 Sep 2024 20:37:23 GMT"},"reason":"OK","json_body":{}}
ServiceNow Patch Custom Action
Execute a custom PATCH request in ServiceNow using 'mid_extension' and 'end_extension' as path parameters.
Endpoint
- URL: api/{{mid_extension}}/v2/{{end_extension}}
- Method: PATCH
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.mid_extension | string | Required | Parameters for the ServiceNow Patch Custom Action action |
path_parameters.end_extension | string | Required | Parameters for the ServiceNow Patch Custom Action action |
comments | string | Optional | Parameter for ServiceNow Patch Custom Action |
Input Example
{"json_body":{"comments":"test"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Output Example
{"status_code":200,"response_headers":{"content-length":"140","content-type":"application/json","Date":"Mon, 2 Sep 2024 20:37:23 GMT"},"reason":"OK","json_body":{}}
ServiceNow Post Custom Action
Execute a custom action in ServiceNow using specified 'mid_extension' and 'end_extension' path parameters.
Endpoint
- URL: api/{{mid_extension}}/v2/{{end_extension}}
- Method: POST
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.mid_extension | string | Required | Parameters for the ServiceNow Post Custom Action action |
path_parameters.end_extension | string | Required | Parameters for the ServiceNow Post Custom Action action |
comments | string | Optional | Parameter for ServiceNow Post Custom Action |
Input Example
{"json_body":{"comments":"test"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Output Example
{"status_code":200,"response_headers":{"content-length":"140","content-type":"application/json","Date":"Mon, 2 Sep 2024 20:37:23 GMT"},"reason":"OK","json_body":{}}
Update Incident
Update an existing incident in ServiceNow using the unique sys_id and additional data provided in a JSON body.
Endpoint
- URL: /api/now/table/incident/{{sys_id}}
- Method: PATCH
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.sys_id | string | Required | Sys_id of the record to be updated. |
sysparm_display_value | string | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
sysparm_fields | string | Optional | Comma-separated list of fields to return in the response. |
sysparm_input_display_value | boolean | Optional | Flag that indicates whether to set field values using the display value or the actual value. |
sysparm_query_no_domain | boolean | Optional | Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. |
sysparm_view | string | Optional | If you also specify the sysparm_fields parameter, it takes precedent. |
Input Example
{"path_parameters":{"sys_id":"string"},"sysparm_display_value":"false","sysparm_fields":"string","sysparm_input_display_value":true,"sysparm_query_no_domain":true,"sysparm_view":"string"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
response_text | string | Output field: response_text |
Output Example
{"status_code":200,"response_headers":{"Set-Cookie":"JSESSIONID=CEA60557841F8F77A8AB86E60B05F18D; Path=/; HttpOnly;Secure, BIGipServe...","Server-Timing":"wall;dur=0, sem_wait;dur=0, sesh_wait;dur=0, app_cpu;dur=0, db;dur=1, acl;dur=0,...","Content-Security-Policy":"frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com","Content-Length":"0","Date":"Mon, 07 Aug 2023 11:12:15 GMT","Keep-Alive":"timeout=70","Connection":"keep-alive","Server":"ServiceNow","Strict-Transport-Security":"max-...
Update Security Incident
Update a specified security incident in ServiceNow using the unique sys_id as an identifier. Requires path parameters for security incident and sys_id.
Endpoint
- URL: api/now/table/{{security_incident}}/{{sys_id}}
- Method: PATCH
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.security_incident | string | Required | Name of the Security Incident Table |
path_parameters.sys_id | string | Required | ID of the security incident to update. |
sysparm_display_value | string | Optional | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
sysparm_fields | string | Optional | Comma-separated list of fields to return in the response. |
sysparm_input_display_value | boolean | Optional | Flag that indicates whether to set field values using the display value or the actual value. |
sysparm_query_no_domain | boolean | Optional | Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. |
sysparm_view | string | Optional | If you also specify the sysparm_fields parameter, it takes precedent. |
Input Example
{"path_parameters":{"security_incident":"string","sys_id":"string"},"sysparm_display_value":"false","sysparm_fields":"string","sysparm_input_display_value":true,"sysparm_query_no_domain":true,"sysparm_view":"string"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
response_text | string | Output field: response_text |
Output Example
{"status_code":200,"response_headers":{"Set-Cookie":"JSESSIONID=0ADFD22F053BCC78A9A82FAF40E83D50; Path=/; HttpOnly;Secure, BIGipServe...","Server-Timing":"wall;dur=0, sem_wait;dur=0, sesh_wait;dur=0, app_cpu;dur=0, db;dur=1, acl;dur=0,...","Content-Security-Policy":"frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com","Content-Length":"0","Date":"Mon, 07 Aug 2023 11:18:32 GMT","Keep-Alive":"timeout=70","Connection":"close","Server":"ServiceNow","Strict-Transport-Security":"max-age=6...
Update Table Row
Update a specific row in a ServiceNow table using sys_id, with options to customize display values via path parameters and additional settings.
Endpoint
- URL: api/now/v2/table/{{tableName}}/{{sys_id}}
- Method: PATCH
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
path_parameters.tableName | string | Required | Table name |
path_parameters.sys_id | string | Required | Sys_id of the record to be updated. |
parameters.sysparm_display_value | boolean | Required | Determines the type of data returned, either the actual values from the database or the display values of the fields. |
parameters.sysparm_input_display_value | boolean | Required | Flag that indicates whether to set field values using the display value or the actual value. |
comments | string | Optional | Parameter for Update Table Row |
Input Example
{"parameters":{"sysparm_display_value":true,"sysparm_input_display_value":true},"json_body":{"comments":"test"},"path_parameters":{"tableName":"incident","sys_id":"1c741bd70b2322007518478d83673af3"}}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
result | object | Result of the operation |
result.parent | string | Result of the operation |
result.made_sla | string | Result of the operation |
result.caused_by | string | Result of the operation |
result.watch_list | string | Result of the operation |
result.upon_reject | string | Result of the operation |
result.sys_updated_on | string | Result of the operation |
result.child_incidents | string | Unique identifier |
result.hold_reason | string | Response reason phrase |
result.origin_table | string | Result of the operation |
result.task_effective_number | string | Result of the operation |
result.approval_history | string | Result of the operation |
result.number | string | Result of the operation |
result.resolved_by | object | Result of the operation |
result.resolved_by.display_value | string | Value for the parameter |
result.resolved_by.link | string | Result of the operation |
result.sys_updated_by | string | Result of the operation |
result.opened_by | object | Result of the operation |
result.opened_by.display_value | string | Value for the parameter |
result.opened_by.link | string | Result of the operation |
result.user_input | string | Input data for the action |
result.sys_created_on | string | Result of the operation |
result.sys_domain | object | Result of the operation |
Output Example
{"status_code":200,"response_headers":{"Server-Timing":"sem_wait;dur=0, sesh_wait;dur=0","Content-Encoding":"gzip","X-Is-Logged-In":"true","X-Transaction-ID":"c2e8b1909703","X-Content-Type-Options":"nosniff","Pragma":"no-store,no-cache","Cache-Control":"no-cache,no-store,must-revalidate,max-age=-1","Expires":"0","Content-Type":"application/json;charset=UTF-8","Transfer-Encoding":"chunked","Date":"Fri, 04 Nov 2022 22:29:20 GMT","Keep-Alive":"timeout=20","Connection":"keep-alive","Server":"Service...
Response Headers
Header | Description | Example |
|---|---|---|
Cache-Control | Directives for caching mechanisms | no-cache,no-store,must-revalidate,max-age=-1 |
Connection | HTTP response header: Connection | keep-alive |
Content-Disposition | HTTP response header: Content-Disposition | attachment;filename="test";filename*=UTF-8''test |
Content-Encoding | HTTP response header: Content-Encoding | gzip |
content-length | The length of the response body in bytes | 140 |
Content-Security-Policy | HTTP response header: Content-Security-Policy | frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com |
Content-Type | The media type of the resource | application/json |
Date | The date and time at which the message was originated | Sun, 06 Nov 2022 18:19:10 GMT |
Expires | The date/time after which the response is considered stale | 0 |
Keep-Alive | HTTP response header: Keep-Alive | timeout=20 |
Link | HTTP response header: Link | https://dev130168.service-now.com/api/now/v2/table/incident?query=number%3DINC0000040&display_value=True&sysparm_limit=1&sysparm_offset=0;rel="first",https://dev130168.service-now.com/api/now/v2/table/incident?query=number%3DINC0000040&display_value=True&sysparm_limit=1&sysparm_offset=-1;rel="prev",https://dev130168.service-now.com/api/now/v2/table/incident?query=number%3DINC0000040&display_value=True&sysparm_limit=1&sysparm_offset=1;rel="next",https://dev130168.service-now.com/api/now/v2/table/incident?query=number%3DINC0000040&display_value=True&sysparm_limit=1&sysparm_offset=66;rel="last" |
Location | The URL to redirect a page to | |
Pragma | HTTP response header: Pragma | no-store,no-cache |
Server | Information about the software used by the origin server | ServiceNow |
Server-Timing | HTTP response header: Server-Timing | sem_wait;dur=0, sesh_wait;dur=0 |
Set-Cookie | HTTP response header: Set-Cookie | JSESSIONID=65CFEB1152B06972DD21833AFE556414; Path=/; HttpOnly;Secure, glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly, glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly, glide_user_route=glide.0523df0e933b3d0b61bd3203715792eb; Max-Age=2147483647; Expires=Sat, 25-Aug-2091 14:13:46 GMT; Path=/; Secure; HttpOnly, glide_session_store=2AD13C4147203110D737CD9BD36D43A3; Max-Age=1800; Expires=Mon, 07-Aug-2023 11:29:39 GMT; Path=/; Secure; HttpOnly, BIGipServerpool_dev60827=999184138.46398.0000; path=/; Httponly; Secure |
Strict-Transport-Security | HTTP response header: Strict-Transport-Security | max-age=63072000; includeSubDomains |
Transfer-Encoding | HTTP response header: Transfer-Encoding | chunked |
x-attachment-metadata | HTTP response header: x-attachment-metadata | ο»Ώ |
X-Content-Type-Options | HTTP response header: X-Content-Type-Options | nosniff |
x-edge-enc-proxy-static | HTTP response header: x-edge-enc-proxy-static | true |
X-Is-Logged-In | HTTP response header: X-Is-Logged-In | true |
X-Total-Count | HTTP response header: X-Total-Count | 1 |
X-Transaction-ID | HTTP response header: X-Transaction-ID | 89f9d2509783 |