Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute Routing with parent item and child item keys #285

Open
mattferderer opened this issue Feb 6, 2023 · 0 comments
Open

Attribute Routing with parent item and child item keys #285

mattferderer opened this issue Feb 6, 2023 · 0 comments

Comments

@mattferderer
Copy link

In 4.3.6 of the URL Conventions for OData it seems to say we should be able to do something like https://host/service/Orders/1/Items/2 to GET/PUT/POST/DELETE the item with ID 2 tied to Orders with ID 1.

https://docs.oasis-open.org/odata/odata/v4.01/os/part2-url-conventions/odata-v4.01-os-part2-url-conventions.html#sec_KeyasSegmentConvention

It seems this was possible in prior OData versions but I don't see it in the OData 8 docs. Is this something possible to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant