I am trying to use the Quote Generation API for Salesforce, I referred the below link for reference
I am using postman to trigger the below endpoint
URL :
https://ap16.salesforce.com/services/apexrest/SBQQ/ServiceRouter?saver=QuoteDocumentAPI.SaveProposal
Request Body :
{
"saver": "SBQQ.QuoteDocumentAPI.Save",
"model": "{\\\"name\\\":\\\"test\\\",\\\"quoteId\\\":\\\"a0n0R000000jhVC\\\",\\\"templateId\\\":\\\"a0l0R000000vahe\\\",\\\"outputFormat\\\":\\\"PDF\\\",\\\"language\\\":\\\"en_US\\\",\\\"paperSize\\\":\\\"Default\\\"}"
}
Response :
[
{
"message": "Unexpected parameter encountered during deserialization: saver at [line:1, column:11]",
"errorCode": "JSON_PARSER_ERROR"
}
]
As you can see the above sample request and response. I am getting Json Parser exception. Can anyone help me out here to figure out where i am going wrong?
\\\"name\\\":\\\"test\\\"
three backward slash is reqd.