Skip to content

Attribute Routing with parent item and child item keys  #285

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions