Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Clone an Event Profile

 

Use this API to clone an event profile.

URI

https://[host]/api/juniper/servicenow/event-profile-management/eventprofiles/{id} /cloneEventProfile (HTTP method = POST)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the event profile to be cloned

Consumes

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

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

Request Elements

Element

Type

Description

profileName

String

Name of the event profile

description

String

Description of the event profile

scriptBundle

scriptBundle

Script bundle using which the event profile was created

href

String

URI of the script bundle

uri

String

Link to the Script bundle

events

event

Collection of events in the event profile

event

event

An event in the event profile

id

Integer

ID of an event in the event profile

priority

String

Priority of the event

Possible values:

  • Critical

  • High

  • Medium

  • Low

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 clone event profile job

Sample Input

Sample XML Input

Sample JSON Input

Sample Output

Sample XML Output

Sampl JSON Output