View all Related Items of a Reference
get
/api/restapi/entityReference/relatedItems
Send a request to this endpoint to view all the related items of a reference.
Request
Query Parameters
-
programCode: string
The user-specified unique identifier of a program.
-
projectCode(required): string
The user-specified identifier of a project.
This is a required field. -
recordCode(required): string
The user-specified identifier of an object associated with a reference.
This is a required field. -
recordId(required): integer(int64)
The system-generated identifier of an object associated with a reference.
This is a required field. -
recordType(required): string
The type of an object that supports references.
This is a required field.Allowed Values:[ "ACTIVITY", "IDEA", "PROJECT", "PROG_RISK", "RISK", "WORK_MANAGER_TASK" ]
-
workspaceCode(required): string
The user-specified identifier of a workspace.
This is a required field.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : ApiEntityEntityReference
Type:
object
Title:
Show Source
ApiEntityEntityReference
-
entityReferenceId: integer
(int64)
The system-generated identifier of a reference.
-
fromId: integer
(int64)
The system-generated identifier of the object the reference is from.
-
fromType: string
Allowed Values:
[ "ACTIVITY", "IDEA", "PROJECT", "PROG_RISK", "RISK", "WORK_MANAGER_TASK" ]
The type of the object the reference is from. -
fromTypeRecordCode: string
The user-specified identifier of an object associated with a reference.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
programCode: string
The user-specified unique identifier of a program.
-
projectCode: string
The user-specified identifier of a project.
-
toId: integer
(int64)
The system-generated identifier of the object a reference is a reference to.
-
toType: string
Allowed Values:
[ "ACTIVITY", "IDEA", "PROJECT", "PROG_RISK", "RISK", "WORK_MANAGER_TASK" ]
The type of the object a reference refers to. -
toTypeRecordCode: string
The user-specified identifier of an object associated with a reference.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Maximum Length:
60
The user-specified identifier of a workspace.
204 Response
Successful operation with no content.
404 Response
The requested reference does not exist, or you do not have access to it.