Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Upload Core Files for an Incident

 

Use this API to upload core files for an incident.

URI

https://[host]/api/juniper/servicenow/incident-management/incidents/{id}/uploadCoreFiles (HTTP method = POST)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the incident for which core files are to be uploaded

Consumes

  • application/vnd.juniper.servicenow.incident-management.incident.uploadCoreFiles +xml;version=1;charset=UTF-8

  • application/vnd.juniper.servicenow.incident-management.incident.uploadCoreFiles +json;version=1;charset=UTF-8

Request Elements

Element

Type

Description

id

Integer

ID of the core file

isDeleteCoreFilesFromRouter

Boolean

Flag to indicate if core files should be deleted from the device after upload

Possible values:

  • true—Core files are deleted from the device after upload

  • false—Core files are not deleted from the device after upload

Produces

  • application/vnd.juniper.servicenow.incident-management.servicenowmsg+xml;version=1

  • application/vnd.juniper.servicenow.incident-management.servicenowmsg+json;version=1

Response Elements

Element

Type

Description

msg

String

Status message of the upload core file job

Sample Input

Sample XML Input

Sample JSON Input

Sample Output

Sample XML Output

Sample JSON Output