Returns the Cost Category for the specified cost category name.
get
/primeapi/restapi/v16.2/costCategory/name/{name}
Request
Path Parameters
- name
-
Type:
stringRequired:trueName of Cost Category to be found.
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityCostCategory
Type:
object- abbreviation
-
Type:
stringAllowed Values:[ "Length[1-10]" ] - costCategoryId
-
Type:
integer(int64)Required:true - costCategoryName
-
Type:
stringAllowed Values:[ "Length[1-255]" ] - type
-
Type:
stringAllowed Values:[ "LABOR", "EQUIPMENT", "MATERIALS", "OTHER" ] - workspaceId
-
Type:
integer(int64)
404 Response
Cost Category does not exist or you do not have access to it.