Create items
post
/fscmRestApi/resources/11.13.18.05/cycleCountDefinitions/{CycleCountHeaderId}/child/countItems
Request
Path Parameters
-
CycleCountHeaderId(required): integer(int64)
Value that uniquely identifies the cycle count definition.
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
AbcClass: string
Maximum Length:
40
Name of the ABC class that the item references. -
AbcClassId: integer
(int64)
Value that uniquely identifies the ABC class that the item references.
-
AdjustmentValueNegativeTolerance: number
Title:
Negative
Negative adjustment that the warehouse allows the value to vary for the item. -
AdjustmentValuePositiveTolerance: number
Title:
Positive
Positive adjustment that the warehouse allows the value to vary for the item. -
CycleCountItemId: integer
(int64)
Value that uniquely identifies the item that the cycle count definition references.
-
IncludeInSchedule: string
Maximum Length:
80
Value that determines whether or not to schedule this item. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
IncludeInScheduleCode: integer
Default Value:
2
Value that indicates whether or not to schedule this item. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
ItemDescription: string
Maximum Length:
240
Description of the item. -
ItemNumber: string
Maximum Length:
300
Number that identifies the item. -
LastScheduledDate: string
(date-time)
Title:
Last Scheduled Date
Value that indicates the most recent date that the warehouse scheduled this item for counting. -
QuantityVarianceNegativePercentage: number
Title:
Negative
Negative percent that the warehouse allows the quantity to vary from the requested quantity for the item. -
QuantityVariancePositivePercentage: number
Title:
Positive
Positive percent that the warehouse allows the quantity to vary from the requested quantity for the item.
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 : cycleCountDefinitions-countItems-item-response
Type:
Show Source
object
-
AbcClass: string
Maximum Length:
40
Name of the ABC class that the item references. -
AbcClassId: integer
(int64)
Value that uniquely identifies the ABC class that the item references.
-
AdjustmentValueNegativeTolerance: number
Title:
Negative
Negative adjustment that the warehouse allows the value to vary for the item. -
AdjustmentValuePositiveTolerance: number
Title:
Positive
Positive adjustment that the warehouse allows the value to vary for the item. -
CountUOM: string
Read Only:
true
Maximum Length:25
Unit of measure for the current count. -
CountUOMCode: string
Read Only:
true
Maximum Length:3
Value that identifies the unit of measure for the current count. -
CycleCountItemId: integer
(int64)
Value that uniquely identifies the item that the cycle count definition references.
-
DefaultingControl: string
Read Only:
true
Maximum Length:25
Value that indicates how the conversion between primary and secondary units of measure is handled. Valid values are Default, Fixed, and No Default. The value of Defaulting Control depends on the value of the Tracking Unit of Measure attribute. If the Tracking Unit of Measure is Primary and Secondary, then the Defaulting Control can be provided. Otherwise, the Defaulting Control can't be provided. A list of accepted values is defined in the lookup type EGP_DEFAULTING. Review the value for this attribute in the Setup and Maintenance work area, and the Manage Standard Lookups task. The default value is Fixed. -
DualUOMDeviationHigh: number
Read Only:
true
Highest deviation allowed for a transaction on the secondary quantity that's derived from the default conversion factor. -
DualUOMDeviationLow: number
Read Only:
true
Lowest deviation allowed for a transaction on the secondary quantity that's derived from the default conversion factor. -
IncludeInSchedule: string
Maximum Length:
80
Value that determines whether or not to schedule this item. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
IncludeInScheduleCode: integer
Default Value:
2
Value that indicates whether or not to schedule this item. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
ItemDescription: string
Maximum Length:
240
Description of the item. -
ItemNumber: string
Maximum Length:
300
Number that identifies the item. -
LastScheduledDate: string
(date-time)
Title:
Last Scheduled Date
Value that indicates the most recent date that the warehouse scheduled this item for counting. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotControlCode: integer
Read Only:
true
Identifies all the lot control items for a cycle count definition. -
PrimaryImageURL: string
Read Only:
true
Maximum Length:4000
Value that provides a reference to the image of the item for which the count sequence is generated. -
QuantityVarianceNegativePercentage: number
Title:
Negative
Negative percent that the warehouse allows the quantity to vary from the requested quantity for the item. -
QuantityVariancePositivePercentage: number
Title:
Positive
Positive percent that the warehouse allows the quantity to vary from the requested quantity for the item. -
RevisionQuantityControlFlag: boolean
Read Only:
true
Value that indicates if the item is enabled for revision control. Contains one of the following values: true or false. If true, then the item is under revision control. If false, then the item is not under revision control. The default value is false. -
SecondaryUnitOfMeasure: string
Read Only:
true
Maximum Length:3
Abbreviation that identifies the secondary unit of measure. -
SecondaryUnitOfMeasureName: string
Read Only:
true
Maximum Length:255
Secondary unit of measure of the item. -
SerialNumberControlCode: integer
Read Only:
true
Identifies all the serial control items for a cycle count definition. -
TrackingUnitOfMeasure: string
Read Only:
true
Maximum Length:255
Unit of measure of the item.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.