Skip to content

Account Group

Return company account groups

Released
Updated
URLSupports
{URI}/accountgroup
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.

Attribute Details

AttributeTypeNotes
companytypeinteger
accountgrouptypeinteger
namestring,null
reportcodestring,null
relstring,null
titlestring,null
idintegerRequired on PUT
hrefstring,null

Example json GET response

Example

json
{
  "companytype": 1,
  "accountgrouptype": 1,
  "name": "TRADE",
  "reportcode": "1",
  "id": 1,
  "href": "{URI}/accountgroup/1?$filter=CompanyType+eq+1and+AccountGroupType+eq+1"
}

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