Company
|
URL |
Verbs |
Function |
|
/Company |
GET |
Query a list of all Companies |
|
/Company/<code> |
GET |
Query a single Company - Note that you can only call this on a Company to which the authenticated user has access |
Supported modifiers
|
Query String |
Definition |
Sample
|
|---|---|---|
| includeModules | Return a set of Modules that are accessible for the Company. Note only certain modules are available here, updated upon request | includeModules=true |
| action | Return the company logo as configured for the Company in Greentree | action=companyLogo |
Security Linked Menu
|
Menu Item
|
Located
|
|---|---|
| Company Maintenance | System / System Setup |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<Company>
<Code>01</Code>
<Edition>611</Edition>
<Name>e-Computers - Australia</Name>
<TaxCode>GST 10%</TaxCode>
<TaxNumber>53004085616</TaxNumber>
<CurrencyCode>AUD</CurrencyCode>
<Address>
<Contact/>
<Address1>456 Main Road</Address1>
<Address2/>
<Address3/>
<Suburb>Melbourne</Suburb>
<Postcode>3000</Postcode>
<State>VIC</State>
<Country>AUS</Country>
<TZone>+10:00</TZone>
<PhoneBH>(03) 9517 5395</PhoneBH>
<PhoneAH/>
<Fax>(00) 0000 0000</Fax>
<Email/>
<Web/>
<Mobile/>
</Address>
</Company>