Regenerate a PBN Report
Use this API to regenerate a proactive bug notification (PBN) report.
URI
https://[host]/api/juniper/serviceinsight/pbnreport-management/pbnreports/ {id}/regenerateReport (HTTP method = POST)
URI Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | ID of the report to be regenerated |
Consumes
- application/vnd.juniper.serviceinsight.pbnreport-management.regeneratepbnreport +xml;version=1
- application/vnd.juniper.serviceinsight.pbnreport-management.regeneratepbnreport +json;version=1
Request Elements
Element | Type | Description |
---|---|---|
emails | Collection of e-mail IDs to which the regenerated PBN report must be sent | |
String | E-mail iDr to which the regenerated PBN report must be sent | |
domainId | Integer | ID of the domain to which the PBN report belongs This is an optional element. The value provided in this element is ignored if the value is invalid or a domainId other than the current domainId is provided. |
Produces
- application/vnd.juniper.space.task-management.task+xml;version=1;
- application/vnd.juniper.space.task-management.task+json;version=1;
Response Elements
Element | Type | Description |
---|---|---|
href | String | Link to the regenerate PBN report job |
id | String | ID of the job |
Sample Input
Sample XML Input
<regeneratepbnreport> <emails> <email>servicenow@juniper.com</email> </emails> </regeneratepbnreport>
Sample JSON Input
{ "regeneratepbnreport": { "emails": { "email": "servicenow@juniper.com" } } }
Sample Output
Sample XML Output
<taskhref=”/api/space/job-management/jobs/655365”> <id>655365</id> </task>
Sample JSON Output
{ "task": { "@href": "/api/space/job-management/jobs/655365", "id": 655365 } }