Returns a list of timesheet companies.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | tspending.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Action | Yes | The action to perform | action=companylist |
Example request:
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.9&action=companylist
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 7,
"totalpages": 4,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 1,
"success": true,
"data": [
{
"companyUuid": "F1BECF29058A4FC28437728721F89372",
"companyModified": 1521557632,
"companyRecordVersionNumber": 4971,
"companyNumber": 1,
"companyName": "The Professional Services Company"
},
{
"companyUuid": "8524838202B64A72930E5FC430B54A91",
"companyModified": 1515749540,
"companyRecordVersionNumber": 117,
"companyNumber": 4,
"companyName": "Clare Company - 4 column picker - work d"
}
]
}