Activity
Return details of activities (appointments and tasks).
Released
Updated
| URL | Supports |
|---|---|
{URI}/activity?assignedto={staffid}&startdate=YYYY-MM-DD&enddate=YYYY-MM-DD | |
{URI}/activity/{activityid} | |
{URI}/activity/search?q={query} | |
| {URI} is exo.api.myob.com when connecting to the cloud or the address of the machine hosting the API when connecting on premise. | |
This endpoint returns all activities assigned to the specified staff member ID that occur between the specified start and end dates. If a staff ID is not specified, activities for all staff members are returned. If dates are not specified, the start date defaults to today and the end date defaults to one month from today.
Entering an activity ID returns that activity only - start and end dates are not required.
search returns activities that match the specified search string.
Attribute Details
| Attribute | Type | Notes |
|---|---|---|
parentid | integer | Required on PUT |
recurrenceindex | integer | |
type | integer,null | |
subject | string,null | |
details | string,null | |
startdatetime | string,null | |
enddatetime | string,null | |
companyid | object,null | EXO Business Company Link Title: CompanyId Required on PUT |
companyid.companytype | integer | |
companyid.accno | integer | |
company | object,null | EXO Business Company Title: BaseCompany |
company.companytype | integer | |
company.accountname | string | |
company.email | string,null | |
company.phone | string,null | |
company.postaladdress | object | |
company.postaladdress.line1 | string,null | |
company.postaladdress.line2 | string,null | |
company.postaladdress.line3 | string,null | |
company.postaladdress.line4 | string,null | |
company.postaladdress.line5 | string,null | |
company.postalcode | string,null | |
company.deliveryaddress | object | |
company.deliveryaddress.line1 | string,null | |
company.deliveryaddress.line2 | string,null | |
company.deliveryaddress.line3 | string,null | |
company.deliveryaddress.line4 | string,null | |
company.deliveryaddress.line5 | string,null | |
company.deliveryaddress.line6 | string,null | |
company.defaultcontactid | integer,null | Required on PUT |
company.defaultcontact | object,null | EXO Business Contact Title: Contact |
company.defaultcontact.jobtitle | string,null | |
company.defaultcontact.firstname | string,null | |
company.defaultcontact.lastname | string,null | |
company.defaultcontact.fullname | string,null | |
company.defaultcontact.directphonenumber | string,null | |
company.defaultcontact.mobilephonenumber | string,null | |
company.defaultcontact.email | string,null | |
company.defaultcontact.postaladdress | object | |
company.defaultcontact.postaladdress.line1 | string,null | |
company.defaultcontact.postaladdress.line2 | string,null | |
company.defaultcontact.postaladdress.line3 | string,null | |
company.defaultcontact.postaladdress.line4 | string,null | |
company.defaultcontact.postaladdress.line5 | string,null | |
company.defaultcontact.postalcode | string,null | |
company.defaultcontact.deliveryaddress | object | |
company.defaultcontact.deliveryaddress.line1 | string,null | |
company.defaultcontact.deliveryaddress.line2 | string,null | |
company.defaultcontact.deliveryaddress.line3 | string,null | |
company.defaultcontact.deliveryaddress.line4 | string,null | |
company.defaultcontact.deliveryaddress.line5 | string,null | |
company.defaultcontact.deliveryaddress.line6 | string,null | |
company.defaultcontact.advertsourceid | integer,null | Required on PUT |
company.defaultcontact.advertsource | object,null | |
company.defaultcontact.advertsource.description | string,null | |
company.defaultcontact.advertsource.processid | integer | Required on PUT |
company.defaultcontact.advertsource.communicationprocess | object,null | |
company.defaultcontact.advertsource.communicationprocess.description | string,null | |
company.defaultcontact.advertsource.communicationprocess.rel | string,null | |
company.defaultcontact.advertsource.communicationprocess.title | string,null | |
company.defaultcontact.advertsource.communicationprocess.id | integer | Required on PUT |
company.defaultcontact.advertsource.communicationprocess.href | string,null | |
company.defaultcontact.advertsource.rel | string,null | |
company.defaultcontact.advertsource.title | string,null | |
company.defaultcontact.advertsource.id | integer | Required on PUT |
company.defaultcontact.advertsource.href | string,null | |
company.defaultcontact.active | boolean,null | |
company.defaultcontact.optoutemarketing | boolean,null | |
company.defaultcontact.salespersonid | integer,null | Required on PUT |
company.defaultcontact.salesperson | object,null | |
company.defaultcontact.salesperson.name | string,null | |
company.defaultcontact.salesperson.jobtitle | string,null | |
company.defaultcontact.salesperson.rel | string,null | |
company.defaultcontact.salesperson.title | string,null | |
company.defaultcontact.salesperson.id | integer | Required on PUT |
company.defaultcontact.salesperson.href | string,null | |
company.defaultcontact.defaultcompany | undefined | |
company.defaultcontact.defaultcompanyid | undefined | Required on PUT |
company.defaultcontact.defaultcompanyname | string,null | |
company.defaultcontact.latitude | number,null | |
company.defaultcontact.longitude | number,null | |
company.defaultcontact.geocodestatus | integer,null | |
company.defaultcontact.extrafields | array,null | |
company.defaultcontact.rel | string,null | |
company.defaultcontact.title | string,null | |
company.defaultcontact.id | integer | Required on PUT |
company.defaultcontact.href | string,null | |
company.contacts | object,null | |
company.contacts.rel | string,null | |
company.contacts.title | string,null | |
company.contacts.href | string,null | |
company.website | string,null | |
company.salespersonid | integer,null | Required on PUT |
company.salesperson | object,null | |
company.salesperson.name | string,null | |
company.salesperson.jobtitle | string,null | |
company.salesperson.rel | string,null | |
company.salesperson.title | string,null | |
company.salesperson.id | integer | Required on PUT |
company.salesperson.href | string,null | |
company.balance | number | |
company.contactname | string,null | |
company.latitude | number,null | |
company.longitude | number,null | |
company.geocodestatus | integer,null | |
company.extrafields | array,null | |
company.rel | string,null | |
company.title | string,null | |
company.id | integer | Required on PUT |
company.href | string,null | |
companyname | string,null | |
companyphone | string,null | |
companyemail | string,null | |
companylatitude | number,null | |
companylongitude | number,null | |
contactid | integer,null | Required on PUT |
contactname | string,null | |
contactdirectphone | string,null | |
contactmobile | string,null | |
contactemail | string,null | |
contactlatitude | number,null | |
contactlongitude | number,null | |
contact | undefined | |
opportunityid | integer,null | Required on PUT |
assignedtoid | integer,null | Required on PUT |
assignedtostaffname | string,null | |
assignedto | object,null | |
assignedto.name | string,null | |
assignedto.jobtitle | string,null | |
assignedto.rel | string,null | |
assignedto.title | string,null | |
assignedto.id | integer | Required on PUT |
assignedto.href | string,null | |
assignedbyid | integer,null | Required on PUT |
assignedbystaffname | string,null | |
assignedby | object,null | |
assignedby.name | string,null | |
assignedby.jobtitle | string,null | |
assignedby.rel | string,null | |
assignedby.title | string,null | |
assignedby.id | integer | Required on PUT |
assignedby.href | string,null | |
reminderdate | string,null | |
reminderminutes | integer,null | |
completed | boolean,null | |
completeddatetime | string,null | |
showtimeas | integer,null | |
activitytypeid | integer,null | Required on PUT |
activitytype | object,null | |
activitytype.description | string,null | |
activitytype.rel | string,null | |
activitytype.title | string,null | |
activitytype.id | integer | Required on PUT |
activitytype.href | string,null | |
activitytypetext | string,null | |
activitystatusid | integer,null | Required on PUT |
activitystatus | object,null | |
activitystatus.description | string,null | |
activitystatus.rel | string,null | |
activitystatus.title | string,null | |
activitystatus.id | integer | Required on PUT |
activitystatus.href | string,null | |
activitystatustext | string,null | |
priority | string,null | |
actualstart | string,null | |
actualfinish | string,null | |
createdbyid | integer,null | Required on PUT |
createdbystaffname | string,null | |
createdby | object,null | |
createdby.name | string,null | |
createdby.jobtitle | string,null | |
createdby.rel | string,null | |
createdby.title | string,null | |
createdby.id | integer | Required on PUT |
createdby.href | string,null | |
createdate | string,null | |
modifiedbyid | integer,null | Required on PUT |
modifiedbystaffname | string,null | |
modifiedby | object,null | |
modifiedby.name | string,null | |
modifiedby.jobtitle | string,null | |
modifiedby.rel | string,null | |
modifiedby.title | string,null | |
modifiedby.id | integer | Required on PUT |
modifiedby.href | string,null | |
modifieddate | string,null | |
completedpercent | number,null | |
syncactivity | boolean,null | |
campaignid | integer,null | Required on PUT |
campaignwaveid | integer | Required on PUT |
jobid | integer,null | Required on PUT |
serviceableunitid | integer,null | Required on PUT |
salesorderid | integer,null | Required on PUT |
salesorder | object,null | |
salesorder.debtorid | integer | Required on PUT |
salesorder.lines | array,null | |
salesorder.taxrounding | number | |
salesorder.deliverycount | integer | |
salesorder.invoicecount | integer | |
salesorder.pickedcount | integer | |
salesorder.releasecount | integer | |
salesorder.hasuninvoiced | boolean | |
salesorder.hasunpicked | boolean | |
salesorder.hasunreleased | boolean | |
salesorder.hasunsupplied | boolean | |
salesorder.allowcustomerordernumber | boolean | |
salesorder.customerordernumber | string,null | |
salesorder.accountname | string,null | |
salesorder.istaxinclusive | boolean | |
salesorder.hasbackorders | boolean | |
salesorder.branchid | integer | Required on PUT |
salesorder.branch | object,null | |
salesorder.branch.name | string,null | |
salesorder.branch.code | string,null | |
salesorder.branch.rel | string,null | |
salesorder.branch.title | string,null | |
salesorder.branch.id | integer | Required on PUT |
salesorder.branch.href | string,null | |
salesorder.defaultlocationid | integer | Required on PUT |
salesorder.defaultlocation | object,null | |
salesorder.defaultlocation.code | string,null | |
salesorder.defaultlocation.name | string,null | |
salesorder.defaultlocation.active | boolean | |
salesorder.defaultlocation.excludefromvaluation | boolean | |
salesorder.defaultlocation.excludefromfreestock | boolean | |
salesorder.defaultlocation.excludefromsales | boolean | |
salesorder.defaultlocation.rel | string,null | |
salesorder.defaultlocation.title | string,null | |
salesorder.defaultlocation.id | integer | Required on PUT |
salesorder.defaultlocation.href | string,null | |
salesorder.narrative | string,null | |
salesorder.currencyid | integer | Required on PUT |
salesorder.currency | object,null | |
salesorder.currency.code | string,null | |
salesorder.currency.name | string,null | |
salesorder.currency.symbol | string,null | |
salesorder.currency.buyrate | number | |
salesorder.currency.sellrate | number | |
salesorder.currency.rel | string,null | |
salesorder.currency.title | string,null | |
salesorder.currency.id | integer | Required on PUT |
salesorder.currency.href | string,null | |
salesorder.contactid | integer,null | Required on PUT |
salesorder.contact | undefined | |
salesorder.salespersonid | integer | Required on PUT |
salesorder.salesperson | object,null | |
salesorder.salesperson.name | string,null | |
salesorder.salesperson.jobtitle | string,null | |
salesorder.salesperson.rel | string,null | |
salesorder.salesperson.title | string,null | |
salesorder.salesperson.id | integer | Required on PUT |
salesorder.salesperson.href | string,null | |
salesorder.exchangerate | number | |
salesorder.taxtotal | number | |
salesorder.subtotal | number | |
salesorder.reference | string,null | |
salesorder.instructions | string,null | |
salesorder.createdate | string | |
salesorder.orderdate | any | |
salesorder.duedate | any | |
salesorder.finalisationdate | string,null | |
salesorder.activationdate | string,null | |
salesorder.deliveryaddress | object | |
salesorder.deliveryaddress.line1 | string,null | |
salesorder.deliveryaddress.line2 | string,null | |
salesorder.deliveryaddress.line3 | string,null | |
salesorder.deliveryaddress.line4 | string,null | |
salesorder.deliveryaddress.line5 | string,null | |
salesorder.deliveryaddress.line6 | string,null | |
salesorder.status | integer | |
salesorder.statusdescription | string,null | |
salesorder.finalised | integer | |
salesorder.ordertotal | number | |
salesorder.localvalue | number | |
salesorder.lock | object,null | |
salesorder.lock.id | integer | Required on PUT |
salesorder.lock.computer | object,null | |
salesorder.lock.computer.name | string,null | |
salesorder.lock.computer.identifier | string,null | Required on PUT |
salesorder.lock.computer.rel | string,null | |
salesorder.lock.computer.title | string,null | |
salesorder.lock.computer.id | integer | Required on PUT |
salesorder.lock.computer.href | string,null | |
salesorder.extrafields | array,null | |
salesorder.rel | string,null | |
salesorder.title | string,null | |
salesorder.id | integer | Required on PUT |
salesorder.href | string,null | |
subscriptionid | integer,null | Required on PUT |
purchaseorderid | integer,null | Required on PUT |
alldayevent | boolean,null | |
reminder | boolean,null | |
eventtype | integer,null | |
label | string,null | |
recurrencecount | integer | |
extrafields | array,null | |
rel | string,null | |
title | string,null | |
id | integer | Required on PUT |
href | string,null |
Example json GET response
Example
[
{
"key": "X_DECIMAL_EXTRA"
},
{
"key": "X_INTEGER_EXTRA"
},
{
"key": "X_CHECKBOX_TEST",
"value": "N"
},
{
"key": "X_DATE_TEST",
"value": "2014-10-14"
},
{
"key": "X_TEST_DROPDOWN",
"value": 3
},
{
"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": 1,
"recurrenceindex": -1,
"type": 0,
"subject": "Meeting",
"details": "",
"startdatetime": "2016-11-01T00:00:00+11:00",
"enddatetime": "2016-11-02T00:00:00+11:00",
"companytype": 1,
"accno": 32,
"companyname": "TASHI MOTORS",
"companyphone": "02 8765 4432",
"companyemail": "info@tashimotors.example.com",
"companylatitude": -33.909931,
"companylongitude": 151.053238,
"contactid": -1,
"opportunityid": -1,
"assignedtoid": 8,
"assignedtostaffname": "EXO BUSINESS ADMIN ACCOUNT",
"assignedbyid": 8,
"assignedbystaffname": "EXO BUSINESS ADMIN ACCOUNT",
"reminderdate": "2016-10-30T23:45:00+11:00",
"reminderminutes": 15,
"completed": false,
"showtimeas": 0,
"activitytypeid": 7,
"activitytypetext": "Proposal",
"activitystatusid": 100,
"activitystatustext": "Not Started",
"priority": "High",
"actualstart": "2016-11-01T00:00:00+11:00",
"actualfinish": "2016-11-02T00:00:00+11:00",
"createdbyid": 8,
"createdate": "2016-11-01T16:17:58+11:00",
"modifiedbyid": -1,
"completedpercent": 0,
"syncactivity": false,
"campaignwaveid": 0,
"jobid": -1,
"serviceableunitid": -1,
"salesorderid": -1,
"subscriptionid": -1,
"purchaseorderid": -1,
"alldayevent": true,
"reminder": false,
"eventtype": 0,
"label": "Business",
"recurrencecount": -1,
"id": 1,
"href": "{URI}https://exo-stage.api.myob.com/activity/1"
}
]{URI} is defined as: http://exo.api.myob.com/