Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Export a JMB in the HTML or XML Format

 

Use this API to export JMB of an incident in HTML or XML file formats and share it on your local file system.

URI

https://[host]/api/juniper/servicenow/incident-management/incidents/{id} /exportJMB?type={type}&content={content} (HTTP method = GET)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the Incident for which JMB data is to be exported

type

String

No

Valid values are:

  • xml

  • html

If type is not specified, JMB is exported in XML format.

content

String

No

Valid values are:

  • original

  • filtered

If content is not specified, JMB is exported with the original unfiltered content.

Consumes

None

Produces

application/octet-stream

Response Status Code

Message

Description

404 Not Found

  • Invalid incident ID

  • incident not found