Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
GET /companies/:company_id/campaigns/config/callbacks/:callback_id

...

Code Block
GET /companies/:company_id/campaigns/config/callbacks

This will list active and future the callback registrations.

...

Code Block
[{
 "callback_id": "AB3423",
 "event_type": "ackperson_participant_added",
 "campaign_id": "c1234",
 "destination_url": "http://some.url",
 "destination_method": "POST",
 "content_type": "application/json",
 "start_date": "2010-01-01T00:00Z",
 "end_date": "2020-01-01T00:00Z",
 "url": "/companies/:id/campaigns/config/callbacks/:callback_id",
 "created_at": "2012-04-05T14:30Z",
 "updated_at": "2012-05-08T19:30Z",
}]

...

Code Block
POST /companies/:company_id/campaigns/config/callbacks/

This will create a new Callback registration record.  

...

Code Block
DELETE /companies/:company_id/campaigns/config/callbacks/:callback_id

...