GET api/ic/barcodefullquantity?barcode={barcode}&scanAttribute={scanAttribute}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
barcode | string |
Required |
|
scanAttribute | ScanAttribute |
Required |
Body Parameters
None.
Response Information
Resource Description
ValueTupleOfProductAndListOfProductQuantityName | Description | Type | Additional information |
---|---|---|---|
Item1 | Product |
None. |
|
Item2 | Collection of ProductQuantity |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item1": { "ProductCode": "sample string 1", "Description": "sample string 2", "Details": "sample string 3", "AlternateCode": "sample string 4", "Barcode": "sample string 5", "Barcodes": [ { "Barcode": "sample string 1" }, { "Barcode": "sample string 1" } ], "StockGroup": { "Code": "sample string 1", "Description": "sample string 2", "Inactive": true }, "SalesGroup": { "AnalysisCode": "sample string 1", "AnalysisName": "sample string 2", "Inactive": true }, "Creditor": { "CreditorCode": "sample string 1", "CreditorName": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "Address3": "sample string 5", "Address4": "sample string 6", "Address5": "sample string 7", "PostCode": "sample string 8", "Email": "sample string 9", "Phone": "sample string 10", "Phone2": "sample string 11", "GSTNumber": "sample string 12", "Comment": "sample string 13", "PaymentMethod": "sample string 14", "PaymentUnit": "sample string 15", "PaymentDayOfMonth": 16, "PaymentCount": 17, "Discount": 18.0, "DiscountUnit": "sample string 19", "DiscountDayOfMonth": 20, "DiscountCount": 21, "Inactive": true, "PhysicalAddress1": "sample string 23", "PhysicalAddress2": "sample string 24", "PhysicalAddress3": "sample string 25", "PhysicalAddress4": "sample string 26", "PhysicalAddress5": "sample string 27", "PhysicalPostCode": "sample string 28", "BankName": "sample string 29", "BankAccount": "sample string 30", "PayeeName": "sample string 31", "BankReference": "sample string 32", "BankParticulars": "sample string 33", "OrderEmail": "sample string 34", "Category1": { "Code": "sample string 1", "Description": "sample string 2", "Inactive": true }, "Category2": { "Code": "sample string 1", "Description": "sample string 2", "Inactive": true }, "Group": { "Code": "sample string 1", "Name": "sample string 2", "Inactive": true }, "Expense": { "AnalysisCode": "sample string 1", "AnalysisName": "sample string 2", "AccountClass": "sample string 3", "AccountCode": { "AccountCode": "sample string 1", "AccountName": "sample string 2", "AccountClass": "sample string 3", "AccountType": "sample string 4", "Inactive": true }, "FriendlyCode": "sample string 4", "Inactive": true }, "Contacts": [ { "ContactId": 1, "FullName": "sample string 2", "Title": "sample string 3", "FirstName": "sample string 4", "MiddleName": "sample string 5", "LastName": "sample string 6", "PhoneNo": "sample string 7", "MobileNo": "sample string 8", "FaxNo": "sample string 9", "Email": "sample string 10", "Comment": "sample string 11", "Role": "sample string 12", "Inactive": true }, { "ContactId": 1, "FullName": "sample string 2", "Title": "sample string 3", "FirstName": "sample string 4", "MiddleName": "sample string 5", "LastName": "sample string 6", "PhoneNo": "sample string 7", "MobileNo": "sample string 8", "FaxNo": "sample string 9", "Email": "sample string 10", "Comment": "sample string 11", "Role": "sample string 12", "Inactive": true } ] }, "Category1": { "Code": "sample string 1", "Description": "sample string 2", "Inactive": true }, "Category2": { "Code": "sample string 1", "Description": "sample string 2", "Inactive": true }, "Unit": "sample string 6", "Information": "sample string 7", "Links": [ { "FilePath": "sample string 1", "ShortName": "sample string 2", "LinkID": 3, "FileSize": 4, "Comment": "sample string 5" }, { "FilePath": "sample string 1", "ShortName": "sample string 2", "LinkID": 3, "FileSize": 4, "Comment": "sample string 5" } ], "OnHandQuantity": 8.0, "TheoreticalQuantity": 9.0, "MinimumQuantity": 10.0, "MaximumQuantity": 11.0, "ReorderQuantity": 12.0, "OnOrderQuantity": 13.0, "AllocatedQuantity": 14.0, "AvailableQuantity": 15.0, "Inactive": true, "NonDiminishing": true, "BinLocation": "sample string 18", "Volume": 19.0, "Weight": 20.0, "Comment": "sample string 21", "ComponentMode": "sample string 22" }, "Item2": [ { "ProductCode": "sample string 1", "LocationCode": "sample string 2", "QuantityInStock": 3.0, "QuantityAllocated": 4.0, "QuantityAvailable": 5.0, "QuantityOnOrder": 6.0, "QuantityTheoretical": 7.0, "MaximumQuantity": 8.0, "MinimumQuantity": 9.0, "QuantityRecReorder": 10.0, "BinLocation": "sample string 11" }, { "ProductCode": "sample string 1", "LocationCode": "sample string 2", "QuantityInStock": 3.0, "QuantityAllocated": 4.0, "QuantityAvailable": 5.0, "QuantityOnOrder": 6.0, "QuantityTheoretical": 7.0, "MaximumQuantity": 8.0, "MinimumQuantity": 9.0, "QuantityRecReorder": 10.0, "BinLocation": "sample string 11" } ] }
application/xml, text/xml
Sample:
<ValueTupleOfProductArrayOfProductQuantity_SSLpnQ40 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System"> <Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.IC"> <d2p1:AllocatedQuantity>14</d2p1:AllocatedQuantity> <d2p1:AlternateCode>sample string 4</d2p1:AlternateCode> <d2p1:AvailableQuantity>15</d2p1:AvailableQuantity> <d2p1:Barcode>sample string 5</d2p1:Barcode> <d2p1:Barcodes> <d2p1:ProductBarcode> <d2p1:Barcode>sample string 1</d2p1:Barcode> </d2p1:ProductBarcode> <d2p1:ProductBarcode> <d2p1:Barcode>sample string 1</d2p1:Barcode> </d2p1:ProductBarcode> </d2p1:Barcodes> <d2p1:BinLocation>sample string 18</d2p1:BinLocation> <d2p1:Category1> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Inactive>true</d2p1:Inactive> </d2p1:Category1> <d2p1:Category2> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Inactive>true</d2p1:Inactive> </d2p1:Category2> <d2p1:Comment>sample string 21</d2p1:Comment> <d2p1:ComponentMode>sample string 22</d2p1:ComponentMode> <d2p1:Creditor xmlns:d3p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.AP"> <d3p1:Address1>sample string 3</d3p1:Address1> <d3p1:Address2>sample string 4</d3p1:Address2> <d3p1:Address3>sample string 5</d3p1:Address3> <d3p1:Address4>sample string 6</d3p1:Address4> <d3p1:Address5>sample string 7</d3p1:Address5> <d3p1:BankAccount>sample string 30</d3p1:BankAccount> <d3p1:BankName>sample string 29</d3p1:BankName> <d3p1:BankParticulars>sample string 33</d3p1:BankParticulars> <d3p1:BankReference>sample string 32</d3p1:BankReference> <d3p1:Category1> <d3p1:Code>sample string 1</d3p1:Code> <d3p1:Description>sample string 2</d3p1:Description> <d3p1:Inactive>true</d3p1:Inactive> </d3p1:Category1> <d3p1:Category2> <d3p1:Code>sample string 1</d3p1:Code> <d3p1:Description>sample string 2</d3p1:Description> <d3p1:Inactive>true</d3p1:Inactive> </d3p1:Category2> <d3p1:Comment>sample string 13</d3p1:Comment> <d3p1:Contacts> <d3p1:CreditorContact> <d3p1:Comment>sample string 11</d3p1:Comment> <d3p1:ContactId>1</d3p1:ContactId> <d3p1:Email>sample string 10</d3p1:Email> <d3p1:FaxNo>sample string 9</d3p1:FaxNo> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 2</d3p1:FullName> <d3p1:Inactive>true</d3p1:Inactive> <d3p1:LastName>sample string 6</d3p1:LastName> <d3p1:MiddleName>sample string 5</d3p1:MiddleName> <d3p1:MobileNo>sample string 8</d3p1:MobileNo> <d3p1:PhoneNo>sample string 7</d3p1:PhoneNo> <d3p1:Role>sample string 12</d3p1:Role> <d3p1:Title>sample string 3</d3p1:Title> </d3p1:CreditorContact> <d3p1:CreditorContact> <d3p1:Comment>sample string 11</d3p1:Comment> <d3p1:ContactId>1</d3p1:ContactId> <d3p1:Email>sample string 10</d3p1:Email> <d3p1:FaxNo>sample string 9</d3p1:FaxNo> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 2</d3p1:FullName> <d3p1:Inactive>true</d3p1:Inactive> <d3p1:LastName>sample string 6</d3p1:LastName> <d3p1:MiddleName>sample string 5</d3p1:MiddleName> <d3p1:MobileNo>sample string 8</d3p1:MobileNo> <d3p1:PhoneNo>sample string 7</d3p1:PhoneNo> <d3p1:Role>sample string 12</d3p1:Role> <d3p1:Title>sample string 3</d3p1:Title> </d3p1:CreditorContact> </d3p1:Contacts> <d3p1:CreditorCode>sample string 1</d3p1:CreditorCode> <d3p1:CreditorName>sample string 2</d3p1:CreditorName> <d3p1:Discount>18</d3p1:Discount> <d3p1:DiscountCount>21</d3p1:DiscountCount> <d3p1:DiscountDayOfMonth>20</d3p1:DiscountDayOfMonth> <d3p1:DiscountUnit>sample string 19</d3p1:DiscountUnit> <d3p1:Email>sample string 9</d3p1:Email> <d3p1:Expense> <d3p1:AccountClass>sample string 3</d3p1:AccountClass> <d3p1:AccountCode xmlns:d5p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.GL"> <d5p1:AccountClass>sample string 3</d5p1:AccountClass> <d5p1:AccountCode>sample string 1</d5p1:AccountCode> <d5p1:AccountName>sample string 2</d5p1:AccountName> <d5p1:AccountType>sample string 4</d5p1:AccountType> <d5p1:Inactive>true</d5p1:Inactive> </d3p1:AccountCode> <d3p1:AnalysisCode>sample string 1</d3p1:AnalysisCode> <d3p1:AnalysisName>sample string 2</d3p1:AnalysisName> <d3p1:FriendlyCode>sample string 4</d3p1:FriendlyCode> <d3p1:Inactive>true</d3p1:Inactive> </d3p1:Expense> <d3p1:GSTNumber>sample string 12</d3p1:GSTNumber> <d3p1:Group> <d3p1:Code>sample string 1</d3p1:Code> <d3p1:Inactive>true</d3p1:Inactive> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Group> <d3p1:Inactive>true</d3p1:Inactive> <d3p1:OrderEmail>sample string 34</d3p1:OrderEmail> <d3p1:PayeeName>sample string 31</d3p1:PayeeName> <d3p1:PaymentCount>17</d3p1:PaymentCount> <d3p1:PaymentDayOfMonth>16</d3p1:PaymentDayOfMonth> <d3p1:PaymentMethod>sample string 14</d3p1:PaymentMethod> <d3p1:PaymentUnit>sample string 15</d3p1:PaymentUnit> <d3p1:Phone>sample string 10</d3p1:Phone> <d3p1:Phone2>sample string 11</d3p1:Phone2> <d3p1:PhysicalAddress1>sample string 23</d3p1:PhysicalAddress1> <d3p1:PhysicalAddress2>sample string 24</d3p1:PhysicalAddress2> <d3p1:PhysicalAddress3>sample string 25</d3p1:PhysicalAddress3> <d3p1:PhysicalAddress4>sample string 26</d3p1:PhysicalAddress4> <d3p1:PhysicalAddress5>sample string 27</d3p1:PhysicalAddress5> <d3p1:PhysicalPostCode>sample string 28</d3p1:PhysicalPostCode> <d3p1:PostCode>sample string 8</d3p1:PostCode> </d2p1:Creditor> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Details>sample string 3</d2p1:Details> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:Information>sample string 7</d2p1:Information> <d2p1:Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.CO"> <d3p1:DocumentLink> <d3p1:Comment>sample string 5</d3p1:Comment> <d3p1:FilePath>sample string 1</d3p1:FilePath> <d3p1:FileSize>4</d3p1:FileSize> <d3p1:LinkID>3</d3p1:LinkID> <d3p1:ShortName>sample string 2</d3p1:ShortName> </d3p1:DocumentLink> <d3p1:DocumentLink> <d3p1:Comment>sample string 5</d3p1:Comment> <d3p1:FilePath>sample string 1</d3p1:FilePath> <d3p1:FileSize>4</d3p1:FileSize> <d3p1:LinkID>3</d3p1:LinkID> <d3p1:ShortName>sample string 2</d3p1:ShortName> </d3p1:DocumentLink> </d2p1:Links> <d2p1:MaximumQuantity>11</d2p1:MaximumQuantity> <d2p1:MinimumQuantity>10</d2p1:MinimumQuantity> <d2p1:NonDiminishing>true</d2p1:NonDiminishing> <d2p1:OnHandQuantity>8</d2p1:OnHandQuantity> <d2p1:OnOrderQuantity>13</d2p1:OnOrderQuantity> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> <d2p1:ReorderQuantity>12</d2p1:ReorderQuantity> <d2p1:SalesGroup xmlns:d3p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.AR"> <d3p1:AnalysisCode>sample string 1</d3p1:AnalysisCode> <d3p1:AnalysisName>sample string 2</d3p1:AnalysisName> <d3p1:Inactive>true</d3p1:Inactive> </d2p1:SalesGroup> <d2p1:StockGroup> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Inactive>true</d2p1:Inactive> </d2p1:StockGroup> <d2p1:TheoreticalQuantity>9</d2p1:TheoreticalQuantity> <d2p1:Unit>sample string 6</d2p1:Unit> <d2p1:Volume>19</d2p1:Volume> <d2p1:Weight>20</d2p1:Weight> </Item1> <Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.IC"> <d2p1:ProductQuantity> <d2p1:BinLocation>sample string 11</d2p1:BinLocation> <d2p1:LocationCode>sample string 2</d2p1:LocationCode> <d2p1:MaximumQuantity>8</d2p1:MaximumQuantity> <d2p1:MinimumQuantity>9</d2p1:MinimumQuantity> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> <d2p1:QuantityAllocated>4</d2p1:QuantityAllocated> <d2p1:QuantityAvailable>5</d2p1:QuantityAvailable> <d2p1:QuantityInStock>3</d2p1:QuantityInStock> <d2p1:QuantityOnOrder>6</d2p1:QuantityOnOrder> <d2p1:QuantityRecReorder>10</d2p1:QuantityRecReorder> <d2p1:QuantityTheoretical>7</d2p1:QuantityTheoretical> </d2p1:ProductQuantity> <d2p1:ProductQuantity> <d2p1:BinLocation>sample string 11</d2p1:BinLocation> <d2p1:LocationCode>sample string 2</d2p1:LocationCode> <d2p1:MaximumQuantity>8</d2p1:MaximumQuantity> <d2p1:MinimumQuantity>9</d2p1:MinimumQuantity> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> <d2p1:QuantityAllocated>4</d2p1:QuantityAllocated> <d2p1:QuantityAvailable>5</d2p1:QuantityAvailable> <d2p1:QuantityInStock>3</d2p1:QuantityInStock> <d2p1:QuantityOnOrder>6</d2p1:QuantityOnOrder> <d2p1:QuantityRecReorder>10</d2p1:QuantityRecReorder> <d2p1:QuantityTheoretical>7</d2p1:QuantityTheoretical> </d2p1:ProductQuantity> </Item2> </ValueTupleOfProductArrayOfProductQuantity_SSLpnQ40>