Skip to content

Company Data File Info

Return basic information about the EXO Business company.

Released
Updated
URLSupports
{URI}/companydatafileinfo
GET
{URI}/companydatafileinfo/image?height={h}&width={w}
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.

image returns the company logo image file with dimensions specified (in pixels) by the height and width parameters. The image’s aspect ratio is preserved if just one of the dimensions is specified. If no dimensions are supplied, the width defaults to 100 pixels (with the height calculated to preserve the aspect ratio). You can return the actual dimensions of the image with width=auto and/or height=auto.

Attribute Details

AttributeTypeNotes
parentcompanynamestring,null
companynamestring,null
defaultcustomerinteger
idintegerRequired on PUT
logofilenamestring,null
defaultbranchinteger
relstring,null
titlestring,null
hrefstring,null

Example json GET response

Example

json
{
  "parentcompanyname": "Motopartz.co.nz",
  "companyname": "Motopartz.co.nz",
  "defaultcustomer": 0,
  "id": 1,
  "logofilename": "FormLogo.jpg",
  "defaultbranch": 0,
  "href": "{URI}/companydatafileinfo"
}

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