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:
array
Title:
Show Source
List<ApiEntityPromoteProjectCodeType>
-
Array of:
object ApiEntityPromoteProjectCodeType
Title:
ApiEntityPromoteProjectCodeType
Nested Schema : ApiEntityPromoteProjectCodeType
Type:
object
Title:
Show Source
ApiEntityPromoteProjectCodeType
-
codeTypeCode: string
Minimum Length:
1
Maximum Length:60
Displays the code or ID of the Code Type. -
codeTypeId: integer
(int64)
The system-generated identifier of a code type.
-
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
projectCode: string
Maximum Length:
60
The code of a Project of a Project CodeType. -
projectId: integer
(int64)
The system generated identifier of a project.
-
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated. -
workspaceCode: string
Maximum Length:
60
The 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.