Get all definitions

get

/fscmRestApi/resources/11.13.18.05/cycleCountDefinitions

Request

Query Parameters
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Finds count definitions according to the cycle count identifier.
      Finder Variables:
      • CycleCountHeaderId; integer; Value that uniquely identifies the cycle count.
    • filterByOpenCounts: Finds the cycle count definitions that have open count sequences.
      Finder Variables:
      • findByItem: Finds cycle count definitions according to the item number or item description.
        Finder Variables:
        • ItemDescription; string; Description of the item.
        • ItemNumber; string; Number that identifies the item.
      • findByOrganizationAndCountName: Finds cycle count definitions according to the organization code or cycle count name.
        Finder Variables:
        • bindCycleCountName; string; Name of the cycle count.
        • bindOrganizationCode; string; Value that identifies the organization.
      • findBySubinventory: Finds cycle count definitions according to the subinventory identifier.
        Finder Variables:
        • Subinventory; string; Value that uniquely identifies the subinventory.
    • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
    • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

      Example:
      self,canonical
    • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
    • The resource item payload will be filtered in order to contain only data (no links section, for example).
    • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
    • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

      Format: ?q=expression1;expression2

      You can use these queryable attributes to filter this collection resource using the q query parameter:
      • AbcAssigmentGroup; string; Name of the ABC group that the warehouse uses to initialize the item classification in the cycle count.
      • AbcAssignmentGroupId; integer; Value that uniquely identifies the ABC group that the warehouse uses to initialize the item classification.
      • ApprovalRequired; string; Value that determines whether or not the warehouse requires approval. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • ApprovalRequiredCode; integer; Value that indicates whether or not the warehouse requires approval.
      • ApprovalType; string; Type of approval that the warehouse requires for an adjustment transaction. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ.
      • ApprovalTypeCode; string; Value that determines the type of approval that the warehouse requires for adjustment transactions. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ.
      • AutomaticallySchedule; string; Value that determines whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • AutomaticallyScheduleCode; integer; Value that indicates whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • CategorySynchronizationMode; string; Mode of item category synchronization. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
      • CountByCategoryFlag; boolean; Contains one of the following values: true or false. If true, then enable the cycle count by item category. If false, then do not enable the cycle count by item category. The default value is false.
      • CountZeroQuantity; string; Value that determines whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • CountZeroQuantityCode; integer; Value that indicates whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • CycleCountHeaderId; integer; Value that uniquely identifies the cycle count definition.
      • CycleCountName; string; Name of the cycle count.
      • Description; string; Description of the cycle count.
      • DisplaySuggestedQuantity; string; Value that determines whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • DisplaySuggestedQuantityCode; integer; Value that indicates whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • EndDate; string; Date when this cycle count becomes inactive.
      • Frequency; string; Value that determines the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME.
      • FrequencyCode; string; Value that indicates the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME.
      • LastScheduledDate; string; Date when the last cycle count was scheduled to run by the warehouse.
      • ManualCountSequencePrefix; string; Prefix for a manual count sequence.
      • ManualCountsAllowed; string; Value that determines whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • ManualCountsAllowedCode; integer; Value that indicates whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • MaximumDaysBeforeLate; integer; Number of days after creation before the warehouse considers a scheduled count as late.
      • MaximumRecounts; integer; Maximum number of recounts that the warehouse uses on a cycle count.
      • NegativeAdjustmentTolerance; number; Negative currency tolerance. If the currency falls below this tolerance, then the warehouse requires approval for the adjustment transaction.
      • NegativeHitMissPercentage; number; Negative percent tolerance that the warehouse uses for hit or miss analysis.
      • NegativeTolerancePercentage; number; Negative percent tolerance. If the adjustment falls below this tolerance, then the warehouse requires approval for the adjustment transaction.
      • NextScheduledDate; string; Date when the next cycle count is scheduled to run by the warehouse.
      • OrganizationCode; string; Value that identifies the inventory organization.
      • OrganizationId; integer; Value that uniquely identifies the inventory organization.
      • OrganizationName; string; Name of the inventory organization.
      • PositiveAdjustmentTolerance; number; Positive currency tolerance. If the currency exceeds this tolerance, then the warehouse requires approval for the adjustment transaction.
      • PositiveHitMissPercentage; number; Positive percent tolerance that the warehouse uses for hit or miss analysis.
      • PositiveTolerancePercentage; number; Positive percent tolerance. If the adjustment exceeds this tolerance, then the warehouse requires approval for the adjustment transaction.
      • RecordCountSerials; string; Value that determines the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • RecordCountSerialsCode; integer; Value that indicates the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • SerialCountOption; string; Value that determines whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS.
      • SerialCountOptionCode; string; Value that indicates whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS.
      • SerialDiscrepancyAllowed; string; Value that determines whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • SerialDiscrepancyCode; integer; Value that indicates whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • SerialNumberAdjustment; string; Value that determines whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS.
      • SerialNumberAdjustmentCode; string; Value that indicates whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS.
      • SerializedItemsAllowed; string; Value that determines whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • SerializedItemsAllowedCode; integer; Value that indicates whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
      • StartDate; string; Date when this cycle count becomes active.
      • StartingCountSequence; integer; Starting number that the warehouse uses for the count sequence for the next scheduling run of the cycle count.
      • SynchronizationMode; string; Value that determines the ABC synchronization mode. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
      • WorkdaySchedule; string; Workday schedule that the count references.
      • WorkdayScheduleCode; integer; Value that identifies the workday schedule that the cycle count references.
    • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
    Header Parameters
    • 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".
    • 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.

    There's no request body for this operation.

    Back to Top

    Response

    Supported Media Types

    Default Response

    The following table describes the default response for this task.
    Headers
    • 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".
    • 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.
    Body ()
    Root Schema : cycleCountDefinitions
    Type: object
    Show Source
    Nested Schema : Items
    Type: array
    Title: Items
    The items in the collection.
    Show Source
    Nested Schema : cycleCountDefinitions-item-response
    Type: object
    Show Source
    • Maximum Length: 40
      Name of the ABC group that the warehouse uses to initialize the item classification in the cycle count.
    • Title: ABC Assignment Group
      Value that uniquely identifies the ABC group that the warehouse uses to initialize the item classification.
    • Maximum Length: 80
      Value that determines whether or not the warehouse requires approval. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Approval required
      Value that indicates whether or not the warehouse requires approval.
    • Maximum Length: 80
      Type of approval that the warehouse requires for an adjustment transaction. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ.
    • Title: Approval Type
      Maximum Length: 30
      Value that determines the type of approval that the warehouse requires for adjustment transactions. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ.
    • Maximum Length: 80
      Value that determines whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Automatically schedule
      Value that indicates whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Mode of item category synchronization. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
    • Abbreviation that identifies the item category synchronization mode. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
    • Contains one of the following values: true or false. If true, then enable the cycle count by item category. If false, then do not enable the cycle count by item category. The default value is false.
    • Categories
      Title: Categories
      The Categories resource manages the item categories that the warehouse can use in the cycle count.
    • Category Items
      Title: Category Items
      The Category Items resource manages the category items that the warehouse can use in the cycle count.
    • Classes
      Title: Classes
      The Classes resource manages the count classes that the warehouse can use in the cycle count.
    • Items
      Title: Items
      The Items resource manages the items that the warehouse can use in the cycle count.
    • Subinventories
      Title: Subinventories
      The Subinventories resource manages the subinventories that the warehouse can use with the cycle count.
    • Maximum Length: 80
      Value that determines whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Count Zero Quantity
      Value that indicates whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Value that uniquely identifies the cycle count definition.
    • Title: Count Name
      Maximum Length: 30
      Name of the cycle count.
    • Contains one of the following values: true or false. If true, then delete the additional items during item category synchronization. If false, then do not delete the additional items during item category synchronization. This attribute does not have a default value.
    • Contains one of the following values: true or false. If true, then delete the additional items during ABC synchronization. If false, then do not delete the additional items during ABC synchronization. This attribute does not have a default value.
    • Title: Description
      Maximum Length: 240
      Description of the cycle count.
    • Flexfields for Cycle Count Definitions
      Title: Flexfields for Cycle Count Definitions
      The Flexfields for Cycle Count Definitions resource manages the details about cycle counts.
    • Maximum Length: 80
      Value that determines whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Display suggested quantity
      Value that indicates whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: End Date
      Date when this cycle count becomes inactive.
    • Maximum Length: 80
      Value that determines the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME.
    • Title: Frequency
      Maximum Length: 30
      Value that indicates the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME.
    • Title: Last Scheduled Date
      Date when the last cycle count was scheduled to run by the warehouse.
    • Links
    • Maximum Length: 80
      Value that determines whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Value that indicates whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Manual Count Sequence Prefix
      Maximum Length: 3
      Prefix for a manual count sequence.
    • Title: Maximum Days Before Late
      Number of days after creation before the warehouse considers a scheduled count as late.
    • Title: Maximum Recounts
      Maximum number of recounts that the warehouse uses on a cycle count.
    • Title: Negative Adjustment Value Tolerance
      Negative currency tolerance. If the currency falls below this tolerance, then the warehouse requires approval for the adjustment transaction.
    • Title: Negative Hit and Miss Percentage
      Negative percent tolerance that the warehouse uses for hit or miss analysis.
    • Title: Negative Quantity Tolerance Percentage
      Negative percent tolerance. If the adjustment falls below this tolerance, then the warehouse requires approval for the adjustment transaction.
    • Title: Next Scheduled Date
      Date when the next cycle count is scheduled to run by the warehouse.
    • Maximum Length: 18
      Value that identifies the inventory organization.
    • Value that uniquely identifies the inventory organization.
    • Maximum Length: 240
      Name of the inventory organization.
    • Title: Positive Adjustment Value Tolerance
      Positive currency tolerance. If the currency exceeds this tolerance, then the warehouse requires approval for the adjustment transaction.
    • Positive percent tolerance that the warehouse uses for hit or miss analysis.
    • Title: Positive Quantity Tolerance Percentage
      Positive percent tolerance. If the adjustment exceeds this tolerance, then the warehouse requires approval for the adjustment transaction.
    • Maximum Length: 80
      Value that determines the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Record count serials
      Value that indicates the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Maximum Length: 80
      Value that determines whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS.
    • Title: Serial Numbers per Count
      Maximum Length: 30
      Default Value: 2
      Value that indicates whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS.
    • Maximum Length: 80
      Value that determines whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Title: Serial discrepancy allowed
      Value that indicates whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Maximum Length: 80
      Value that determines whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Value that indicates whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Maximum Length: 80
      Value that determines whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS.
    • Title: Serial Number Adjustment
      Maximum Length: 30
      Value that indicates whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS.
    • Title: Start Date
      Date when this cycle count becomes active.
    • Title: Starting Count Sequence
      Starting number that the warehouse uses for the count sequence for the next scheduling run of the cycle count.
    • Value that determines the ABC synchronization mode. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
    • Name of the ABC group that the warehouse uses to initialize the item classification in the cycle count.
    • Contains one of the following values: true or false. If true, then synchronize the ABC classes and items during ABC synchronization. If false, then do not synchronize the ABC classes and items during ABC synchronization. This attribute does not have a default value.
    • Contains one of the following values: true or false. If true, then synchronize the count category items during item category synchronization. If false, then do not synchronize the count category items during item category synchronization. This attribute does not have a default value.
    • Maximum Length: 240
      Workday schedule that the count references.
    • Title: Workday Schedule
      Value that identifies the workday schedule that the cycle count references.
    Nested Schema : Categories
    Type: array
    Title: Categories
    The Categories resource manages the item categories that the warehouse can use in the cycle count.
    Show Source
    Nested Schema : Category Items
    Type: array
    Title: Category Items
    The Category Items resource manages the category items that the warehouse can use in the cycle count.
    Show Source
    Nested Schema : Classes
    Type: array
    Title: Classes
    The Classes resource manages the count classes that the warehouse can use in the cycle count.
    Show Source
    Nested Schema : Items
    Type: array
    Title: Items
    The Items resource manages the items that the warehouse can use in the cycle count.
    Show Source
    Nested Schema : Subinventories
    Type: array
    Title: Subinventories
    The Subinventories resource manages the subinventories that the warehouse can use with the cycle count.
    Show Source
    Nested Schema : Flexfields for Cycle Count Definitions
    Type: array
    Title: Flexfields for Cycle Count Definitions
    The Flexfields for Cycle Count Definitions resource manages the details about cycle counts.
    Show Source
    Nested Schema : cycleCountDefinitions-countCategories-item-response
    Type: object
    Show Source
    Nested Schema : cycleCountDefinitions-countCategoryItems-item-response
    Type: object
    Show Source
    Nested Schema : cycleCountDefinitions-countClasses-item-response
    Type: object
    Show Source
    Nested Schema : cycleCountDefinitions-countItems-item-response
    Type: object
    Show Source
    Nested Schema : cycleCountDefinitions-countSubinventories-item-response
    Type: object
    Show Source
    • Maximum Length: 255
      Value that determines whether or not to include the subinventory when counting. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Value that indicates whether or not to include the subinventory when counting. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
    • Links
    • Maximum Length: 10
      Name of the subinventory that the warehouse includes in this count definition.
    Nested Schema : cycleCountDefinitions-DFF-item-response
    Type: object
    Show Source
    Back to Top

    Examples

    This example describes how to get all definitions.

    Example cURL Command

    Use the following cURL command to submit a request on the REST resource:

    curl -u username:password "https://servername/fscmRestApi/resources/version/cycleCountDefinitions"

    Example 1 Request

    Use the following command to get all cycle counts including subinventories.

    curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?onlyData=true&expand=countSubinventories"
    

    Example 1 Response Body

    The following shows an example of the response body in JSON format.

    {
    	"items": [
    	{
    		"CycleCountHeaderId": 300100154508149,
    		"CycleCountName": "NDSCCLE01.1",
    		"Description": "NDSCCLE01.1",
    		"OrganizationId": 209,
    		"OrganizationCode": "M2",
    		"OrganizationName": "Tall  Manufacturing",
    		"AbcAssignmentGroupId": null,
    		"AbcAssigmentGroup": null,
    		"SynchronizationModeCode": null,
    		"SynchronizationMode": null,
    		"SynchronizeAbcAssociationFlag": null,
    		"DeleteAdditionalItemsFlag": null,
    		"AutomaticallyScheduleCode": 2,
    		"AutomaticallySchedule": "No",
    		"FrequencyCode": null,
    		"Frequency": null,
    		"WorkdayScheduleCode": 100000016383001,
    		"WorkdaySchedule": "APS Calendar",
    		"LastScheduledDate": null,
    		"NextScheduledDate": null,
    		"ApprovalRequiredCode": 2,
    		"ApprovalRequired": "No",
    		"ApprovalTypeCode": null,
    		"ApprovalType": null,
    		"PositiveTolerancePercentage": null,
    		"NegativeTolerancePercentage": null,
    		"PositiveAdjustmentTolerance": null,
    		"NegativeAdjustmentTolerance": null,
    		"StartingCountSequence": 1,
    		"MaximumDaysBeforeLate": 5,
    		"MaximumRecounts": null,
    		"StartDate": "2018-09-06",
    		"EndDate": null,
    		"ManualCountsAllowedCode": 2,
    		"ManualCountsAllowed": "No",
    		"ManualCountSequencePrefix": null,
    		"CountZeroQuantityCode": 2,
    		"CountZeroQuantity": "No",
    		"DisplaySuggestedQuantityCode": 2,
    		"DisplaySuggestedQuantity": "No",
    		"SerializedItemsAllowedCode": 1,
    		"SerializedItemsAllowed": "Yes",
    		"SerialCountOptionCode": "2",
    		"SerialCountOption": "One",
    		"SerialNumberAdjustmentCode": "1",
    		"SerialNumberAdjustment": "Adjust if possible",
    		"RecordCountSerialsCode": null,
    		"RecordCountSerials": "No",
    		"SerialDiscrepancyCode": 2,
    		"SerialDiscrepancyAllowed": "No",
    		"PositiveHitMissPercentage": null,
    		"NegativeHitMissPercentage": null,
    		"countSubinventories": [
    		{
    			"Subinventory": "ABCSUB01",
    			"IncludeInCountCode": 1,
    			"IncludeInCount": "Yes"
    		}
    		]
    	},
    	{
    		"CycleCountHeaderId": 100000012481018,
    		"CycleCountName": "Initial",
    		"Description": "Initial",
    		"OrganizationId": 209,
    		"OrganizationCode": "M2",
    		"OrganizationName": "Tall  Manufacturing",
    		"AbcAssignmentGroupId": null,
    		"AbcAssigmentGroup": null,
    		"SynchronizationModeCode": null,
    		"SynchronizationMode": null,
    		"SynchronizeAbcAssociationFlag": null,
    		"DeleteAdditionalItemsFlag": null,
    		"AutomaticallyScheduleCode": 2,
    		"AutomaticallySchedule": "No",
    		"FrequencyCode": null,
    		"Frequency": null,
    		"WorkdayScheduleCode": 999990013075494,
    		"WorkdaySchedule": "1 year Schedule 4-4-5 Time",
    		"LastScheduledDate": null,
    		"NextScheduledDate": null,
    		"ApprovalRequiredCode": 2,
    		"ApprovalRequired": "No",
    		"ApprovalTypeCode": null,
    		"ApprovalType": null,
    		"PositiveTolerancePercentage": null,
    		"NegativeTolerancePercentage": null,
    		"PositiveAdjustmentTolerance": null,
    		"NegativeAdjustmentTolerance": null,
    		"StartingCountSequence": 2,
    		"MaximumDaysBeforeLate": 100,
    		"MaximumRecounts": null,
    		"StartDate": "2009-10-06",
    		"EndDate": null,
    		"ManualCountsAllowedCode": 1,
    		"ManualCountsAllowed": "Yes",
    		"ManualCountSequencePrefix": null,
    		"CountZeroQuantityCode": 2,
    		"CountZeroQuantity": "No",
    		"DisplaySuggestedQuantityCode": 1,
    		"DisplaySuggestedQuantity": "Yes",
    		"SerializedItemsAllowedCode": 2,
    		"SerializedItemsAllowed": "No",
    		"SerialCountOptionCode": null,
    		"SerialCountOption": "One",
    		"SerialNumberAdjustmentCode": null,
    		"SerialNumberAdjustment": "Adjust if possible",
    		"RecordCountSerialsCode": null,
    		"RecordCountSerials": "No",
    		"SerialDiscrepancyCode": null,
    		"SerialDiscrepancyAllowed": "No",
    		"PositiveHitMissPercentage": 10,
    		"NegativeHitMissPercentage": 10,
    		"countSubinventories": [
    		{
    			"Subinventory": "Stores",
    			"IncludeInCountCode": 1,
    			"IncludeInCount": "Yes"
    		}
    		]
    	},
    	{
    		"CycleCountHeaderId": 100000012481026,
    		"CycleCountName": "zBIACC13a",
    		"Description": "zBIA Cycle Count 13a",
    		"OrganizationId": 209,
    		"OrganizationCode": "M2",
    		"OrganizationName": "Tall  Manufacturing",
    		"AbcAssignmentGroupId": null,
    		"AbcAssigmentGroup": null,
    		"SynchronizationModeCode": null,
    		"SynchronizationMode": null,
    		"SynchronizeAbcAssociationFlag": null,
    		"DeleteAdditionalItemsFlag": null,
    		"AutomaticallyScheduleCode": 2,
    		"AutomaticallySchedule": "No",
    		"FrequencyCode": null,
    		"Frequency": null,
    		"WorkdayScheduleCode": 999990013075494,
    		"WorkdaySchedule": "1 year Schedule 4-4-5 Time",
    		"LastScheduledDate": null,
    		"NextScheduledDate": null,
    		"ApprovalRequiredCode": 2,
    		"ApprovalRequired": "No",
    		"ApprovalTypeCode": null,
    		"ApprovalType": null,
    		"PositiveTolerancePercentage": null,
    		"NegativeTolerancePercentage": null,
    		"PositiveAdjustmentTolerance": null,
    		"NegativeAdjustmentTolerance": null,
    		"StartingCountSequence": 701,
    		"MaximumDaysBeforeLate": 100,
    		"MaximumRecounts": null,
    		"StartDate": "2009-10-06",
    		"EndDate": null,
    		"ManualCountsAllowedCode": 1,
    		"ManualCountsAllowed": "Yes",
    		"ManualCountSequencePrefix": null,
    		"CountZeroQuantityCode": 2,
    		"CountZeroQuantity": "No",
    		"DisplaySuggestedQuantityCode": 1,
    		"DisplaySuggestedQuantity": "Yes",
    		"SerializedItemsAllowedCode": 2,
    		"SerializedItemsAllowed": "No",
    		"SerialCountOptionCode": null,
    		"SerialCountOption": "One",
    		"SerialNumberAdjustmentCode": null,
    		"SerialNumberAdjustment": "Adjust if possible",
    		"RecordCountSerialsCode": null,
    		"RecordCountSerials": "No",
    		"SerialDiscrepancyCode": null,
    		"SerialDiscrepancyAllowed": "No",
    		"PositiveHitMissPercentage": 200,
    		"NegativeHitMissPercentage": 200,
    		"countSubinventories": [
    		{
    			"Subinventory": "Stores",
    			"IncludeInCountCode": 1,
    			"IncludeInCount": "Yes"
    		}
    		]
    	},
    	{
    		"CycleCountHeaderId": 100000012481025,
    		"CycleCountName": "zBIACC12a",
    		"Description": "zBIA Cycle Count 12a",
    		"OrganizationId": 209,
    		"OrganizationCode": "M2",
    		"OrganizationName": "Tall  Manufacturing",
    		"AbcAssignmentGroupId": null,
    		"AbcAssigmentGroup": null,
    		"SynchronizationModeCode": null,
    		"SynchronizationMode": null,
    		"SynchronizeAbcAssociationFlag": null,
    		"DeleteAdditionalItemsFlag": null,
    		"AutomaticallyScheduleCode": 2,
    		"AutomaticallySchedule": "No",
    		"FrequencyCode": null,
    		"Frequency": null,
    		"WorkdayScheduleCode": 999990013075494,
    		"WorkdaySchedule": "1 year Schedule 4-4-5 Time",
    		"LastScheduledDate": null,
    		"NextScheduledDate": null,
    		"ApprovalRequiredCode": 2,
    		"ApprovalRequired": "No",
    		"ApprovalTypeCode": null,
    		"ApprovalType": null,
    		"PositiveTolerancePercentage": null,
    		"NegativeTolerancePercentage": null,
    		"PositiveAdjustmentTolerance": null,
    		"NegativeAdjustmentTolerance": null,
    		"StartingCountSequence": 701,
    		"MaximumDaysBeforeLate": 100,
    		"MaximumRecounts": null,
    		"StartDate": "2009-10-06",
    		"EndDate": null,
    		"ManualCountsAllowedCode": 1,
    		"ManualCountsAllowed": "Yes",
    		"ManualCountSequencePrefix": null,
    		"CountZeroQuantityCode": 2,
    		"CountZeroQuantity": "No",
    		"DisplaySuggestedQuantityCode": 1,
    		"DisplaySuggestedQuantity": "Yes",
    		"SerializedItemsAllowedCode": 2,
    		"SerializedItemsAllowed": "No",
    		"SerialCountOptionCode": null,
    		"SerialCountOption": "One",
    		"SerialNumberAdjustmentCode": null,
    		"SerialNumberAdjustment": "Adjust if possible",
    		"RecordCountSerialsCode": null,
    		"RecordCountSerials": "No",
    		"SerialDiscrepancyCode": null,
    		"SerialDiscrepancyAllowed": "No",
    		"PositiveHitMissPercentage": 10,
    		"NegativeHitMissPercentage": 10,
    		"countSubinventories": [
    		{
    			"Subinventory": "Stores",
    			"IncludeInCountCode": 1,
    			"IncludeInCount": "Yes"
    		}
    		]
    	}
    	],
    	"count": 4,
    	"hasMore": false,
    	"limit": 25,
    	"offset": 0,
    	"links": [
    	{
    		"rel": "self",
    		"href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions",
    		"name": "cycleCountDefinitions",
    		"kind": "collection"
    	}
    	]
    }
    
    

    Example 2 Request

    Use the following command to get cycle counts in which a particular subinventory is included in the count.

    curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?onlyData=true&expand=countSubinventories&finder=findBySubinventory;Subinventory=ABCSUB01"
    

    Example 2 Response Body

    The following shows an example of the response body in JSON format.

    {
    	"items": [
    	{
    		"CycleCountHeaderId": 300100154508149,
    		"CycleCountName": "NDSCCLE01.1",
    		"Description": "NDSCCLE01.1",
    		"OrganizationId": 209,
    		"OrganizationCode": "M2",
    		"OrganizationName": "Tall  Manufacturing",
    		"AbcAssignmentGroupId": null,
    		"AbcAssigmentGroup": null,
    		"SynchronizationModeCode": null,
    		"SynchronizationMode": null,
    		"SynchronizeAbcAssociationFlag": null,
    		"DeleteAdditionalItemsFlag": null,
    		"AutomaticallyScheduleCode": 2,
    		"AutomaticallySchedule": "No",
    		"FrequencyCode": null,
    		"Frequency": null,
    		"WorkdayScheduleCode": 100000016383001,
    		"WorkdaySchedule": "APS Calendar",
    		"LastScheduledDate": null,
    		"NextScheduledDate": null,
    		"ApprovalRequiredCode": 2,
    		"ApprovalRequired": "No",
    		"ApprovalTypeCode": null,
    		"ApprovalType": null,
    		"PositiveTolerancePercentage": null,
    		"NegativeTolerancePercentage": null,
    		"PositiveAdjustmentTolerance": null,
    		"NegativeAdjustmentTolerance": null,
    		"StartingCountSequence": 1,
    		"MaximumDaysBeforeLate": 5,
    		"MaximumRecounts": null,
    		"StartDate": "2018-09-06",
    		"EndDate": null,
    		"ManualCountsAllowedCode": 2,
    		"ManualCountsAllowed": "No",
    		"ManualCountSequencePrefix": null,
    		"CountZeroQuantityCode": 2,
    		"CountZeroQuantity": "No",
    		"DisplaySuggestedQuantityCode": 2,
    		"DisplaySuggestedQuantity": "No",
    		"SerializedItemsAllowedCode": 1,
    		"SerializedItemsAllowed": "Yes",
    		"SerialCountOptionCode": "2",
    		"SerialCountOption": "One",
    		"SerialNumberAdjustmentCode": "1",
    		"SerialNumberAdjustment": "Adjust if possible",
    		"RecordCountSerialsCode": null,
    		"RecordCountSerials": "No",
    		"SerialDiscrepancyCode": 2,
    		"SerialDiscrepancyAllowed": "No",
    		"PositiveHitMissPercentage": null,
    		"NegativeHitMissPercentage": null,
    		"countSubinventories": [
    		{
    			"Subinventory": "ABCSUB01",
    			"IncludeInCountCode": 1,
    			"IncludeInCount": "Yes"
    		}
    		]
    	}
    	],
    	"count": 1,
    	"hasMore": false,
    	"limit": 25,
    	"offset": 0,
    	"links": [
    	{
    		"rel": "self",
    		"href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions",
    		"name": "cycleCountDefinitions",
    		"kind": "collection"
    	}
    	]
    }
    

    Example 3 Request

    Use the following command to get a cycle count, for example CC-RRF for the organization code M1.

    curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?q=OrganizationCode=M1;CycleCountName=CC-RRF"
    

    Example 3 Response Body

    The following shows an example of the response body in JSON format.

    {
        "items": [
            {
                "CycleCountHeaderId": 300100002756508,
                "CycleCountName": "CC-RRF",
                "Description": null,
                "OrganizationId": 207,
                "OrganizationCode": "M1",
                "OrganizationName": "Tall Manufacturing",
                "AbcAssignmentGroupId": null,
                "AbcAssigmentGroup": null,
                "SynchronizationModeCode": null,
                "SynchronizationMode": null,
                "SynchronizeAbcAssociationFlag": null,
                "DeleteAdditionalItemsFlag": null,
                "AutomaticallyScheduleCode": 1,
                "AutomaticallySchedule": "Yes",
                "FrequencyCode": "1",
                "Frequency": null,
                "WorkdayScheduleCode": 100000016383004,
                "WorkdaySchedule": "BJ-CC1",
                "LastScheduledDate": "2011-11-29",
                "NextScheduledDate": "2011-11-30",
                "ApprovalRequiredCode": 1,
                "ApprovalRequired": "Yes",
                "ApprovalTypeCode": "2",
                "ApprovalType": "If out of tolerance",
                "PositiveTolerancePercentage": null,
                "NegativeTolerancePercentage": null,
                "PositiveAdjustmentTolerance": null,
                "NegativeAdjustmentTolerance": null,
                "StartingCountSequence": 4,
                "MaximumDaysBeforeLate": 1,
                "MaximumRecounts": null,
                "StartDate": "2011-11-29",
                "EndDate": null,
                "ManualCountsAllowedCode": 1,
                "ManualCountsAllowed": "Yes",
                "ManualCountSequencePrefix": null,
                "CountZeroQuantityCode": 1,
                "CountZeroQuantity": "Yes",
                "DisplaySuggestedQuantityCode": 1,
                "DisplaySuggestedQuantity": "Yes",
                "SerializedItemsAllowedCode": 1,
                "SerializedItemsAllowed": "Yes",
                "SerialCountOptionCode": "1",
                "SerialCountOption": "Multiple",
                "SerialNumberAdjustmentCode": "1",
                "SerialNumberAdjustment": "Adjust if possible",
                "RecordCountSerialsCode": 1,
                "RecordCountSerials": "Yes",
                "SerialDiscrepancyCode": 1,
                "SerialDiscrepancyAllowed": "Yes",
                "PositiveHitMissPercentage": null,
                "NegativeHitMissPercentage": null
            }
        ],
        "count": 1,
        "hasMore": false,
        "limit": 25,
        "offset": 0,
        "links": [
            {
                "rel": "self",
                "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions",
                "name": "cycleCountDefinitions",
                "kind": "collection"
            }
        ]
    }
    
    

    Example 4 Request

    Use the following command to get cycle counts in which a particular item is included in the count.

    curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?onlyData=true&expand=countItems&finder=findByItem;ItemNumber=AS54888"
    

    Example 4 Response Body

    The following shows an example of the response body in JSON format.

    {
        "items": [
            {
                "CycleCountHeaderId": 100000012481018,
                "CycleCountName": "Initial",
                "Description": "Initial",
                "OrganizationId": 209,
                "OrganizationCode": "M2",
                "OrganizationName": "Tall  Manufacturing",
                "AbcAssignmentGroupId": null,
                "AbcAssigmentGroup": null,
                "SynchronizationModeCode": null,
                "SynchronizationMode": null,
                "SynchronizeAbcAssociationFlag": null,
                "DeleteAdditionalItemsFlag": null,
                "AutomaticallyScheduleCode": 2,
                "AutomaticallySchedule": "No",
                "FrequencyCode": null,
                "Frequency": null,
                "WorkdayScheduleCode": 999990013075494,
                "WorkdaySchedule": "1 year Schedule 4-4-5 Time",
                "LastScheduledDate": null,
                "NextScheduledDate": null,
                "ApprovalRequiredCode": 2,
                "ApprovalRequired": "No",
                "ApprovalTypeCode": null,
                "ApprovalType": null,
                "PositiveTolerancePercentage": null,
                "NegativeTolerancePercentage": null,
                "PositiveAdjustmentTolerance": null,
                "NegativeAdjustmentTolerance": null,
                "StartingCountSequence": 2,
                "MaximumDaysBeforeLate": 100,
                "MaximumRecounts": null,
                "StartDate": "2009-10-06",
                "EndDate": null,
                "ManualCountsAllowedCode": 1,
                "ManualCountsAllowed": "Yes",
                "ManualCountSequencePrefix": null,
                "CountZeroQuantityCode": 2,
                "CountZeroQuantity": "No",
                "DisplaySuggestedQuantityCode": 1,
                "DisplaySuggestedQuantity": "Yes",
                "SerializedItemsAllowedCode": 2,
                "SerializedItemsAllowed": "No",
                "SerialCountOptionCode": null,
                "SerialCountOption": "One",
                "SerialNumberAdjustmentCode": null,
                "SerialNumberAdjustment": "Adjust if possible",
                "RecordCountSerialsCode": null,
                "RecordCountSerials": "No",
                "SerialDiscrepancyCode": null,
                "SerialDiscrepancyAllowed": "No",
                "PositiveHitMissPercentage": 10,
                "NegativeHitMissPercentage": 10,
                "countItems": [
                    {
                        "CycleCountItemId": 1472,
                        "InventoryItemId": 149,
                        "ItemNumber": "AS54888",
                        "ItemDescription": "Standard Desktop TPDS",
                        "AbcClassId": 47,
                        "AbcClass": "Class A",
                        "IncludeInScheduleCode": 2,
                        "IncludeInSchedule": "No",
                        "AdjustmentValuePositiveTolerance": null,
                        "AdjustmentValueNegativeTolerance": null,
                        "QuantityVariancePositivePercentage": null,
                        "QuantityVarianceNegativePercentage": null,
                        "LastScheduledDate": null
                    }
                ]
            }
        ],
        "count": 1,
        "hasMore": false,
        "limit": 25,
        "offset": 0,
        "links": [
            {
                "rel": "self",
                "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions",
                "name": "cycleCountDefinitions",
                "kind": "collection"
            }
        ]
    }
    
    
    Back to Top