Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Assign an Owner for a Targeted PBN

 

Use this API to assign an owner for a targeted PBN.

URI

https://[host]/api/juniper/serviceinsight/pbn-management/targetedPbns/{id}/ assignOwnership (HTTP method = PUT)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the targeted PBN to which an owner is to be assigned

Consumes

  • application/vnd.juniper.serviceinsight.pbn-management.assignOwnership+xml;version=1

  • application/vnd.juniper.serviceinsight.pbn-management.assingOwnership+json;version=1

Request Elements

Element

Type

Description

userLoginId

String

Service Now Login ID of the user to whom the targeted PBN is to be assigned ownership

emailPBNToAssignedOwner

Boolean

Flag to specify if the targeted PBN is to be e-mailed to owner assigned tor the PBN

Possible values:

  • true—Targeted PBN is e-mailed to the assigned owner

  • false—Targeted PBN is not e-mailed to the assigned owner

Produces

  • application/vnd.juniper.serviceinsight.pbn-management.targetedPbn. serviceInsightMsg+xml;version=1

  • application/vnd.juniper.serviceinsight.pbn-management.targetedPbn. serviceInsightMsg+json;version=1

Response Elements

Element

Type

Description

msg

String

Status message of the assign ownership task

Sample Input

Sample XML Input

Sample JSON Input

Sample Output

Sample XML Output

Sample JSON Output