Get all items

get

/fscmRestApi/resources/11.13.18.05/vmiItems

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 Find vendor-managed inventory items according to vendor-managed inventory item identifier.
      Finder Variables
      • VmiItemId; integer; Value that uniquely identifies the vendor-managed inventory item.
  • 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:
    • Buyer; string; Name of the person responsible for placing item resupply orders with suppliers and negotiating supplier contracts.
    • BuyerId; integer; Value that uniquely identifies the buyer.
    • CreatedBy; string; User who created the vendor-managed inventory item.
    • CreationDate; string; Date and time when the user created the vendor-managed inventory item.
    • DeliverToLocationName; string; Name of the deliver-to location. This attribute isn't available to suppliers.
    • DelivertoLocationId; integer; Value that uniquely identifies the location where the item is delivered. This attribute isn't available to suppliers.
    • InTransitQuantity; integer; Aggregated quantity of the shipments for the inventory item.
    • InventoryItemId; integer; Value that uniquely identifies the part, item, product, or service.
    • InventoryPlanningOwner; string; Value that indicates the owner who creates replenishment requests for vendor-managed inventory. Value can be supplier or enterprise.
    • InventoryPlanningOwnerCode; string; Abbreviation that identifies the inventory planning owner for the item.
    • ItemCategory; string; Category that the application assigns to the item from the default planning catalog.
    • ItemDescription; string; Description of the item.
    • ItemNumber; string; Number that identifies the part, item, product, or service.
    • ItemPlanner; string; Name of the person responsible for demand and supply planning. This attribute isn't available to suppliers.
    • LastRefreshDate; string; Date and time when the replenishment data was updated.
    • LastUpdateDate; string; User who most recently updated the vendor-managed inventory item.
    • LastUpdatedBy; string; Date and time when the user most recently updated the vendor-managed inventory item.
    • MaximumQuantity; number; Value that indicates the maximum quantity of the item that can't be exceeded in inventory.
    • MinMaxQuantitySource; string; Value that indicates the source of the minimum and maximum quantities used to manage vendor-managed inventory replenishments. Valid values include Enterprise and Supplier.
    • MinMaxQuantitySourceCode; string; Value that uniquely identifies the source of the minimum and maximum quantities used to manage vendor-managed inventory replenishments. Valid values include ORA_VCS_MIN_MAX_ORIGIN_ENT and ORA_VCS_MIN_MAX_ORIGIN_SUP.
    • MinimumQuantity; number; Value that indicates the minimum quantity of the item that must be maintained in inventory.
    • OnHandQuantity; number; Quantity of the on-hand inventory for the inventory item.
    • OnOrderQuantity; number; Aggregated quantity of the on-order inventory for the inventory item. On order is the summation of quantities for replenishment requests, purchase order, shipment, and receipt.
    • OrganizationCode; string; Abbreviation that identifies the organization that receives the item.
    • OrganizationId; integer; Value that uniquely identifies the organization in the relationship. This organization receives the shipment. It's a primary key that the application generates when it creates an organization.
    • OrganizationName; string; Name of the organization that receives the item.
    • PendingAcknowledgmentQuantity; number; Aggregated quantity of the purchase orders pending acknowledgment for the inventory item.
    • ProcurementBU; string; Name of the business unit. The application assigns the supplier to this business unit.
    • ProcurementBUId; integer; Value that uniquely identifies the business unit that manages and owns the purchasing document.
    • PurchaseOrderQuantity; number; Aggregated quantity of the purchase orders for the inventory item.
    • ReceivedQuantity; integer; Aggregated quantity of the shipments received for the inventory item.
    • ReplenishmentQuantity; number; Aggregated quantity of the replenishment requests for the inventory item.
    • RequiringReplenishment; string; Value that identifies if replenishment is needed. Values include Yes, No, and Missing min-max quantities.
    • RequiringReplenishmentCode; string; Value that uniquely identifies if replenishment is needed. A list of accepted values is defined in the lookup type ORA_VCS_VMI_REQ_REPL.
    • Scope; string; Value that identifies the level at which the replenishment process is managed. Values include Organization and Subinventory.
    • ScopeCode; string; Value that uniquely identifies the level at which the replenishment process is managed. A list of accepted values is defined in the lookup type ORA_VCS_VMI_RELATIONSHIP_SCOPE.
    • ShipToLocationId; integer; Value that uniquely identifies the location where the item is shipped.
    • ShipToLocationName; string; Name of the ship-to location.
    • Status; string; Status of the item. This value is calculated as the sum of on-hand and on-order quantities compared to the minimum and maximum quantities. Value can be Out of Stock, Stock Below Minimum, Stock Above Maximum, or In Stock.
    • StatusCode; string; Value that identifies the state of the replenishment item. A list of accepted values is defined in the lookup type ORA_VCS_VMI_ITEM_STATUS.
    • SubinventoryDescription; string; Description of the subinventory.
    • SubinventoryId; integer; Value that uniquely identifies the subinventory of the organization.
    • SubinventoryName; string; Name of the subinventory.
    • SupplierId; integer; Value that uniquely identifies the supplier who ships the item. It's a primary key that the application generates when it creates the supplier.
    • SupplierItemId; integer; Value that uniquely identifies the supplier number or code for the goods ordered on the order line.
    • SupplierItemName; string; Name of the supplier item.
    • SupplierName; string; Name of the supplier that ships the item.
    • UOMCode; string; Abbreviation that identifies the unit of measure for the item.
    • UnitOfMeasure; string; Unit of measure for the item.
    • VmiItemId; integer; Value that uniquely identifies the vendor-managed inventory item.
  • 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 : vmiItems
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : vmiItems-item-response
Type: object
Show Source
  • Title: Buyer
    Read Only: true
    Maximum Length: 240
    Name of the person responsible for placing item resupply orders with suppliers and negotiating supplier contracts.
  • Read Only: true
    Value that uniquely identifies the buyer.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the vendor-managed inventory item.
  • Title: Creation Date
    Read Only: true
    Date and time when the user created the vendor-managed inventory item.
  • Read Only: true
    Value that uniquely identifies the location where the item is delivered. This attribute isn't available to suppliers.
  • Read Only: true
    Maximum Length: 255
    Name of the deliver-to location. This attribute isn't available to suppliers.
  • Title: In-Transit Shipments
    Read Only: true
    Aggregated quantity of the shipments for the inventory item.
  • Title: Item Number
    Read Only: true
    Value that uniquely identifies the part, item, product, or service.
  • Title: Inventory Planning Owner
    Read Only: true
    Maximum Length: 255
    Value that indicates the owner who creates replenishment requests for vendor-managed inventory. Value can be supplier or enterprise.
  • Read Only: true
    Maximum Length: 255
    Abbreviation that identifies the inventory planning owner for the item.
  • Title: Item Category
    Read Only: true
    Maximum Length: 255
    Category that the application assigns to the item from the default planning catalog.
  • Title: Item Description
    Read Only: true
    Maximum Length: 240
    Description of the item.
  • Title: Item Number
    Read Only: true
    Maximum Length: 300
    Number that identifies the part, item, product, or service.
  • Title: Item Planner
    Read Only: true
    Maximum Length: 10
    Name of the person responsible for demand and supply planning. This attribute isn't available to suppliers.
  • Read Only: true
    Date and time when the replenishment data was updated.
  • Title: Last Updated Date
    Read Only: true
    User who most recently updated the vendor-managed inventory item.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    Date and time when the user most recently updated the vendor-managed inventory item.
  • Links
  • Title: Maximum Quantity
    Value that indicates the maximum quantity of the item that can't be exceeded in inventory.
  • Minimum-Maximum History
    Title: Minimum-Maximum History
    The Minimum-Maximum History resource gets historical minimum and maximum quantities for an item.
  • Title: Minimum Quantity
    Value that indicates the minimum quantity of the item that must be maintained in inventory.
  • Read Only: true
    Maximum Length: 255
    Value that indicates the source of the minimum and maximum quantities used to manage vendor-managed inventory replenishments. Valid values include Enterprise and Supplier.
  • Read Only: true
    Maximum Length: 255
    Value that uniquely identifies the source of the minimum and maximum quantities used to manage vendor-managed inventory replenishments. Valid values include ORA_VCS_MIN_MAX_ORIGIN_ENT and ORA_VCS_MIN_MAX_ORIGIN_SUP.
  • Title: On Hand
    Read Only: true
    Quantity of the on-hand inventory for the inventory item.
  • Title: On-Order Quantity
    Read Only: true
    Aggregated quantity of the on-order inventory for the inventory item. On order is the summation of quantities for replenishment requests, purchase order, shipment, and receipt.
  • Title: Organization
    Read Only: true
    Maximum Length: 18
    Abbreviation that identifies the organization that receives the item.
  • Title: Organization ID
    Read Only: true
    Value that uniquely identifies the organization in the relationship. This organization receives the shipment. It's a primary key that the application generates when it creates an organization.
  • Title: Organization Name
    Read Only: true
    Maximum Length: 240
    Name of the organization that receives the item.
  • Read Only: true
    Aggregated quantity of the purchase orders pending acknowledgment for the inventory item.
  • Title: Procurement BU
    Read Only: true
    Maximum Length: 240
    Name of the business unit. The application assigns the supplier to this business unit.
  • Read Only: true
    Value that uniquely identifies the business unit that manages and owns the purchasing document.
  • Title: Quantity
    Read Only: true
    Aggregated quantity of the purchase orders for the inventory item.
  • Title: Shipments in Receiving
    Read Only: true
    Aggregated quantity of the shipments received for the inventory item.
  • Title: Replenishment Quantity
    Read Only: true
    Aggregated quantity of the replenishment requests for the inventory item.
  • Read Only: true
    Value that identifies if replenishment is needed. Values include Yes, No, and Missing min-max quantities.
  • Read Only: true
    Value that uniquely identifies if replenishment is needed. A list of accepted values is defined in the lookup type ORA_VCS_VMI_REQ_REPL.
  • Read Only: true
    Maximum Length: 255
    Value that identifies the level at which the replenishment process is managed. Values include Organization and Subinventory.
  • Read Only: true
    Value that uniquely identifies the level at which the replenishment process is managed. A list of accepted values is defined in the lookup type ORA_VCS_VMI_RELATIONSHIP_SCOPE.
  • Read Only: true
    Value that uniquely identifies the location where the item is shipped.
  • Read Only: true
    Maximum Length: 255
    Name of the ship-to location.
  • Title: Status
    Read Only: true
    Status of the item. This value is calculated as the sum of on-hand and on-order quantities compared to the minimum and maximum quantities. Value can be Out of Stock, Stock Below Minimum, Stock Above Maximum, or In Stock.
  • Read Only: true
    Value that identifies the state of the replenishment item. A list of accepted values is defined in the lookup type ORA_VCS_VMI_ITEM_STATUS.
  • Title: Subinventory Description
    Read Only: true
    Maximum Length: 50
    Description of the subinventory.
  • Read Only: true
    Value that uniquely identifies the subinventory of the organization.
  • Title: Subinventory
    Read Only: true
    Maximum Length: 10
    Name of the subinventory.
  • Title: Supplier ID
    Read Only: true
    Value that uniquely identifies the supplier who ships the item. It's a primary key that the application generates when it creates the supplier.
  • Read Only: true
    Value that uniquely identifies the supplier number or code for the goods ordered on the order line.
  • Title: Supplier Item
    Read Only: true
    Maximum Length: 255
    Name of the supplier item.
  • Title: Supplier Name
    Read Only: true
    Maximum Length: 360
    Name of the supplier that ships the item.
  • Title: UOM Name
    Read Only: true
    Maximum Length: 25
    Unit of measure for the item.
  • Title: UOM Code
    Read Only: true
    Maximum Length: 3
    Abbreviation that identifies the unit of measure for the item.
  • Read Only: true
    Value that uniquely identifies the vendor-managed inventory item.
Nested Schema : Minimum-Maximum History
Type: array
Title: Minimum-Maximum History
The Minimum-Maximum History resource gets historical minimum and maximum quantities for an item.
Show Source
Nested Schema : vmiItems-minimumMaximumHistory-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the minimum and maximum quantity.
  • Title: Creation Date
    Read Only: true
    Date and time when the user create the minimum and maximum quantity.
  • Links
  • Title: Maximum Quantity
    Read Only: true
    Value that indicates the maximum quantity of the item that can't be exceeded in inventory.
  • Title: Minimum Quantity
    Read Only: true
    Value that indicates the minimum quantity of the item that must be maintained in inventory.
Back to Top

Examples

This example describes how to get all items.

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/vmiItems"

Example Response Body

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

{
    "items": [
        {
            "VmiItemId": 3011,
            "ItemNumber": "SCC-CPU7500U-1",
            "ItemDescription": "CPU 7500",
            "MinMaxQuantitySource": "Supplier",
            "InventoryPlanningOwner": "Supplier",
            "MinimumQuantity": null,
            "MaximumQuantity": null,
            "RequiringReplenishment": "Missing min-max quantities"
			...
        },
        {
            "VmiItemId": 3013,
            "ItemNumber": "SCC-CPU7500U-1",
            "ItemDescription": "CPU 7500",
            "MinMaxQuantitySource": "Supplier",
            "InventoryPlanningOwner": "Supplier",
            "MinimumQuantity": null,
            "MaximumQuantity": null,
            "RequiringReplenishment": "Missing min-max quantities"
			...
        }
    ],
    "count": 2,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/vmiItems",
            "name": "vmiItems",
            "kind": "collection"
        }
    ]
}
Back to Top