web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Invalid @odata.id and @odata.editLink for BillOfMaterialsVersionsV3 entity

(1) ShareShare
ReportReport
Posted on by 9
Hi,
 
I have been trying to update the entity 'BillOfMaterialsVersionsV3' in MSDynamics365 Finance and Operations through odata olingo.
However, I found that the edit link and id given for this entity is invalid. It gives HTTP Response as 400 with bad request as shown below:
 
The invalid @odata.editLink and @odata.id retrieved through MSDynamics365 are:
/@odata.id/: /https://trial-0zyrz7.trial.operations.dynamics.com/data/BillOfMaterialsVersionsV3(dataAreaId='usmf',ManufacturedItemNumber='4401',BOMId='000021',ProductionSiteId='1',ProductConfigurationId='',ProductColorId='Green',ProductSizeId='',ProductStyleId='',ProductVersionId='',IsActive=Microsoft.Dynamics.Ax.Xpp.NoYes'Yes',ValidFromDate=1900-01-01T12:00:00Z,FromQuantity=1)/

/@odata.editLink/: /./BillOfMaterialsVersionsV3(dataAreaId='usmf',ManufacturedItemNumber='4401',BOMId='000021',ProductionSiteId='1',ProductConfigurationId='',ProductColorId='Green',ProductSizeId='',ProductStyleId='',ProductVersionId='',IsActive=Microsoft.Dynamics.Ax.Xpp.NoYes'Yes',ValidFromDate=1900-01-01T12:00:00Z,FromQuantity=1)/
 
Also, here the observation is that the edit link is starting with /.// characters, which is not usually observed in any entity, is there any significance for the same.
 
 
How can we get correct @odata.editLink for this entity, as we need it to perform update and delete operation through odata olingo.
Note: we have also tried replace the IsActive attribute value with /Microsoft.Dynamics.Ax.Xpp.NoYes'Yes'/ inorder to have correct enum value, but still no luck.
Any lead will be helpful.
Thanks in Advance.
 
Yashodhara
I have the same question (0)
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Hi,
     
    If you want to update an entity, have you tried the same from postman using patch/post request?
  • Community member Profile Picture
    9 on at
    Hi Bharani,
    We are trying to update the entity using a PATCH request from POSTMAN, for this as per my understanding we need to uniquely identify the record using the odata.id  (which contains all the entity key attribute and dataAreaID ) as shown below 
    When we try to hit this url from browser, it actually throws 500 HTTP error as mentioned above.

    Am I missing anything or is there any other way to update using patch without an odata.id ?

     
    Any help will be appreciated.
     
    Thanks
    Yashodhara
  • Community member Profile Picture
    9 on at

    Hi Bharani,

    Please ignore the earlier reply, due to some glitch it was not posted properly.

    We are trying to update the entity using a PATCH request from POSTMAN, for this as per my understanding we need to uniquely identify the record using the odata.id  (which contains all the entity key attribute and dataAreaID ) as shown below :

     

     /@odata.id/: /https://trial-0zyrz7.trial.operations.dynamics.com/data/BillOfMaterialsVersionsV3(dataAreaId='usmf',ManufacturedItemNumber='4401',BOMId='000021',ProductionSiteId='1',ProductConfigurationId='',ProductColorId='Green',ProductSizeId='',ProductStyleId='',ProductVersionId='',IsActive=Microsoft.Dynamics.Ax.Xpp.NoYes'Yes',ValidFromDate=1900-01-01T12:00:00Z,FromQuantity=1)/

    When we try to hit this url from browser we get the This actually throws 400 HTTP error as mentioned above.

    Am I missing anything or is there any other way to update using patch without an odata.id ?

    Regards

    Yashodhara

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 510 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 399

#3
Adis Profile Picture

Adis 251 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans