I'm using the Autodesk AEC Data Model Explorer to retrieve a project by its Data Management API project ID. Specifically, I'm attempting to use the projectByDataManagementAPIId query to fetch the project's details.
Here is the GraphQL query I'm using:
query Get {
projectByDataManagementAPIId(dataManagementAPIProjectId:"b.b1932870-41d1-4010-a97b-fa25d807217f") {
id
name
}
}
However, when I execute this query, I receive the following error message:
{
"data": {
"projectByDataManagementAPIId": null
},
"errors": [
{
"message": "The following ID is malformed: b.b1932870-41d1-4010-a97b-fa25d807217f.",
"locations": [
{
"line": 1,
"column": 18
}
],
"path": [
"projectByDataManagementAPIId"
],
"extensions": {
"correlation_id": "f3aa9769-9680-4e57-96b4-ef1159945ddf",
"code": "BAD_REQUEST",
"errorType": "UNAVAILABLE",
"errorDetail": "SERVICE_ERROR"
}
}
],
"extensions": {
"pointValue": {
"requestedQueryPointValue": 10
}
}
}
I..
Sadly, the feature is only available for MFG Data API and not AEC Data Model API https://aps.autodesk.com/en/docs/mfgdatamodel-publicbeta/v2/reference/queries/projectbydatamanagementapiid/
There is a wishlist ticket logged with ID AECDATA-943 for the same