GET api/transactions/Products
Get a list of products
Request Information
URI Parameters
None.
Body Parameters
Response Information
Resource Description
transactionproductsresultName | Description | Type | Additional information |
---|---|---|---|
success |
Indicates if the action was successfull |
boolean |
None. |
remark |
A description regarding the result |
string |
None. |
products |
The list of products |
Collection of transactionproduct |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "remark": "sample string 2", "products": [ { "externallocationid": 1, "locationdescription": "sample string 2", "productcode": "sample string 3", "productdescription": "sample string 4", "productkinddescription": "sample string 5", "categories": [ { "id": 1, "categorydescription": "sample string 2" }, { "id": 1, "categorydescription": "sample string 2" } ] }, { "externallocationid": 1, "locationdescription": "sample string 2", "productcode": "sample string 3", "productdescription": "sample string 4", "productkinddescription": "sample string 5", "categories": [ { "id": 1, "categorydescription": "sample string 2" }, { "id": 1, "categorydescription": "sample string 2" } ] } ] }
application/xml, text/xml
Sample:
<transactionproductsresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <products> <transactionproduct> <categories> <transactionproductcategory> <categorydescription>sample string 2</categorydescription> <id>1</id> </transactionproductcategory> <transactionproductcategory> <categorydescription>sample string 2</categorydescription> <id>1</id> </transactionproductcategory> </categories> <externallocationid>1</externallocationid> <locationdescription>sample string 2</locationdescription> <productcode>sample string 3</productcode> <productdescription>sample string 4</productdescription> <productkinddescription>sample string 5</productkinddescription> </transactionproduct> <transactionproduct> <categories> <transactionproductcategory> <categorydescription>sample string 2</categorydescription> <id>1</id> </transactionproductcategory> <transactionproductcategory> <categorydescription>sample string 2</categorydescription> <id>1</id> </transactionproductcategory> </categories> <externallocationid>1</externallocationid> <locationdescription>sample string 2</locationdescription> <productcode>sample string 3</productcode> <productdescription>sample string 4</productdescription> <productkinddescription>sample string 5</productkinddescription> </transactionproduct> </products> <remark>sample string 2</remark> <success>true</success> </transactionproductsresult>