Update a property of a home page widget
patch
/fscmRestApi/resources/11.13.18.05/hedHomePageWidgets/{WidgetId}/child/widgetProperties/{WidgetPropertyId}
Request
Path Parameters
-
WidgetId(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=
-
WidgetPropertyId(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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
propertyValidations: array
Property Validations
Title:
Property ValidationsThe property validations resource is used to define how to validate a widget property. -
PropertyValue: string
Title:
Property ValueMaximum Length:512The value given for 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 : hedHomePageWidgets-widgetProperties-propertyValidations-item-patch-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 : hedHomePageWidgets-widgetProperties-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PropertyCode: string
Title:
Property CodeMaximum Length:30The alternate identifier for a widget property. -
PropertyDescription: string
Title:
Property DescriptionMaximum Length:512The description of a widget property. -
PropertyKey: string
Title:
Property KeyMaximum Length:30Unique key used to identify the widget property. -
PropertyName: string
Title:
Property NameMaximum Length:240The display name of a widget property. -
PropertyTypeCode: string
Title:
Property Type CodeMaximum 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
Title:
Property TypeRead 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
Title:
Property ValueMaximum Length:512The value given for a widget property. -
RequiredFlag: boolean
Title:
RequiredMaximum Length:1Indicates whether a value is required and the field can't be left blank. The default value is false. -
WidgetPropertyId: integer
(int64)
Title:
Widget Property IDRead Only:trueThe 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 : hedHomePageWidgets-widgetProperties-propertyValidations-item-response
Type:
Show Source
object-
ErrorMessage: string
Title:
Error MessageRead Only:trueThe error message describes the validation error. -
ErrorMessageCode: string
Title:
Error Message CodeRead Only:trueMaximum Length:30The alternate identifier for the validation error message. -
FunctionBody: string
Title:
Function BodyRead Only:trueThe executable validation code. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ParameterOne: string
Title:
Parameter 1Read Only:trueMaximum Length:512The first optional value used during validation. -
ParameterTwo: string
Title:
Parameter 2Read Only:trueMaximum Length:512The second optional value used during validation. -
PropertyValidationId: integer
(int64)
Title:
Property Validation IDThe unique identifier of a widget property validator. -
ValidatorCode: string
Title:
Validator CodeRead 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:
LookupTypeFinder%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:
- WidgetId:
$request.path.WidgetId - WidgetPropertyId:
$request.path.WidgetPropertyId
The property validations resource is used to define how to validate a widget property. - WidgetId: