Update one sequence
/fscmRestApi/resources/11.13.18.05/cycleCountSequenceDetails/{cycleCountSequenceDetailsUniqID}
Request
-
cycleCountSequenceDetailsUniqID(required): string
This is the hash key of the attributes which make up the composite key--- CycleCountEntryId, CycleCountHeaderId and OrganizationId ---for the Cycle Count Sequence Details resource and used to uniquely identify an instance of Cycle Count Sequence Details. The client should not generate the hash key value. Instead, the client should query on the Cycle Count Sequence Details collection resource with a filter on the primary key values in order to navigate to a specific instance of Cycle Count Sequence Details.
For example: cycleCountSequenceDetails?q=CycleCountEntryId=<value1>;CycleCountHeaderId=<value2>;OrganizationId=<value3>
-
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.
- application/json
object
-
ApprovalType: string
Maximum Length:
255
Value that indicates the type of approval. -
Comments: string
Title:
Comments
Maximum Length:240
Comments that describe the current count. -
CountDate: string
(date)
Date when the warehouse counted this sequence.
-
CountedBy: string
Maximum Length:
2000
Name of the employee who performed the current count. -
CountedByEmployeeId: integer
(int64)
Title:
Counted By
Value that uniquely identifies the employee who performed the current count. -
CountQuantity: number
Title:
Count Quantity
Count quantity for the count sequence. -
CountSequenceStatus: string
Maximum Length:
80
Current status of the count sequence. A list of accepted values is defined in the lookup type INV_CC_ENTRY_STATUSES. -
CountSequenceStatusCode: string
Title:
Approval Status
Maximum Length:30
Value that indicates the current status of the count sequence. -
CountUOM: string
Maximum Length:
25
Unit of measure for the current count. -
CountUOMCode: string
Title:
Primary Count UOM
Maximum Length:3
Value that identifies the unit of measure for the current count. -
DFF: array
Flexfields for Cycle Count Sequence Details
Title:
Flexfields for Cycle Count Sequence Details
The Flexfields for Cycle Count Sequence Details manages details of the descriptive flexfields that reference the cycle count sequence. -
ExportCode: integer
(int64)
Value that determines whether to export the count sequence to the interface.
-
history: array
History
Title:
History
The History resource manages details for the history of cycle count sequences. -
inventoryAttributesDFF: array
Flexfields for Tracking Attributes
Title:
Flexfields for Tracking Attributes
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the cycle count sequence. -
ItemLotControlCode: string
Maximum Length:
30
Identifies all the lot control items for a cycle count definition. -
ItemSerialControlCode: string
Maximum Length:
30
Identifies all the serial control items for a cycle count definition. -
Locator: string
Maximum Length:
4000
Name of the locator. -
LocatorId: integer
(int64)
Title:
Locator
Value that uniquely identifies the locator. -
LotNumber: string
Title:
Lot
Maximum Length:80
Number that identifies an item or group of items. -
ProcessingFlag: boolean
Maximum Length:
255
Contains one of the following values: true or false. If true, then the request was processed. If false, then the request was not processed. The default value is false. -
Reason: string
Maximum Length:
30
Reason for the adjustment transaction. -
ReasonId: integer
(int64)
Title:
Reason
Value that uniquely identifies the reason. -
ReviewDate: string
(date)
Date when the employee approved the adjustment.
-
ReviewedBy: string
Maximum Length:
2000
Name of the employee who approved the adjustment. -
ReviewedByEmployeeId: integer
(int64)
Title:
Reviewer
Value that uniquely identifies the employee who approved the adjustment. -
Revision: string
Maximum Length:
18
Revision of the item. -
SecondaryCountQuantity: number
Title:
Secondary Count Quantity
Quantity of the current count in the secondary unit of measure that the item uses. -
SecondaryCountUOM: string
Maximum Length:
25
Secondary unit of measure that the current count uses. -
SecondaryCountUOMCode: string
Title:
Secondary UOM
Maximum Length:3
Value that identifies the secondary unit of measure that the current count uses. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Serial number to count. -
SerialRequiredCount: number
Value that specifies the number of serial numbers remaining to mark as counted or extra serials marked as count.
-
SerialRequiredStatus: string
Maximum Length:
255
Status of the serial number required for the multiple per request cycle count sequence. -
SerialRequiredStatusMeaning: string
Maximum Length:
255
Lookup meaning of the cycle count sequence serial number required status for multiple per request. -
serials: array
Serials
Title:
Serials
The Serials resource manages details for the serials of cycle count sequences. -
Subinventory: string
Maximum Length:
10
Name of the subinventory.
array
Flexfields for Cycle Count Sequence Details
array
History
array
Flexfields for Tracking Attributes
array
Serials
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for cycle count sequence details. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Context Value -
CycleCountHeaderId: integer
(int64)
Title:
Count Name
Value that uniquely identifies the cycle count. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
object
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:40
Descriptive flexfield context name for tracking attributes. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Descriptive flexfield context display value for tracking attributes. -
countryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt-in. -
countryOfOriginCode_Display: string
Title:
Country of Origin
Name of the country of origin. This attribute is associated with a feature that requires opt-in. -
CycleCountHeaderId: integer
(int64)
Title:
Count Name
Value that uniquely identifies the cycle count. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
projectId: integer
(int64)
Title:
Project
Value that uniquely identifies the project. This attribute is associated with a feature that requires opt-in. -
projectId_Display: string
Title:
Project
Number that identifies the project. This attribute is associated with a feature that requires opt-in. -
taskId: integer
(int64)
Title:
Task
Value that uniquely identifies the task. This attribute is associated with a feature that requires opt-in. -
taskId_Display: string
Title:
Task
Number that identifies the task. This attribute is associated with a feature that requires opt-in.
object
-
CcSerialNumberId: integer
Value that uniquely identifies the serial number.
-
RecordedInCountFlag: boolean
Contains one of the following values: true or false. If true, then the serial is counted in the current count sequence. If false, then the serial isn't counted in the current count sequence. This attribute doesn't have a default value.
Response
- application/json
Default Response
-
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.
object
-
AdjustmentDate: string
(date)
Read Only:
true
Date when the warehouse posted the adjustment transaction. -
AdjustmentValue: number
Read Only:
true
Monetary value of the adjustment transaction. -
ApprovalType: string
Maximum Length:
255
Value that indicates the type of approval. -
ApprovalTypeCode: integer
(int64)
Value that indicates the type of approval: 1-Automatic, 2-Manual, 3-Preapproved.
-
CategoryName: string
Read Only:
true
Maximum Length:255
The category associated with the cycle count sequence. -
ClassName: string
Read Only:
true
Maximum Length:255
The ABC class associated with the cycle count sequence. -
Comments: string
Title:
Comments
Maximum Length:240
Comments that describe the current count. -
CountDate: string
(date)
Date when the warehouse counted this sequence.
-
CountDueDate: string
(date)
Read Only:
true
Date by which the count should be completed. -
CountedBy: string
Maximum Length:
2000
Name of the employee who performed the current count. -
CountedByEmployeeId: integer
(int64)
Title:
Counted By
Value that uniquely identifies the employee who performed the current count. -
CountQuantity: number
Title:
Count Quantity
Count quantity for the count sequence. -
CountSequence: integer
(int64)
Title:
Count Sequence
Number of the cycle count sequence. -
CountSequenceStatus: string
Maximum Length:
80
Current status of the count sequence. A list of accepted values is defined in the lookup type INV_CC_ENTRY_STATUSES. -
CountSequenceStatusCode: string
Title:
Approval Status
Maximum Length:30
Value that indicates the current status of the count sequence. -
CountSequenceWithPrefix: string
Read Only:
true
Maximum Length:255
The cycle count sequence combined with the manual count prefix. -
CountType: string
Maximum Length:
80
Type of count. A list of accepted values is defined in the lookup type INV_CC_COUNT_TYPES. -
CountTypeCode: string
Maximum Length:
30
Value that identifies the type of count. A list of accepted values is defined in the lookup type INV_CC_COUNT_TYPES. -
CountUOM: string
Maximum Length:
25
Unit of measure for the current count. -
CountUOMCode: string
Title:
Primary Count UOM
Maximum Length:3
Value that identifies the unit of measure for the current count. -
CycleCountEntryId: integer
(int64)
Value that uniquely identifies the cycle count sequence.
-
CycleCountHeaderId: integer
(int64)
Title:
Count Name
Value that uniquely identifies the cycle count. -
CycleCountName: string
Maximum Length:
30
Name of the cycle count. -
DeviationPercentage: number
Read Only:
true
Percent deviation of the adjustment. -
DFF: array
Flexfields for Cycle Count Sequence Details
Title:
Flexfields for Cycle Count Sequence Details
The Flexfields for Cycle Count Sequence Details manages details of the descriptive flexfields that reference the cycle count sequence. -
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. -
ExportCode: integer
(int64)
Value that determines whether to export the count sequence to the interface.
-
Exported: string
Maximum Length:
80
Indicates whether the warehouse exported the count sequence to the interface. -
history: array
History
Title:
History
The History resource manages details for the history of cycle count sequences. -
inventoryAttributesDFF: array
Flexfields for Tracking Attributes
Title:
Flexfields for Tracking Attributes
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the cycle count sequence. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the inventory item.
-
ItemDescription: string
Maximum Length:
240
Description of the inventory item. -
ItemLotControlCode: string
Maximum Length:
30
Identifies all the lot control items for a cycle count definition. -
ItemNumber: string
Maximum Length:
300
Name of the inventory item. -
ItemPrimaryImageURL: string
Read Only:
true
Maximum Length:240
Value that provides reference to the image of the item for which the count sequence is generated. -
ItemSerialControlCode: string
Maximum Length:
30
Identifies all the serial control items for a cycle count definition. -
ItemUnitCost: number
Read Only:
true
Unit cost of the item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Locator: string
Maximum Length:
4000
Name of the locator. -
LocatorId: integer
(int64)
Title:
Locator
Value that uniquely identifies the locator. -
LotNumber: string
Title:
Lot
Maximum Length:80
Number that identifies an item or group of items. -
LPNId: integer
(int64)
Value that uniquely identifies the license plate number.
-
LPNNumber: string
Maximum Length:
255
License plate number associated to the item. -
ManualCountPrefix: string
Read Only:
true
Maximum Length:3
Value that indicates the manual count sequence prefix of the count sequence. -
OrganizationCode: string
Maximum Length:
18
Value that identifies the inventory organization. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
OrganizationName: string
Maximum Length:
240
Name of the inventory organization. -
OwningEntityId: integer
(int64)
Title:
Owning Party Site
Value that uniquely identifies the owning entity. If the item is consigned, then this attribute contains the vendor site identifier. If the item is owned, then this attribute contains the owning organization identifier. -
OwningParty: string
Maximum Length:
360
Name of the owning party. -
OwningPartySite: string
Maximum Length:
240
Name of the owning party site. -
OwningType: string
Maximum Length:
30
Contains one of the following values: 1 or 2. If 1, then the item is consigned. If 2, then the item is owned. -
OwningTypeCode: string
Maximum Length:
80
Name that uniquely identifies the owning entity. If the item is consigned, then this attribute contains the vendor site identifier. If the item is owned, then this attribute contains the owning organization identifier. -
PrimaryAdjustmentQuantity: number
Read Only:
true
Adjustment quantity that the warehouse requires to make the system quantity equal the count quantity. -
PrimarySuggestedQuantity: number
Read Only:
true
System quantity that existed during the current count. -
ProcessingFlag: boolean
Maximum Length:
255
Contains one of the following values: true or false. If true, then the request was processed. If false, then the request was not processed. The default value is false. -
ProcurementBU: string
Maximum Length:
255
Business unit that manages and owns the purchasing document. -
Reason: string
Maximum Length:
30
Reason for the adjustment transaction. -
ReasonId: integer
(int64)
Title:
Reason
Value that uniquely identifies the reason. -
Recounts: integer
Read Only:
true
Number of times that the warehouse counted this count sequence. -
ReviewDate: string
(date)
Date when the employee approved the adjustment.
-
ReviewedBy: string
Maximum Length:
2000
Name of the employee who approved the adjustment. -
ReviewedByEmployeeId: integer
(int64)
Title:
Reviewer
Value that uniquely identifies the employee who approved the adjustment. -
Revision: string
Maximum Length:
18
Revision of the item. -
SecondaryAdjustmentQuantity: number
Read Only:
true
Adjustment quantity that's required to make the secondary system quantity equal the secondary count quantity. -
SecondaryCountQuantity: number
Title:
Secondary Count Quantity
Quantity of the current count in the secondary unit of measure that the item uses. -
SecondaryCountUOM: string
Maximum Length:
25
Secondary unit of measure that the current count uses. -
SecondaryCountUOMCode: string
Title:
Secondary UOM
Maximum Length:3
Value that identifies the secondary unit of measure that the current count uses. -
SecondaryDefaultId: string
Maximum Length:
255
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 using the Setup and Maintenance work area, and the Manage Standard Lookups task. The default value is Fixed. -
SecondarySuggestedQuantity: number
Read Only:
true
Secondary system quantity that existed during the current count. -
SerialMarkedAsCounted: number
Read Only:
true
Value that specifies the number of serials marks as counted for the multiple per request cycle count sequence. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Serial number to count. -
SerialRequiredCount: number
Value that specifies the number of serial numbers remaining to mark as counted or extra serials marked as count.
-
SerialRequiredStatus: string
Maximum Length:
255
Status of the serial number required for the multiple per request cycle count sequence. -
SerialRequiredStatusMeaning: string
Maximum Length:
255
Lookup meaning of the cycle count sequence serial number required status for multiple per request. -
serials: array
Serials
Title:
Serials
The Serials resource manages details for the serials of cycle count sequences. -
Subinventory: string
Maximum Length:
10
Name of the subinventory. -
TaskName: string
Read Only:
true
Maximum Length:240
Name of the task within a zone. -
TrackingQuantityId: string
Maximum Length:
255
Value that uniquely identifies the unit of measure that tracks the item in inventory. -
ZoneId: integer
(int64)
Read Only:
true
Indicates the zone scope of a task. -
ZoneName: string
Read Only:
true
Maximum Length:30
Name of the inventory zone. -
ZoneTaskId: integer
(int64)
Value that uniquely identifies the task within a zone.
array
Flexfields for Cycle Count Sequence Details
array
History
array
Flexfields for Tracking Attributes
array
Links
array
Serials
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for cycle count sequence details. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Context Value -
CycleCountEntryId: integer
(int64)
Value that uniquely identifies the cycle count sequence.
-
CycleCountHeaderId: integer
(int64)
Title:
Count Name
Value that uniquely identifies the cycle count. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
array
Links
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.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
Comments: string
Read Only:
true
Maximum Length:240
Comments that describe the current count. -
CountDate: string
(date-time)
Read Only:
true
Date when the warehouse counted this sequence. -
CountedBy: string
Read Only:
true
Maximum Length:255
Name of the employee who performed the current count. -
CountedByEmployeeId: integer
(int64)
Read Only:
true
Value that uniquely identifies the employee who performed the current count. -
CountQuantity: number
Read Only:
true
Count quantity for the count sequence. -
CountUOM: string
Read Only:
true
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. -
CycleCountEntryId: integer
(int64)
Read Only:
true
Value that uniquely identifies the cycle count sequence. -
EntryHistoryId: integer
(int64)
Read Only:
true
Value that uniquely identifies the cycle count history sequence. -
historySerials: array
History Serials
Title:
History Serials
The History Serials resource manages details for the history serials of cycle count sequences. -
ItemUnitCost: number
Read Only:
true
Unit cost of the item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PrimarySuggestedQuantity: number
Read Only:
true
System quantity that existed during the current count. -
PrimaryUOMQuantity: number
Read Only:
true
Quantity of the current count in the primary unit of measure that the item uses. -
Reason: string
Read Only:
true
Maximum Length:255
Reason for the adjustment transaction. -
ReasonId: integer
(int64)
Read Only:
true
Value that uniquely identifies the reason. -
ReviewDate: string
(date-time)
Read Only:
true
Date when the employee approved the adjustment. -
ReviewedBy: string
Read Only:
true
Maximum Length:255
Name of the employee who approved the adjustment. -
ReviewedByEmployeeId: integer
Read Only:
true
Value that uniquely identifies the employee who approved the adjustment. -
SecondaryCountUOM: string
Read Only:
true
Maximum Length:255
Secondary unit of measure that the current count uses. -
SecondaryCountUOMCode: string
Read Only:
true
Maximum Length:3
Value that identifies the secondary unit of measure that the current count uses. -
SecondarySuggestedQuantity: number
Read Only:
true
Secondary system quantity that existed during the current count. -
SecondaryUOMQuantity: number
Read Only:
true
Quantity of the current count in the secondary unit of measure that the item uses.
array
History Serials
array
Links
object
-
CycleCountEntryId: integer
(int64)
Read Only:
true
Value that uniquely identifies the cycle count sequence. -
EntryHistoryId: integer
(int64)
Read Only:
true
Value that uniquely identifies the cycle count history sequence. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RecordedInCountFlag: boolean
Read Only:
true
Contains one of the following values: true or false. If true, then the serial is counted in the current count sequence. If false, then the serial isn't counted in the current count sequence. This attribute doesn't have a default value. -
RecordedInSystemFlag: boolean
Read Only:
true
Contains one of the following values: true or false. If true, then the serial is present in the application. If false, then the serial isn't present in the application. This attribute doesn't have a default value. -
SerialNumber: string
Read Only:
true
Maximum Length:80
Serial number to count.
array
Links
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:40
Descriptive flexfield context name for tracking attributes. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Descriptive flexfield context display value for tracking attributes. -
countryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt-in. -
countryOfOriginCode_Display: string
Title:
Country of Origin
Name of the country of origin. This attribute is associated with a feature that requires opt-in. -
CycleCountEntryId: integer
(int64)
Value that uniquely identifies the cycle count sequence.
-
CycleCountHeaderId: integer
(int64)
Title:
Count Name
Value that uniquely identifies the cycle count. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
projectId: integer
(int64)
Title:
Project
Value that uniquely identifies the project. This attribute is associated with a feature that requires opt-in. -
projectId_Display: string
Title:
Project
Number that identifies the project. This attribute is associated with a feature that requires opt-in. -
taskId: integer
(int64)
Title:
Task
Value that uniquely identifies the task. This attribute is associated with a feature that requires opt-in. -
taskId_Display: string
Title:
Task
Number that identifies the task. This attribute is associated with a feature that requires opt-in.
array
Links
object
-
CcSerialNumberId: integer
Value that uniquely identifies the serial number.
-
CycleCountEntryId: integer
(int64)
Value that uniquely identifies the cycle count serial entry.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RecordedInCountFlag: boolean
Contains one of the following values: true or false. If true, then the serial is counted in the current count sequence. If false, then the serial isn't counted in the current count sequence. This attribute doesn't have a default value.
-
RecordedInSystemFlag: boolean
Read Only:
true
Contains one of the following values: true or false. If true, then the serial is present in the application. If false, then the serial isn't present in the application. This attribute doesn't have a default value. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Serial number to count.
array
Links
- DFF
-
Parameters:
- cycleCountSequenceDetailsUniqID:
$request.path.cycleCountSequenceDetailsUniqID
The Flexfields for Cycle Count Sequence Details manages details of the descriptive flexfields that reference the cycle count sequence. - cycleCountSequenceDetailsUniqID:
- history
-
Parameters:
- cycleCountSequenceDetailsUniqID:
$request.path.cycleCountSequenceDetailsUniqID
The History resource manages details for the history of cycle count sequences. - cycleCountSequenceDetailsUniqID:
- inventoryAttributesDFF
-
Parameters:
- cycleCountSequenceDetailsUniqID:
$request.path.cycleCountSequenceDetailsUniqID
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the cycle count sequence. - cycleCountSequenceDetailsUniqID:
- serials
-
Parameters:
- cycleCountSequenceDetailsUniqID:
$request.path.cycleCountSequenceDetailsUniqID
The Serials resource manages details for the serials of cycle count sequences. - cycleCountSequenceDetailsUniqID:
Examples
This example describes how to update a sequence.
Note:
A cycle count sequence can be updated only when the count sequence is open. When the count sequence is approved or Rejected, the sequence is no more updatable. Also based on the current status of the sequence, specific attributes are updatable and some attributes are no updatable
For a cycle count having count type as zero-count, adjustments cannot be made against a generated zero count sequence. You must close the generated count sequence by setting the count quantity to zero and create a manual count sequence for the desired SKU to make the cycle count adjustment.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/cycleCountSequenceDetailsUniqID"
For example:
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/00030000000EACED00057708000110F082D4FD870000000EACED00057708000110F082D14FF80000000EACED0005770800000000000000CF
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "CycleCountName": "RESTT2", "OrganizationCode": "M1", "ItemNumber" : "RCV-102", "Subinventory" : "Engineer", "CountQuantity" : 2, "CountUOMCode" : "BX5", "Comments" : "Test Post Multiple Serial" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "CycleCountEntryId" : 300100149902731, "CycleCountHeaderId" : 300100149661688, "CycleCountName" : "RESTT2", "OrganizationId" : 207, "OrganizationCode" : "M1", "OrganizationName" : "Tall Manufacturing", "CountTypeCode" : "2", "CountType" : "Manually recorded", "InventoryItemId" : 663909, "ItemNumber" : "RCV-102", "ItemDescription" : "Serial @ Receipt Item", "Subinventory" : "Engineer", "LocatorId" : null, "Locator" : null, "LotNumber" : null, "SerialNumber" : null, "Revision" : null, "CountSequence" : 300100149902730, "CountQuantity" : 2, "CountUOMCode" : "BX5", "CountUOM" : "Each", "SecondaryCountQuantity" : null, "SecondaryCountUOMCode" : null, "SecondaryCountUOM" : null, "OwningType" : "2", "OwningEntityId" : 207, "OwningPartySite" : null, "OwningParty" : null, "Reason" : null, "Comments" : "Test Post Multiple Serial", "CountedByEmployeeId" : 300100036644754, "CountedBy" : "Smith, Sam", "CountDate" : "2018-09-17", "ReviewedByEmployeeId" : null, "ReviewedBy" : null, "ReviewDate" : null, "CountSequenceStatusCode" : "1", "CountSequenceStatus" : "Pending count", "ExportCode" : null, "Exported" : "No", "ReasonId" : null, "OwningTypeCode" : "Inventory organization", "ManualCountPrefix" : null, "PrimarySuggestedQuantity" : 0, "PrimaryAdjustmentQuantity" : 2, "SecondarySuggestedQuantity" : null, "SecondaryAdjustmentQuantity" : null, "AdjustmentValue" : null, "AdjustmentDate" : null, "Recounts" : null, "ItemUnitCost" : null, "DeviationPercentage" : 200, "ProcessingFlag" : null, "ProcurementBU" : null, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/00030000000EACED00057708000110F082D4FD8B0000000EACED00057708000110F082D14FF80000000EACED0005770800000000000000CF", "name" : "cycleCountSequenceDetails", "kind" : "item", "properties" : { "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278" } }, { "rel" : "canonical", "href" : "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/00030000000EACED00057708000110F082D4FD8B0000000EACED00057708000110F082D14FF80000000EACED0005770800000000000000CF", "name" : "cycleCountSequenceDetails", "kind" : "item" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/00030000000EACED00057708000110F082D4FD8B0000000EACED00057708000110F082D14FF80000000EACED0005770800000000000000CF/child/history", "name" : "history", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/00030000000EACED00057708000110F082D4FD8B0000000EACED00057708000110F082D14FF80000000EACED0005770800000000000000CF/child/DFF", "name" : "DFF", "kind" : "collection" }, { "rel" : "child", "href" : "https://servername/fscmRestApi/resources/version/cycleCountSequenceDetails/00030000000EACED00057708000110F082D4FD8B0000000EACED00057708000110F082D14FF80000000EACED0005770800000000000000CF/child/serials", "name" : "serials", "kind" : "collection" } ] }