ACC REST API, custom attribute field value not correct ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm working on an application which up/downloads items to ACC and have a problem when working with date custom attributes.
In the ACC web front-end, I set a date (i.e custom attribute) for an item/document to ex. 2025.07.01 (as shown in attached screenshot)
When querying ACC for that item using
https://aps.autodesk.com/en/docs/bim360/v1/reference/http/document-management-versionsbatch-get-POST...
I would expect the value to be "2025-07-01T00:00:00.0000000" (ISO8601), but the value I get is "2025-07-01T11:59:59.000Z" (see attached screenshot)
Is there anyting special about 2025-07-01T11:59:59.000Z. ? and can it be threated as "2025-07-01T00:00:00.0000000" ?
As additional info, I can add ;
When I update the custom attribute field using code (https://aps.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attributesbatch-up...), the returned date value is exactly as I specify :
To me it looks like any custom date attribute field values are stored wrong, if they are entered using the acc web UI, but that doesn't seem logical to me, since the web UI is used by maaanyy and it would be strange if no one has experienced the same as I do.
Anyone who has experienced something similar ?
Looking forward to all inputs.
Thank you