Charge code list

Return the list of charge codes

Charge codes list

Return the list of charge codes

Parameter

Description

Examples

API

The API area

tspending.json

Action

Charge Code List

&action=chargecodelist

General

Parameters described in overview

user=user&password=user&version=3.3

Company

The company context

&company=1

input optional: resource

User Code

&resource=1/ME

input optional: page

No. of Pages

&page=1

input optional: rows

No. of Records

&rows=10

input optional: client

Client ID

&client=1/CL

input optional: job

Job Number

&job=1/00001234

input optional: jobphase

Job Phase Number

&jobphase=1/00001234.001

input optional: workflow

Workflow Description

&workflow=My Workflow

input optional: taskdesc

No. of Pages

&taskdesc=My Task

input optional: phasetype

Type of Phase

&phasetype=1/MAT

input optional: activitytype

Activity Type

&activitytype=XYZ

input optional: search

Search Criteria

&search=ford

Request the status of any timers

Example request:

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

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 60,
  "totalpages": 30,
  "responsemessage": "",
  "pagerows": 2,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "chargecodeUuid": "72689C0BEEB9B44581F50A447F5CDB31",
      "chargecodeTimestampModified": 1516117343,
      "chargecodeRecordversionnumber": 0,
      "chargecodeActivityCode": "",
      "chargecodeChargecode": "1/33@44",
      "chargecodeDescription": "33@44",
      "array_chargecodeuserdefault__chargecodes_chargecode": false
    },
    {
      "chargecodeUuid": "8D4431FCE252674686DA4DCD3EEEFB94",
      "chargecodeTimestampModified": 1516117435,
      "chargecodeRecordversionnumber": 0,
      "chargecodeActivityCode": "",
      "chargecodeChargecode": "1/33&44",
      "chargecodeDescription": "33&44",
      "array_chargecodeuserdefault__chargecodes_chargecode": false
    }
  ]
}