Previous Topic

Next Topic

Book Contents

Book Index

AI_InitiateFullCourseListingReport

Description

The AI_InitiateFullCourseListingReport service returns all entitled and installed content for either a specific user, or the entire site. This report is available in both summary and detail modes.

When scoped to a specific user, the summary report contains one unique row for each active, non-hidden, course either directly assigned to the user, or contained within a folder (or one of its subfolders) assigned to the user.

The detailed report contains:

Unscoped reports return all hierarchies containing active content, but will not return empty folders.

Note: Only course assets are returned in this service.

The user running this report must have Admin, Company Admin, or Super Admin privileges.

Inputs

URL Parameter

Required

Description

customerID

x

Enter your company sname.

mode

x

Enter summary or detail.

userName

 

Enter the login name of one, and only one, user.

If this field is left blank, the report returns all courses that are active, non-hidden and installed for the entire site.

reportFormat

x

Specify the report format:

  • 1 = CSV
  • 2 = CSV16
  • 3 = XML

The following formats are available for the Detailed report only:

  • 6 = XMLx

Success Responses

A successful response returns a report ID. Use the UTIL_PollForReport service to retrieve the report results.

Report Output

The report output is formatted in either CSV, CSV16, XML, or XMLx, based on the value entered in the reportFormat field.

CSV Output - Summary

The CSV and CSV16 output for a summary report includes the following columns:

CSV Output - Detailed

The CSV and CSV16 output for a detailed report includes the following columns:

XML Output - Summary

When a course is either directly assigned to the user, or assigned via a folder assignment, a unique row for each course includes the following elements:

XML Output - Detailed

When a course is directly assigned to the user, no information is included for the folder hierarchy, but the following elements are included for each course:

When a folder is assigned to the user, the report will traverse the hierarchy from the assigned folder down to the course, and the following elements are included:

Example XML Detailed Report Results

XMLx output for a detailed report includes the following additional elements:

Additional Faults

The following table lists additional faults this service may produce, along with the error condition that causes the fault.

Fault

Condition

ObjectNotFoundFault

The user does not exist.

 

Invalid report format. Value must be set to 1, 2 or 3.

 

Report type must be either 'summary' or 'detail'.