Get stock 1 machine
GET {{url}}/api/external/machines/stock/{{clientid}}
Get Machine Stock
This endpoint retrieves the stock information for machines associated with a specific client.
Request
Path Parameters
clientid
(required, integer): The ID of the client for whom the stock information is requested.
Response
MachineId
(integer): The ID of the machine.ProductStock
(array): An array of objects containing stock information for products.ProductId
(integer): The ID of the product.ProductName
(string): The name of the product.ProductSKU
(string): The SKU of the product.MinCount
(integer): The minimum count of the product in stock.MaxCount
(integer): The maximum count of the product in stock.RefillAdviceCount
(integer): The count at which a refill is advised.AvailableCount
(integer): The available count of the product.AvailableCountExReservations
(integer): The available count of the product excluding reservations.AvailableCountExclReservationsInclInactive
(integer): The available count of the product excluding reservations but including inactive products.AvailableCountInclInactive
(integer): The available count of the product including inactive products.ReservedCount
(integer): The count of reserved products.IsRentalProduct
(boolean): Indicates if the product is a rental product.
MotorStock
(array): An array of objects containing stock information for motors.MotorNr
(integer): The number of the motor.ProductId
(integer): The ID of the product associated with the motor.ProductName
(string): The name of the product associated with the motor.ProductSKU
(string): The SKU of the product associated with the motor.ProductSerialNr
(string): The serial number of the product associated with the motor.RefilledOn
(string): The date when the motor was refilled.AvailableCount
(integer): The available count of the motor.MinCount
(integer): The minimum count of the motor in stock.MaxCount
(integer): The maximum count of the motor in stock.RefillAdviceCount
(integer): The count at which a refill is advised for the motor.MotorId
(integer): The ID of the motor.IsRentalProduct
(boolean): Indicates if the motor is a rental product.IsMotorActive
(boolean): Indicates if the motor is active.
RESPONSES
status: OK
{"MachineId":7369,"ProductStock":[{"ProductId":0,"ProductName":null,"ProductSKU":null,"MinCount":0,"MaxCount":2,"RefillAdviceCount":2,"AvailableCount":0,"AvailableCountExReservations":0,"AvailableCountExclReservationsInclInactive":0,"AvailableCountInclInactive":0,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171432,"ProductName":"Peeled asparagus thin | 2 persons","ProductSKU":"ASPERGEA","MinCount":0,"MaxCount":2,"RefillAdviceCount":0,"AvailableCount":2,"AvailableCountExReservations":2,"AvailableCountExclReservationsInclInactive":2,"AvailableCountInclInactive":2,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171433,"ProductName":"Peeled asparagus classic | 2 persons","ProductSKU":"ASPERGEAA","MinCount":0,"MaxCount":4,"RefillAdviceCount":1,"AvailableCount":3,"AvailableCountExReservations":3,"AvailableCountExclReservationsInclInactive":3,"AvailableCountInclInactive":3,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171450,"ProductName":"Moerstraat greenhouse strawberries | 500 grams","ProductSKU":"AARDBEI","MinCount":0,"MaxCount":2,"RefillAdviceCount":2,"AvailableCount":0,"AvailableCountExReservations":0,"AvailableCountExclReservationsInclInactive":0,"AvailableCountInclInactive":0,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171503,"ProductName":"Dutch cauliflower","ProductSKU":"BLOEMKOOL","MinCount":0,"MaxCount":4,"RefillAdviceCount":0,"AvailableCount":4,"AvailableCountExReservations":4,"AvailableCountExclReservationsInclInactive":4,"AvailableCountInclInactive":4,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171541,"ProductName":"Apple/elderberry juice","ProductSKU":"APPEL VLIERBES SAP","MinCount":0,"MaxCount":2,"RefillAdviceCount":0,"AvailableCount":2,"AvailableCountExReservations":2,"AvailableCountExclReservationsInclInactive":2,"AvailableCountInclInactive":2,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171551,"ProductName":"Bananas | 4 pieces","ProductSKU":"BANANAS","MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"AvailableCount":0,"AvailableCountExReservations":0,"AvailableCountExclReservationsInclInactive":0,"AvailableCountInclInactive":0,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171651,"ProductName":"Floury potatoes (Bintje) | 2.5kg","ProductSKU":"AARDAPPEL BINTJE","MinCount":0,"MaxCount":20,"RefillAdviceCount":20,"AvailableCount":0,"AvailableCountExReservations":0,"AvailableCountExclReservationsInclInactive":0,"AvailableCountInclInactive":0,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171691,"ProductName":"Romanesco cauliflower","ProductSKU":"ROMANESCO","MinCount":0,"MaxCount":2,"RefillAdviceCount":0,"AvailableCount":2,"AvailableCountExReservations":2,"AvailableCountExclReservationsInclInactive":2,"AvailableCountInclInactive":2,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","MinCount":0,"MaxCount":8,"RefillAdviceCount":1,"AvailableCount":7,"AvailableCountExReservations":7,"AvailableCountExclReservationsInclInactive":7,"AvailableCountInclInactive":7,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","MinCount":0,"MaxCount":8,"RefillAdviceCount":1,"AvailableCount":7,"AvailableCountExReservations":7,"AvailableCountExclReservationsInclInactive":7,"AvailableCountInclInactive":7,"ReservedCount":0,"IsRentalProduct":false},{"ProductId":172154,"ProductName":"Potatoes 10 kg van pallet","ProductSKU":"potatoed-10kg-pallet","MinCount":0,"MaxCount":20,"RefillAdviceCount":13,"AvailableCount":7,"AvailableCountExReservations":7,"AvailableCountExclReservationsInclInactive":7,"AvailableCountInclInactive":7,"ReservedCount":0,"IsRentalProduct":false}],"MotorStock":[{"MotorNr":600,"ProductId":171433,"ProductName":"Peeled asparagus classic | 2 persons","ProductSKU":"ASPERGEAA","RefilledOn":"2023-03-16T14:20:30","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102923,"IsRentalProduct":false},{"MotorNr":601,"ProductId":171433,"ProductName":"Peeled asparagus classic | 2 persons","ProductSKU":"ASPERGEAA","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102924,"IsRentalProduct":false},{"MotorNr":602,"ProductId":171433,"ProductName":"Peeled asparagus classic | 2 persons","ProductSKU":"ASPERGEAA","RefilledOn":"2023-04-13T17:07:58","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102925,"IsRentalProduct":false},{"MotorNr":603,"ProductId":171433,"ProductName":"Peeled asparagus classic | 2 persons","ProductSKU":"ASPERGEAA","RefilledOn":"2022-12-28T13:44:01","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":102926,"IsRentalProduct":false},{"MotorNr":608,"ProductId":171503,"ProductName":"Dutch cauliflower","ProductSKU":"BLOEMKOOL","RefilledOn":"2023-03-16T14:06:58","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102931,"IsRentalProduct":false},{"MotorNr":609,"ProductId":171503,"ProductName":"Dutch cauliflower","ProductSKU":"BLOEMKOOL","RefilledOn":"2023-01-24T11:47:38","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102932,"IsRentalProduct":false},{"MotorNr":610,"ProductId":171503,"ProductName":"Dutch cauliflower","ProductSKU":"BLOEMKOOL","RefilledOn":"2023-04-11T14:18:27","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102933,"IsRentalProduct":false},{"MotorNr":611,"ProductId":171503,"ProductName":"Dutch cauliflower","ProductSKU":"BLOEMKOOL","RefilledOn":"2023-02-16T11:02:39","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102934,"IsRentalProduct":false},{"MotorNr":612,"ProductId":171691,"ProductName":"Romanesco cauliflower","ProductSKU":"ROMANESCO","RefilledOn":"2023-02-16T11:02:39","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102935,"IsRentalProduct":false},{"MotorNr":613,"ProductId":171691,"ProductName":"Romanesco cauliflower","ProductSKU":"ROMANESCO","RefilledOn":"2023-02-16T11:02:39","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102936,"IsRentalProduct":false},{"MotorNr":616,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102939,"IsRentalProduct":false},{"MotorNr":617,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102940,"IsRentalProduct":false},{"MotorNr":618,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102941,"IsRentalProduct":false},{"MotorNr":619,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102942,"IsRentalProduct":false},{"MotorNr":620,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128415,"IsRentalProduct":false},{"MotorNr":621,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-03-16T14:21:29","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128416,"IsRentalProduct":false},{"MotorNr":622,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-02-16T11:03:16","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":128417,"IsRentalProduct":false},{"MotorNr":623,"ProductId":171786,"ProductName":"Free-boiling potatoes (Bildtstar) | 2.5 kg","ProductSKU":"AARDAPPEL BILDSTAR","RefilledOn":"2023-02-16T11:03:16","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128418,"IsRentalProduct":false},{"MotorNr":624,"ProductId":0,"ProductName":null,"ProductSKU":null,"RefilledOn":"2022-12-16T14:24:26","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":136905,"IsRentalProduct":false},{"MotorNr":626,"ProductId":171541,"ProductName":"Apple/elderberry juice","ProductSKU":"APPEL VLIERBES SAP","RefilledOn":"2023-02-16T11:02:39","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102945,"IsRentalProduct":false},{"MotorNr":627,"ProductId":171541,"ProductName":"Apple/elderberry juice","ProductSKU":"APPEL VLIERBES SAP","RefilledOn":"2023-02-16T11:02:40","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102946,"IsRentalProduct":false},{"MotorNr":632,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2023-02-16T11:02:40","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102949,"IsRentalProduct":false},{"MotorNr":633,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2023-01-24T12:17:46","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128410,"IsRentalProduct":false},{"MotorNr":634,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2023-01-24T12:15:10","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102950,"IsRentalProduct":false},{"MotorNr":635,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2022-12-28T13:44:02","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128411,"IsRentalProduct":false},{"MotorNr":636,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2022-12-08T18:41:22","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":128401,"IsRentalProduct":false},{"MotorNr":637,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2022-12-08T18:41:23","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128412,"IsRentalProduct":false},{"MotorNr":638,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2022-12-08T18:41:23","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128413,"IsRentalProduct":false},{"MotorNr":639,"ProductId":171770,"ProductName":"Pointed pepper (sweet) | 2 pieces","ProductSKU":"PUNTPAPRIKA","RefilledOn":"2023-02-16T11:02:40","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":128414,"IsRentalProduct":false},{"MotorNr":640,"ProductId":171450,"ProductName":"Moerstraat greenhouse strawberries | 500 grams","ProductSKU":"AARDBEI","RefilledOn":"2023-02-16T11:02:40","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":102951,"IsRentalProduct":false},{"MotorNr":642,"ProductId":171450,"ProductName":"Moerstraat greenhouse strawberries | 500 grams","ProductSKU":"AARDBEI","RefilledOn":"2023-02-16T11:02:40","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":102952,"IsRentalProduct":false},{"MotorNr":644,"ProductId":0,"ProductName":null,"ProductSKU":null,"RefilledOn":"2022-11-20T15:13:33","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":128405,"IsRentalProduct":false},{"MotorNr":648,"ProductId":171432,"ProductName":"Peeled asparagus thin | 2 persons","ProductSKU":"ASPERGEA","RefilledOn":"2023-03-16T14:04:20","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102953,"IsRentalProduct":false},{"MotorNr":650,"ProductId":171432,"ProductName":"Peeled asparagus thin | 2 persons","ProductSKU":"ASPERGEA","RefilledOn":"2022-12-28T13:44:03","AvailableCount":1,"MinCount":0,"MaxCount":1,"RefillAdviceCount":0,"MotorId":102955,"IsRentalProduct":false},{"MotorNr":652,"ProductId":171551,"ProductName":"Bananas | 4 pieces","ProductSKU":"BANANAS","RefilledOn":"2023-03-16T14:35:40","AvailableCount":0,"MinCount":0,"MaxCount":1,"RefillAdviceCount":1,"MotorId":102957,"IsRentalProduct":false},{"MotorNr":700,"ProductId":172154,"ProductName":"Potatoes 10 kg van pallet","ProductSKU":"potatoed-10kg-pallet","RefilledOn":"2022-05-11T09:29:51","AvailableCount":7,"MinCount":0,"MaxCount":20,"RefillAdviceCount":13,"MotorId":103898,"IsRentalProduct":false},{"MotorNr":704,"ProductId":171651,"ProductName":"Floury potatoes (Bintje) | 2.5kg","ProductSKU":"AARDAPPEL BINTJE","RefilledOn":"2022-10-25T07:24:52","AvailableCount":0,"MinCount":0,"MaxCount":20,"RefillAdviceCount":20,"MotorId":124390,"IsRentalProduct":false}]}