2.2.3.3 Resource Path (resourcePath)
This section describes the construction rules for the resource path part of a data service URI. These rules dictate how the names of an EntitySet, EntityType, entity NavigationProperty, Member, named resource stream, and service operation can be composed to generate a URI that identifies a resource exposed by a data service.
Using the example Entity Data Model (EDM) in Appendix A: Sample Entity Data Model and CSDL Document (section 6), example URIs that include the scheme, serviceRoot, and resourcePath elements are:
-
http://host/service.svc/Customers http://host/service.svc/Customers('ALFKI')/Orders
Resource Path: Semantics (section 2.2.3.5) describes the meaning of the various resource paths that can be constructed by using the rules noted in the Augmented BNF for URI Construction listing in URI Syntax (section 2.2.3.1). In addition, this section notes additional constraints specific to particular elements of the resource path.