Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Add a Script Bundle to Service Now

 

Use this API to add a script bundle to Junos Space Service Now.

URI

https://[host]/api/juniper/servicenow/scriptBundle-management/addScriptBundle (HTTP method = POST)

Consumes

Multipart/form-upload

Request Elements

Element

Type

Description

uri

String

URI of the script bundle to be added to Service Now

href

String

Link to the script bundle

id

Integer

ID of the script bundle

priority

String

Priority of the script bundle

profileName

Integer

Event profile included in the script bundle

description

String

Description of the script bundle

events

events

Events included in the script bundle

Produces

  • application/vnd.juniper.servicenow.event-profile-management.servicenowmsg +xml;version=1

  • application/vnd.juniper.servicenow.event-profile-management.servicenowmsg +json;version=1

Response Elements

Element

Type

Description

msg

String

Status message of the add script bundle job

Sample Output

Sample XML Output

Sample JSON Output