Create an UOM Conversion
post
/items/{itemGid}/uomConversions
Request
Path Parameters
-
itemGid(required): string
Resource ID
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
- application/vnd.oracle.resource+json;type=collection
Nested Schema : schema
Type:
Show Source
object
-
conversionRate: number
(double)
The conversion rate between the from and to unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the conversion rate would be - for the standard LB to KG conversion - 0.453592.
-
domainName: string
Database domain where this data is stored.
-
fromUomCode: string
The from unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the from unit of measure would be pounds.
-
guicSeqNum: number
(int64)
Internal sequence number for the item unit of measure conversion records.
-
links: array
links
Read Only:
true
-
toUomCode: string
The to unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the to unit of measure would be kilograms.
Root Schema : schema
Type:
Show Source
object
-
conversionRate: number
(double)
The conversion rate between the from and to unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the conversion rate would be - for the standard LB to KG conversion - 0.453592.
-
domainName: string
Database domain where this data is stored.
-
fromUomCode: string
The from unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the from unit of measure would be pounds.
-
guicSeqNum: number
(int64)
Internal sequence number for the item unit of measure conversion records.
-
links: array
links
Read Only:
true
-
toUomCode: string
The to unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the to unit of measure would be kilograms.
Response
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
- application/vnd.oracle.resource+json;type=collection
Default Response
Default Response.
Root Schema : schema
Type:
Show Source
object
-
conversionRate: number
(double)
The conversion rate between the from and to unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the conversion rate would be - for the standard LB to KG conversion - 0.453592.
-
domainName: string
Database domain where this data is stored.
-
fromUomCode: string
The from unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the from unit of measure would be pounds.
-
guicSeqNum: number
(int64)
Internal sequence number for the item unit of measure conversion records.
-
links: array
links
Read Only:
true
-
toUomCode: string
The to unit of measure for this entry. For example if you wish to convert from pounds (LB) to kilograms (KG) the to unit of measure would be kilograms.