ServiceNow

Frends.ServiceNow.CreateRecord / 1.1.0

Summary

Creates a record in a ServiceNow table from JSON or XML, addressing the table through its REST endpoint.

Typical use — raising incidents and requests from monitoring or from another system

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} https://dev123456.service-now.com/api/now/table/{tableName}

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

Format MessageFormat

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: Accept, Value: application/json

List of HTTP headers to be added to the request. Content-Type headers are passed automatically depending on the message format.

An unhandled error has occurred. Reload 🗙