autodesk-platform-services / aps-sdk-net

The official APS SDK for .NET.
https://www.nuget.org/profiles/AutodeskPlatformServices.SDK
Apache License 2.0
17 stars 5 forks source link

DataManagement - VersionsDataAttributes does not contain FileType and other properties #30

Open austincrft opened 3 months ago

austincrft commented 3 months ago

The REST API documentation here specifies a fileType property on attributes

GET projects/:project_id/items/:item_id/versions | Data Management API | Autodesk Platform Services

image

Here you can see my call to DataManagementClient.GetItemVersionsAsync does not return the FileType property

image

austincrft commented 3 months ago

I have just tested that the data is being returned properly in the JSON response, it is just not present in the POCO.

This is also missing from the POCO but present in the JSON response: data.relationships.derivatives

sajith-subramanian commented 2 months ago

Hi @austincrft - I have logged this issue for further investigation.

yiskang commented 2 months ago

Hi Team,

I found one more missing field, attributes.ViewableGuid.

Sample code: https://github.com/autodesk-platform-services/aps-acc-locations-manager/blob/main/Autodesk/Libs/AccDataUtil.cs#L106

And other possible missing fields here: https://github.com/autodesk-platform-services/aps-bim360-assets-viewer/blob/main/bim360assets/Controllers/HubsController.cs#L204