GET xaitporter/project_document
Returns the document section information for the confirm dialog to display the document section tree based on the document drop-down selection by the user in the Confirm Dialog.
Request Information
URI
https://ofd-api.blueprintcpq.net/xaitporter/project_document?projectTemplateId={projectTemplateId}&documentId={documentId}&recordId={recordId}&projectRecordId={projectRecordId}&productId={productId}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectTemplateId |
XaitPorter Project Template Id to which the document belongs |
integer |
Required |
| documentId |
XaitPorter Document Id |
integer |
Required |
| recordId |
Quote Identifier |
string |
Required |
| projectRecordId |
Project Record Id for the current Project Create Action |
globally unique identifier |
Required |
| productId |
Associated productId for this document to select the correct merge data |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Returns the if success, else null.
XpDocumentWorkspace| Name | Description | Type | Additional information |
|---|---|---|---|
| dwid | integer |
None. |
|
| css | string |
None. |
|
| document_id | integer |
None. |
|
| section_tree | XpSectionTree |
None. |
|
| selected_section_tree | XpSectionTree |
None. |
|
| product_id | string |
None. |
|
| Item | Object |
None. |
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.