Storage Units

Attributes

  • id string

    Unique identifier for the object.

  • name string

  • type integer

    1 is a rack mount, 5 is a VLM.

Endpoints

List Storage Units

get /api/storage_units

Get the list of storage units from the PPG database and return a JSON response.

Arguments

  • name string

  • type integer

  • id uuid

  • depthSteps Integer

  • description String

  • grossDepth Integer

  • grossWidth Integer

  • isManualSequenceNumbers Integer

  • maxWeight Integer

  • netDepth Integer

  • netWidth Integer

  • widthSteps Integer

  • warehouseId uuid

Request with curl
curl "http://[Your IP] /api/storage_units" \ -X get \-H "Content-Type: application/json" \-H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{"storage units": [{ "id": " string ", "name": " string ", "type": " integer ", }]}]}

Show Storage Unit

get /api/storage_unit/[id]

Get info from a specific storage unit from the PPG database and return a JSON response.

Arguments

  • name string

  • type integer

  • id uuid

  • depthSteps Integer

  • description String

  • grossDepth Integer

  • grossWidth Integer

  • isManualSequenceNumbers Integer

  • maxWeight Integer

  • netDepth Integer

  • netWidth Integer

  • widthSteps Integer

  • warehouseId uuid

Request with curl
curl "http://[Your IP] /api/storage_unit/[id]" \ -X get \-H "Content-Type: application/json" \-H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{"storage_unit": { "id": " string " , "name": " string " , "type": integer , } }