View all Document References
get
/primeapi/restapi/document/file/{id}/references
This endpoint returns the object references associated with a file that meet the following requirements:
- The object has an ID that matches the value of the {id} path parameter.
Request
Path Parameters
-
id: integer(int64)
An object reference associated with a document.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityReference
Type:
Show Source
object
-
code(optional):
string
The code of the object the document is linked to.
-
documentId(optional):
string
The system-generated identifier of a document.
-
link(optional):
string(url)
Read Only:
true
-
name(optional):
string
The name of the object the document is linked to.
-
objectId(optional):
integer(int64)
The system-generated identifier of a refernced object.
-
referenceId(optional):
integer(int64)
The system-generated identifier of an object reference.
-
scope(optional):
string
Allowed Values:
[ "GENERIC_PORTFOLIO", "PROJECT", "STRATEGY", "WORKSPACE", "IDEA", "PBS", "WBS", "ACTIVITY", "WORK_PACKAGE", "SCOPE_ITEM", "SCOPE_ITEM_ASSIGNMENT", "WORKFLOW_INSTANCE", "FORM_INSTANCE", "CONTRACT", "COMMITMENT", "TEMPLATE", "CHANGE_ORDER", "POTENTIAL_CHANGE_ORDER", "POTENTIAL_CHANGE_ORDER_PROPOSAL", "PAYMENT_APPLICATION", "SUBMITTALS", "RFI", "CHANGE_EVENTS", "FUND", "PORTFOLIO_FUND", "CUSTOM_LOG_ITEM", "RISK" ]
The object type the document is associated with, for example, workspace. -
type(optional):
string
The type of the object the document is linked to.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
404 Response
The requested document does not exist, or you do not have access to it.