Update a Workspace CBS Code

put

/api/restapi/cbs/workspace

Send a request to this endpoint to update a workpsace CBS code. An application object with an ID value that matches the ID value provided in the JSON object in the request body will be updated to reflect the JSON contents.
Update Key : 'cbsTemplateCodeId'

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : ApiEntityCBSTemplateCodeInput
Type: object
Title: ApiEntityCBSTemplateCodeInput
This entity represents a CBSTemplateCode object, a unique CBSTemplateCode object can be identified by the following combinations of the fields.
  • cbsTemplateCodeId
  • cbsCode,workspaceId
  • cbsCode,workspaceCode
Show Source
Nested Schema : parentCBSCodes
Type: array
List of parent cbs codes in a hierarchy. This field is not populated as part of the API response since it is a write-only field, used only for the create or update APIs.
Show Source
Nested Schema : templateRow
A CBS template row object.
Match All
A CBS template row object.
Show Source
Nested Schema : ApiEntityCBSTemplateRowInput
Type: object
Title: ApiEntityCBSTemplateRowInput
Show Source
Nested Schema : configuredFields
Type: array
An object containing configured fields in the form of key-value pairs.
Show Source
  • ApiEntityCBSTemplateRowConfiguredFieldValueInput
    Title: ApiEntityCBSTemplateRowConfiguredFieldValueInput
    This entity represents a CBSTemplateRowConfiguredFieldValue object, a unique CBSTemplateRowConfiguredFieldValue object can be identified by the following combinations of the fields.
    • workspaceCostSheetConfiguredValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : ApiEntityCBSTemplateRowConfiguredFieldValueInput
Type: object
Title: ApiEntityCBSTemplateRowConfiguredFieldValueInput
This entity represents a CBSTemplateRowConfiguredFieldValue object, a unique CBSTemplateRowConfiguredFieldValue object can be identified by the following combinations of the fields.
  • workspaceCostSheetConfiguredValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
  • Allowed Values: [ "DELETE" ]
    Provide value for this field during object update to delete the assigned configured field value.
  • Unique identifier of the column. This value should not be provided in create operation request data, however, it is required for update requests.
  • Minimum Length: 1
    Maximum Length: 100
    The user-specified UDF column label.
  • Minimum Length: 1
    Maximum Length: 100
    The user-specified UDF column name.
  • The system-generated identifier for an CBS Code assigned to the line item.
  • This holds values for Date type configured fields.
  • This holds values for Number, Integer and Cost type configured fields. Input for the cost configured field should be provided in the currency of record. For example project level currency in case of Activity, base currency for Company, workspace currency for Funds and record level currency for Project Actuals etc. configured fields.
  • Maximum Length: 4000
    This holds values for Boolean, List and Text type configured fields.
  • The unique identifier for the Workspace Cost Sheet Configured Field.
Examples

Back to Top

Response

204 Response

Successful operation with no content.

400 Response

Invalid input for the CBS service. Verify the request contains valid data, then resubmit the request.
Back to Top