Update a campaign

POST /campaign

Body

The campaign to update

Responses

POST /campaign
curl \
 -X POST https://api.spotlumos.com/campaign \
 -H "X-API-KEY: $API_KEY" \
 -d '{"campaignId":"string","name":"string","description":"string","startDate":"string","endDate":"string","geo":[],"files":[]}'
Request example
{
  "campaignId": "string",
  "name": "string",
  "description": "string",
  "startDate": "string",
  "endDate": "string",
  "geo": [],
  "files": []
}
Request examples
{
  "campaignId": "string",
  "name": "string",
  "description": "string",
  "startDate": "string",
  "endDate": "string",
  "geo": [],
  "files": []
}
Response examples (200)
{
  "campaignId": "string",
  "name": "string",
  "description": "string",
  "business": {},
  "startDate": {},
  "endDate": {},
  "geo": [],
  "files": [],
  "status": "string",
  "reporting": "string",
  "timestamp": 42.0
}
Response examples (200)
{
  "campaignId": "string",
  "name": "string",
  "description": "string",
  "business": {},
  "startDate": {},
  "endDate": {},
  "geo": [],
  "files": [],
  "status": "string",
  "reporting": "string",
  "timestamp": 42.0
}
Response examples (400)
{
  "message": "string"
}
Response examples (400)
{
  "message": "string"
}