GET api/ic/product?productcode={productcode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productcode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductName | Description | Type | Additional information |
---|---|---|---|
ProductCode | string |
None. |
|
Description | string |
None. |
|
Details | string |
None. |
|
AlternateCode | string |
None. |
|
Barcode | string |
None. |
|
Barcodes | Collection of ProductBarcode |
None. |
|
StockGroup | StockGroup |
None. |
|
SalesGroup | SalesGroup |
None. |
|
Creditor | Creditor |
None. |
|
Category1 | ProductCategory1 |
None. |
|
Category2 | ProductCategory2 |
None. |
|
Unit | string |
None. |
|
Information | string |
None. |
|
Links | Collection of DocumentLink |
None. |
|
OnHandQuantity | decimal number |
None. |
|
TheoreticalQuantity | decimal number |
None. |
|
MinimumQuantity | decimal number |
None. |
|
MaximumQuantity | decimal number |
None. |
|
ReorderQuantity | decimal number |
None. |
|
OnOrderQuantity | decimal number |
None. |
|
AllocatedQuantity | decimal number |
None. |
|
AvailableQuantity | decimal number |
None. |
|
Inactive | boolean |
None. |
|
NonDiminishing | boolean |
None. |
|
BinLocation | string |
None. |
|
Volume | decimal number |
None. |
|
Weight | decimal number |
None. |
|
Comment | string |
None. |
|
ComponentMode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "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" }
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.IC"> <AllocatedQuantity>14</AllocatedQuantity> <AlternateCode>sample string 4</AlternateCode> <AvailableQuantity>15</AvailableQuantity> <Barcode>sample string 5</Barcode> <Barcodes> <ProductBarcode> <Barcode>sample string 1</Barcode> </ProductBarcode> <ProductBarcode> <Barcode>sample string 1</Barcode> </ProductBarcode> </Barcodes> <BinLocation>sample string 18</BinLocation> <Category1> <Code>sample string 1</Code> <Description>sample string 2</Description> <Inactive>true</Inactive> </Category1> <Category2> <Code>sample string 1</Code> <Description>sample string 2</Description> <Inactive>true</Inactive> </Category2> <Comment>sample string 21</Comment> <ComponentMode>sample string 22</ComponentMode> <Creditor xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.AP"> <d2p1:Address1>sample string 3</d2p1:Address1> <d2p1:Address2>sample string 4</d2p1:Address2> <d2p1:Address3>sample string 5</d2p1:Address3> <d2p1:Address4>sample string 6</d2p1:Address4> <d2p1:Address5>sample string 7</d2p1:Address5> <d2p1:BankAccount>sample string 30</d2p1:BankAccount> <d2p1:BankName>sample string 29</d2p1:BankName> <d2p1:BankParticulars>sample string 33</d2p1:BankParticulars> <d2p1:BankReference>sample string 32</d2p1:BankReference> <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 13</d2p1:Comment> <d2p1:Contacts> <d2p1:CreditorContact> <d2p1:Comment>sample string 11</d2p1:Comment> <d2p1:ContactId>1</d2p1:ContactId> <d2p1:Email>sample string 10</d2p1:Email> <d2p1:FaxNo>sample string 9</d2p1:FaxNo> <d2p1:FirstName>sample string 4</d2p1:FirstName> <d2p1:FullName>sample string 2</d2p1:FullName> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:LastName>sample string 6</d2p1:LastName> <d2p1:MiddleName>sample string 5</d2p1:MiddleName> <d2p1:MobileNo>sample string 8</d2p1:MobileNo> <d2p1:PhoneNo>sample string 7</d2p1:PhoneNo> <d2p1:Role>sample string 12</d2p1:Role> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:CreditorContact> <d2p1:CreditorContact> <d2p1:Comment>sample string 11</d2p1:Comment> <d2p1:ContactId>1</d2p1:ContactId> <d2p1:Email>sample string 10</d2p1:Email> <d2p1:FaxNo>sample string 9</d2p1:FaxNo> <d2p1:FirstName>sample string 4</d2p1:FirstName> <d2p1:FullName>sample string 2</d2p1:FullName> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:LastName>sample string 6</d2p1:LastName> <d2p1:MiddleName>sample string 5</d2p1:MiddleName> <d2p1:MobileNo>sample string 8</d2p1:MobileNo> <d2p1:PhoneNo>sample string 7</d2p1:PhoneNo> <d2p1:Role>sample string 12</d2p1:Role> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:CreditorContact> </d2p1:Contacts> <d2p1:CreditorCode>sample string 1</d2p1:CreditorCode> <d2p1:CreditorName>sample string 2</d2p1:CreditorName> <d2p1:Discount>18</d2p1:Discount> <d2p1:DiscountCount>21</d2p1:DiscountCount> <d2p1:DiscountDayOfMonth>20</d2p1:DiscountDayOfMonth> <d2p1:DiscountUnit>sample string 19</d2p1:DiscountUnit> <d2p1:Email>sample string 9</d2p1:Email> <d2p1:Expense> <d2p1:AccountClass>sample string 3</d2p1:AccountClass> <d2p1:AccountCode xmlns:d4p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.GL"> <d4p1:AccountClass>sample string 3</d4p1:AccountClass> <d4p1:AccountCode>sample string 1</d4p1:AccountCode> <d4p1:AccountName>sample string 2</d4p1:AccountName> <d4p1:AccountType>sample string 4</d4p1:AccountType> <d4p1:Inactive>true</d4p1:Inactive> </d2p1:AccountCode> <d2p1:AnalysisCode>sample string 1</d2p1:AnalysisCode> <d2p1:AnalysisName>sample string 2</d2p1:AnalysisName> <d2p1:FriendlyCode>sample string 4</d2p1:FriendlyCode> <d2p1:Inactive>true</d2p1:Inactive> </d2p1:Expense> <d2p1:GSTNumber>sample string 12</d2p1:GSTNumber> <d2p1:Group> <d2p1:Code>sample string 1</d2p1:Code> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:Group> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:OrderEmail>sample string 34</d2p1:OrderEmail> <d2p1:PayeeName>sample string 31</d2p1:PayeeName> <d2p1:PaymentCount>17</d2p1:PaymentCount> <d2p1:PaymentDayOfMonth>16</d2p1:PaymentDayOfMonth> <d2p1:PaymentMethod>sample string 14</d2p1:PaymentMethod> <d2p1:PaymentUnit>sample string 15</d2p1:PaymentUnit> <d2p1:Phone>sample string 10</d2p1:Phone> <d2p1:Phone2>sample string 11</d2p1:Phone2> <d2p1:PhysicalAddress1>sample string 23</d2p1:PhysicalAddress1> <d2p1:PhysicalAddress2>sample string 24</d2p1:PhysicalAddress2> <d2p1:PhysicalAddress3>sample string 25</d2p1:PhysicalAddress3> <d2p1:PhysicalAddress4>sample string 26</d2p1:PhysicalAddress4> <d2p1:PhysicalAddress5>sample string 27</d2p1:PhysicalAddress5> <d2p1:PhysicalPostCode>sample string 28</d2p1:PhysicalPostCode> <d2p1:PostCode>sample string 8</d2p1:PostCode> </Creditor> <Description>sample string 2</Description> <Details>sample string 3</Details> <Inactive>true</Inactive> <Information>sample string 7</Information> <Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.CO"> <d2p1:DocumentLink> <d2p1:Comment>sample string 5</d2p1:Comment> <d2p1:FilePath>sample string 1</d2p1:FilePath> <d2p1:FileSize>4</d2p1:FileSize> <d2p1:LinkID>3</d2p1:LinkID> <d2p1:ShortName>sample string 2</d2p1:ShortName> </d2p1:DocumentLink> <d2p1:DocumentLink> <d2p1:Comment>sample string 5</d2p1:Comment> <d2p1:FilePath>sample string 1</d2p1:FilePath> <d2p1:FileSize>4</d2p1:FileSize> <d2p1:LinkID>3</d2p1:LinkID> <d2p1:ShortName>sample string 2</d2p1:ShortName> </d2p1:DocumentLink> </Links> <MaximumQuantity>11</MaximumQuantity> <MinimumQuantity>10</MinimumQuantity> <NonDiminishing>true</NonDiminishing> <OnHandQuantity>8</OnHandQuantity> <OnOrderQuantity>13</OnOrderQuantity> <ProductCode>sample string 1</ProductCode> <ReorderQuantity>12</ReorderQuantity> <SalesGroup xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.AR"> <d2p1:AnalysisCode>sample string 1</d2p1:AnalysisCode> <d2p1:AnalysisName>sample string 2</d2p1:AnalysisName> <d2p1:Inactive>true</d2p1:Inactive> </SalesGroup> <StockGroup> <Code>sample string 1</Code> <Description>sample string 2</Description> <Inactive>true</Inactive> </StockGroup> <TheoreticalQuantity>9</TheoreticalQuantity> <Unit>sample string 6</Unit> <Volume>19</Volume> <Weight>20</Weight> </Product>