This is a simple API
Adds the specified item to the cart of the current user.
Unique identifier (sys_id) of the catalog item to return.
Type: string
Type: object
{
"variables" : { },
"sysparm_quantity" : "Number of the item to add to the cart. Cannot be a negative number."
}
Adds the specified item to the wish list cart.
Unique identifier (sys_id) of the catalog item to return.
Type: string
Type: object
{
"variables" : { },
"sysparm_quantity" : "Number of the item to add to the cart. Cannot be a negative number."
}
Add a relation to the specified CI. The specified CI is the parent.
The CMDB class name.
Type: string
The record sys_id.
Type: string
Type: object
{
"outbound_relations" : [ {
"type" : "string",
"target" : "string"
} ],
"inbound_relations" : [ {
"type" : "string",
"target" : "string"
} ]
}
Adds time-series data to the MetricBase database.
Type: object
{
"seriesRef" : {
"metric" : "Metric field name.",
"subject" : "sys_id of the specific record in the table.",
"table" : "Name of the table containing the record."
},
"values" : [ {
"value" : "number",
"timestamp" : "UTC timestamp in the ISO format: YYYY-MM-ddTHH:mm:dd. The ending, ‘Z’, which denotes the UTC time zone in an ISO-formatted timestamp is optional."
} ]
}
If true, ignore unknown series and continue the transaction without returning an error. The default is true.
Type: boolean
Adds or updates tokens that enable devices to receive push notifications from the specified application.
Name of the application for which to register the push notifications. This parameter must be the same as the value in the Name column for the associated application in the Push Application [sys_push_application] table.
Type: string
Type: object
{
"platform" : "Platform on which to register the push notification. This parameter must be the Name value from the Push Platform [sys_push_platform] table.",
"token" : "Token supplied by the device manufacturer, such as Apple, when the mobile application registers to receive push notifications. The endpoint writes the token value to the Push Notification Installation [sys_push_notif_app_install] table."
}
This method retrieves records for the specified table and performs aggregate functions on the returned values.
The name of solution to use for predictions.
Type: string
List of fields on which to perform the avg operation
Type: array
[ "string" ]
Flag that determines whether to return the number of records returned by the query.
Type: boolean
Data retrieval operation for reference and choice fields. Based on this value, retrieves the display value and/or the actual value from the database. Valid values: true: returns the display values for all fields. false: returns the actual values from the database. all: returns both actual and display values. Default: false Note: There is no preferred method for setting this parameter. However, specifying the display value may cause performance issues since it is not reading directly from the database and may include referencing other fields and records. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: string
Potential values: true, false, all
Fields by which to group the returned data.
Type: array
[ "string" ]
Additional query that enables you to filter the data based on an aggregate operation. The value for this parameter must follow the syntax aggregate^field^operator^value, such as count^priority^>^3 to obtain the number of records within the query results with a priority greater than 3. You can specify multiple queries by separating each with a comma, such ascount^state^=^1,avg^priority^>^3.
Type: string
List of fields on which to perform the max operation
Type: array
[ "string" ]
List of fields on which to perform the min operation
Type: array
[ "string" ]
List of values by which to order grouped results. You can specify an order using a field or an aggregate. For example, if you specify sysparm_orderby=AVG^state, groups of results with lower average state values are returned first. You can also order by COUNT to arrange groups of records by the number of records in each group. When you specify an order, groups are ordered in ascending order by default. Use ^DESC to sort in descending order, such as sysparm_orderby=state^DESC.
Type: string
An encoded query. For example: (sysparm_query=active=true)(sysparm_query=caller_id=javascript:gs.getUserID()^active=true)
Type: string
List of fields on which to perform the sum operation
Type: array
[ "string" ]
Creates the association between a change request and CMDB CIs. The creation of the association is done asynchronously, which means that a response is provided immediately and contains details for the worker. The worker does the actual work after the response.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Type: object
{
"refresh_impacted_services" : "Flag used when association_type=affected to populate impacted services based on the list of affected CIs.",
"cmdb_ci_sys_ids" : [ "string" ],
"association_type" : "Type of association between the CMDB CI and the change request."
}
Calculates the risk and impact of the specified standard change based on an evaluation of the risk conditions. If the Change Risk Assessment plugin is installed, it also calculates the cumulative highest risk once the risk assessment is complete.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Determines if the two specified actions are compatible.
Starts a change request conflict checking process for the specified change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Use this method to change the state of an interaction to closed or closed complete.
This method is used to create a communication plan and communication task instance without any communication plan or communication task definition.
Table name of task.
Type: string
Type: object
{
"channels" : [ "string" ],
"recipients" : {
"add_list" : [ {
"responsibility" : {
"value" : "string"
},
"recipient_list" : {
"value" : "string"
},
"type" : {
"value" : "string"
},
"user" : {
"value" : "string"
},
"group" : {
"value" : "string"
}
} ]
},
"commPlan" : {
"short_description" : "string",
"source" : "string"
},
"commTask" : {
"communication_frequency" : "string",
"comm_plan" : "string"
}
}
This method is used to create a communication task instance.
Table name of task.
Type: string
Type: object
{
"channels" : [ "string" ],
"recipients" : {
"delete_list" : [ "string" ],
"add_list" : [ {
"responsibility" : {
"value" : "string"
},
"recipient_list" : {
"value" : "string"
},
"type" : {
"value" : "string"
},
"user" : {
"value" : "string"
},
"group" : {
"value" : "string"
}
} ]
},
"commTask" : {
"communication_frequency" : "string",
"comm_plan" : "string"
}
}
Creates an application in the App [sn_devops_app] table. An application is similar to a Product in the Jira planning tool.
Sys ID of the planning tool to associate with the application. The Sys ID is located in the Planning Tool [sn_devops_planning_tool] table.
Type: string
Type: object
{
"createdBy" : {
"name" : "string",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"createdDateTime" : "Date/time the application was created in the source DevOps tool.",
"id" : "Unique identifier of the application. Generated by the source planning tool.",
"lastUpdatedDateTime" : "Date/time the application was last updated in the source DevOps tool.",
"shortDescription" : "Brief description of the associated application.",
"state" : "State of the application as generated by the source planning tool, such as \"Approved\".",
"type" : "Type of application as specified by the source planning tool, such as \"Mobile-Innovation\".",
"url" : "URL of the application on the source planning tool site."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
Creates a Branch object in the Branch [sn_devops_branch] table for the specified DevOps tool.
Sys ID of the DevOps tool to associate with the commit. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"path" : "Relative path of the branch.",
"name" : "Name of the branch in which the code commit was made.",
"repository" : {
"name" : "Name of the repository.",
"url" : "URL of the repository in the source DevOps tool."
}
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
Creates a callback record, known as a Webhook URL, that enables the associated DevOps tool to report change control events.
Sys ID of the DevOps tool for which to place the specified task under change control. Located in the Orchestration Tool [sn_devops_orchestration_tool] table.
Type: string
Type: object
{
"callBackURL" : "URL that the execution tool calls once the associated process is complete. This callback should trigger change control updates.",
"orchestrationTaskDetails" : {
"upstreamTaskExecutionURL" : "string",
"triggerType" : "string. Possible values: upstream | user | scm",
"message" : "string"
},
"orchestrationTaskURL" : "URL of the orchestration task for which to create the call back."
}
Creates one change request task based on the default change request task record and associates it with the specified change request. Multiple change request task creations within a single call is not supported.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Fields to modify when creating the request. The key is the field name within the template and the value is the information to populate in the field.
Type: object
{ }
Create a single CI with associated outbound and inbound relations. If the class has a dependent identification rule defined,then the input payload must contain the sys_id of the parent CI.
The CMDB class name.
Type: string
Type: object
{
"depends_on" : {
"inbound_relation" : {
"relation_type" : "string",
"target" : "string"
}
},
"outbound_relations" : [ {
"rel_type" : "string",
"target" : "string"
} ],
"attributes" : { },
"inbound_relations" : [ {
"rel_type" : "string",
"target" : "string"
} ],
"source" : "string"
}
Creates a Commit object in the Commit [sn_devops_commit] table for the specified DevOps tool and code commit.
Sys ID of the DevOps tool to associate with the commit. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"revert" : "Flag that indicates whether code was reverted during the commit.",
"message" : "Message included with the commit.",
"repository" : {
"name" : "Name of the repository.",
"url" : "URL of the repository in the source DevOps tool."
},
"branch" : {
"path" : "string",
"name" : "string",
"repository" : {
"name" : "string",
"description" : "string",
"id" : "string",
"url" : "string"
}
},
"url" : "URL of the commit.",
"apiURL" : "API URL of the commit.",
"committer" : {
"name" : "string",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"committedDate" : "Date/time on which the code was committed in source DevOps tool.",
"merge" : "Flag that indicates whether the code was merged when it was committed.",
"aggregates" : {
"totalAdditions" : "Total number of files that were added in the commit.",
"totalDeletions" : "Total number of files that were deleted in the commit.",
"totalFiles" : "Total number of files that were added, deleted, or changed by the commit.",
"totalChanges" : "Total number of files that were modified."
},
"details" : {
"file" : "Path of the file that was modified relative to the branch.",
"additions" : "integer",
"deletions" : "integer",
"changes" : "integer",
"action" : "string",
"totalChanges" : "integer"
},
"id" : "Commit ID from the source coding tool.",
"nativeId" : "Identifier of the task associated with the commit, such as a JIRA Story or defect number. This field is used to map a commit to a planning tool work item.",
"planningToolId" : "Sys ID of the planning tool associated with the code tool. This field is used to map a commit to a planning tool work item."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
You can create different types of CSM cases depending on whether you are working in a business-to-business (B2B) or business-to-consumer (B2C) environment, or creating a case for an order or product.
Type: object
{
"parent" : "Unique identifier (sys_id) of the parent case to which this case (child) is associated; Task [task] table.",
"made_sla" : "Flag that indicates whether the case was resolved in alignment with the associated service level agreement.",
"caused_by" : "Unique identifier (sys_id) of the change request that caused the case to be created; Change Request [change_request] table.Data",
"watch_list" : "List of unique identifiers (sys_id) of the users who receive notifications about this case when additional comments are added or if the state of a case is changed to Resolved or Closed; User [sys_user] table.",
"active_escalation" : "Unique identifier (sys_id) of the active account escalation record associated with the case; Escalation [sn_customerservice_escalation] table.",
"upon_reject" : "Action to take if the case is rejected.",
"support_manager" : "Unique identifier (sys_id) of the CSM manager assigned to the case; User [sys-user] table.",
"social_channel" : "Type of social media channel such as Twitter, Facebook, or Instagram.Data",
"skills" : "List of the unique identifiers (sys_id) of the skills needed to complete the case; Skill [cmn_skill] table.",
"number" : "Case number.",
"resolved_by" : "Unique identifier (sys_id) of the person that resolved the case; User [sys_user] table.",
"social_post_url" : "URL of the social message from which the case is being generated.",
"problem" : "Unique identifier (sys_id) of the issue that the customer is encountering; Problem [problem] table.",
"opened_by" : "Unique identifier (sys_id) of the person that initially opened the case; User [sys_user] table.",
"user_input" : "Additional user input.",
"contact" : "Business-to-business based cases only. Unique identifier (sys_id) of the person to contact regarding this case; Contact [customer_contact] table.",
"state" : "Current state of the case. Possible values are 1: new, 2: open, 3: awaiting info, 4: resolved, 5: closed",
"knowledge" : "Flag that indicates if there is a knowledge base article available for the specified issue.",
"order" : "Order of the case.",
"closed_at" : "Date and time that the case was closed.",
"cmdb_ci" : "Unique identifier (sys_id) of the configuration item associated with the case; Configuration Item [cmdb_ci] table.",
"delivery_plan" : "Unique identifier (sys_id) of the parent execution plan for this case; Execution Plan [sc_cat_item_delivery_plan] table.",
"contract" : "Unique identifier (sys_id) of the contract associated with the case; Contract [ast_contract] table. This contract contains information about the type of support that is provided to the company associated to the case. A contract can include a company and contact and the specific assets that are covered. A contract can also include multiple service entitlements and SLAs.",
"impact" : "Impact on customer. Possible values are 1-high, 2-medium, 3-low",
"active" : "Flag that indicates whether the case is open andactive.",
"follow_the_sun" : "Flag that indicates whether the case should be handed-off for global follow-up. If a customer enters additional comments on a Priority 1 - Critical or a Priority 2 - High case, or if the case is escalated, the flag is automatically set to true.",
"work_notes_list" : "List of unique identifiers (sys_id) of the internal users who receive notifications about this case when work notes are added; User [sys_user] table.",
"business_service" : "Unique identifier (sys_id) of the business service record associated with the case; Business Service [cmdb_ci_service] table.",
"entitlement" : "Unique identifier (sys_id) of the entitlement record associated with the case; Entitlement [service_entitlement] table. Entitlements define the type of support that a customer receives as well as the supported communication channels. An entitlement can be associated with a product, an asset, an account, or a contract.",
"auto_created_case" : "Flag that indicates whether the case was automatically generated by another action/event.",
"business_impact" : "Impact of the issue on the associated customer.",
"priority" : "Priority of the case. Possible values are 1- critical, 2- high, 3- moderate, 4- low",
"sys_domain_path" : "Domain path.",
"time_worked" : "Total amount of time worked on the case.",
"expected_start" : "Date and time when work is scheduled to begin on the case.",
"rejection_goto" : "Unique identifier of the task to execute if the case is rejected; Task [task] table.",
"opened_at" : "Date and time that the case was opened.",
"business_duration" : "Length in calendar work hours, work days, and work weeks that it took to complete the case.",
"first_response_time" : "Date and time when the first action was taken on the case.",
"group_list" : "List of unique identifiers (sys_id) of the group records associated with the case; Group [sys_user_group] table.",
"child_case_creation_progress" : "Flag that indicates whether the case is a child case that was created from a major case.",
"work_end" : "Date and time work ended on the case.",
"resolved_at" : "Date and time that the case was resolved.",
"sync_driver" : "Flag that indicates whether there is driver synchronization.",
"social_handle_url" : "URL of the user's social media handle.",
"subcategory" : "Case subcategory.Value is 0- question",
"wf_activity" : "Unique identifier (sys_id) of the workflow activity record associated with the case; Workflow Activity [wf_activity] table.",
"short_description" : "Concise description of the case.",
"correlation_display" : "Correlation display.",
"delivery_task" : "Unique identifier (sys_id) of the execution plan task; Execution Plan Task [sc_cat_item_delivery_task] table.",
"work_start" : "Date and time that work started on the case.",
"assignment_group" : "Unique identifier (sys_id) of the customer service agent group assigned to the case; Group [sys_user_group] table.",
"social_handle_type" : "Type of case to associate the social media profile.",
"additional_assignee_list" : [ "string" ],
"recipient_list" : "Unique identifier (sys_id) of the record that contains the list of recipients for communications about this case; Recipients List [sn_publications_recipients_list] table.",
"cause" : "Details about the cause of the problem.",
"description" : "Detailed description of the problem associated with the case.",
"close_notes" : "Notes made when the case was closed.",
"notify" : "Method to use to notify contact/consumer. Possible values are 1- do not notify, 2- send email, 3- telephone",
"closed_by" : "Unique identifier (sys_id) of the user that closed the case; User [sys_user] table.",
"contact_type" : "Method in which the case was initially reported.",
"resolution_code" : "Resolution state for the case, such as \"Solved - Fixed by Support/Guidance provided\".",
"probable_cause" : "Possible cause of the issue associated with the case.",
"urgency" : "Urgency of the case.Possible values are 1- high, 2- medium, 3- low",
"company" : "Unique identifier (sys_id) of the company associated with the case; Company [core_company] table.",
"reassignment_count" : "Number of times that the case was reassigned to a person that is responsible for moving the case forward.",
"contact_time_zone" : "Time zone of the contact associated with the case.",
"notes_to_comments" : "Flag that indicates whether to the add resolution notes to the comments.",
"activity_due" : "Date for which the associated date is expected to be completed.",
"consumer" : "Business-to-consumer cases only. Unique identifier (sys_id) of the person to contact with regards to this case; Consumer [csm_consumer] table.",
"major_case_state" : "Current state of the major case. Possible values are proposed- initial state when an agent or manager creates or proposes a candidate case, accepted- initial state when a manager creates a major case or when a manager promotes a candidate case, rejected- manager rejected candidate case, canceled- case is canceled.",
"assigned_to" : "Unique identifier (sys_id) of the person assigned to the case; User [sys_user] table.",
"product" : "Unique identifier (sys_id) of the product model of the asset associated to the case; Product Model [cmdb_model] table. A model is a specific version or configuration of an asset (for example, Apple Mac Book Pro).",
"variables" : "Name/value pairs of variables associated with the case.",
"comments" : "Additional comments about the case.",
"approval" : "String that describes the type of approval required.",
"sla_due" : "Date/time at which the case must be closed based on the associated service level agreement.",
"change" : "Unique identifier (sys_id) of the change request that caused the case to be created; Change Request [change_request] table.",
"due_date" : "Date that the case is due to be closed.",
"social_handle" : "User handle on the channel.",
"partner" : "Unique identifier (sys_id) of the partner associated with the case; Account [customer_account] table.",
"escalation" : "Current escalation level. Possible values are 0-normal, 1-moderate, 2-high, 3-overdue",
"upon_approval" : "Action to take if the case is approved.",
"partner_contact" : "Unique identifier (sys_id) of the partner contact associated with the case; Contact [customer_contact] table.",
"correlation_id" : "Correlation identifier.",
"active_account_escalation" : "Unique identifier (sys_id) of the active account escalation record associated with the case; Escalation [sn_customerservice_escalation] table.",
"location" : "Unique identifier (sys_id) of the record describing the company location; Location [cmn_location] table.",
"category" : "Case category. Possible values are 0-question, 1-issue, 2-feature",
"account" : "Unique identifier (sys_id) of the account associated with the case; located in the Account [customer_account] table."
}
Creates a new CSM consumer.
Type: object
{
"country" : "Country in which the consumer resides.",
"notes" : "Notes on consumer.",
"gender" : "Gender of the consumer.",
"city" : "City in which the consumer resides.",
"prefix" : "Consumer name prefix such as, Dr., Mr., Mrs., or Ms.",
"suffix" : "Consumer name suffix such as Jr., Sr., or II.",
"title" : "Consumer business title such as Manager, Software Developer, or Contractor.",
"social_channel" : "Social media channel to which the consumer is associated such as Twitter, Facebook, or Instagram.",
"notification" : "Indicates whether the consumer should receive notifications. Valid values are 1: disabled, 2: enabled",
"business_phone" : "Business phone number of the consumer.",
"mobile_phone" : "Consumer mobile phone number.",
"street" : "Consumer street address.",
"state" : "State in which the consumer resides.",
"fax" : "Fax number of the consumer.",
"first_name" : "Consumer first name.",
"email" : "Email address of the consumer.",
"preferred_language" : "Consumer primary language.",
"zip" : "Consumer zip code.",
"home_phone" : "Home phone number of the consumer.",
"time_format" : "Format in which to display time.",
"social_handle" : "User handle on the social media channel.",
"active" : "Flag that indicates whether the consumer is active.",
"last_name" : "Consumer last name.",
"photo" : "Photo of the consumer.",
"middle_name" : "Consumer middle name.",
"time_zone" : "Consumer time zone, such as Canada/Central or US/Eastern.",
"name" : "Consumer full name; first_name+middle_name+last_name.",
"household" : "Unique identifier (sys_id) of the record that describes the household characteristics; Household [csm_household] table.",
"date_format" : "Format in which to display dates.",
"social_handle_url" : "URL to the consumer's social channel handle.",
"user" : "Unique identifier (sys_id) of the consumer user; Consumer User [csm_consumer_user] table.",
"primary" : "Flag that indicates whether this is the primary consumer."
}
Creates a planning, coding, or task execution DevOps tool record within your ServiceNow instance.
Type: object
{
"name" : "Display name of the DevOps tool.",
"type" : "Type of DevOps tool.",
"url" : "URL to use to access the DevOps tool."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
This method creates the email record specified in the request body.
Type: object
{
"cc" : "Specifies the copied recipients of the email message. Maps to the copied field. You can only specify up to 100 addresses in this field.",
"headers" : "Specify an array of custom headers you want to include in the email message. Custom headers must begin with an X- prefix. These custom headers are reserved for ServiceNow only and produce a 400 status code error: X-ServiceNow X-Service-Now",
"bcc" : "Specifies the blind copied recipients of the email message. Maps to the blind_copied field. You can only specify up to 100 addresses in this field.",
"subject" : "Specifies the subject of the email message. Maps to the subject field.",
"importance" : "Specifies the importance of the email message. Maps to the importance field.",
"html" : "Specifies the HTML-enabled body of the email message. Maps to the body field.",
"to" : "Specifies the direct recipients of the email message. Maps to the recipients field. You can only specify up to 100 addresses in this field.",
"text" : "Specifies the text-only body of the email message. Maps to the body_text field.",
"table_record_id" : "Specifies the target-related record to which the email applies. Use this parameter to associate an email message to a particular related record elsewhere in the system. This parameter also requires specifying the table_name parameter.",
"table_name" : "Specifies the table of the related record to which the email applies. Use this parameter to associate an email message to a particular related record elsewhere in the system. This parameter also requires specifying the table_record_id parameter."
}
Creates one emergency change request based on the default emergency change request record. Multiple emergency change request creations within a single call is not supported.
Fields to modify when creating the request. The key is the field name within the template and the value is the information to populate in the field.
Type: object
{ }
Creates an orchestration task execution entry in the Task Execution [sn_devops_task_execution] table.
Sys ID of the DevOps tool to associate with the commit. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"result" : "Execution result of the task execution.",
"number" : "Task execution number.",
"startDateTime" : "Date/time that the task execution started.",
"upstream" : {
"url" : "string"
},
"orchestrationTaskDetails" : {
"name" : "string",
"url" : "string"
},
"changes" : "Total number of changes that were made.",
"triggerType" : "Required string. Possible values: upstream | user | scm",
"endDateTime" : "Name of the orchestration task.",
"url" : "URL of the associated orchestration tool's orchestration task."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
Creates one normal change request based on the default normal change request record. Multiple normal change request creations within a single call is not supported.
Fields to modify when creating the request. The key is the field name within the template and the value is the information to populate in the field.
Type: object
{ }
Creates an orchestration task in the Orchestration Task [sn_devops_orchestration_task] table.
Sys ID of the DevOps tool to associate with the commit. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"name" : "Name of the orchestration task.",
"url" : "URL of the associated orchestration tool's orchestration task."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
Creates a record and returns the Table API relative path and redirect URL to access the created record.
Unique identifier (sys_id) of the catalog item to return.
Type: string
Type: object
{
"variables" : { }
}
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Inserts one record in the specified table. Multiple record insertion is not supported by this method.
Name of the table.
Type: string
Field name and the associated value for each parameter to define in the specified record. All fields within a record may not be available for update. For example, fields that have a prefix of "sys_" are typically system parameters that are automatically generated and cannot be updated. Fields that are not specified and not auto generated by the system are set to the associated data type's null value.
Type: object
{ }
Data retrieval operation for reference and choice fields. Based on this value, retrieves the display value and/or the actual value from the database. Valid values: true: returns the display values for all fields. false: returns the actual values from the database. all: returns both actual and display values. Default: false Note: There is no preferred method for setting this parameter. However, specifying the display value may cause performance issues since it is not reading directly from the database and may include referencing other fields and records. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: string
Potential values: true, false, all
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Flag that indicates whether to set field values using the display value or the actual value. If this parameter is set to true, pay attention to input values, especially date values, as these are interpreted as being supplied via the user time zone preference and are transformed into UTC format. To set the value of an encrypted field, you must set this parameter to true. If this parameter is not set to true, values submitted to encrypted fields are not saved. Additionally, the requesting user must have the appropriate encryption context prior to submitting the request. Encrypted fields are hidden for users without the appropriate encryption context. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: boolean
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Creates a Repository object in the Repository [sn_devops_repository] table for the specified DevOps tool.
Sys ID of the DevOps tool to associate with the commit. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"name" : "Name of the repository.",
"url" : "URL of the repository."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
Creates one standard change request based on an existing standard change template as specified by the passed-in template sys_id. Multiple standard change request creations within a single call is not supported.
Unique identifier of the standard change template on which to base the new standard change request (from [std_change_record_producer] table).
Type: string
Fields within the specified standard change template to modify when creating the request. The key is the field name within the template and the value is the information to populate in the field.
Type: object
{ }
Create an application service or update an existing application service.
The API accepts these JSON elements in the request body. In addition, you can add any field from the Application Service [cmdb_ci_service_discovered] table to pass data to the application service record. For example, to add content to the Comments field, add "comments: Passing data to the Comments field" to the JSON request.
Type: object
{
"name" : "Name of the application service you wish to create or update.",
"service_relations" : [ {
"parent" : "The sys_id of the CI whose outgoing connection joins this CI with the CI at the lower level in the map hierarchy.",
"child" : "The sys_id of the CI whose incoming connection joins this CI with the CI located of the higher level in the map hierarchy."
} ]
}
If an active work item exists, routes a document to a queue. If an active work item does not exist for the specified document, this creates a work item and set its fields accordingly.
Unique ID of the queue record from the awa_queue table.
Type: string
Type: object
{
"document_sys_id" : "Unique ID of the document to be routed to the queue",
"document_table" : "Name of the table associated with the document, e.g., incident"
}
Creates a version or release for an application within the App Version [sn_devops_app_version] table. This endpoint automatically creates any missing parent objects if they do not exist.
Sys ID of the planning tool to associate with the application. The Sys ID is located in the Planning Tool [sn_devops_planning_tool] table.
Type: string
Type: object
{
"app" : {
"createdBy" : {
"name" : "string",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"parentAppId" : "Unique identifier of the application's parent application. Generated by the source planning tool. If not available, you can use the parent application name.",
"createdDateTime" : "Date/time the application was created in the source DevOps tool.",
"id" : "Unique identifier of the application. Generated by the source planning tool.",
"lastUpdatedDateTime" : "Date/time the application was last updated in the source DevOps tool.",
"shortDescription" : "Brief description of the associated application.",
"state" : "State of the application as generated by the source planning tool, such as \"Approved\".",
"type" : "Type of application as specified by the source planning tool, such as \"Mobile-Innovation\".",
"url" : "URL of the application on the source planning tool site."
},
"parentReleaseId" : "Unique identifier of the version's parent version. Generated by the source planning tool. If not available, you can use the parent version name.",
"createdBy" : {
"name" : "string",
"createdDateTime" : "Date/time the application was created in the source DevOps tool.",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"id" : "Unique identifier of the version. Generated by the source planning tool.",
"lastUpdatedDateTime" : "Date/time the version was last updated in the source DevOps tool.",
"shortDescription" : "Brief description of the associated version.",
"state" : "State of the version as generated by the source planning tool, such as \"Complete\".",
"type" : "Type of version as specified by the source planning tool, such as \"Mobile-Innovation\".",
"url" : "URL of the version on the source planning tool site."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
Creates a work item, such as a story or defect in the Work Item [sn_devops_work_item] table, and associates it with an application and version.
Sys ID of the planning tool to associate with the application. The Sys ID is located in the Planning Tool [sn_devops_planning_tool] table.
Type: string
Type: object
{
"app" : {
"createdBy" : {
"name" : "string",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"parentAppId" : "Unique identifier of the application's parent application. Generated by the source planning tool. If not available, you can use the parent application name.",
"createdDateTime" : "Date/time the application was created in the source DevOps tool.",
"description" : "Detailed description of the associated application.",
"id" : "Unique identifier of the application. Generated by the source planning tool.",
"lastUpdatedDateTime" : "Date/time the application was last updated in the source DevOps tool.",
"shortDescription" : "Brief description of the associated application.",
"state" : "State of the application as generated by the source planning tool, such as \"Approved\".",
"type" : "Type of application as specified by the source planning tool, such as \"Mobile-Innovation\".",
"url" : "URL of the application on the source planning tool site."
},
"shortDescription" : "Brief description of the associated work item.",
"endDateTime" : "Date/time that the work was completed on the work item.",
"type" : "Free-form field that describes the type of work item, such as story/defect/subtask.",
"version" : {
"app" : {
"createdBy" : {
"name" : "string",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"parentAppId" : "Unique identifier of the application's parent application. Generated by the source planning tool. If not available, you can use the parent application name.",
"createdDateTime" : "Date/time the application was created in the source DevOps tool.",
"description" : "Detailed description of the associated application.",
"id" : "Unique identifier of the application. Generated by the source planning tool.",
"lastUpdatedDateTime" : "Date/time the application was last updated in the source DevOps tool.",
"shortDescription" : "Brief description of the associated application.",
"state" : "State of the application as generated by the source planning tool, such as \"Approved\".",
"type" : "Type of application as specified by the source planning tool, such as \"Mobile-Innovation\".",
"url" : "URL of the application on the source planning tool site."
}
},
"assignedTo" : {
"name" : "string",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"parentID" : "Unique identifier of the work item' parent, such as planning tool generated ID of the epic if the current work item is a story or the ID of a story if the current work item is a subtask.",
"url" : "URL of the work item on the source planning tool site.",
"duration" : "Amount of time, in hours, it took to complete the work item.",
"startDateTime" : "Date/time that the work was started on the work item.",
"createdBy" : {
"name" : "string",
"createdDateTime" : "Date/time the application was created in the source DevOps tool.",
"id" : "string",
"userName" : "string",
"email" : "string"
},
"id" : "Unique identifier of the work item. Generated by the source planning tool.",
"lastUpdatedDateTime" : "Date/time the work item was last updated in the source DevOps tool.",
"state" : "State of the work item as generated by the source planning tool, such as \"Complete\"."
}
Flag that indicates whether to only validate the request body parameters - record is not actually saved to the table.
Type: boolean
This method deletes the attachment with a specific sys_id value.
Deletes a specified cart, and the contents of the cart. The capabilities of what a user can delete (items and/or cart) depends on the role in which they use to authenticate.
Delete a change request task.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Unique identifier of the task to retrieve (from [change_task] table).
Type: string
Cancels the running conflict checking process for the specified change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Deletes the specified DevOps tool. Once a DevOps tool record is deleted, the tool becomes inactive.
Sys ID of the DevOps tool to delete. The Sys ID is located in the associated DevOps tool table, either Code Tool [sn_devops_code_tool], Planning Tool [sn_devops_planning_tool], or Orchestration Tool [sn_devops_orchestration_tool]
Type: string
Delete a emergency change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Deletes the specified item from the current cart.
Delete a normal change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Deletes the specified record from the specified table.
The record sys_id.
Type: string
Name of the table.
Type: string
Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. Available only to system administrators or users who have the query_no_domain_table_api role.
Type: boolean
Delete the relation for the specified CI.
The CMDB class name.
Type: string
The record sys_id.
Type: string
The sys_id of the relation.
Type: string
Deletes a standard change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Extend the CI-action-lease time for the registered user. If the previous lease has expired, the new lease time starts now.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
A CI action name
Type: string
Time duration for which the lease is valid for specified CI Action. In the format HH:MM:SS.
Type: string
A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
Type: string
Gets the current agent presence state and channel availability.
This method gets the metadata for the attachment file with a specific sys_id value.
Retrieves the available information for a specified catalog.
Unique identifier (sys_id) of the catalog to retrieve.
Type: string
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Retrieves the available information for a specified category.
Unique identifier (sys_id) of the category to retrieve.
Type: string
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Checks if the orchestration task is under change control or if a record (changeControlId) is passed in, checks its change control status.
URL of the orchestration task to check.
Type: string
Sys ID of the orchestration tool. Located in the Orchestration Tool [sn_devops_orchestration_tool] table.
Type: string
Sys ID of the change control task. Located in the Callback [sn_devops_callback] table.
Type: string
Name of the orchestration task to check.
Type: string
Flag that indicates whether to test the end-to-end connection between the instance and the DevOps tool.
Type: boolean
Type of tool.
Type: string
Potential values: jenkins
Retrieve a change request task.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Unique identifier of the task to retrieve (from [change_task] table).
Type: string
Retrieves an array of contents requested for checkout.
Retrieves the specified CSM account.
Unique identifier (sys_id) of the account to retrieve; located in the Customer [customer_account] table.
Type: string
Retrieves the specified CSM case.
Unique identifier (sys_id) of the case to retrieve; located in the Case [sn_customerservice_case] table.
Type: string
Retrieves the specified CSM consumer.
Unique identifier of the consumer record to return; located in the Consumer [csm_consumer] table.
Type: string
Retrieves the specified CSM contact.
Unique identifier (sys_id) of the contact to retrieve; located in the Contact [customer_contact] table.
Type: string
Retrieves the shipping address of the specified user.
Unique sys_id of the user whose shipping address is to be retrieved.
Type: string
Returns the available DevOps tools in the DevOps Tool [sn_devops_tool] table based on the passed in query. If no query parameters are passed in, the endpoint returns all active DevOps tools.
Sys ID of the DevOps tool to delete. The Sys ID is located in the associated DevOps tool table, either Code Tool [sn_devops_code_tool], Planning Tool [sn_devops_planning_tool], or Orchestration Tool [sn_devops_orchestration_tool]
Type: string
Name of the DevOps tool to return.
Type: string
Type of DevOps tool records to return.
Type: string
Potential values: Planning, Coding, TaskExecution
Returns the display value of the specified variable.
Unique identifier of the variable for which to return the display value.
Type: string
Unique identifier (sys_id) of the record that contains the display value to return.
Type: string
This method returns the record details of the specified email record.
Retrieve a emergency change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
This method gets the binary file attachment with a specific sys_id value.
This method retrieves the specified import staging record and resulting transformation result.
This method retrieves details about indicators from the Analytics Hub.
Enter the sys_id of a breakdown to return chart information organized as defined by the breakdown. For example, enter the sys_id of a priority breakdown to return separate task chart information for each priority value, such as Number of open incidents / Priority / 2 - High.
Type: string
Specify the sys_id of a breakdown relation to break down the returned data using that relation.
Type: string
Enter a comma-separated list of names or descriptions to return results only from indicators with a matching value.
Type: string
Set to true to return only indicators that are displayed on the Analytics Hub . Set this parameter to all to return all indicators. This parameter is true by default.
Type: boolean
Data retrieval operation for reference and choice fields. Based on this value, retrieves the display value and/or the actual value from the database. Valid values: true: returns the display values for all fields. false: returns the actual values from the database. all: returns both actual and display values. Default: false Note: There is no preferred method for setting this parameter. However, specifying the display value may cause performance issues since it is not reading directly from the database and may include referencing other fields and records. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: string
Potential values: true, false, all
Specify the sys_id of an elements filter to apply that filter to the returned data. You cannot obtain the sys_id of an indicator group through this API. Instead, get the sys_id from the indicator group record. For more information about obtaining sys_ids from records, see Unique record identifier (sys_id).
Type: string
Set to true to hide additional information provided for reference fields, such as the URI to the reference resource.
Type: boolean
Set to true to return only indicators that are favorites of the querying user.
Type: boolean
Specify the earliest date to return scores from. Only scores from this date or later are returned. The date format must match the ISO-8601 standard. This parameter requires that sysparm_include_scores is set to true.
Type: string
Set to true to return all possible aggregates for an indicator, including aggregates that have already been applied. If a value is not specified, this parameter defaults to false and returns no aggregates.
Type: boolean
Set to true to return all available aggregates for an indicator when no aggregate has been applied. If a value is not specified, this parameter defaults to false and returns no aggregates.
Type: boolean
Set to true to return all available breakdowns for an indicator. If a value is not specified, this parameter defaults to false and returns no breakdowns.
Type: boolean
Set this parameter to true to return the forecast_scores element that contains an array of date-value pairs that define the forecast data for the Analytics Hub. This paramater requires that the sysparm_include_scores parameter is also set to true.
Type: boolean
Set this parameter to true to return the realtime_enabled element which indicates if real-time scores are enabled for the indicator, and the realtime_value element which contains the real-time score value. This parameter is not supported for formula indicators.
Type: boolean
Set this parameter to true to return all notes associated with the score. The note element contains the note text as well as the author and timestamp when the note was added.
Type: boolean
Set to true to return indicator scores for the entire time range selected on the Analytics Hub . If a value is not specified, this parameter defaults to false and returns only the most recent score value. To constrain the date range of the scores that are returned, combine this parameter with sysparm_from and sysparm_to.
Type: boolean
Set this parameter to true to return the target_color_scheme element that contains the minimum and maximum values, and the color of each section of the target color scheme for the Analytics Hub.
Type: boolean
Set this parameter to true to return the trendline_scores element that contains an array of date-value pairs that define the Analytics Hub trendline. This paramater requires that the sysparm_include_scores parameter is also set to true.
Type: boolean
Set to true to return results only for key indicators.
Type: boolean
Specify the maximum number of scores to return.
Type: number
Specify the page number. For example, when querying 20 indicators with the default sysparm_per_page value (10), specify a sysparm_page value of 2 to retrieve indicators 11-20.
Type: integer
Enter the maximum number of indicators each query can return on a page. By default this value is 10, and the maximum is 100.
Type: integer
Specify the value to use when sorting results.
Type: string
Potential values: value, change, changeperc, gap, gapperc, duedate, name, order, default, group, indicator_group, frequency, target, date, trend, bullet, direction
Specify the sort direction, ascending or descending. By default, queries sort records in descending order. Set this parameter to asc to sort in ascending order.
Type: string
Specify a numeric value to skip scores, based on the indicator frequency. For example, specify a value of 3 to return only scores from every third day for a daily indicator, or from every third week for a weekly indicator.
Type: number
Enter an indicator group sys_id to return the indicators in that group. Do not use sysparm_uuid with this parameter. You cannot obtain the sys_id of an indicator group through this API. Instead, get the sys_id from the indicator group record. For more information about obtaining sys_ids from records, see Unique record identifier (sys_id)
Type: string
Set to true to return results only for indicators that have a target set on the Analytics Hub.
Type: boolean
Specify the latest date to return scores from. Only scores from this date or earlier are returned. The date format must match the ISO-8601 standard. This parameter requires that sysparm_include_scores is set to true.
Type: string
Enter a colon-separated list of sys_id values to specify which indicators, breakdowns, aggregates, and domains to query. The parameter follows this format: ::::::. The parameter must begin with the sys_id of an indicator record. Optionally, you can append the sys_id values of a breakdown and breakdown element to group the response based on the breakdown, and the sys_id of an aggregate to apply that aggregate. You can use a breakdown with an aggregate, or use only one. Note: If an indicator is configured to use a Default time series, all values that this API retrieves for that indicator use the selected aggregate.
Type: string
Retrieves a specified catalog item.
Unique identifier (sys_id) of the catalog item to return.
Type: string
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Retrieves the details of the specified item stored in the wish list cart.
Retrieves the details of the items within the logged in user's cart.
This operation has no parameters
This method returns meta data of all channels associated with a given communication task id and table. The table name is derived from communication task handler.
Sys id of communication task.
Type: string
Name of the table defined in the comm_task_handler table.
Type: string
Read meta data for a CMDB class.
Retrieve a normal change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Retrieves the specified record from the specified table.
The record sys_id.
Type: string
Name of the table.
Type: string
Data retrieval operation for reference and choice fields. Based on this value, retrieves the display value and/or the actual value from the database. Valid values: true: returns the display values for all fields. false: returns the actual values from the database. all: returns both actual and display values. Default: false Note: There is no preferred method for setting this parameter. However, specifying the display value may cause performance issues since it is not reading directly from the database and may include referencing other fields and records. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: string
Potential values: true, false, all
Flag that indicates whether to exclude Table API links for reference fields.
Type: boolean
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Set to true to return all available aggregates for an indicator when no aggregate has been applied. If a value is not specified, this parameter defaults to false and returns no aggregates.
Type: boolean
Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. Available only to system administrators or users who have the query_no_domain_table_api role.
Type: boolean
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Get attributes and relationship information for a specific record.
The CMDB class name.
Type: string
The record sys_id.
Type: string
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
The maximum number of relations to return.
Type: integer
A number of records to exclude from the relations query.
Type: integer
This method retrieves records for communication cards. The cards include total count of each card.
Returns a specified user's granted and inherited roles.
Required. sys_id of the user for which to return role information.
Type: string
Returns the schema object for a specified code resource: commit, repository, or branch.
Type of resource schema to return.
Type: string
Potential values: code, repository, branch
Returns the schema object for a specified orchestration resource.
Type of resource schema to return.
Type: string
Potential values: build_details, callback, orchestration_task, task_execution
Returns the schema object for a specified plan.
Type of resource schema to return.
Type: string
Potential values: app, version, work_item
Retrieves one or more standard change requests based on the specified criteria.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Retrieves a standard change template.
Unique identifier of the standard change template on which to base the new standard change request (from [std_change_record_producer] table).
Type: string
Returns the CI's operational state.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Retrieves the current status, information, and errors for the specified asynchronous worker.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Retrieves the status of the currently running change request conflict checking process or the results of the last completed conflict checking process for the specified change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Determine if the specified requestor is a valid active workflow user or a registered user.
A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
Type: string
Retrieve time series data from the MetricBase database.
The field name of the metric.
Type: string
The sys_id of the GlideRecord associated with this series.
Type: string
The end time of the evaluation period in UTC. The value must be in ISO date format up to seconds.
Type: string
The start time of the evaluation period in UTC. The value must be in ISO date format up to seconds.
Type: string
Name of the table containing the GlideRecord associated with this series.
Type: string
If true, the result data is labeled with the subject record display value.
Type: boolean
Determines if the lease has expired for the requestor of a specified CI Action.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
A CI action name
Type: string
A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
Type: string
This method inserts incoming data into a specified staging table and triggers transformation based on predefined transform maps in the import set table.
Insert or update a record on the interaction table.
Type: object
{
"context_table" : "The context table you want to use to store interaction context for. The default is interaction_json_blob. If you define the context table, you also need to define the context ID.",
"channel" : "The sys_id for the interaction connector you want to create an interaction for.",
"context" : "A Map or a table/sys_id pair. By default, interactions have a record in the interaction_json_blob table that stores context data as a JSON object. You can point an interaction to a different record for context. Use context or context_table/context_id to define the context for an interaction.",
"channel_metadata_table" : "The table you want to use to store channel metadata. The default is the live_group_profile table. If you define the channel metadata table, you also need to define the channel metadata ID.",
"context_id" : "The document ID for a record you want to use to store context. The default is a new record in the insteraction_json_blob table. If you define the contex ID, you also need to define the table.",
"channel_metadata" : "A Map or a table/sys_id pair. Channel metadata contains information that a connector can use to communicate through the associated channel. Use",
"queue" : "The sys_id for the queue you want to associate with the interaction.",
"channel_metadata_id" : "The document ID for a record you want to use to store channel metadata. The default is a new record in the live_group_profile table. If you define the channel metadata ID, you also need to define the table."
}
For a type of CI, determine if a CI action is not allowed for an operational state.
A CI action name
Type: string
The CI type
Type: string
The operational state
Type: string
The CI type
Type: string
The label of the beginning operational state.
Type: string
The label of the ending operational state.
Type: string
This method gets the metadata for multiple attachments.
An encoded query. Queries for the Attachment API are relative to the Attachments [sys_attachment] table; for example, (sysparm_query=file_name=attachment.doc). The encoded query provides support for order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=ORDERBYfile_name^ORDERBYDESCtable_Name orders the results in ascending order by name first, and then in descending order by table name.
Type: string
Retrieves a list of catalogs to which the user has access based on the passed in parameters.
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Keyword to search for in the "title" field of the available service catalogs.
Type: string
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Retrieves the list of available categories for the specified catalog.
Unique identifier (sys_id) of the catalog to retrieve.
Type: string
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Only return those categories whose parent is a catalog.
Type: boolean
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Retrieves one or more change request tasks based on the specified criteria.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Field by which to sort the returned change requests.
Type: string
Type: integer
Type: integer
Encoded query used to filter the result set. The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.
Type: string
String to use to search all standard change request record fields. This search uses ServiceNow full text search platform functionality and defaults to IR_AND_OR_QUERY.
Type: string
This method returns the list of channels for a given task record.
Returns a list of active CI actions for the specified CI.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Retrieve a list of CIs in an application service and the relationships between them. Only retrieves content for services that were manually created.
SysID of the application service from the Business Service [cmdb_ci_service] table.
Type: string
Defines the amount of relationship data returned. Shallow returns parent and child relationships between CIs within a business service. Full returns CI attributes and lookup information in addition to the data returned in shallow mode.
Type: string
Retrieves multiple CIs associated to a specified change request based on the specified association type.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Type of association between the CMDB CI and the change request.
Type: string
Potential values: affected, impacted, offering
Type: integer
Type: integer
Encoded query used to filter the result set. The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.
Type: string
This method returns list of communication plans that includes communication tasks and channels.
Retrieves CSM accounts.
Encoded query to use to filter the result set. Syntax: sysparm_query=. = name of the table column. supports the following values:
=: exactly matches
!=: does not match
^: enables you to specify more than one condition and logically AND them
^OR: enables you to specify more than one condition and logically OR them
LIKE: contains the specified string. Only works for fields whose data type is string.
STARTSWITH: starts with the specified string. Only works for fields whose data type is string.
ENDSWITH: ends with the specified string. Only works for fields whose data type is string.
= value to match against.
All parameters are case-sensitive. Query can contain more than one entry, such as sysparm_query=[].
Type: string
Retrieves CSM cases.
Encoded query to use to filter the result set. Syntax: sysparm_query=. = name of the table column. supports the following values:
=: exactly matches
!=: does not match
^: enables you to specify more than one condition and logically AND them
^OR: enables you to specify more than one condition and logically OR them
LIKE: contains the specified string. Only works for fields whose data type is string.
STARTSWITH: starts with the specified string. Only works for fields whose data type is string.
ENDSWITH: ends with the specified string. Only works for fields whose data type is string.
= value to match against.
All parameters are case-sensitive. Query can contain more than one entry, such as sysparm_query=[].
Type: string
Retrieves CSM consumers.
Encoded query to use to filter the result set. Syntax: sysparm_query=. = name of the table column. supports the following values:
=: exactly matches
!=: does not match
^: enables you to specify more than one condition and logically AND them
^OR: enables you to specify more than one condition and logically OR them
LIKE: contains the specified string. Only works for fields whose data type is string.
STARTSWITH: starts with the specified string. Only works for fields whose data type is string.
ENDSWITH: ends with the specified string. Only works for fields whose data type is string.
= value to match against.
All parameters are consumer-sensitive. Query can contain more than one entry, such as sysparm_query=[].
Type: string
Retrieves CSM contacts.
Encoded query to use to filter the result set. Syntax: sysparm_query=. = name of the table column. supports the following values:
=: exactly matches
!=: does not match
^: enables you to specify more than one condition and logically AND them
^OR: enables you to specify more than one condition and logically OR them
LIKE: contains the specified string. Only works for fields whose data type is string.
STARTSWITH: starts with the specified string. Only works for fields whose data type is string.
ENDSWITH: ends with the specified string. Only works for fields whose data type is string.
= value to match against.
All parameters are contact-sensitive. Query can contain more than one entry, such as sysparm_query=[].
Type: string
Retrieves one or more emergency change requests based on the specified criteria.
Field by which to sort the returned change requests.
Type: string
Type: integer
Type: integer
Encoded query used to filter the result set. The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.
Type: string
String to use to search all standard change request record fields. This search uses ServiceNow full text search platform functionality and defaults to IR_AND_OR_QUERY.
Type: string
Returns all published NLU entities bound to an NLU model.
This method returns list of groups for a task (probably?).
Returns all published NLU intents bound to an NLU model.
Retrieves a list of catalog items based on the specified parameters.
Catalog sys_id of the item. Use this parameter to locate items in a specific catalog.
Type: string
Category sys_id of the item. Use this parameter to locate catalog items in a specific category.
Type: string
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Keyword to search for in the "title" field of the available service catalogs.
Type: string
Type of item.
Type: string
Potential values: Record Producer, Order Guide
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Retrieves a list of items based on the needs described for an order guide.
Unique identifier of the order guide whose items are to be retrieved [from sc_cat_item_guide table].
Type: string
Type: object
{
"variables" : { }
}
Retrieves a list of items from the logged in user's wish list.
This operation has no parameters
Returns all published NLU models.
This operation has no parameters
Retrieves one or more normal change requests based on the specified criteria.
Field by which to sort the returned change requests.
Type: string
Type: integer
Type: integer
Encoded query used to filter the result set. The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.
Type: string
String to use to search all standard change request record fields. This search uses ServiceNow full text search platform functionality and defaults to IR_AND_OR_QUERY.
Type: string
Retrieves multiple records for the specified table.
Name of the table.
Type: string
Data retrieval operation for reference and choice fields. Based on this value, retrieves the display value and/or the actual value from the database. Valid values: true: returns the display values for all fields. false: returns the actual values from the database. all: returns both actual and display values. Default: false Note: There is no preferred method for setting this parameter. However, specifying the display value may cause performance issues since it is not reading directly from the database and may include referencing other fields and records. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: string
Potential values: true, false, all
Flag that indicates whether to exclude Table API links for reference fields.
Type: boolean
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Encoded query used to filter the result set. For example, (sysparm_query=caller_id=javascript:gs.getUserID()^active=true). The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category.If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part.
Type: string
Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. Available only to system administrators or users who have the query_no_domain_table_api role.
Type: boolean
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Retrieves one or more standard change requests based on the specified criteria.
Field by which to sort the returned change requests.
Type: string
Encoded query used to filter the result set. The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.
Type: string
String to use to search all standard change request record fields. This search uses ServiceNow full text search platform functionality and defaults to IR_AND_OR_QUERY.
Type: string
Retrieves one or more standard change templates based on the specified criteria.
Field by which to sort the returned change requests.
Type: string
Encoded query used to filter the result set. The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in sysparm_query. For example, sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property glide.invalid_query.returns_no_rows. Set this property to true to return no rows on an invalid query.
Type: string
String to use to search all standard change request record fields. This search uses ServiceNow full text search platform functionality and defaults to IR_AND_OR_QUERY.
Type: string
This method manages the recipients of a communication plan.
Sys id of the communication plan.
Type: string
Table name of task.
Type: string
Type: object
{
"recipients" : {
"delete_list" : [ "string" ],
"add_list" : [ {
"responsibility" : {
"value" : "string"
},
"recipient_list" : {
"value" : "string"
},
"type" : {
"value" : "string"
},
"user" : {
"value" : "string"
},
"group" : {
"value" : "string"
}
} ]
}
}
Orders the specified catalog item.
Unique identifier (sys_id) of the catalog item to return.
Type: string
Type: object
{
"variables" : { },
"sysparm_quantity" : "Number of the item to add to the cart. Cannot be a negative number."
}
This method performs UI actions and returns success status on completion of action. The UI actions can be Promote to Major Incident (PROMOTE), Resolve Major Incident (RESOLVE), Close Major Incident (CLOSE), Reject Major Incident (REJECT), Create New Major Incident (CREATE_NEW_MI), or Refresh Impacted Services (REFRESH_IMPACTED_SERVICES).
Sys id of the incident.
Type: string
Type: object
{
"record" : { },
"action" : "Required string. Possible values: PROMOTE | RESOLVE | CLOSE | REJECT | CREATE_NEW_MI | REFRESH_IMPACTED_SERVICES"
}
This method performs specified action on communication tasks.
Sys id of communication task.
Type: string
Name of the table defined in the comm_task_handler table.
Type: string
Type: object
{
"action" : "string"
}
Populates the impacted services/CIs related list based on the primary CI.
Unique identifier of the change management asynchronous worker; located in the Change Management Worker [chg_mgt_worker] table.
Type: string
Predict an output field value using a specific solution.
The name of solution to use for predictions.
Type: string
Enter the name of the solution input field as a key-value pair. For example, enter the key short_description and the value 'Unable to connect to VPN'.
Type: object
{ }
Predicts NLU intents from an utterance.
Type: object
{
"model_id" : "ID of an published ServiceNow NLU model or available IBM-Watson model.",
"utterance" : "Text string."
}
Retrieves and processes the checkout for the current cart based on whether the two-step checkout process is enabled. If one-step checkout, the method checks out (saves) the cart and returns the request number and the request order ID. If two-step checkout, the method returns the cart order status and all the information required for two-step checkout.
This operation has no parameters
Query records for a CMDB class.
The CMDB class name.
Type: string
An encoded query string used to filter the results.
Type: string
Insert or update configuration items in the CMDB based on identification and reconciliation rules. Use this API instead of updating the CMDB directly.
Type: object
{
"relations" : [ {
"parent" : "index of the parent item in the dependency relation",
"type" : "the relationship type. This is one of the name field values from the cmdb_rel_type table.",
"child" : "index of the child item in the dependency relation"
} ],
"items" : [ {
"lookup" : [ { } ],
"values" : { },
"className" : "the sys_class_name of the CI to be created or updated."
} ]
}
Identifies the source of the CI information. This must be one of the choice values defined for the discovery_source field of the cmdb_ci table.
Type: string
Removes a CI action for a list of CIs.
The CI action name
Type: string
A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
Type: string
list of CI sys_ids
Type: array
[ "string" ]
Deactivates the tokens that enable mobile devices to receive push notifications from the specified application.
Name of the application for which to register the push notifications. This parameter must be the same as the value in the Name column for the associated application in the Push Application [sys_push_application] table.
Type: string
Type: object
{
"platform" : "Platform on which to remove the push notification. This parameter must be the Name value from the Push Platform [sys_push_platform] table."
}
Replace the specified record with the message body. This API does not create/update/delete the associated relations.
The CMDB class name.
Type: string
The record sys_id.
Type: string
Type: object
{
"attributes" : { }
}
Searches a branch using encoded queries and specific search/sort criteria and returns all branch records that match the specified criteria.
Sys ID of the DevOps tool to search. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"offset" : "Record offset into the file at which to start returning records. Use this field to paginate through large collections of records.",
"query" : "Encoded query to use to filter the return results. For additional information on encoded queries, see https://docs.servicenow.com/bundle/newyork-platform-administration/page/use/using-lists/concept/c_EncodedQueryStrings.html",
"limit" : "Number of records to return.",
"sort" : "Field on which to sort the return records.",
"fields" : "Fields or objects to return in the results. All fields within the Commit [sn_devops_commit] table are available."
}
Searches code commits using encoded queries and specific search/sort criteria and returns all code commit records that match the specified criteria.
Sys ID of the DevOps tool to search. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"offset" : "Record offset into the file at which to start returning records. Use this field to paginate through large collections of records.",
"query" : "Encoded query to use to filter the return results. For additional information on encoded queries, see https://docs.servicenow.com/bundle/newyork-platform-administration/page/use/using-lists/concept/c_EncodedQueryStrings.html",
"limit" : "Number of records to return.",
"sort" : "Field on which to sort the return records.",
"fields" : "Fields or objects to return in the results. All fields within the Commit [sn_devops_commit] table are available."
}
Searches a specified repository using encoded queries and specific search/sort criteria and returns all repository records that match the specified criteria.
Sys ID of the DevOps tool to search. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Type: object
{
"offset" : "Record offset into the file at which to start returning records. Use this field to paginate through large collections of records.",
"query" : "Encoded query to use to filter the return results. For additional information on encoded queries, see https://docs.servicenow.com/bundle/newyork-platform-administration/page/use/using-lists/concept/c_EncodedQueryStrings.html",
"limit" : "Number of records to return.",
"sort" : "Field on which to sort the return records.",
"fields" : "Fields or objects to return in the results. All fields within the Commit [sn_devops_commit] table are available."
}
Use this endpoint to send a planning tool related notification or a Webhook call to the ServiceNowDevOps instance.
Sys ID of the planning tool to associate with the application. The Sys ID is located in the Planning Tool [sn_devops_planning_tool] table.
Type: string
Payload is defined by the source code tool.
Type: object
{ }
Use this endpoint to send a code tool related notification or a Webhook call to the ServiceNowDevOps instance.
Sys ID of the DevOps tool to associate with the commit. The Sys ID is located in the Code Tool [sn_devops_code_tool] table.
Type: string
Payload is defined by the source code tool.
Type: object
{ }
This method returns success status if the channel task is successfully completed.
Sys id of communication task.
Type: string
Name of the table defined in the comm_task_handler table.
Type: string
Type: object
{
"sms" : {
"toNumbers" : [ "string" ],
"message" : "string"
},
"email" : "boolean"
}
Sets the state of a provided agent’s presence and sets the agent’s channel availability for that state (if provided).
The sys_id of the agent listed in sys_user table.
Type: string
Type: object
{
"presence" : {
"sys_id" : "Presence state sys_id",
"channels" : {
"sys_id" : "Channel sys_id",
"available" : "Channel availability"
}
}
}
Set the operational state for list of CIs.
This is the string label of an operational_status choice.
Type: string
A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
Type: string
A comma separated list of CI sys_ids.
Type: array
[ "string" ]
A comma separated list of old CI states that all CIs should be in.
Type: array
[ "string" ]
Checks out the user cart, based on the current check-out type (one-step or two-step).
This operation has no parameters
Determines the operation (insert/update) that will be performed with the specified payload without committing the operation in the database.
Type: object
{
"relations" : [ {
"parent" : "index of the parent item in the dependency relation",
"type" : "the relationship type. This is one of the name field values from the cmdb_rel_type table.",
"child" : "index of the child item in the dependency relation"
} ],
"items" : [ {
"lookup" : [ { } ],
"values" : { },
"className" : "the sys_class_name of the CI to be created or updated."
} ]
}
Transforms selected data.
The field name of the metric.
Type: string
The end time of the evaluation period in UTC. The value must be in ISO date format up to seconds.
Type: string
An encoded query string for finding the subject records.
Type: string
The start time of the evaluation period in UTC. The value must be in ISO date format up to seconds.
Type: string
Name of the table containing the GlideRecord associated with this series.
Type: string
When true, the result data will be labeled with the subject record display value if no other label is specified in the transform. The default is false.
Type: boolean
Limit the size of the subject query result. The default is 10,000.
Type: integer
A comma separated list of transforms. Supported transforms are avg, sum, add, mul, resample, top, label.
Type: array
[ "string. Possible values: avg | sum | add | mul | resample | top | label" ]
Unregister an operator for non-workflow users.
A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
Type: string
Allows the current user to approve or reject a change request approval record for the specified change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Type: object
{
"state" : "Required string. Possible values: approved | rejected"
}
Updates the change control information for the specified orchestration task.
Sys ID of the change control task. Located in the Callback [sn_devops_callback] table.
Type: string
Sys ID of the orchestration tool. Located in the Orchestration Tool [sn_devops_orchestration_tool] table.
Type: string
Type: object
{
"callBackURL" : "URL that the execution tool calls once the associated process is complete. This callback should trigger change control updates.",
"taskExecutionURL" : "URL of the task to execute.",
"orchestrationTaskDetails" : {
"upstreamTaskExecutionURL" : "string",
"triggerType" : "string. Possible values: upstream | user | scm",
"message" : "string"
},
"orchestrationTaskURL" : "URL of the orchestration task for which to create the call back.",
"toolType" : "Type of DevOps tool."
}
Update a change request task.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Unique identifier of the task to retrieve (from [change_task] table).
Type: string
Name-value pairs for the field(s) to update in the associated change request task.
Type: object
{ }
Name-value pairs for the fields to update. Request body parameters override URL parameters. However, required parameters must be specified in the URL.
Type: object
{ }
Updates the specified existing CSM case with the passed-in parameters.
Unique identifier (sys_id) of the case to retrieve; located in the Case [sn_customerservice_case] table.
Type: string
Type: object
{
"parent" : "Unique identifier (sys_id) of the parent case to which this case (child) is associated; Task [task] table.",
"made_sla" : "Flag that indicates whether the case was resolved in alignment with the associated service level agreement.",
"caused_by" : "Unique identifier (sys_id) of the change request that caused the case to be created; Change Request [change_request] table.Data",
"watch_list" : "List of unique identifiers (sys_id) of the users who receive notifications about this case when additional comments are added or if the state of a case is changed to Resolved or Closed; User [sys_user] table.",
"active_escalation" : "Unique identifier (sys_id) of the active account escalation record associated with the case; Escalation [sn_customerservice_escalation] table.",
"upon_reject" : "Action to take if the case is rejected.",
"support_manager" : "Unique identifier (sys_id) of the CSM manager assigned to the case; User [sys-user] table.",
"social_channel" : "Type of social media channel such as Twitter, Facebook, or Instagram.Data",
"skills" : "List of the unique identifiers (sys_id) of the skills needed to complete the case; Skill [cmn_skill] table.",
"number" : "Case number.",
"resolved_by" : "Unique identifier (sys_id) of the person that resolved the case; User [sys_user] table.",
"social_post_url" : "URL of the social message from which the case is being generated.",
"problem" : "Unique identifier (sys_id) of the issue that the customer is encountering; Problem [problem] table.",
"opened_by" : "Unique identifier (sys_id) of the person that initially opened the case; User [sys_user] table.",
"user_input" : "Additional user input.",
"contact" : "Business-to-business based cases only. Unique identifier (sys_id) of the person to contact regarding this case; Contact [customer_contact] table.",
"state" : "Current state of the case. Possible values are 1: new, 2: open, 3: awaiting info, 4: resolved, 5: closed",
"knowledge" : "Flag that indicates if there is a knowledge base article available for the specified issue.",
"order" : "Order of the case.",
"closed_at" : "Date and time that the case was closed.",
"cmdb_ci" : "Unique identifier (sys_id) of the configuration item associated with the case; Configuration Item [cmdb_ci] table.",
"delivery_plan" : "Unique identifier (sys_id) of the parent execution plan for this case; Execution Plan [sc_cat_item_delivery_plan] table.",
"contract" : "Unique identifier (sys_id) of the contract associated with the case; Contract [ast_contract] table. This contract contains information about the type of support that is provided to the company associated to the case. A contract can include a company and contact and the specific assets that are covered. A contract can also include multiple service entitlements and SLAs.",
"impact" : "Impact on customer. Possible values are 1-high, 2-medium, 3-low",
"active" : "Flag that indicates whether the case is open andactive.",
"follow_the_sun" : "Flag that indicates whether the case should be handed-off for global follow-up. If a customer enters additional comments on a Priority 1 - Critical or a Priority 2 - High case, or if the case is escalated, the flag is automatically set to true.",
"work_notes_list" : "List of unique identifiers (sys_id) of the internal users who receive notifications about this case when work notes are added; User [sys_user] table.",
"business_service" : "Unique identifier (sys_id) of the business service record associated with the case; Business Service [cmdb_ci_service] table.",
"entitlement" : "Unique identifier (sys_id) of the entitlement record associated with the case; Entitlement [service_entitlement] table. Entitlements define the type of support that a customer receives as well as the supported communication channels. An entitlement can be associated with a product, an asset, an account, or a contract.",
"auto_created_case" : "Flag that indicates whether the case was automatically generated by another action/event.",
"business_impact" : "Impact of the issue on the associated customer.",
"priority" : "Priority of the case. Possible values are 1- critical, 2- high, 3- moderate, 4- low",
"sys_domain_path" : "Domain path.",
"time_worked" : "Total amount of time worked on the case.",
"expected_start" : "Date and time when work is scheduled to begin on the case.",
"rejection_goto" : "Unique identifier of the task to execute if the case is rejected; Task [task] table.",
"opened_at" : "Date and time that the case was opened.",
"business_duration" : "Length in calendar work hours, work days, and work weeks that it took to complete the case.",
"first_response_time" : "Date and time when the first action was taken on the case.",
"group_list" : "List of unique identifiers (sys_id) of the group records associated with the case; Group [sys_user_group] table.",
"child_case_creation_progress" : "Flag that indicates whether the case is a child case that was created from a major case.",
"work_end" : "Date and time work ended on the case.",
"resolved_at" : "Date and time that the case was resolved.",
"sync_driver" : "Flag that indicates whether there is driver synchronization.",
"social_handle_url" : "URL of the user's social media handle.",
"subcategory" : "Case subcategory.Value is 0- question",
"wf_activity" : "Unique identifier (sys_id) of the workflow activity record associated with the case; Workflow Activity [wf_activity] table.",
"short_description" : "Concise description of the case.",
"correlation_display" : "Correlation display.",
"delivery_task" : "Unique identifier (sys_id) of the execution plan task; Execution Plan Task [sc_cat_item_delivery_task] table.",
"work_start" : "Date and time that work started on the case.",
"assignment_group" : "Unique identifier (sys_id) of the customer service agent group assigned to the case; Group [sys_user_group] table.",
"social_handle_type" : "Type of case to associate the social media profile.",
"additional_assignee_list" : [ "string" ],
"recipient_list" : "Unique identifier (sys_id) of the record that contains the list of recipients for communications about this case; Recipients List [sn_publications_recipients_list] table.",
"cause" : "Details about the cause of the problem.",
"description" : "Detailed description of the problem associated with the case.",
"close_notes" : "Notes made when the case was closed.",
"notify" : "Method to use to notify contact/consumer. Possible values are 1- do not notify, 2- send email, 3- telephone",
"closed_by" : "Unique identifier (sys_id) of the user that closed the case; User [sys_user] table.",
"contact_type" : "Method in which the case was initially reported.",
"resolution_code" : "Resolution state for the case, such as \"Solved - Fixed by Support/Guidance provided\".",
"probable_cause" : "Possible cause of the issue associated with the case.",
"urgency" : "Urgency of the case.Possible values are 1- high, 2- medium, 3- low",
"company" : "Unique identifier (sys_id) of the company associated with the case; Company [core_company] table.",
"reassignment_count" : "Number of times that the case was reassigned to a person that is responsible for moving the case forward.",
"contact_time_zone" : "Time zone of the contact associated with the case.",
"notes_to_comments" : "Flag that indicates whether to the add resolution notes to the comments.",
"activity_due" : "Date for which the associated date is expected to be completed.",
"consumer" : "Business-to-consumer cases only. Unique identifier (sys_id) of the person to contact with regards to this case; Consumer [csm_consumer] table.",
"major_case_state" : "Current state of the major case. Possible values are proposed- initial state when an agent or manager creates or proposes a candidate case, accepted- initial state when a manager creates a major case or when a manager promotes a candidate case, rejected- manager rejected candidate case, canceled- case is canceled.",
"assigned_to" : "Unique identifier (sys_id) of the person assigned to the case; User [sys_user] table.",
"product" : "Unique identifier (sys_id) of the product model of the asset associated to the case; Product Model [cmdb_model] table. A model is a specific version or configuration of an asset (for example, Apple Mac Book Pro).",
"variables" : "Name/value pairs of variables associated with the case.",
"comments" : "Additional comments about the case.",
"approval" : "String that describes the type of approval required.",
"sla_due" : "Date/time at which the case must be closed based on the associated service level agreement.",
"change" : "Unique identifier (sys_id) of the change request that caused the case to be created; Change Request [change_request] table.",
"due_date" : "Date that the case is due to be closed.",
"social_handle" : "User handle on the channel.",
"partner" : "Unique identifier (sys_id) of the partner associated with the case; Account [customer_account] table.",
"escalation" : "Current escalation level. Possible values are 0-normal, 1-moderate, 2-high, 3-overdue",
"upon_approval" : "Action to take if the case is approved.",
"partner_contact" : "Unique identifier (sys_id) of the partner contact associated with the case; Contact [customer_contact] table.",
"correlation_id" : "Correlation identifier.",
"active_account_escalation" : "Unique identifier (sys_id) of the active account escalation record associated with the case; Escalation [sn_customerservice_escalation] table.",
"location" : "Unique identifier (sys_id) of the record describing the company location; Location [cmn_location] table.",
"category" : "Case category. Possible values are 0-question, 1-issue, 2-feature",
"account" : "Unique identifier (sys_id) of the account associated with the case; located in the Account [customer_account] table."
}
Update a emergency change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Name-value pairs for the field(s) to update in the associated change request.
Type: object
{ }
Name-value pairs for the fields to update. Request body parameters override URL parameters. However, required parameters must be specified in the URL.
Type: object
{ }
Updates the specified item in the logged in user's cart.
Unique identifier of the item in the current cart.
Type: string
Type: object
{
"variables" : { },
"sysparm_quantity" : "Quantity of the item to update the cart."
}
Update a normal change request.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Name-value pairs for the field(s) to update in the associated change request.
Type: object
{ }
Name-value pairs for the fields to update. Request body parameters override URL parameters. However, required parameters must be specified in the URL.
Type: object
{ }
Replace the specified record with the message body. This API does not create/update/delete the associated relations.
The CMDB class name.
Type: string
The record sys_id.
Type: string
Type: object
{
"attributes" : { }
}
Updates the specified record with the name-value pairs identifier in the request body.
The record sys_id.
Type: string
Name of the table.
Type: string
Field name and the associated value for each parameter to define in the specified record. All fields within a record may not be available for update. For example, fields that have a prefix of "sys_" are typically system parameters that are automatically generated and cannot be updated. Fields that are not specified and not auto generated by the system are set to the associated data type's null value.
Type: object
{ }
Data retrieval operation for reference and choice fields. Based on this value, retrieves the display value and/or the actual value from the database. Valid values: true: returns the display values for all fields. false: returns the actual values from the database. all: returns both actual and display values. Default: false Note: There is no preferred method for setting this parameter. However, specifying the display value may cause performance issues since it is not reading directly from the database and may include referencing other fields and records. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: string
Potential values: true, false, all
A comma-separated list of fields to return in the response.
Type: array
[ "string" ]
Flag that indicates whether to set field values using the display value or the actual value. If this parameter is set to true, pay attention to input values, especially date values, as these are interpreted as being supplied via the user time zone preference and are transformed into UTC format. To set the value of an encrypted field, you must set this parameter to true. If this parameter is not set to true, values submitted to encrypted fields are not saved. Additionally, the requesting user must have the appropriate encryption context prior to submitting the request. Encrypted fields are hidden for users without the appropriate encryption context. For more information on display values and actual values, see Table API FAQs (KB0534905).
Type: boolean
Flag that indicates whether to restrict the record search to only the domains for which the logged in user is configured. Available only to system administrators or users who have the query_no_domain_table_api role.
Type: boolean
Device on which the item can display. If you also specify the sysparm_fields parameter, it takes precedent.
Type: string
Potential values: mobile, desktop, both
Updates the standard change request identified by the specified sys_id with the parameters in the request body or in the URL.
Unique identifier of the change request to retrieve from the [change_request] table.
Type: string
Name-value pairs for the field(s) to update in the associated change request.
Type: object
{ }
Name-value pairs for the fields to update. Request body parameters override URL parameters. However, required parameters must be specified in the URL.
Type: object
{ }