Get associated submitted forms

get

/rest/ofscCore/v1/activities/{activityId}/submittedForms

The function allows to retrieve all submitted data related to an activity or bundle of activities.

Request

Path Parameters
Query Parameters
  • Label of a bundling rule. The parameter allows to specify the label of the bundle to filter the returned data. Only submitted forms related to a specific bundle will be present in the response. If the parameter is not specified, all the submitted forms related to all bundles will be returned. This parameter is not allowed if the 'scope' parameter has value 'activity'. Default: all the submitted forms related to all bundles related to the activity will be returned
  • The number of items to be returned in the response. The minimum value that can be specified is 1 and the maximum value that can be specified is 100. If the specified value is greater than 100, zero, or if no value is specified, then it defaults to 100.
  • The record number from which the retrieval starts. The default value is zero. If no value is specified, then it defaults to zero. The value zero indicates that the retrieval will start from the beginning of the collection.
  • Scope. Whether to return submitted forms related only to the activity or to all bundled activities. If the value is 'activity', all data of all submitted forms related to the activity is returned. If the value is 'bundles' then only submitted forms related to configured bundles are returned. Allowed values [ activity, bundles ]. Default: bundles
Back to Top

Response

Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : submittedForms
Type: object
The collection of associated submitted forms that are registered for the activity.
Show Source
  • Title: Has More Results
    Contains one of the following values: true or false. If true, then there are more results that can be retrieved with successive paging requests. If false or if the value is not present, then there are no more results or this is the final page. The default value is true.
  • Items
    Title: Items
    The collection of associated submitted forms that are registered for the activity.
  • Title: Limit
    The limit value specified in the request (May be different form specified in the request parameter).
  • Title: Offset
    The offset value specified in the request.
  • Title: Total Results
    Total number of submitted forms that match the request.
Nested Schema : Items
Type: array
Title: Items
The collection of associated submitted forms that are registered for the activity.
Show Source
Nested Schema : submittedForm
Type: object
Associated submitted form to the activity.
Show Source
Nested Schema : Form activity details
Type: object
Title: Form activity details
This object will contain activity fields that can be submitted with a particular form.
Nested Schema : Bundle Labels
Type: array
Title: Bundle Labels
List of the labels of the configured bundles to which the submitted form is related. This value is not present if the request parameter "scope" is "activity"
Show Source
Nested Schema : Form details
Type: object
Title: Form details
This object will contain the fields that can be submitted with a particular form.
Nested Schema : Form identifier
Type: object
Title: Form identifier
Label of the form and unique id of the submitted form.
Show Source

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top