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 Rate
The conversion factor used to convert the original unit of measure to the target unit of measure. -
CreatedBy(optional):
string
Maximum Length:
64
The 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:
Enabled
Maximum Length:1
Indicates 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:
64
The user who last updated the unit of measure conversion. -
links(optional):
array Items
Title:
Items
Link Relations -
UnitOfMeasure(optional):
string
Title:
UOM
Maximum Length:5
The unique identifier of the starting unit of measure. -
UnitOfMeasureTo(optional):
string
Title:
UOM To
Maximum Length:5
The unique identifier of the target unit of measure.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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 Rate
The conversion factor used to convert the original unit of measure to the target unit of measure. -
CreatedBy(optional):
string
Maximum Length:
64
The 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:
Enabled
Maximum Length:1
Indicates 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:
64
The user who last updated the unit of measure conversion. -
links(optional):
array Items
Title:
Items
Link Relations -
UnitOfMeasure(optional):
string
Title:
UOM
Maximum Length:5
The unique identifier of the starting unit of measure. -
UnitOfMeasureTo(optional):
string
Title:
UOM To
Maximum Length:5
The unique identifier of the target unit of measure.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.