Get a specific campaign type

GET /campaigntype/{id}

Return a specific campaign type.

Path parameters

  • id integer Required

    Which item to be processed

    Minimum value is 0.

Responses

  • 200 application/json

    List returned OK

    Hide response attributes Show response attributes object
  • 401 application/json

    Authentication unauthorised

    Hide response attribute Show response attribute object
  • 403 application/json

    Invalid permission

    Hide response attribute Show response attribute object
  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
GET /campaigntype/{id}
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/campaigntype/99 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": 123,
  "name": "Sponsored Children"
}
Response examples (401)
{
  "error": "Unauthorised"
}
Response examples (403)
{
  "error": "Invalid Permission"
}
Response examples (404)
{
  "error": "Not Found"
}