Company Data File Info
Return basic information about the EXO Business company.
Released
Updated
| URL | Supports |
|---|---|
{URI}/companydatafileinfo | |
{URI}/companydatafileinfo/image?height={h}&width={w} | |
| {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
| Attribute | Type | Notes |
|---|---|---|
parentcompanyname | string,null | |
companyname | string,null | |
defaultcustomer | integer | |
id | integer | Required on PUT |
logofilename | string,null | |
defaultbranch | integer | |
rel | string,null | |
title | string,null | |
href | string,null |
Example json GET response
Example
{
"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/