Notifications
Announcements
No record found.
Hello,
I tried to update customer postal address with ODATA unsing postman and the entity : CustomerPostalAddresses but i get 404 response code
{{resource}}/data/CustomerPostalAddresses(CustomerAccountNumber='A00001',CustomerLegalEntityId='BA00',AddressLocationId='AdrA00001-01', Effective='2020-02-18T14:58:39')
with postaman i create this request but i ger this message:
Hi MehdiMoalla,
Looks like record can't be found when you do PATCH request.
Check if the user associated with an application in D365 has a default company 'BA00'. Also, try to get records from the entity via oData for the customer and compare that all search fields are the same (especially Effective).
Hello
The app user is in ba01 but I add cross-company parameter and the field that i specified in the entity is the key that contain 4 fields
I also remove the company context parameter and when i execute the request i get an error that the dirpartytable name is mandatory
I tried different solution but i doesn't work
If anyone has execute the same entity with patch tell me
Thanks
I just succesfully posted it.
URL:
data/CustomerPostalAddresses(dataAreaId='xxx',CustomerAccountNumber='xxxxx',CustomerLegalEntityId='xxx',AddressLocationId='xxx',Effective=2020-02-18T18%3A52%3A28Z)?cross-company=true
Body:
{"@odata.type":"#Microsoft.Dynamics.DataEntities.CustomerPostalAddress","AddressPostBox":"xxxx"}
Sorry it's not a POST request but PATCH or PUT.
I my case it was PATCH.
Its works when i add dataAreaId thank you
Still i am not able to post through postman. i have added dataareaid in url. do i need to something. Below is the url i have used.
URL/.../CustomerPostalAddresses(DataAreaId='te',CustomerAccountNumber='TE-000002',CustomerLegalEntityId='te',AddressLocationId='000004572',Effective='2020-03-19T05:23:09')
Hi,
I am getting the same error If I tried to get the data from D365.
"Message": "No HTTP resource was found that matches the request URI 'infydevboxddevaos.sandbox.ax.dynamics.com/.../PurchTable'. No route data was found for this request."
}
Could u pls help me.
Thanks in advance
The below one is working fine. here its case sensitive. Need to follow the same.
XXXXX.cloudax.dynamics.com/.../CustomerPostalAddresses(dataAreaId='te',CustomerAccountNumber='TE-000004',CustomerLegalEntityId='te',AddressLocationId='000004678',Effective=2020-03-19T05:23:09Z)
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 646 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader