View a Cost Category by Name and Workspace

get

/api/restapi/costCategory/workspace/{workspaceId}/name/{costCategoryName}

This endpoint returns cost categories that meet the following requirements:
  • The object has a name that matches the value of the {costCategoryName} path parameter.
  • The object is associated with a workspace with an ID value that matches the value of the {workspaceId} path parameter.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : List<ApiEntityCostCategory>
Type: array
Title: List<ApiEntityCostCategory>
Show Source
Nested Schema : ApiEntityCostCategory
Type: object
Title: ApiEntityCostCategory
Show Source
  • Minimum Length: 1
    Maximum Length: 10
    The abbreviation for the cost category name.
  • Allowed Values: [ "OWNED", "INHERITED" ]
    The type of association in the relationship between the cost category and the workspace. Possible values are Owned and Inherited.
  • The system-generated identifier of a cost category.
  • Minimum Length: 1
    Maximum Length: 255
    The name of the cost category.
  • Allowed Values: [ "MANUAL", "AUTOMATIC" ]
    How data is shared between parent and child workspaces.
    Manual: Data can be pulled down by child workspaces. This is the default option.
    Automatic: Data is automatically shared with all child workspaces.
  • Allowed Values: [ "LABOR", "EQUIPMENT", "MATERIALS", "OTHER" ]
    The classification of the cost category.
    Labor: Calculates Cost of the project as Quantity multiplied by Production Rate multiplied by Labor Rate.
    Equipment: Calculates Cost of the project as Quantity multiplied by Unit Rate multiplied by Labor Rate.
    Materials: Calculates Cost of the project as Quantity multiplied by Unit Rate multiplied by Labor Rate.
    Other: Cost is manually entered as a lump sum.
  • Date when the record was last updated.
  • Minimum Length: 0
    Maximum Length: 60
    The user-specified identifier of a workspace.
  • The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.

204 Response

Successful operation with no content.

404 Response

The requested cost category does not exist, or you do not have access to it.
Back to Top