PUT /agent_messages/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/agent_messages/:id

Update Agent Message by id.

Updates the content or agent_status_id of an existing Agent Message. Saving the change re-triggers the asynchronous broadcast to the same agent widgets that were targeted at creation; the buyer, buyer group, and call center targeting itself cannot be changed after the message is created.

Params

Param name Description
content
Optional Blank value allowed

Content

  • Must be a String

agent_status_id
Optional Blank value allowed

Agent Status

buyer_ids
Optional Blank value allowed

Agents

  • Must be a valid array of integers. Each integer ID must be a valid foreign key reference to an Buyer. Refer to: /api/docs/1.0/buyers

buyer_group_ids
Optional Blank value allowed

Buyer Groups

call_center_ids
Optional Blank value allowed

Call Centers