getFormSubscriptions
Get all form subscriptions. 🔐 This method requires authorization.
Description
This method returns all of the current user's form subscriptions. It returns a Promise that resolves to an array of IListFormSubscription objects.
Events.getFormSubscriptions(
offset,
limit
);
Parameters schema
Schema
offset: number
Optional offset for pagination. Default: 0
example: 0
limit: number
Optional limit for pagination. Default: 30
example: 30
By default, you can retrieve 10 objects. This is due to the record limit in the module's permissions settings.
For pagination to work correctly, you need to configure Module permissions according to your needs in the corresponding section.*
Examples
Minimal example
const response = await Events.getFormSubscriptions();
Example with attributes
const response = await Events.getFormSubscriptions(0, 30);
Example response
{
"total": 0,
"items": []
}
Response schema
Schema: IListFormSubscription[]
eventMarker: string
Event marker.
example: "form_marker"
formDataId: number
Form data identifier.
example: 123