Update default attributes of a home page widget
patch
/fscmRestApi/resources/11.13.18.05/hedHomePageWidgets/{WidgetId}
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=
Header Parameters
-
Metadata-Context: string
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: string
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-
CollapsibleFlag: boolean
Title:
CollapsibleMaximum Length:1Indicates whether a widget can be collapsed on the home page. The default value is true. -
DefaultZoneTypeCode: string
Title:
Default Zone Type CodeMaximum Length:30Indicates the zone in which a widget will display by default. A list of accepted values for a zone is defined in the lookup type: ORA_HEY_HOME_PAGE_ZONE. -
EnabledFlag: boolean
Title:
EnabledMaximum Length:1Default Value:trueIndicates whether a widget is active and can be displayed. The default value is true. -
LocationLockedFlag: boolean
Title:
Location LockedMaximum Length:1Indicates whether the widget can be moved to a different zone. The default value is false. -
roles: array
Roles
Title:
RolesThe roles resource is used to define the security roles that have access to a widget. -
widgetProperties: array
Home Page Widget Properties
Title:
Home Page Widget PropertiesThe home page widget properties resource is used to define how a widget functions on a default version of the home page. -
WidgetTitle: string
Title:
Widget TitleMaximum Length:30The display name of the widget.
Nested Schema : Roles
Type:
arrayTitle:
RolesThe roles resource is used to define the security roles that have access to a widget.
Show Source
Nested Schema : Home Page Widget Properties
Type:
arrayTitle:
Home Page Widget PropertiesThe home page widget properties resource is used to define how a widget functions on a default version of the home page.
Show Source
Nested 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-item-response
Type:
Show Source
object-
CollapsibleFlag: boolean
Title:
CollapsibleMaximum Length:1Indicates whether a widget can be collapsed on the home page. The default value is true. -
ComponentName: string
Title:
Component NameRead Only:trueMaximum Length:100The component name for the widget. -
DefaultZoneTypeCode: string
Title:
Default Zone Type CodeMaximum Length:30Indicates the zone in which a widget will display by default. A list of accepted values for a zone is defined in the lookup type: ORA_HEY_HOME_PAGE_ZONE. -
DefaultZoneTypeMeaning: string
Title:
Default Zone TypeRead Only:trueMaximum Length:80The meaning of a default zone code. An example of a meaning is the locked zone. A list of accepted values is defined in lookup type ORA_HEY_HOME_PAGE_ZONE. -
EnabledFlag: boolean
Title:
EnabledMaximum Length:1Default Value:trueIndicates whether a widget is active and can be displayed. The default value is true. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date the row was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the row. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationLockedFlag: boolean
Title:
Location LockedMaximum Length:1Indicates whether the widget can be moved to a different zone. The default value is false. -
PermissionCode: string
Title:
Permission CodeRead Only:trueMaximum Length:132The page permission code used to grant access to a widget. -
roles: array
Roles
Title:
RolesThe roles resource is used to define the security roles that have access to a widget. -
WidgetCode: string
Title:
Widget CodeRead Only:trueMaximum Length:30The alternate identifier for a home page widget. -
WidgetDescription: string
Title:
Widget DescriptionRead Only:trueMaximum Length:256The description of a widget. -
WidgetId: integer
(int64)
Title:
Widget IDRead Only:trueThe unique identifier for a home page widget. -
WidgetName: string
Title:
Widget NameRead Only:trueMaximum Length:30The name of a widget. -
widgetProperties: array
Home Page Widget Properties
Title:
Home Page Widget PropertiesThe home page widget properties resource is used to define how a widget functions on a default version of the home page. -
WidgetTitle: string
Title:
Widget TitleMaximum Length:30The display name of the widget.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Roles
Type:
arrayTitle:
RolesThe roles resource is used to define the security roles that have access to a widget.
Show Source
Nested Schema : Home Page Widget Properties
Type:
arrayTitle:
Home Page Widget PropertiesThe home page widget properties resource is used to define how a widget functions on a default version of the home page.
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-roles-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
RoleCode: string
Title:
Role CodeRead Only:trueMaximum Length:128The alternate identifier for the security role. -
RoleMapId: integer
(int64)
Title:
Role Map IDRead Only:trueThe unique identifier of a security role. -
RoleName: string
Title:
Role NameRead Only:trueThe name of the security role.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested 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 CodeRead Only:trueMaximum Length:30The alternate identifier for a widget property. -
PropertyDescription: string
Title:
Property DescriptionRead Only:trueMaximum Length:512The description of a widget property. -
PropertyKey: string
Title:
Property KeyRead Only:trueMaximum Length:30Unique key used to identify the widget property. -
PropertyName: string
Title:
Property NameRead Only:trueMaximum Length:240The display name of a widget property. -
PropertyTypeCode: string
Title:
Property Type CodeRead 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
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:
RequiredRead 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)
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 : 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 IDRead Only:trueThe 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
- defaultZoneTypesLOV
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_HEY_HOME_PAGE_ZONE
The following properties are defined on the LOV link relation:- Source Attribute: DefaultZoneTypeCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- roles
-
Parameters:
- WidgetId:
$request.path.WidgetId
The roles resource is used to define the security roles that have access to a widget. - WidgetId:
- widgetProperties
-
Parameters:
- WidgetId:
$request.path.WidgetId
The home page widget properties resource is used to define how a widget functions on a default version of the home page. - WidgetId: