View a Reference
get
/api/restapi/entityReference/{entityReferenceId}
This endpoint returns references that meet the following requirements:
- The object has an ID that matches the value of the {entityReferenceId} path parameter.
Request
Path Parameters
-
entityReferenceId(required): integer(int64)
The system-generated identifier of an entity reference.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root 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.
404 Response
The requested object does not exist, or you do not have access to it.