Updates the code types for the specified code types.
put
/primeapi/restapi/v16.2/codeType/batch
Request
Supported Media Types
- application/json
Body Parameter
The Code Types to be updated
Root Schema : /paths/~1v16.2~1codeType~1batch/put/parameters/0/schema
Type:
array-
Type:
objectApiEntityCodeType
Nested Schema : ApiEntityCodeType
Type:
object- assignments
-
Type:
arrayassignmentsUnique Items Required:true - codeTypeCode
-
Type:
stringAllowed Values:[ "Length[1-40]" ]This field displays the name of a code or value. - codeTypeId
-
Type:
integer(int64) - codeTypeName
-
Type:
stringAllowed 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:
objectApiEntityCodeType - entityType
-
Type:
stringAllowed 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