Follow the question structure recommended by Dev Bot before submitting your integration questions.
NOTE. Available for use with branch access key and also with General ADM access key.
| Parameter | Type | Required | Description |
|---|---|---|---|
| search | string | No | Filter by the name of the activity, group, or tags |
| idBranch | int32 | Recommended | Filter by branch number (recommended for multi-branch scenarios) |
| take | int32 | No | Total number of registered activities to be returned. 10 by default. |
| skip | int32 | No | Total number of registered activities to be ignored. |
| Field | Type | Description |
|---|---|---|
idActivity | integer | Unique identifier for the activity. |
photo | string | URL of the activity photo. |
name | string | Name of the activity. |
color | string | Color code associated with the activity. |
activityGroup | string | Name of the activity group. |
totalRecords | integer | Total number of records associated with the activity. |
inactive | boolean | Indicates if the activity is inactive (true or false). |
description | string | Detailed description of the activity. |
idActivityGroup | integer | Identifier of the activity group. |
showOnMobile | boolean | Indicates if the activity is displayed on mobile (true or false). |
showOnWebsite | boolean | Indicates if the activity is displayed on the website (true or false). |
idBranch | integer | Identifier of the branch associated with the activity. |
audience | array | List of target audience objects for the activity. |
idAudience | integer | Identifier of the target audience for the activity. |
audience Object| Field | Type | Description |
|---|---|---|
idPublicoAtividade | integer | Identifier of the specific target audience for the activity. |
idFilial | integer | Identifier of the branch associated with the audience. |
nome | string | Name of the target audience. |