Promote Project Code Types To Workspace
put
/api/restapi/codeType/promote
Send a request to this endpoint to promote the project code types provided in the payload to their immediate workspaces.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityPromoteProjectCodeType>
Type:
arrayTitle:
Show Source
List<ApiEntityPromoteProjectCodeType>-
Array of:
object ApiEntityPromoteProjectCodeType
Title:
ApiEntityPromoteProjectCodeType
Nested Schema : ApiEntityPromoteProjectCodeType
Type:
objectTitle:
Show Source
ApiEntityPromoteProjectCodeType-
codeTypeCode: string
Minimum Length:
1Maximum Length:60Displays the code or ID of the Code Type. -
codeTypeId: integer
(int64)
The system-generated identifier of a code type.
-
link: string
(url)
Read Only:
trueThe self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
projectCode: string
Maximum Length:
60The code of a Project of a Project CodeType. -
projectId: integer
(int64)
The system generated identifier of a project.
-
updateDate: string
(date-time)
Read Only:
trueDate when the record was last updated. -
workspaceCode: string
Maximum Length:
60The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The ID of the owning workspace.
Response
204 Response
Successful operation with no content.
400 Response
Invalid input for the Code Type service. Verify the request contains valid data, then resubmit the request.