Create a property belonging to a widget of a home page setup definition
post
/fscmRestApi/resources/11.13.18.05/hedHomePageSetups/{HomePageSetupId}/child/zones/{PageZoneId}/child/widgets/{PageWidgetId}/child/widgetProperties
Request
Path Parameters
-
HomePageSetupId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
PageWidgetId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
PageZoneId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
PageWidgetPropertyCode(required): string
Maximum Length:
30Alternate identifier for the widget property within the page zone. -
propertyValidations: array
Property Validations
Title:
Property ValidationsThe property validations resource is used to define how to validate a widget property. -
PropertyValue: string
Maximum Length:
512The value given for a widget property. -
WidgetPropertyId(required): integer
(int64)
The unique identifier of a widget property.
Nested Schema : Property Validations
Type:
arrayTitle:
Property ValidationsThe property validations resource is used to define how to validate a widget property.
Show Source
Nested Schema : hedHomePageSetups-zones-widgets-widgetProperties-propertyValidations-item-post-request
Type:
Show Source
objectResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : hedHomePageSetups-zones-widgets-widgetProperties-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PageWidgetPropertyCode: string
Maximum Length:
30Alternate identifier for the widget property within the page zone. -
PageWidgetPropertyId: integer
(int64)
Read Only:
trueThe unique identifier of a widget property for a home page setup. -
PropertyDescription: string
Read Only:
trueMaximum Length:512The description of a widget property. -
PropertyKey: string
Read Only:
trueMaximum Length:30Unique key used to identify the widget property. -
PropertyName: string
Read Only:
trueMaximum Length:240The display name of a widget property. -
PropertyTypeCode: string
Read Only:
trueMaximum Length:30Indicates the property type for a widget property. Examples of property types include: string, number, boolean. A list of accepted values for a property type is defined in the lookup type: ORA_HEY_HOME_PROPERTY. -
PropertyTypeMeaning: string
Read Only:
trueMaximum Length:80The meaning of a property type code. An example of a meaning is the string property type. A list of accepted values is defined in lookup type ORA_HEY_HOME_PROPERTY. -
propertyValidations: array
Property Validations
Title:
Property ValidationsThe property validations resource is used to define how to validate a widget property. -
PropertyValue: string
Maximum Length:
512The value given for a widget property. -
RequiredFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether a value is required and the field can't be left blank. The default value is false. -
WidgetPropertyId: integer
(int64)
The unique identifier of a widget property.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Property Validations
Type:
arrayTitle:
Property ValidationsThe property validations resource is used to define how to validate a widget property.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : hedHomePageSetups-zones-widgets-widgetProperties-propertyValidations-item-response
Type:
Show Source
object-
ErrorMessage: string
Read Only:
trueDefault Value:adf.object.getErrorMessageBundle()The error message describes the validation error. -
ErrorMessageCode: string
Read Only:
trueMaximum Length:30The alternate identifier for the validation error message. -
FunctionBody: string
Read Only:
trueThe executable validation code. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ParameterOne: string
Read Only:
trueMaximum Length:512The first optional value used during validation. -
ParameterTwo: string
Read Only:
trueMaximum Length:512The second optional value used during validation. -
PropertyValidationId: integer
(int64)
Read Only:
trueThe unique identifier of a widget property validator. -
ValidatorCode: string
Read Only:
trueMaximum Length:30The alternate identifier for the home page widget property validator.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- propertyTypesLOV
-
Parameters:
- finder:
ByLookupTypeFinder%3BLookupType%3DORA_HEY_HOME_PROPERTY
The following properties are defined on the LOV link relation:- Source Attribute: PropertyTypeCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- propertyValidations
-
Parameters:
- HomePageSetupId:
$request.path.HomePageSetupId - PageWidgetId:
$request.path.PageWidgetId - PageWidgetPropertyId:
$request.path.PageWidgetPropertyId - PageZoneId:
$request.path.PageZoneId
The property validations resource is used to define how to validate a widget property. - HomePageSetupId: