Generate Document

post

/rest/v7/documentGenerator

This operation creates a Document Designer document. When executed correctly, the external system will receive the URL of the document in the Location header of the REST response from CPQ Cloud.

Request

Supported Media Types
Body ()
Root Schema : Generate Document
Type: object
Title: Generate Document
Show Source
Back to Top

Response

Default Response

No content. This task does not return elements in the response body.
Back to Top

Examples

The following example shows how to create a document generator by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" 
https://sitename.oracle.com/rest/v7/documentGenerator

Request Body Sample

{
"processVarname":"oraclecpqo",
"templateName":"Tech Solutions Output",
"transactionId":5531903,
"languageCode":-1,
"outputFormat":"PDF"
}
Back to Top