CostingCodesTasksRequest
GET {{base_url}}/CostingCodesTasksRequest?JobId={{integer}}
Retrieves a list of costing codes for a task of a given job identifier.
API
Costing Code API
Requires Authentication
Yes
Returns
List [CostingCode]
Batch?
No
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
JobId | string | Required. | |
(int32) | |||
The identifier of the associated job. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | Required. | |
The type of content accepted by the API endpoint. | |||
Content-Type | string | Required. | |
The type of content supported by the API endpoint. |
RESPONSES
status: OK
[{"Id":1105,"Code":"TEST","Description":"TEST","Active":true,"Level":1,"AllowTaskUse":true,"AllowTimeEntry":false,"AllowVendorCost":false,"AllowPersonalExpense":false,"AllowMaterialEntry":false,"AllowMileageEntry":false,"UpdateEmployeeId":81031,"UpdateDate":"2021-07-19T00:00:00.000Z"},{"Id":1106,"Code":"TEST2","Description":"TEST2","Active":true,"Level":2,"ParentId":1105,"AllowTimeEntry":false,"AllowVendorCost":false,"AllowPersonalExpense":false,"AllowMaterialEntry":false,"AllowMileageEntry":false,"UpdateEmployeeId":81031,"UpdateDate":"2021-07-19T00:00:00.000Z"}]