Get Document Layout
get
/rest/v7/commerceProcesses/{processVarName}/layouts/{mainDocVarName}
Transaction Layout Service returns CPQ transaction desktop layout definitions for UI frameworks to consume. The desktop layout definition contains - Layout parameters and properties for panels, tabs, columns, action strips, and transaction line grids - Properties for actions and attributes - Translations for layout items.
Request
Supported Media Types
- application/json
Path Parameters
-
mainDocVarName: string
The offset of the page. By default, offset is 0, which means first page will be returned.
-
processVarName: string
Allows to specify one or more filtering criteria. By default, no filtering is applied.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Commerce Process Layout
Type:
Show Source
object
-
categoryCode(optional):
string
Title:
Category Code
The Category Code for the Layout -
components(optional):
object components-collection
-
description(optional):
string
Title:
Description
Layout Description - Only For Alta Responsive Layout -
id(optional):
integer
Title:
Id
The unique identifier for a layout -
internalSpecification(optional):
string
Title:
Internal Specification
The Internal Specification for the Layout -
name(optional):
string
Title:
Name
Layout's label -
parameters(optional):
object parameter
-
title(optional):
string
Title:
Title
Document's label -
translations(optional):
object translations
-
variableName(optional):
string
Title:
Variable Name
Layout variable name
Nested Schema : parameter
Type:
Show Source
object
-
dataType(optional):
object Data Type
Title:
Data Type
Parameter Data Type -
defaultValue(optional):
null
Title:
Default Value
Parameter Default Value -
internalFlag(optional):
string
Title:
Internal Flag
Parameter Internal Flag -
mandatoryFlag(optional):
string
Title:
Mandatory Flag
Parameter Mandatory Flag -
name(optional):
string
Title:
Name
Parameter Name
Nested Schema : component
Type:
Show Source
object
-
allowReorderColumns(optional):
string
Title:
Allow reorder columns
Allow reorder columns - Only For Alta Responsive Layout -
autoColWidth(optional):
string
Title:
AutoCol Width
Auto adjust the column width - Only For Legacy Desktop Layout -
buttonLayout(optional):
string
Title:
Button Layout
Button Layout -
collapsed(optional):
string
Title:
Collapsed
Collapsed Property Indicator -
collapseLabel(optional):
string
Title:
Collapse Label
Collapse Label Indicator -
collapsible(optional):
string
Title:
Collapsible
Collapsible Property Indicator -
colMappingType(optional):
string
Title:
Column Mapping Type
Column Mapping Type -
columnGroup(optional):
string
Title:
Column Group
Column Group - Only For Alta Responsive Layout -
columnHeader(optional):
string
Title:
Column Header
Column Header -
components(optional):
object components-collection
-
componentTypeCode(optional):
object Component Type Code
Title:
Component Type Code
The Component Type Code for a component -
defaultColumnWidth(optional):
string
Title:
Default Column Width
Default width of column - Only For Legacy Desktop Layout -
description(optional):
string
Title:
Description
Description -
displayAddAdhocItem(optional):
string
Title:
Display Add Adhoc Item
Display Add Adhoc Item -
displayAddFromCatalog(optional):
string
Title:
Display AddFromCatalog
Display AddFromCatalog - Only For Legacy Desktop Layout -
displayAutoSum(optional):
string
Title:
Display Auto Sum
Display Auto Sum -
displayDataTooltip(optional):
string
Title:
Display Data Tooltip
Display Data Tooltip -
displayInCopyLinePopup(optional):
string
Title:
Display In CopyLine Popup
Display In CopyLine Popup -
displayRows(optional):
integer
Title:
Display Rows
Row display indicator -
displayType(optional):
string
Title:
Display Type
Display Type -
editableFlag(optional):
string
Title:
Editable Flag
Editable Flag -
enableHelpText(optional):
string
Title:
Enable Help Text
Enable Help Text Indicator -
fieldAlignment(optional):
string
Title:
Field Alignment
Field Alignment -
fieldHAlignment(optional):
string
Title:
FieldHAlignment
Horizontal field alignment -
fieldVAlignment(optional):
string
Title:
FieldVAlignment
Vertical field alignment -
fieldWidth(optional):
string
Title:
Field Width
Field Width -
fieldWidthType(optional):
string
Title:
Field Width Type
Type of field width -
groupId(optional):
string
Title:
Group Id
Group Identifier -
hideForModels(optional):
string
Title:
Hide For Models
Hide For Models Indicator -
hideForParts(optional):
string
Title:
Hide For Parts
Hide For Parts Indicator -
hideForSelectedSegments(optional):
object Hide for selected Segments
Title:
Hide for selected Segments
Hide for selected Segments Indicator -
hideLabelFlag(optional):
string
Title:
Hide Label Flag
Hide Label Indicator -
hidingBehavior(optional):
string
Title:
Hiding Behavior
Hiding Behavior -
id(optional):
integer
Title:
Id
The unique identifier for a component -
inputTypeCode(optional):
object Input Type Code
Title:
Input Type Code
Input Type Code -
invokeReconfigurationType(optional):
string
Title:
Invoke Reconfiguration Type
Invoke Reconfiguration Type -
isHeaderSticky(optional):
string
Title:
Is Header Sticky
Sticky header indicator -
itemClsName(optional):
string
Title:
Item Class Name
Item Class Name -
keyValue(optional):
string
Title:
Key Value
Key Value for the component -
label(optional):
string
Title:
Label
Label for component -
labelAlignment(optional):
string
Title:
Label Alignment
Label Alignment -
labelSeparator(optional):
string
Title:
Label Separator
Label Separator -
labelWidth(optional):
string
Title:
Label Width
Label Width -
labelWidthUnits(optional):
string
Title:
Label Width Units
Label Width Units -
LineItemCopyToFavType(optional):
string
Title:
Line Item Copy To FavType
Line Item Copy To FavType -
lineItemCopyType(optional):
string
Title:
Line Item Copy Type
Line Item Copy Type -
lineItemDeletionType(optional):
string
Title:
Line Item DeletionType
Line Item DeletionType -
lineItemDisplayType(optional):
string
Title:
Line Item Display Type
Line Item Display Type -
linkToLineDetails(optional):
string
Title:
Link to Line Details
Link to Line Details - Only For Alta Responsive Layout -
messageTarget(optional):
string
Title:
MessageTarget
Target message -
numOfCols(optional):
string
Title:
NumOfCols
Number Of Columns -
operations(optional):
object Operations
Title:
Operations
The possible Operations for the component -
overrideWidth(optional):
string
Title:
Override Width
Override the width - Only For Legacy Desktop Layout -
padding(optional):
string
Title:
Padding
Padding -
pagingSource(optional):
string
Title:
Paging Source
Paging Source - Only For Legacy Desktop Layout -
plainDisplay(optional):
string
Title:
Plain Display
Plain Display Property -
preloadedRows(optional):
integer
Title:
Preloaded Rows
Preloaded Rows - Only For Alta Responsive Layout -
resourceAttributeVarName(optional):
string
Title:
Resource Attribute VarName
Resource Attribute identifier -
resourceAttrType(optional):
string
Title:
Resource Attribute Type
Resource Attribute Type -
resourceVariableName(optional):
object Resource Variable Name
Title:
Resource Variable Name
Resource Variable Name for a component -
sequence(optional):
integer
Title:
Sequence
Order Number -
showDataTooltip(optional):
string
Title:
Show Data Tooltip
Show Data Tooltip -
showLabel(optional):
string
Title:
Show Label
Show Label Indicator -
showModelSubtotals(optional):
string
Title:
Show subtotals
Show subtotals - Only For Alta Responsive Layout -
spacerHeight(optional):
string
Title:
Spacer Height
Spacer Height -
subDocAttrMapping(optional):
array subDocAttrMapping
-
summary(optional):
string
Title:
Table Summary
Table Summary - Only For Alta Responsive Layout -
tabDisplay(optional):
string
Title:
Tab Display
Tab Display Direction - Only For Alta Responsive Layout -
textAlign(optional):
string
Title:
Text Align
Text Align -
title(optional):
string
Title:
Title
The Component Title -
translations(optional):
object translations
-
valueAlignment(optional):
string
Title:
Value Alignment
Value Alignment -
valueWidth(optional):
string
Title:
Value Width
Value Width -
variableName(optional):
string
Title:
Variable Name
Variable Name -
widthType(optional):
string
Title:
Width Type
Width Type -
widthUnits(optional):
string
Title:
Width Units
Width Units
Nested Schema : Component Type Code
Type:
object
Title:
Component Type Code
The Component Type Code for a component
Show Source
-
lookupCode(optional):
string
Title:
Lookup Code
LookupCode for a component
Nested Schema : Hide for selected Segments
Type:
object
Title:
Hide for selected Segments
Hide for selected Segments Indicator
Show Source
Nested Schema : Input Type Code
Type:
object
Title:
Input Type Code
Input Type Code
Show Source
-
lookupCode(optional):
string
Title:
Lookup Code
Lookup Code
Nested Schema : Operations
Type:
object
Title:
Operations
The possible Operations for the component
Show Source
Nested Schema : Resource Variable Name
Type:
object
Title:
Resource Variable Name
Resource Variable Name for a component
Show Source
-
variableName(optional):
string
Title:
Variable Name
Variable Name for the Resource in a component
Nested Schema : items
Type:
Show Source
array
-
Array of:
integer
Title:
Mapped SegmentId
Mapped SegmentId
Nested Schema : operation
Type:
Show Source
object
-
id(optional):
integer
Title:
Id
Operation Id -
operationType(optional):
object operationType
-
operationVariableName(optional):
string
Title:
Operation Variable Name
Operation Variable Name -
operationVariableType(optional):
string
Title:
Operation Variable Type
Operation Variable Type -
resourceVariableName(optional):
object Resource Variable Name
Title:
Resource Variable Name
Resource Variable Name
Nested Schema : operationType
Type:
Show Source
object
-
lookupCode(optional):
string
Title:
lookupCode
Operation lookupCode
Nested Schema : Resource Variable Name
Type:
object
Title:
Resource Variable Name
Resource Variable Name
Show Source
-
variableName(optional):
string
Title:
Variable Name
Resource Variable Name
Nested Schema : subDocAttrMappingObj
Type:
Show Source
object
-
columnAttibuteMapping(optional):
string
Title:
Column Attribute Mapping
Column Attribute Mapping -
resourceAttributeVarName(optional):
string
Title:
Resource Attribute Variable Name
Resource Attribute Variable Name -
subDocAttrId(optional):
integer
Title:
Sub Document Attribute Id
Sub Document Attribute Id -
subDocId(optional):
integer
Title:
Sub Document Id
Sub Document Id
Nested Schema : Data Type
Type:
object
Title:
Data Type
Parameter Data Type
Show Source
-
lookupCode(optional):
string
Title:
Lookup Code
Parameter Data Type Lookup Code
Nested Schema : translation
Type:
Show Source
object
-
columnHeader(optional):
string
Title:
Column Header
Column Header -
description(optional):
string
Title:
Description
Description -
label(optional):
string
Title:
Label
Label -
language(optional):
object Language
Title:
Language
Language -
title(optional):
string
Title:
Title
Title
Nested Schema : Language
Type:
object
Title:
Language
Language
Show Source
-
id(optional):
integer
Title:
Id
Translation Id -
languageCode(optional):
string
Title:
Language Code
Translation Language Code -
languageNumber(optional):
integer
Title:
Language Number
Translation Language Number
Examples
The following example shows how to retrieve the desktop layout definition for a specific Commerce process by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/layouts/transaction