Campaign endpoint¶
The campaign-endpoint provides a list endpoint to list campaigns configured in Accelerate and is available since version 19.9.18
.
Note
Campaigns can be managed in Accelerate by an user with admin-privileges. Goto Instellingen > API entiteiten > Campagnes.
list¶
GET /campaign/list
This endpoint returns all campaigns.
Request¶
This request requires no parameters.
Response¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [
{
"code":"CAM_1",
"label":"Campaign 1"
},
{
"code":"CAM_2",
"label":"Campaign 2"
},
{
"code":"CAM_3",
"label":"Campaign 3"
}
]
|
Note
The property code can be used in the endpoints New dossier (createFromDossierRequest) and New appointment (create) to specify a certain campaign