on ‎2020 Sep 26 1:38 PM
I need to know which is the CPQ API that we can use for Document Generation Template for replication ?
Request clarification before answering.
Hello Nanaji!
I'm not sure I 100% understand your question, but I want to take a shot at helping out.
You can use a script in a Custom Action to generate a document. This custom action can appear on the quote as a button that the user clicks to generate a document.
Specifically you're looking for the following line that generates the document:
Quote.GenerateDocument('Test Proposal Template', GenDocFormat.DOCX)
I don't believe there is a specific API for generating a document. If i wanted to use API to generate a document I would use a REST to run a Global Script that runs the above "Quote.GenerateDocument" code to create the document. Depending on what you need to do from there, you could use the API Factory's File Response to return the generated document as a response to the REST call.
If you could provide a bit more detail on what you're trying to accomplish I can try to help out.
Thanks!
Eric Hoftiezer
Canidium
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @prithvi_006
CPQ API endpoints ...
https://sandbox.webcomcpq.com/webapihelp/index#/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 12 | |
| 12 | |
| 9 | |
| 8 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.