Get a specific campaign
Return a specific campaign. Limited to those the user can see
Path parameters
-
Which item to be processed
Minimum value is
0
.
GET
/campaign/{id}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/campaign/99 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": 123,
"name": "Donations",
"description": "All ad-hoc donations generated during the Summer campaign",
"start_date": "2019-02-13",
"end_date": "2019-02-13",
"tracking_tag": "CT5",
"campaign_type_id": 6,
"for_group_id": 543
}
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}
Response examples (404)
{
"error": "Not Found"
}