Get Document Layout
get
/rest/v16/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(required): string
The offset of the page. By default, offset is 0, which means first page will be returned.
-
processVarName(required): 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:
string
Title:
Category Code
The Category Code for the Layout -
components:
object components-collection
-
description:
string
Title:
Description
Layout Description - Only For Alta Responsive Layout -
id:
integer
Title:
Id
The unique identifier for a layout -
internalSpecification:
string
Title:
Internal Specification
The Internal Specification for the Layout -
name:
string
Title:
Name
Layout's label -
parameters:
object parameter
-
title:
string
Title:
Title
Document's label -
translations:
object translations
-
variableName:
string
Title:
Variable Name
Layout variable name
Nested Schema : parameter
Type:
Show Source
object
-
dataType:
object Data Type
Title:
Data Type
Parameter Data Type -
defaultValue:
null
Title:
Default Value
Parameter Default Value -
internalFlag:
string
Title:
Internal Flag
Parameter Internal Flag -
mandatoryFlag:
string
Title:
Mandatory Flag
Parameter Mandatory Flag -
name:
string
Title:
Name
Parameter Name
Nested Schema : component
Type:
Show Source
object
-
autoColWidth:
string
Title:
Auto Column Width
Auto column width. -
autoLock:
boolean
Title:
Auto Lock
Auto lock indicator. -
autoUpdate:
boolean
Title:
Auto Update
Auto update indicator. -
backgroundImage:
string
Title:
Background Image
Background image. -
collapsible:
boolean
Title:
Collapsible
Collapsible indicator. -
colSpan:
string
Title:
Column Span
Column span. -
columnWidths:
string
Title:
Column Widths
Column widths. -
components:
object components-collection
-
componentTypeCode:
object Component Type Code
Title:
Component Type Code
Component type code for a component. -
cssClass:
string
Title:
CSS Class
CSS class. -
defaultValue:
string
Title:
Default Value
Default value. -
defaultValueOverridden:
boolean
Title:
Default Value Overridden
Default value overridden indicator. -
description:
string
Title:
Description
Component's description. -
displayType:
object displayType
-
displayTypeOverriden:
boolean
Title:
Display Type Overriden
Display type overriden indicator. -
endDate:
string
Title:
End Date
End date. -
fieldAlignment:
string
Title:
Field Alignment
Field alignment. -
fieldAutoWidth:
string
Title:
Field Auto Width
Field auto width. -
group:
boolean
Title:
Group
Group indicator. -
heading:
string
Title:
Heading
Heading. -
helpIcon:
string
Title:
Help Icon
Help icon. -
helpIconAlignment:
string
Title:
Help Icon Alignment
The help icon alignment. -
helpTextBottom:
string
Title:
Help Text Bottom
Help text bottom. -
helpTextTop:
string
Title:
Help Text Top
Help text top. -
hide:
boolean
Title:
Hide
Hide indicator. -
hideLock:
boolean
Title:
Hide Lock
Hide lock indicator. -
id:
integer(int64)
Title:
Id
Unique identifier for a component -
inputTypeCode:
object Input Type Code
Title:
Input Type Code
Input type code. -
jetDisplayType:
object jetDisplayType
-
label:
string
Title:
Label
Label for component. -
labelAlignment:
string
Title:
Label Alignment
Label alignment. -
labelSeparator:
string
Title:
Label Separator
Label separator. -
labelWidth:
string
Title:
Label Width
Label width. -
labelWidthUnits:
string
Title:
Label Width Units
Label width units. - menuImagePosition: string
-
msgPlacement:
string
Title:
Message Placement
Message placement. -
msgWidth:
string
Title:
Message Width
Message width. -
msgWidthUnits:
string
Title:
Message Width Units
Message width units. -
pricePosition:
string
Title:
Price Position
Price position. -
required:
boolean
Title:
Required
Required indicator. -
resourceAttributeVarName:
string
Title:
Resource Attribute VarName
Resource attribute identifier. -
resourceAttrType:
string
Title:
Resource Attribute Type
Resource attribute type. -
sequence:
integer
Title:
Sequence
Order number. -
setType:
string
Title:
Set Type
Set type. -
setTypeOverridden:
boolean
Title:
Set Type Overridden
Set type overridden indicator. -
showCalculator:
boolean
Title:
Show Calculator
Show calculator indicator. -
showConMsg:
boolean
Title:
Show Constraint Message
Show constraint message indicator. -
showDataTooltip:
boolean
Title:
Show Data Tooltip
Show data tooltip. -
showDescription:
boolean
Title:
Show Description
Show description indicator. -
showHelpIcon:
boolean
Title:
Show Help Icon
Show help icon indicator. -
showLabel:
boolean
Title:
Show Label
Show label indicator. -
showMenuImage:
boolean
Title:
Show Menu Image
Show menu image indicator. -
showPrevValueMsg:
boolean
Title:
Show Previous Value Message
Show previous value message indicator. -
showPrice:
boolean
Title:
Show Price
Show price indicator. -
showRecMsg:
boolean
Title:
Show Recommendation Message
Show recommendation message indicator. -
showTitleIcon:
boolean
Title:
Show Title Icon
Show title icon. -
spacerHeight:
string
Title:
Spacer Height
Height of the spacer. -
startDate:
string
Title:
Start Date
Start date. -
status:
string
Title:
Status
Component's status. -
title:
string
Title:
Title
Component's title. -
titleIcon:
string
Title:
Title Icon
Title icon. -
translations:
object translations
-
valueAlignment:
string
Title:
Value Alignment
Value alignment. -
valuePosition:
string
Title:
Value Position
Value position. -
valueWidth:
string
Title:
Value Width
Value width. -
valueWidthUnits:
string
Title:
Value Width Units
Value width unit. -
widthUnits:
string
Title:
Width Units
Width units.
Nested Schema : Component Type Code
Type:
object
Title:
Component Type Code
Component type code for a component.
Show Source
-
lookupCode:
string
Title:
Lookup Code
Lookup Code for a component.
Nested Schema : displayType
Type:
Show Source
object
-
displayValue:
string
Title:
Display Value
Display value. -
lookupCode:
string
Title:
Lookup Code
Lookup code.
Nested Schema : Input Type Code
Type:
object
Title:
Input Type Code
Input type code.
Show Source
-
lookupCode:
string
Title:
Lookup Code
Lookup code.
Nested Schema : jetDisplayType
Type:
Show Source
object
-
displayValue:
string
Title:
Display Value
Display value. -
lookupCode:
string
Title:
Lookup Code
Lookup code.
Nested Schema : Data Type
Type:
object
Title:
Data Type
Parameter Data Type
Show Source
-
lookupCode:
string
Title:
Lookup Code
Parameter Data Type Lookup Code
Nested Schema : translation
Type:
Show Source
object
-
description:
string
Title:
Description
Description -
label:
string
Title:
Label
Label -
language:
object Language
Title:
Language
Language -
title:
string
Title:
Title
Title
Nested Schema : Language
Type:
object
Title:
Language
Language
Show Source
-
languageCode:
string
Title:
Language Code
Translation Language Code -
languageNumber:
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/v16/commerceProcesses/oraclecpqo/layouts/transaction