skip to main content
Querying with OData Version 2 : Structure of requests for OData Version 2 : Response formatting

Try Now

Response formatting

The OData specification allows a service to return responses in several different formats. The Hybrid Data Pipeline service supports Atom Pub and JSON. By default, Hybrid Data Pipeline returns responses in Atom Pub format. Requests can override this by specifying JSON format responses in one of the following ways:
*The $format=json query parameter.
*An Accept header with a value of: application/json.
An OData request can either use the header or the query parameter; it cannot specify both.