Update a unit of measure conversion rate
patch
/fscmRestApi/resources/11.13.18.05/publicSectorUnitsConversions/{publicSectorUnitsConversionsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorUnitsConversionsUniqID: integer
This is the hash key of the attributes which make up the composite key--- UnitOfMeasure and UnitOfMeasureTo ---for the Unit of Measure Conversions resource and used to uniquely identify an instance of Unit of Measure Conversions. The client should not generate the hash key value. Instead, the client should query on the Unit of Measure Conversions collection resource with a filter on the primary key values in order to navigate to a specific instance of Unit of Measure Conversions.
For example: publicSectorUnitsConversions?q=UnitOfMeasure=<value1>;UnitOfMeasureTo=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorUnitsConversions-item
Type:
Show Source
object-
ConversionRate(optional):
number
Title:
Conversion RateThe conversion factor used to convert the original unit of measure to the target unit of measure. -
CreatedBy(optional):
string
Maximum Length:
64The user who created the unit of measure conversion. -
CreationDate(optional):
string(date-time)
The date and time that the unit of measure conversion was created.
-
EnabledFlag(optional):
string
Title:
EnabledMaximum Length:1Indicates whether the conversion rate is active. If the value is Y, the rate is active. -
LastUpdateDate(optional):
string(date-time)
The date and time when the unit of measure conversion was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64The user who last updated the unit of measure conversion. -
links(optional):
array Items
Title:
ItemsLink Relations -
UnitOfMeasure(optional):
string
Title:
UOMMaximum Length:5The unique identifier of the starting unit of measure. -
UnitOfMeasureTo(optional):
string
Title:
UOM ToMaximum Length:5The unique identifier of the target unit of measure.
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 : publicSectorUnitsConversions-item
Type:
Show Source
object-
ConversionRate(optional):
number
Title:
Conversion RateThe conversion factor used to convert the original unit of measure to the target unit of measure. -
CreatedBy(optional):
string
Maximum Length:
64The user who created the unit of measure conversion. -
CreationDate(optional):
string(date-time)
The date and time that the unit of measure conversion was created.
-
EnabledFlag(optional):
string
Title:
EnabledMaximum Length:1Indicates whether the conversion rate is active. If the value is Y, the rate is active. -
LastUpdateDate(optional):
string(date-time)
The date and time when the unit of measure conversion was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64The user who last updated the unit of measure conversion. -
links(optional):
array Items
Title:
ItemsLink Relations -
UnitOfMeasure(optional):
string
Title:
UOMMaximum Length:5The unique identifier of the starting unit of measure. -
UnitOfMeasureTo(optional):
string
Title:
UOM ToMaximum Length:5The unique identifier of the target unit of measure.
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.