View a Cost Category
get
/primeapi/restapi/costCategory/{id}
This endpoint returns a cost category. that meet the following requirements:
- The object has an ID that matches the value of the {id} path parameter.
Request
Path Parameters
-
id: integer(int64)
ID of Cost Category to be found.
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)
404 Response
The requested cost category does not exist, or you do not have access to it.