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