Queries
linkedObjectDetailsList
Template for Query:
query GetLinkedObjectDetailsList(
$inputs: [CreateTaskLinkObjectInput!]!
$composition: LinkedObjectComposition
) {
linkedObjectDetailsList(inputs: $inputs, composition: $composition) {
resourceUrn
}
}
Show More
Arguments
| inputs* [CreateTaskLinkObjectInput!]! non-null | |
| composition |
* Required
Possible Returns
| Value Type | Description |
|---|---|
[LinkedObjectDetails!]! non-null |
Examples
Example 1
Resolves several objects in one request, such as when displaying a board with
linked objects. Use viewState on each result to check whether the caller
can open that object. Use resourceUrn for task links. The resourceId
field is deprecated.
This request uses sample IDs. Replace hubId and externalId in each
input with your hub ID and the corresponding Fusion design’s lineage URN.
Query:
query GetLinkedObjectDetailsList($inputs: [CreateTaskLinkObjectInput!]!, $composition: LinkedObjectComposition) {
linkedObjectDetailsList(inputs: $inputs, composition: $composition) {
resourceUrn
workspace
objectType
name
partNumber
thumbnailUrl
viewState
}
}
Show More
Query Variables:
{
"inputs": [
{
"hubId": "urn:adsk.ace:beta.scope:11111111-2222-4333-8444-555555555555",
"externalId": "urn:adsk.wipprod:dm.lineage:EjRWeJCrTe-ACRI0VniQqw",
"workspace": "Design",
"objectType": "ROOT_COMPONENT",
"sourceSystemId": "FUSION"
},
{
"hubId": "urn:adsk.ace:beta.scope:11111111-2222-4333-8444-555555555555",
"externalId": "urn:adsk.wipprod:dm.lineage:ISNFZ4mrTe-ACRI0VniQqw",
"workspace": "Design",
"objectType": "ROOT_COMPONENT",
"sourceSystemId": "FUSION"
}
],
"composition": "WORKING"
}
Show More
Illustrative response
{
"data": {
"linkedObjectDetailsList": [
{
"resourceUrn": "urn:adsk.wipprod:dm.lineage:EjRWeJCrTe-ACRI0VniQqw",
"workspace": "Design",
"objectType": "ROOT_COMPONENT",
"name": "Mounting bracket",
"partNumber": "BRK-001",
"thumbnailUrl": null,
"viewState": "AVAILABLE"
},
{
"resourceUrn": "urn:adsk.wipprod:dm.lineage:ISNFZ4mrTe-ACRI0VniQqw",
"workspace": "Design",
"objectType": "ROOT_COMPONENT",
"name": "Support plate",
"partNumber": "PLT-002",
"thumbnailUrl": null,
"viewState": "AVAILABLE"
}
]
}
}
Show More