Storage Rules

Attributes

Endpoints

List Storage Rules

get /api/storage_rules

Arguments

  • description string

  • id uuid

    Unique identifier for the object.

  • isDefaultBin integer

  • maxNumberLocations integer

  • minNumberLocations integer

  • minStockPerBin integer

  • packSize integer

  • packSizeUsageType integer

  • requiredCapacity integer

  • limit integer

    A limit on the number of objects to be returned. Limit can range between 1 and 1000.

    Default value: 250

  • offset integer

    Will return items, but only those after the integer amount.

  • countOnly boolean

    When "true", will only return a count of the amount of items in the query.

    Default value: false

Request with curl
curl "http://[Your IP] /api/storage_rules" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "storage rules": [{ }] }] }

Show Storage Rule

get /api/storage_rule/[id]

Arguments

  • description String

  • id uuid

    Unique identifier for the object.

Request with curl
curl "http://[Your IP] /api/storage_rule/[id]" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "storage rule": { } }