Activity Type List

Returns a list of activity types.

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

Example request:

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

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 8,
  "totalpages": 4,
  "responsemessage": "",
  "pagerows": 2,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "chargecodetypeUuid": "02D9533B13E011E39F6400155D003416",
      "chargecodetypeTimestampModified": 1385819845,
      "chargecodetypeRecordVersionNumber": 1,
      "chargecodetypeCode": "1/ACT2",
      "chargecodetypeDescription": "activity type 2"
    },
    {
      "chargecodetypeUuid": "443472C2EF3A4B8DA7637397758A59D0",
      "chargecodetypeTimestampModified": 1458058808,
      "chargecodetypeRecordVersionNumber": 4,
      "chargecodetypeCode": "1/COPY",
      "chargecodetypeDescription": "copywritings"
    }
  ]
}