Versions Compared

Key

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

...

Code Block
{
 "callback_id": "AB3423",
 "event_type": "person_added",
 "destination_": {
   "url": "http://destination.url",
   "destination_method": "POST",
   "content_type": "application/json"
  },
 "start_date": "2010-01-01T00:00Z",
 "end_date": "2020-01-01T00:00Z",
 "url": "/companies/:id/mobiledb/config/callbacks/:callback_id",
 "created_at": "2012-04-05T14:30Z",
 "updated_at": "2012-05-08T19:30Z"
}

...

Data Element

Type

Description

Required

Default

callback_id

String

Vibes unique identifier for each callback record.

required

 

event_type

String

Event type to trigger this callback.

required

 

destination_.url

String

External url to submit the callback data.

required

 

destination_.method

String

Method to submit the data to the destination url.

optional

POST

destination.content_type

String

Content type to set when submitting the data to the destination url.

optional

application/json

start_date

String

Date this callback starts

optional

now

end_date

String

Date this callback ends

optional

no end date

url

String

Unique resource url for the callback

n/a

 

created_at

String

Date this callback was created

n/a

 

updated_at

String

Date this callback was last updated

n/a

 

...