POST https://genapiv1.growsparks.com/rest/genapiv1/v1/externalpersongroups/{externalpersongroup_id}/.report
Path parameters
externalpersongroup_id
string
required
ID of the external person group on which the call is applied.
Query parameters
stream
boolean
optional
Stream results using Server-Sent Events
Request body
ActivityAttemptMode
enum
optional
Allowed values: First, Best, LastCompleted, Last, All, FirstCompleted
Only include specific attempts
ActivityStructures
array of strings
optional
IDs of activity structures
DeltaDate
date
optional
ISO date format
Only include results after date
IncludeActivities
bool
optional
Add results on each activity to the output
IncludeGroupSummary
bool
optional
Add summaries of person groups to the output
IncludeIntermediateActivityStructures
bool
optional
Include intermediate ActivityStructures
IncludeNotAttempted
bool
optional
Include not attempted results
IncludeParentActivityStructure
bool
optional
Include ID of Parent ActivityStructure
IncludeParentAuthorizable
bool
optional
Include ID of Parent Authorizable
IncludePersons
bool
optional
Add individual results to the output
IncludeProgramSummary
bool
optional
Add calculated program status to the output
IncludeResultDetails
bool
optional
Add details of answered questions to the output
IncludeUnassigned
bool
optional
Add results of activities that are not currently assigned
LearnAuthorizations
array of strings
optional
IDs of learn authorizations
ProgramSummaryAttemptMode
enum
optional
Allowed values: First, Best, LastCompleted, Last, All, FirstCompleted
Setting used for program status calculation
ReferenceDate
date
optional
ISO date format
Only include results before date
Verbose
bool
optional
Add messages to the output
Response body
enumeration of ProgressReportingBaseResults
The ProgressReportingBaseResult object (abstract)
Base class for report entries
Type
string
One of report.message|report.finished|report.activity.summary|report.program.summary|report.activity.result|report.program.result
The ProgressReportingMessage object (inherits from ProgressReportingBaseResult)
Progress or logging during reporting
Type = report.message
DateTime
date
ISO date format
Current time stamp
The ProgressReportingDone object (inherits from ProgressReportingBaseResult)
Indicates that reporting finished successfully
Type = report.finished
DeltaDate
date
ISO date format
ReferenceDate
date
ISO date format
This date can be used for next delta
The ProgressReportingBaseResultLine object (abstract) (inherits from ProgressReportingBaseResult)
Base class for report results
ParentAuthorizable
string
expandable
ID of an Authorizable
Authorizable
string
expandable
ID of an Authorizable
ParentActivityStructure
string
expandable
ID of an ActivityStructure
ActivityStructure
string
expandable
ID of an ActivityStructure
Authorization
string
expandable
ID of an Authorization
ValidUntil
date
ISO date format
Certificate activities only
RecertificationAfter
date
ISO date format
Certificate activities only
The ProgressReportingGroupResult object (inherits from ProgressReportingBaseResultLine)
Summary of an Activity for a PersonGroup
Type = report.activity.summary
The ProgressReportingGroupProgramResult object (inherits from ProgressReportingGroupResult)
Summary of an ActivityStructure for a PersonGroup
Type = report.program.summary
The ProgressReportingResult object (inherits from ProgressReportingBaseResultLine)
Result of a Person on an Activity
Type = report.activity.result
DateCompleted
date
ISO date format
DateStarted
date
ISO date format
Status
integer
Allowed values: NotStarted (0), Busy (1), Pending (10), Done (20), Failed (30), Passed (40), NotAssigned (-1)
Result
string
ID of an ActivityResult
The ProgressReportingProgramResult object (inherits from ProgressReportingResult)
Result of a Person on an ActivityGroup
Type = report.program.result