View Code Types by Project

get

/api/restapi/codeType/project/{projectId}

This endpoint returns code types that meet the following requirements:
  • The object is associated with a project with an ID value that matches the value of the {projectId} 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 Project does not exist or has been deleted.
Back to Top