POST Products/GetBarcodesForProductIds
Verkrijg barcodes met aantallen voor een lijst met productid's.
Request Information
URI Parameters
None.
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <int>1</int> <int>2</int> </ArrayOfint>
Response Information
Resource Description
Logic4ResponseListOfProductBarcodeName | Description | Type | Additional information |
---|---|---|---|
Records | Collection of ProductBarcode |
None. |
|
RecordsCounter | integer |
None. |
|
ValidationMessages |
Eventuele foutmeldingen |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Records": [ { "Barcodes": [ { "Qty": 1, "Barcode": "sample string 2" }, { "Qty": 1, "Barcode": "sample string 2" } ], "ProductId": 1 }, { "Barcodes": [ { "Qty": 1, "Barcode": "sample string 2" }, { "Qty": 1, "Barcode": "sample string 2" } ], "ProductId": 1 } ], "RecordsCounter": 2, "ValidationMessages": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<Logic4ResponseListOfProductBarcodeLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels"> <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ValidationMessages> <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models"> <d2p1:ProductBarcode> <d2p1:Barcodes> <d2p1:BarcodeWithAmount> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:Qty>1</d2p1:Qty> </d2p1:BarcodeWithAmount> <d2p1:BarcodeWithAmount> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:Qty>1</d2p1:Qty> </d2p1:BarcodeWithAmount> </d2p1:Barcodes> <d2p1:ProductId>1</d2p1:ProductId> </d2p1:ProductBarcode> <d2p1:ProductBarcode> <d2p1:Barcodes> <d2p1:BarcodeWithAmount> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:Qty>1</d2p1:Qty> </d2p1:BarcodeWithAmount> <d2p1:BarcodeWithAmount> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:Qty>1</d2p1:Qty> </d2p1:BarcodeWithAmount> </d2p1:Barcodes> <d2p1:ProductId>1</d2p1:ProductId> </d2p1:ProductBarcode> </Records> </Logic4ResponseListOfProductBarcodeLnN1pw8Y>