Versions Compared

Key

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

...

Code Block
languagejs
titleExample Response: GET /activities/123/interacts.json
{
   "response":{
      "contacts":[
         {
            "surname":"Wagner",
            "interact":{
               "type":"to",
               "id":"833985"
            },
            "firstname":"Kurt",
            "email":"kurt.wagner@sample.com",
            "id":"203971",
            "mobile":"1234 1234"
         }
      ],
      "staff":[
         {
            "id":"1110",
            "firstname":"Christine",
            "interact":{
               "type":"from",
               "date_actioned":"1340043702",
               "id":"2"
            },
            "surname":"Higgins"
         },
         {
            "surname":"Cowling",
            "interact":{
               "type":"to",
               "date_actioned":"1351663599",
               "id":"650302"
            },
            "firstname":"Hugh",
            "id":"122"
         },
         {
            "id":"10040",
            "surname":"McQueen",
            "interact":{
               "type":"to",
               "date_actioned":"1340049857",
               "id":"650201"
            },
            "firstname":"Geoff"
         }
      ]
   },
   "meta":{
      "message":"Everything executed as expected.",
      "more_info":"https://affinitylive.jira.com/wiki/display/APIS/Status+Codes#ok",
      "status":"ok"
   }
}

...