Updates the code type for the specified code type ID.
put
/primeapi/restapi/v16.2/codeType
Request
Supported Media Types
- application/json
Body Parameter
The Code Type to be updated
Root Schema : ApiEntityCodeType
Type:
object
- assignments
-
Type:
array
assignmentsUnique Items Required:true
- codeTypeCode
-
Type:
string
Allowed Values:[ "Length[1-40]" ]
This field displays the name of a code or value. - codeTypeId
-
Type:
integer
(int64
) - codeTypeName
-
Type:
string
Allowed Values:[ "Length[1-40]" ]
STRING - workspace
-
Type:
integer
(int64
)The ID of the owning workspace.
Nested Schema : assignments
Nested Schema : ApiEntityCodeEntityType
Type:
object
- codeType
-
Type:
object
ApiEntityCodeType - entityType
-
Type:
string
Allowed Values:[ "SCOPE_ITEM", "PROJECT", "SCOPE_ASSIGNMENT", "WBS", "WORK_PACKAGE", "ACTIVITY", "RESOURCE", "PBS", "CONTRACT", "RISK", "COMMITMENT", "REPORT", "TASKS", "PROJECT_FUND", "WORKSPACE_FUND" ]
- primaryKey
-
Type:
integer
(int64
)
Response
Supported Media Types
- application/json
Default Response
successful operation