Skip to content

Prospect Activities

Return activities for a prospect.

Released
Updated
URLSupports
{URI}/prospect/{prospectid}/activity
GET
{URI} is exo.api.myob.com when connecting to the cloud or the address of the machine hosting the API when connecting on premise.

Example json GET response

Example

json
[
  {
    "key": "X_DECIMAL_EXTRA"
  },
  {
    "key": "X_INTEGER_EXTRA"
  },
  {
    "key": "X_CHECKBOX_TEST",
    "value": "N"
  },
  {
    "key": "X_DATE_TEST",
    "value": "2014-10-20"
  },
  {
    "key": "X_TEST_DROPDOWN",
    "value": "5. MALCOLM BREEN"
  },
  {
    "key": "X_TEST_DROPDOWNEDIT",
    "value": "3. TIM MCINTOSH"
  },
  {
    "key": "X_TEST_READONLY",
    "value": "Readonly extra field"
  },
  {
    "key": "X_TEST_TEXT",
    "value": "Extra field text"
  },
  {
    "key": "X_TEST_URL",
    "value": "www.myob.co.nz"
  },
  {
    "key": "X_TEST_URLLABEL",
    "value": "www.myob.co.nz"
  },
  {
    "parentid": 7,
    "recurrenceindex": -1,
    "type": 0,
    "subject": "Call with D&C",
    "details": "",
    "startdatetime": "2014-11-07T09:00:00+11:00",
    "enddatetime": "2014-11-07T12:29:00+11:00",
    "companytype": 3,
    "accno": 2,
    "companyname": "D & C Panelbeaters",
    "companyphone": "02 9832 2822",
    "companyemail": "connor@hotmail.example.com",
    "companylatitude": -33.891457,
    "companylongitude": 151.208095,
    "contactid": 7,
    "contactname": "Connor Hill",
    "contactdirectphone": "02-9832 2822",
    "contactmobile": "0405 7935437",
    "contactemail": "connor@hotmail.example.com",
    "contactlatitude": -33.881856,
    "contactlongitude": 151.227394,
    "opportunityid": 0,
    "assignedtoid": 0,
    "assignedbyid": 8,
    "reminderdate": "2014-11-07T08:45:00+11:00",
    "reminderminutes": 15,
    "completed": false,
    "showtimeas": 2,
    "activitytypeid": 2,
    "activitytypetext": "New Business",
    "activitystatusid": 100,
    "activitystatustext": "Not Started",
    "priority": "Normal",
    "actualstart": "2014-11-07T00:00:00+11:00",
    "actualfinish": "2014-11-07T00:00:00+11:00",
    "createdbyid": 8,
    "createdate": "2014-11-06T17:31:27+11:00",
    "completedpercent": 0,
    "syncactivity": false,
    "campaignid": 0,
    "campaignwaveid": -1,
    "jobid": -1,
    "serviceableunitid": -1,
    "salesorderid": -1,
    "subscriptionid": -1,
    "purchaseorderid": -1,
    "alldayevent": false,
    "reminder": false,
    "eventtype": 0,
    "label": "Business",
    "recurrencecount": -1,
    "id": 7,
    "href": "{URI}https://exo-stage.api.myob.com/activity/7"
  }
]

{URI} is defined as: http://exo.api.myob.com/