GET api/ic/getcountlines?countId={countId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StockCountLineName | Description | Type | Additional information |
---|---|---|---|
CountId | integer |
None. |
|
StockTakeId | integer |
None. |
|
LineId | integer |
None. |
|
ProductCode | string |
None. |
|
Description | string |
None. |
|
Barcode | string |
None. |
|
Barcodes | Collection of ProductBarcode |
None. |
|
AlternateCode | string |
None. |
|
Unit | string |
None. |
|
QuantityCounted | decimal number |
None. |
|
QuantityExpected | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CountId": 1, "StockTakeId": 2, "LineId": 3, "ProductCode": "sample string 4", "Description": "sample string 5", "Barcode": "sample string 6", "Barcodes": [ { "Barcode": "sample string 1" }, { "Barcode": "sample string 1" } ], "AlternateCode": "sample string 7", "Unit": "sample string 8", "QuantityCounted": 9.0, "QuantityExpected": 10.0 }, { "CountId": 1, "StockTakeId": 2, "LineId": 3, "ProductCode": "sample string 4", "Description": "sample string 5", "Barcode": "sample string 6", "Barcodes": [ { "Barcode": "sample string 1" }, { "Barcode": "sample string 1" } ], "AlternateCode": "sample string 7", "Unit": "sample string 8", "QuantityCounted": 9.0, "QuantityExpected": 10.0 } ]
application/xml, text/xml
Sample:
<ArrayOfStockCountLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.IC"> <StockCountLine> <AlternateCode>sample string 7</AlternateCode> <Barcode>sample string 6</Barcode> <Barcodes> <ProductBarcode> <Barcode>sample string 1</Barcode> </ProductBarcode> <ProductBarcode> <Barcode>sample string 1</Barcode> </ProductBarcode> </Barcodes> <CountId>1</CountId> <Description>sample string 5</Description> <LineId>3</LineId> <ProductCode>sample string 4</ProductCode> <QuantityCounted>9</QuantityCounted> <QuantityExpected>10</QuantityExpected> <StockTakeId>2</StockTakeId> <Unit>sample string 8</Unit> </StockCountLine> <StockCountLine> <AlternateCode>sample string 7</AlternateCode> <Barcode>sample string 6</Barcode> <Barcodes> <ProductBarcode> <Barcode>sample string 1</Barcode> </ProductBarcode> <ProductBarcode> <Barcode>sample string 1</Barcode> </ProductBarcode> </Barcodes> <CountId>1</CountId> <Description>sample string 5</Description> <LineId>3</LineId> <ProductCode>sample string 4</ProductCode> <QuantityCounted>9</QuantityCounted> <QuantityExpected>10</QuantityExpected> <StockTakeId>2</StockTakeId> <Unit>sample string 8</Unit> </StockCountLine> </ArrayOfStockCountLine>