Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get Event Profiles Import Job Results

 

Use this API to list the details of tasks involved in importing event profiles. The URI of this API is output by the Get Import Event Profiles Job Details API.

URI

https://[host]/api/juniper/servicenow/event-profile-management/eventProfiles/ job-instances/{job-id}/event-profiles-import-job-results (HTTP method = GET)

URI Parameters

Parameter

Data Type

Required

Description

job-id

Integer

Yes

ID of the import event profiles job that is to be retrieved

Consumes

None

Produces

  • application/vnd.juniper.servicenow.event-profile-management.eventprofiles -import-job-results+xml;version=1

  • application/vnd.juniper.servicenow.event-profile-management.eventprofiles -import-job-results+json;version=1

Response Elements

Element

Type

Description

uri

String

Link to the collection of import event profiles job result

total

Integer

Number of records in the collection

id

Integer

ID of the task within the Import event profiles job

jobId

Integer

ID of the import event profiles job

profileId

Integer

ID of the imported event profile

profileName

String

Name of the imported event profile

bundleName

String

Name of the script bundle associated with the imported event profile

jobStatus

Enum

Status of sub tasks within the import event profiles job.

The possible values are:

  • New—The sub task is newly initiated.

  • Scheduled—The sub task is scheduled.

  • Inprogress—The sub task is in progress.

  • Success—The sub task completed successfully.

  • Failed—The sub task failed to execute.

jobRemarks

String

Remarks about the import event profiles job

Sample Output

Sample XML Output

Sample JSON Output