Client list

Return the list of clients

Client List

Return the list of clients

ParameterDescriptionExamples
APIThe API areatspending.json
ActionClient List&action=clientslist
GeneralParameters described in overviewuser=user&password=user&version=3.3
CompanyThe company context&company=1
<input optional>resource:User Code&resource=1/ME
<input optional>pageNo. of Pages&page=1
<input optional>rowsNo. of Records&rows=10
<input optional>clientClient ID&client=1/CL
<input optional>jobJob Number&job=1/00001234
<input optional>jobphaseJob Phase Number&jobphase=1/00001234.001
<input optional>workflowWorkflow Description&workflow=My Workflow
<input optional>taskdescNo. of Pages&taskdesc=My Task
<input optional>phasetype:Type of Phase&phasetype=1/MAT
<input optional>activitytypeActivity Type&activitytype=XYZ
<input optional>searchSearch Criteria&search=ford

Example request:
Request client list

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=clientslist&company=1

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 170,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"clientUuid": "D1C36202C5824E35B9AAE1F50DA90B0B",
"clientTimeStampModified": 1519135641,
"clientRecordVersionNumber": 121,
"clientCode": "1/A001",
"clientName": "Proton Cars plc"
},
{
"clientUuid": "47CC0AD8205C41AE83AED401F57B4736",
"clientTimeStampModified": 1519135641,
"clientRecordVersionNumber": 195,
"clientCode": "1/BLOGGS",
"clientName": "Barclaycard Merchant 3"
},
  Etc. etc.