companylist
Parameter | Type |
---|---|
Company [OPTIONAL] | String |
Action | String |
Response | XML / JSON |
Description
Calling the expenses API with an action of companylist retrieves a list of company index numbers and associated descriptions.
Return Values
Response – List of companies.
The structure of the response is:
<companies morepages="False" totalpages="1" totalrows="1">
<company control_uuid="F1BECF29058A4FC28437728721F89372">
<control_number>1</control_number>
<control_ourname>The Professional Services Company</control_ourname>
</company>
</companies>
{
"errormessage": "",
"responsecode": 1,
"pagerows": 0,
"totalrows": 1,
"responsestatus": "OK",
"success": true,
"responsemessage": "",
"errorcode": 0,
"totalpages": 1,
"pagenumber": 1,
"data": [
{
"control_uuid": "F1BECF29-058A-4FC2-8437-728721F89372",
"control_number": 1,
"control_ourname": "The Professional Services Company"
}
]
}