ServiceNow

Frends.ServiceNow.UpdateRecord / 1.1.0

Summary

Updates a record in a ServiceNow table from JSON or XML.

Typical use — reflecting progress from the system actually doing the work back onto the ticket

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input class.

Name Type Default Example Description
Url String https://dev123456.service-now.com/api/now/table/{tableName}/{sys_id} https://dev123456.service-now.com/api/now/table/{tableName}/{sys_id}

The URL with protocol and path to the ServiceNow instance. You can include query parameters directly in the url.

Format MessageFormat MessageFormat.JSON

Format of the message. Possible values: JSON, XML

Possible values:

  • JSON: Format of the message. Possible values: JSON, XML

  • XML: Format of the message. Possible values: JSON, XML

Json String { "short_description":"Hello World", "caller_id":"oauth.user" }

Body of the request message in JSON format. Content-Type: application/json header is passed automatically to the HttpContent.

Xml String <request> <entry> <short_description>Hello World</short_description> <caller_id>oauth.user</caller_id> </entry> </request>

Body of the request message in XML format. Content-Type: application/xml header is passed automatically to the HttpContent.

Headers Header[] Name: Content-Type, Value: application/json

List of HTTP headers to be added to the request.

An unhandled error has occurred. Reload 🗙