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. |
username:passwordAuthorization: Basic *****************curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/activities?search=undefined&idBranch=undefined&take=undefined&skip=undefined' \
--header 'Authorization: Basic <encoded-value>'[
{
"idActivity": 0,
"photo": "string",
"name": "string",
"color": "string",
"activityGroup": "string",
"totalRecords": 0,
"inactive": true,
"description": "string",
"idActivityGroup": 0,
"showOnMobile": true,
"showOnWebsite": true,
"idBranch": 0,
"audience": [
{
"idPublicoAtividade": 0,
"idFilial": 0,
"nome": "string"
}
],
"idAudience": 0,
"code": "string"
}
]