Create a campaign

PUT /campaign

Body

The campaign to create

Responses

PUT /campaign
curl \
 -X PUT https://api.spotlumos.com/campaign \
 -H "X-API-KEY: $API_KEY" \
 -d '{"name":"string","description":"string","businessName":"string","businessId":"string","startDate":"string","endDate":"string","geo":[],"files":[]}'
Request example
{
  "name": "string",
  "description": "string",
  "businessName": "string",
  "businessId": "string",
  "startDate": "string",
  "endDate": "string",
  "geo": [],
  "files": []
}
Request examples
{
  "name": "string",
  "description": "string",
  "businessName": "string",
  "businessId": "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"
}