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
Pagination parameter, default is 0
example: 0
limit: number
Pagination parameter, default is 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
[
{
"eventMarker": "form_marker",
"formDataId": 123
}
]
Response schema
Schema: IListFormSubscription[]
[]: IListFormSubscription
A single form subscription.
[].eventMarker: string
Event marker.
example: "form_marker"
[].formDataId: number
Form data identifier.
example: 123