SAP Knowledge Base Article - Public

3354653 - Is it possible to have the API response in XML format on OData V4?

Symptom

When consuming data from the OData V4 APIs, the format of the response is coming as JSON.

Is it possible to change it to XML?

Environment

  • SAP SuccessFactors HXM Suite
    • OData V4

Resolution

XML is not currently supported as a response format in OData V4.

See Also

About the OData API Reference Guide (V4)

Keywords

odata, v4, $format, xml, application/atom+xml, atom xml, payload , KBA , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM suite all versions