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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 687 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 535 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 403 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans