Getting a Single Entity using a Defined Integration Object
You can retrieve a single entity via a defined Integration Object using the integrationKey.
You can also retrieve localized attributes of a single Integration Object. The $expand query option allows you to retrieve multiple levels of expanded navigation properties.
Getting a Single Entity
Provide an integration key to retrieve a single item. For example, the following URL retrieves a Product item from the MyProduct service using the integration key Staged|Default|myproduct.
https://localhost:9002/odata2webservices/MyProduct/Products('Staged%7CDefault%7Cmyproduct')
The GET response contains the data for simple properties and deferred links for navigation properties. The deferred links prevent an overly large response and allow you to get the data for the navigation properties separately. To see the navigation property data inline, use the $expand query parameter in the GET request. For more information about the $expand parameter, see Expand.
If there are localized attributes specified in the Integration Object Item Attributes, all the localized values for those attributes are available under the localizedAttributes navigation property in the response. You can use the deferred link to get the localized attributes. For example:
https://localhost:9002/odata2webservices/MyProduct/Products('Staged%7CDefault%7Cmyproduct')/localizedAttributes)
Alternatively, you can get localized attributes inline in the response using the $expand=localizedAttributes expression in the GET request. For example, the following request returns the localized attributes inline:
https://localhost:9002/odata2webservices/MyProduct/Products('Staged%7CDefault%7Cmyproduct')?$expand=localizedAttributes)
For information on getting the localized attributes of a Product, see Localization for GET requests.