Microsoft URS URI Syntax
6/1/2011
This section provides information about the syntax used in Microsoft URS URIs. URIs are comprised of three components:
- Service root URI. Contains the address of the service itself.
- Resource path. Contains the name of the collection or entry that is being requested.
- Query options. Contain data required by a query to filter a particular collection.
Below is an example URI using the UtilityByPostalCodes resource and filtering by the PostalCode property:
https://api.datamarket.azure.com/Microsoft/UtilityRateService/UtilityByPostalCodes?$filter=PostalCode eq '98052 and IntendedUse eq 'Production''
- https://api.datamarket.azure.com/Microsoft/UtilityRateService/ is the service root URI.
- UtilityByPostalCodes is the resource path.
- $filter=PostalCode eq '98052' and IntendedUse eq 'Production'' are the query options.