Charge Code List

Returns the list of charge codes.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=chargecodelist

Example request:

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

Example response:

"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 67,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synapiversion": 3.8,
"data": [
{
"chargecodeUuid": "8D4431FCE252674686DA4DCD3EEEFB94",
"chargecodeTimestampModified": 1594797067,
"chargecodeRecordversionnumber": 1,
"chargecodeActivityCode": "",
"chargecodeChargecode": "1/33&44",
"chargecodeDescription": "33&44",
"chargecodeUserDefault": false
},
{
"chargecodeUuid": "BEE4CB9403261845B2A23F06B16EFD1C",
"chargecodeTimestampModified": 1594797073,
"chargecodeRecordversionnumber": 11,
"chargecodeActivityCode": "",
"chargecodeChargecode": "1/AA",
"chargecodeDescription": "aa",
"chargecodeUserDefault": false
},