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:
|
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
<assignOwnership> <userLoginId>1287</userLoginId> <emailPBNToAssignedOwner>true</emailPBNToAssignedOwner> </assignOwnership>
Sample JSON Input
{ "assignOwnership": { "userLoginId": "1287", "emailPBNToAssignedOwner": "true" } }
Sample Output
Sample XML Output
<serviceinsightmsg> <msg> Owner assigned to targeted PBN successful</msg> </serviceinsightmsg>
Sample JSON Output
{ "serviceinsightmsg": { "msg": " Owner assigned to targeted PBN successful" } }