1. Home
  2. Docs
  3. Documentazione
  4. Rest Api
  5. Prelevare i dati di un lotto

Prelevare i dati di un lotto

ENDPOINT:

GET /v1/lots/131e621d-b70f-4063-895a-3bd554154acf

RESPONSE Example:

Response Code 200
Response Body:
{
	uuid: "131e621d-b70f-4063-895a-3bd554154acf", 
	organizationId: "60f3db6e-d253-4394-8b01-d03c1db6db8e"
	lotNumber: "123"
	events: [{
		uuid: "66bca345-97a0-43e0-bec9-35d6ca249de9", 
		organizationId: "60f3db6e-d253-4394-8b01-d03c1db6db8e"
		name: "Evento 1"
		eventTime: "2019-08-24T14:15:22Z"
		bizStep: "none",
		type: "commission"
		inputs: [{
			"gtin": "3017620422003",
			"lotNumber": "210112"
			"quantity": "10",
			"uom": "kg"
		}]
		outputs: [],
		location: "GLN123"
		sourceLocations: "none"
		destinationLocations: "none"
	}...]
}

RESPONSE

Response Code 200

Response Code:
{
	uuid: "131e621d-b70f-4063-895a-3bd554154acf"
}