Notifications
Announcements
No record found.
Hello,
I'm currently trying to update / insert / delete records via the entity "HcmWorkerContactEntity" with postman. Unfortunatly I always end up with 404 "No HTTP resource was found that matches the request URI". The corresponding get operation is running successfully and returns the contact detail information like E-Mail, phone, ...:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/data/WorkerContacts?$format=json&$filter=PersonnelNumber%20eq%20%27123456%27&
When I copy the exact data from the get operation trying to modify only a single field (in my example "IsMobilePhone") the error message mentioned above is returned. This is my request:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/data/WorkerContacts(PersonnelNumber='123456',Type='Phone',Locator='0123456789',Description='Mobiltelefon')
with the JSON Body:
Hi Sebastien, I think you have to mention all the fields in the Json body for update to work. Please check this post as well if that helps.
HI Sebastian Aurand ,
Which field is your table primary key?
You'll have to include your primary key in URL.
For CRUD ,you can refer this blog: partnersource.blogspot.com/.../crud-with-odata-and-data-entities-in_13.html
Hi Sebastian,
1. You should send PATCH request
2. For "Type" field you need to use enum identifier /data/WorkerContacts(PersonnelNumber='123456',Type=Microsoft.Dynamics.DataEntities.LogisticsElectronicAddressMethodType'Phone',Locator='',Description='Mobiltelefon')
Thanks for the hint. I didn't use the syntax for the "Enum" values.
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.
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 422 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional