Batch Update Cost Categories
put
/primeapi/restapi/costCategory/batch
Send a request to this endpoint to update one or more cost categories. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.
Request
Supported Media Types
- application/json
Cost Categories to be updated.
Root Schema : List<ApiEntityCostCategory>
Type:
array
Title:
Show Source
List<ApiEntityCostCategory>
Nested 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)
Response
Supported Media Types
- application/json
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi/
400 Response
Invalid input for the Cost Category service. Verify the request contains valid data, then resubmit the request.