View Code Type by Cost Category Type
get
/primeapi/restapi/costCategory?type={type}
This endpoint returns code types that meet the following requirements:
- The object is associated with a cost category with an ID value that matches the value of the {id} path parameter.
Request
Query Parameters
-
type: string
CostCategoryType to get Cost categoriesAllowed Values:
[ "labor", "equipment", "materials", "other" ]
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : ApiEntityCostCategory
Type:
Show Source
object
-
abbreviation(optional):
string
Allowed Values:
[ "Length[1-10]" ]
-
costCategoryId:
integer(int64)
-
costCategoryName(optional):
string
Allowed Values:
[ "Length[1-255]" ]
-
link(optional):
string(url)
Read Only:
true
-
pushDownType(optional):
string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
Specifies how a workspace calendar is shared across child workspaces. -
type(optional):
string
Allowed Values:
[ "LABOR", "EQUIPMENT", "MATERIALS", "OTHER" ]
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
workspaceId(optional):
integer(int64)