Put
/phraseex/bandit/campaigns/{campaign_id}
Update the initialization parameters of a Phrasee X campaign
Security
HTTP
Type bearer
User or account level token in Header, key = 'Authorization', value = 'Bearer '
Path parameters
campaign_id
stringRequired
Campaign Id
Body parameters
Phrasee X campaign information
object
campaign_id
string Required
Example59807ed854b8891947e04303
optimization_start_time
string (date-time) Required
Example2016-03-15T06:08:27.928Z
optimization_end_time
string (date-time) Required
Track metrics until this time
Example2016-03-15T08:08:27.928Z
last_send_time
string (date-time) Required
The last message must be sent by this time
Example2016-03-15T07:08:27.928Z
audience_size
integer Required
Example100254
Responses
200
Bandit test successfully updated
401
Invalid token
403
Supplied token invalid for specified campaign
404
Campaign could not be found
422
Insufficient or incorrect data to update campaign
500
Unspecified server side error