Updates the workspace CBS code for the specified workspace CBS ID.
put
/primeapi/restapi/v16.2/cbs/workspace
Request
Supported Media Types
- application/json
Body Parameter
The workspace CBS code to be updated.
Root Schema : ApiEntityCBSTemplateCode
Type:
object
- cbsCode
-
Type:
string
Allowed Values:[ "Length[1-60]" ]
The code value of the CBS code. The code may have one or more segments according the ot the segment definition. - cbsItemId
-
Type:
integer
(int64
)Required:true
The unique identifier of the original CBS. - cbsTemplateId
-
Type:
integer
(int64
)Required:true
The unique identifier for the CBS template. - copiedFromTemplateItem
-
Type:
integer
(int64
)Required:true
The unique identifier for the CBS template that the CBS was copied from. - costType
-
Type:
string
Required:true
Allowed Values:[ "CAPITAL", "EXPENSE", "NONE" ]
The category of the cost breakdown structure code. Expense: Represents an expense. Capital: Represents capital. None: Type is not divided into expense or capital. None is selected by default if no other choice is made. - description
-
Type:
string
Required:true
Allowed Values:[ "Length[0-255]" ]
The name of the CBS Code. - isActive
-
Type:
boolean
Required:true
Default Value:false
The active field indicates whether the CBS code is active for use. - isCodeCopied
-
Type:
boolean
Required:true
Default Value:false
Indicates a CBS that is copied from a workspace or project. - isTotalRow
-
Type:
boolean
Required:true
Default Value:false
The total cost of the project. - parent
-
Type:
integer
(int64
)Required:true
The unique identifier of the parent CBS. - pushDownStatus
-
Type:
boolean
Required:true
Default Value:false
- sequenceNumber
-
Type:
integer
(int64
)Required:true
Used to display the CBS codes in the increasing order of sequence numbers.
Response
Supported Media Types
- application/json
Default Response
successful operation