Symptom
Sales Quote data is needed in XML format, but XML is not available directly from the system.
Environment
- SAP Sales Cloud Version 2
- SAP Sales and Service Cloud Version 2
Cause
The system only provides Sales Quote data in JSON format; XML output is not supported.
Resolution
To obtain Sales Quote data and convert it to XML, follow these steps:
- Retrieve the JSON data using the following API endpoint:
- https://{systemURL}/sap/c4c/api/v1/sales-quote-service/salesQuotes/{{SalesQuoteTechnicalID}}?$forOutput=true
- Download or copy the JSON response.
- Convert the JSON data to XML using an external conversion tool or service (for example, an online JSON-to-XML converter).
Keywords
XML, Sales Quote, Preview, PDF, Convert, Json, Sales Cloud , KBA , CEC-CRM-CQP , Sales Quote for SAP Sales/Service Cloud , How To
Product
SAP Sales Cloud and SAP Service Cloud Version 2 1.0