Update an enumeration value
patch
/fscmRestApi/resources/11.13.18.05/publicSectorOpaEnumerations/{EnumName}/child/EnumValueService/{EnumValueServiceUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
EnumName: string
The name of the enumeration.
-
EnumValueServiceUniqID: integer
This is the hash key of the attributes which make up the composite key--- EnumName and EnumValue ---for the Enumeration Values resource and used to uniquely identify an instance of Enumeration Values. The client should not generate the hash key value. Instead, the client should query on the Enumeration Values collection resource with a filter on the primary key values in order to navigate to a specific instance of Enumeration Values.
For example: EnumValueService?q=EnumName=<value1>;EnumValue=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorOpaEnumerations-EnumValueService-item
Type:
Show Source
object-
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The name of the user who created the enumeration value. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date on which the enumeration value was created. -
DeletedFlag(optional):
string
Maximum Length:
1Indicates if the enumeration value is logically deleted. Valid values are Y for deleted, and N for an existing enumeration value. The default value is N. -
Description(optional):
string
Title:
DescriptionMaximum Length:30The description of the enumeration value. -
EnumName(optional):
string
Title:
Enumeration NameMaximum Length:30The name of the enumeration that is associated with the enumeration value. -
EnumValue(optional):
string
Title:
Enumeration ValueMaximum Length:50The value of the enumeration. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date on which the enumeration value was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The name of the user who last updated the enumeration value. -
links(optional):
array Items
Title:
ItemsLink Relations -
OwnerId(optional):
string
Maximum Length:
10The identifier of the owner who is associated with the enumeration value. -
SeedDataLock(optional):
integer(int32)
Indicates if the enumeration value is a seed data. Valid values are 0 for the data that is customer data, 1 for seed data that cannot be modified, and 2 indicates that the seed data can be modified.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorOpaEnumerations-EnumValueService-item
Type:
Show Source
object-
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The name of the user who created the enumeration value. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date on which the enumeration value was created. -
DeletedFlag(optional):
string
Maximum Length:
1Indicates if the enumeration value is logically deleted. Valid values are Y for deleted, and N for an existing enumeration value. The default value is N. -
Description(optional):
string
Title:
DescriptionMaximum Length:30The description of the enumeration value. -
EnumName(optional):
string
Title:
Enumeration NameMaximum Length:30The name of the enumeration that is associated with the enumeration value. -
EnumValue(optional):
string
Title:
Enumeration ValueMaximum Length:50The value of the enumeration. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date on which the enumeration value was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The name of the user who last updated the enumeration value. -
links(optional):
array Items
Title:
ItemsLink Relations -
OwnerId(optional):
string
Maximum Length:
10The identifier of the owner who is associated with the enumeration value. -
SeedDataLock(optional):
integer(int32)
Indicates if the enumeration value is a seed data. Valid values are 0 for the data that is customer data, 1 for seed data that cannot be modified, and 2 indicates that the seed data can be modified.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.