Cost Codes
This documentation is for LiquidPlanner New: next.liquidplanner.com
Fetch a list of all cost codes from a workspace in JSON format. pull details about all cost codes (both In Use and Archived).
https://next.liquidplanner.com/api/workspaces/<workspace id>/cost-codes/v1
Supported Methods
GET
Sample Response
{
"recordLimit": 500,
"recordCount": 1,
"data": [
{
"id": 1037,
"archived": false,
"name": "General Task Work",
"workspaceId": 21,
"billable": false,
"archivedAt": null,
"createdAt": "2022-08-01T17:43:48.107759Z",
"updatedAt": "2022-08-01T17:43:48.107Z",
"createdBy": 10702,
"updatedBy": 10702
}
]
}
Filter Options
Apply the filter string to the endpoint URL.
Filter attribute | Field type | Description | Filter string | Notes |
---|---|---|---|---|
id | number | Pull details about a specific cost code by its ID | ?id[is]="1038" | |
name | string | Pull details about a specific cost code by its name | ?name[in]=["General Admin", "General Meetings"] | Encode operator and value |
archived | boolean | Pull details where archived is true or false | ?archived[is]="false" |
Updated 9 months ago