View Code Types by Workspace

get

/api/restapi/codeType/workspace/{workspaceId}

This endpoint returns code types that meet the following requirements:
  • The object is associated with a workspace with an ID value that matches the value of the {workspace} path parameter.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : List<ApiEntityCodeType>
Type: array
Title: List<ApiEntityCodeType>
Show Source
Nested Schema : ApiEntityCodeType
Type: object
Title: ApiEntityCodeType
Show Source
Nested Schema : assignments
Type: array
The list of code type assignments.
Show Source
Nested Schema : ApiEntityCodeEntityType
Type: object
Title: ApiEntityCodeEntityType
Show Source
  • codeType
    The unique identifier of a code type.
  • Maximum Length: 60
    Allowed Values: [ "ACTIVITY", "CONSTRAINT", "CUSTOM_LOG_ITEM", "DOCUMENT", "FUND", "IDEA", "PBS", "PORTFOLIO", "PROGRAM", "PROJECT", "REPORT", "RESOURCE", "RISK", "SCOPE_ASSIGNMENT", "SCOPE_ITEM", "STRATEGY", "TASKS", "WBS", "WORK_PACKAGE" ]
    Indicates the type of object the code is associated to.
  • Date when the record was last updated.
Nested Schema : codeType
The unique identifier of a code type.
Match All
Show Source

204 Response

Successful operation with no content.

404 Response

The requested code type does not exist, or you do not have access to it.
Back to Top