Announcements
Hi everyone,
I'm facing an issue with a custom data entity in D365 Finance & Operations when using OData through Postman. The standard entities work as expected using the key-based syntax, but the same approach fails for a custom entity.
Standard Entity (Works)
Endpoint to get all records: {{envFinOpUrl}}/data/EmployeesV2
{{envFinOpUrl}}/data/EmployeesV2
Endpoint to get a specific record using keys:{{envFinOpUrl}}/data/EmployeesV2(PersonnelNumber='000001',EmploymentId='000000001',EmploymentLegalEntityId='100')
{{envFinOpUrl}}/data/EmployeesV2(PersonnelNumber='000001',EmploymentId='000000001',EmploymentLegalEntityId='100')
This returns the expected filtered record.
Custom Entity (Fails)
Endpoint to get all records (works fine): {{envFinOpUrl}}/data/DTSOpResOperationsResourceWorkCalendarAssignmentEntity
{{envFinOpUrl}}/data/DTSOpResOperationsResourceWorkCalendarAssignmentEntity
Endpoint to get a specific record using keys (throws error){{envFinOpUrl}}/data/DTSOpResOperationsResourceWorkCalendarAssignmentEntity(OperationsResourceId='A001',ValidFrom='2005-05-04T12:00:00Z',ValidTo='2154-12-31T12:00:00Z') Error Received:
{{envFinOpUrl}}/data/DTSOpResOperationsResourceWorkCalendarAssignmentEntity(OperationsResourceId='A001',ValidFrom='2005-05-04T12:00:00Z',ValidTo='2154-12-31T12:00:00Z')
{ "Message": "No HTTP resource was found that matches the request URI '.../DTSOpResOperationsResourceWorkCalendarAssignmentEntity(...)'. No route data was found for this request." }
(key1='val1',key2='val2')
IsPrimaryKey
Would appreciate an exact and working solution or guidance to make this work for the custom entity.
Thanks in advance!
Hello Andre, Thanks for your response.
Yes, the Primary company context property of the custom data entity is set to DataAreaId, and I’ve verified that the legal entity of the current user (i.e., myself) matches the legal entity of the work calendar assignment record.
DataAreaId
Interestingly, I’m able to retrieve all records using: {{envFinOpUrl}}/data/DTSOpResOperationsResourceWorkCalendarAssignmentEntity But when I try to filter or use GET by key to retrieve a specific record, it fails, which is puzzling.
I’m still looking into whether any field mapping or key setup might be affecting the behavior.
Thanks again for your suggestions.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 668 Super User 2026 Season 1
André Arnaud de Cal... 630 Super User 2026 Season 1
Giorgio Bonacorsi 581