Create one lot specific conversion
post
/fscmRestApi/resources/11.13.18.05/lotUnitOfMeasureConversions
Request
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-
ConversionFactor: number
The rate of conversion between the primary and secondary unit of measure classes for the item assigned to the inventory lot.
-
EndDatetime: string
(date-time)
The end date and time of this lot conversion factor. Each update of the conversion factor will end date the current definition and generate a new conversion with the same value as the start date and time.
-
InventoryItemId: integer
(int64)
The value that uniquely identifies the inventory item specifying the lot specific conversion.
-
ItemDescription: string
Maximum Length:
80The user-supplied description of the inventory item specifying the lot-specific conversion. -
ItemNumber: string
Maximum Length:
80The user-supplied name of the inventory item specifying the lot-specific conversion. -
LotConversionId: integer
(int64)
The value that uniquely identifies the lot specific conversion. This attribute is the primary key and is system generated.
-
LotNumber: string
Maximum Length:
80The value that uniquely identifies the lot specifying the lot specific conversion. -
OrganizationCode: string
Maximum Length:
255The user supplied short code that uniquely identifies the inventory organization specifying the lot specific conversion. -
OrganizationId: integer
(int64)
The value that uniquely identifies the inventory organization specifying the lot specific conversion.
-
OrganizationName: string
Maximum Length:
80The user-supplied name of the inventory organization specifying the lot-specific conversion. -
PrimaryUOMBaseCode: string
Maximum Length:
3The user supplied short code of the base unit in the class of the primary unit of measure for the item assigned to the lot. -
PrimaryUOMBaseName: string
Maximum Length:
255The user supplied name of the base unit in the class of the primary unit of measure for the item assigned to the lot. -
PrimaryUOMClassCode: string
Maximum Length:
10The user supplied short code of the class of the primary unit of measure for the item assigned to the lot. -
PrimaryUOMClassName: string
Maximum Length:
255The user supplied name of the class of the primary unit of measure for the item assigned to the lot. -
ReasonId: integer
(int64)
The value that uniquely identifies the transaction reason linked to the update of the lot-specific conversion.
-
ReasonName: string
Maximum Length:
80The user-supplied name of the transaction reason associated with the update of the lot-specific conversion. -
StartDatetime: string
(date-time)
The start date and time of this lot conversion factor. Each update of the conversion factor will end date the current definition and generate a new conversion with the system date and time as the start date and time.
-
TransactionUOMBaseCode: string
Maximum Length:
3The user supplied short code of the base unit in the class of the secondary unit of measure for the item assigned to the lot. -
TransactionUOMBaseName: string
Maximum Length:
255The user supplied name of the base unit in the class of the secondary unit of measure for the item assigned to the lot. -
TransactionUOMClassCode: string
Maximum Length:
10The user supplied short code of the class of the secondary unit of measure for the item assigned to the lot. -
TransactionUOMClassName: string
Maximum Length:
255The user supplied name of the class of the secondary unit of measure for the item assigned to the lot.
Response
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 : lotUnitOfMeasureConversions-item-response
Type:
Show Source
object-
ConversionFactor: number
The rate of conversion between the primary and secondary unit of measure classes for the item assigned to the inventory lot.
-
EndDatetime: string
(date-time)
The end date and time of this lot conversion factor. Each update of the conversion factor will end date the current definition and generate a new conversion with the same value as the start date and time.
-
InventoryItemId: integer
(int64)
The value that uniquely identifies the inventory item specifying the lot specific conversion.
-
ItemDescription: string
Maximum Length:
80The user-supplied description of the inventory item specifying the lot-specific conversion. -
ItemNumber: string
Maximum Length:
80The user-supplied name of the inventory item specifying the lot-specific conversion. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotConversionId: integer
(int64)
The value that uniquely identifies the lot specific conversion. This attribute is the primary key and is system generated.
-
LotNumber: string
Maximum Length:
80The value that uniquely identifies the lot specifying the lot specific conversion. -
OrganizationCode: string
Maximum Length:
255The user supplied short code that uniquely identifies the inventory organization specifying the lot specific conversion. -
OrganizationId: integer
(int64)
The value that uniquely identifies the inventory organization specifying the lot specific conversion.
-
OrganizationName: string
Maximum Length:
80The user-supplied name of the inventory organization specifying the lot-specific conversion. -
PrimaryUOMBaseCode: string
Maximum Length:
3The user supplied short code of the base unit in the class of the primary unit of measure for the item assigned to the lot. -
PrimaryUOMBaseName: string
Maximum Length:
255The user supplied name of the base unit in the class of the primary unit of measure for the item assigned to the lot. -
PrimaryUOMClassCode: string
Maximum Length:
10The user supplied short code of the class of the primary unit of measure for the item assigned to the lot. -
PrimaryUOMClassName: string
Maximum Length:
255The user supplied name of the class of the primary unit of measure for the item assigned to the lot. -
ReasonId: integer
(int64)
The value that uniquely identifies the transaction reason linked to the update of the lot-specific conversion.
-
ReasonName: string
Maximum Length:
80The user-supplied name of the transaction reason associated with the update of the lot-specific conversion. -
StartDatetime: string
(date-time)
The start date and time of this lot conversion factor. Each update of the conversion factor will end date the current definition and generate a new conversion with the system date and time as the start date and time.
-
TransactionUOMBaseCode: string
Maximum Length:
3The user supplied short code of the base unit in the class of the secondary unit of measure for the item assigned to the lot. -
TransactionUOMBaseName: string
Maximum Length:
255The user supplied name of the base unit in the class of the secondary unit of measure for the item assigned to the lot. -
TransactionUOMClassCode: string
Maximum Length:
10The user supplied short code of the class of the secondary unit of measure for the item assigned to the lot. -
TransactionUOMClassName: string
Maximum Length:
255The user supplied name of the class of the secondary unit of measure for the item assigned to the lot.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
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.