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 Validations
The property validations resource is used to define how to validate a widget property. -
PropertyValue: string
Title:
Property Value
Maximum Length:512
The value given for a widget property.
Nested Schema : Property Validations
Type:
array
Title:
Property Validations
The 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
object
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
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:
Links
The link relations associated with the resource instance. -
PropertyCode: string
Title:
Property Code
Maximum Length:30
The alternate identifier for a widget property. -
PropertyDescription: string
Title:
Property Description
Maximum Length:512
The description of a widget property. -
PropertyKey: string
Title:
Property Key
Maximum Length:30
Unique key used to identify the widget property. -
PropertyName: string
Title:
Property Name
Maximum Length:240
The display name of a widget property. -
PropertyTypeCode: string
Title:
Property Type Code
Maximum Length:30
Indicates 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 Type
Read Only:true
Maximum Length:80
The 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 Validations
The property validations resource is used to define how to validate a widget property. -
PropertyValue: string
Title:
Property Value
Maximum Length:512
The value given for a widget property. -
RequiredFlag: boolean
Title:
Required
Maximum Length:1
Indicates whether a value is required and the field can't be left blank. The default value is false. -
WidgetPropertyId: integer
(int64)
Title:
Widget Property ID
Read Only:true
The unique identifier of a widget property.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Property Validations
Type:
array
Title:
Property Validations
The 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 reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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 Message
Read Only:true
The error message describes the validation error. -
ErrorMessageCode: string
Title:
Error Message Code
Read Only:true
Maximum Length:30
The alternate identifier for the validation error message. -
FunctionBody: string
Title:
Function Body
Read Only:true
The executable validation code. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ParameterOne: string
Title:
Parameter 1
Read Only:true
Maximum Length:512
The first optional value used during validation. -
ParameterTwo: string
Title:
Parameter 2
Read Only:true
Maximum Length:512
The second optional value used during validation. -
PropertyValidationId: integer
(int64)
Title:
Property Validation ID
The unique identifier of a widget property validator. -
ValidatorCode: string
Title:
Validator Code
Read Only:true
Maximum Length:30
The alternate identifier for the home page widget property validator.
Nested Schema : Links
Type:
array
Title:
Links
The 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: