GET api/transactions/List?IdStart={IdStart}&Count={Count}
Get a list of transactions starting from 'IdStart'
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IdStart |
The Id of the transaction to start with |
integer |
Required |
Count |
Indicates the number of transactions that this function returns. When not given this function return 100 transactions |
integer |
None. |
Body Parameters
Response Information
Resource Description
transactionsresultName | Description | Type | Additional information |
---|---|---|---|
success |
Indicates if the action was successfull. |
boolean |
None. |
remark |
A description regarding the result. |
string |
None. |
transactions |
Returns an array of transaction objects. |
Collection of transaction |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "remark": "sample string 2", "transactions": [ { "externalid": 1, "externallocationid": 2, "externaluserid": 3, "externalcustomerid": 1, "externalcustomerpersonid": 1, "locationdescription": "sample string 4", "username": "sample string 5", "datetime": "2024-11-24T12:52:53.2279247+01:00", "receiptnumber": 7, "licenceplatenumber": "sample string 8", "cardnumber": "sample string 9", "deviceid": "sample string 10", "transactionitems": [ { "productcode": "sample string 1", "productdescription": "sample string 2", "quantity": 3.0, "amount": 4.0, "originalamount": 5.0, "licenceplatenumber": "sample string 6", "ratedescription": "sample string 7", "productkindid": 8, "productkinddescription": "sample string 9", "datestart": "2024-11-24T12:52:53.2279247+01:00", "dateend": "2024-11-24T12:52:53.2279247+01:00", "externalcustomerpersonid": 1 }, { "productcode": "sample string 1", "productdescription": "sample string 2", "quantity": 3.0, "amount": 4.0, "originalamount": 5.0, "licenceplatenumber": "sample string 6", "ratedescription": "sample string 7", "productkindid": 8, "productkinddescription": "sample string 9", "datestart": "2024-11-24T12:52:53.2279247+01:00", "dateend": "2024-11-24T12:52:53.2279247+01:00", "externalcustomerpersonid": 1 } ], "transactionpayments": [ { "paymentdescription": "sample string 1", "amount": 2.0, "amountvalue": 1.0 }, { "paymentdescription": "sample string 1", "amount": 2.0, "amountvalue": 1.0 } ], "transactiondiscounts": [ { "campaigncode": "sample string 1", "campaigndescription": "sample string 2", "amount": 3.0, "value": 4.0, "discountkind": "sample string 5", "code": "sample string 6", "identification": "sample string 7" }, { "campaigncode": "sample string 1", "campaigndescription": "sample string 2", "amount": 3.0, "value": 4.0, "discountkind": "sample string 5", "code": "sample string 6", "identification": "sample string 7" } ] }, { "externalid": 1, "externallocationid": 2, "externaluserid": 3, "externalcustomerid": 1, "externalcustomerpersonid": 1, "locationdescription": "sample string 4", "username": "sample string 5", "datetime": "2024-11-24T12:52:53.2279247+01:00", "receiptnumber": 7, "licenceplatenumber": "sample string 8", "cardnumber": "sample string 9", "deviceid": "sample string 10", "transactionitems": [ { "productcode": "sample string 1", "productdescription": "sample string 2", "quantity": 3.0, "amount": 4.0, "originalamount": 5.0, "licenceplatenumber": "sample string 6", "ratedescription": "sample string 7", "productkindid": 8, "productkinddescription": "sample string 9", "datestart": "2024-11-24T12:52:53.2279247+01:00", "dateend": "2024-11-24T12:52:53.2279247+01:00", "externalcustomerpersonid": 1 }, { "productcode": "sample string 1", "productdescription": "sample string 2", "quantity": 3.0, "amount": 4.0, "originalamount": 5.0, "licenceplatenumber": "sample string 6", "ratedescription": "sample string 7", "productkindid": 8, "productkinddescription": "sample string 9", "datestart": "2024-11-24T12:52:53.2279247+01:00", "dateend": "2024-11-24T12:52:53.2279247+01:00", "externalcustomerpersonid": 1 } ], "transactionpayments": [ { "paymentdescription": "sample string 1", "amount": 2.0, "amountvalue": 1.0 }, { "paymentdescription": "sample string 1", "amount": 2.0, "amountvalue": 1.0 } ], "transactiondiscounts": [ { "campaigncode": "sample string 1", "campaigndescription": "sample string 2", "amount": 3.0, "value": 4.0, "discountkind": "sample string 5", "code": "sample string 6", "identification": "sample string 7" }, { "campaigncode": "sample string 1", "campaigndescription": "sample string 2", "amount": 3.0, "value": 4.0, "discountkind": "sample string 5", "code": "sample string 6", "identification": "sample string 7" } ] } ] }
application/xml, text/xml
Sample:
<transactionsresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API"> <remark>sample string 2</remark> <success>true</success> <transactions> <transaction> <cardnumber>sample string 9</cardnumber> <datetime>2024-11-24T12:52:53.2279247+01:00</datetime> <deviceid>sample string 10</deviceid> <externalcustomerid>1</externalcustomerid> <externalcustomerpersonid>1</externalcustomerpersonid> <externalid>1</externalid> <externallocationid>2</externallocationid> <externaluserid>3</externaluserid> <licenceplatenumber>sample string 8</licenceplatenumber> <locationdescription>sample string 4</locationdescription> <receiptnumber>7</receiptnumber> <transactiondiscounts> <transactiondiscount> <amount>3</amount> <campaigncode>sample string 1</campaigncode> <campaigndescription>sample string 2</campaigndescription> <code>sample string 6</code> <discountkind>sample string 5</discountkind> <identification>sample string 7</identification> <value>4</value> </transactiondiscount> <transactiondiscount> <amount>3</amount> <campaigncode>sample string 1</campaigncode> <campaigndescription>sample string 2</campaigndescription> <code>sample string 6</code> <discountkind>sample string 5</discountkind> <identification>sample string 7</identification> <value>4</value> </transactiondiscount> </transactiondiscounts> <transactionitems> <transactionitem> <amount>4</amount> <dateend>2024-11-24T12:52:53.2279247+01:00</dateend> <datestart>2024-11-24T12:52:53.2279247+01:00</datestart> <externalcustomerpersonid>1</externalcustomerpersonid> <licenceplatenumber>sample string 6</licenceplatenumber> <originalamount>5</originalamount> <productcode>sample string 1</productcode> <productdescription>sample string 2</productdescription> <productkinddescription>sample string 9</productkinddescription> <productkindid>8</productkindid> <quantity>3</quantity> <ratedescription>sample string 7</ratedescription> </transactionitem> <transactionitem> <amount>4</amount> <dateend>2024-11-24T12:52:53.2279247+01:00</dateend> <datestart>2024-11-24T12:52:53.2279247+01:00</datestart> <externalcustomerpersonid>1</externalcustomerpersonid> <licenceplatenumber>sample string 6</licenceplatenumber> <originalamount>5</originalamount> <productcode>sample string 1</productcode> <productdescription>sample string 2</productdescription> <productkinddescription>sample string 9</productkinddescription> <productkindid>8</productkindid> <quantity>3</quantity> <ratedescription>sample string 7</ratedescription> </transactionitem> </transactionitems> <transactionpayments> <transactionpayment> <amount>2</amount> <amountvalue>1</amountvalue> <paymentdescription>sample string 1</paymentdescription> </transactionpayment> <transactionpayment> <amount>2</amount> <amountvalue>1</amountvalue> <paymentdescription>sample string 1</paymentdescription> </transactionpayment> </transactionpayments> <username>sample string 5</username> </transaction> <transaction> <cardnumber>sample string 9</cardnumber> <datetime>2024-11-24T12:52:53.2279247+01:00</datetime> <deviceid>sample string 10</deviceid> <externalcustomerid>1</externalcustomerid> <externalcustomerpersonid>1</externalcustomerpersonid> <externalid>1</externalid> <externallocationid>2</externallocationid> <externaluserid>3</externaluserid> <licenceplatenumber>sample string 8</licenceplatenumber> <locationdescription>sample string 4</locationdescription> <receiptnumber>7</receiptnumber> <transactiondiscounts> <transactiondiscount> <amount>3</amount> <campaigncode>sample string 1</campaigncode> <campaigndescription>sample string 2</campaigndescription> <code>sample string 6</code> <discountkind>sample string 5</discountkind> <identification>sample string 7</identification> <value>4</value> </transactiondiscount> <transactiondiscount> <amount>3</amount> <campaigncode>sample string 1</campaigncode> <campaigndescription>sample string 2</campaigndescription> <code>sample string 6</code> <discountkind>sample string 5</discountkind> <identification>sample string 7</identification> <value>4</value> </transactiondiscount> </transactiondiscounts> <transactionitems> <transactionitem> <amount>4</amount> <dateend>2024-11-24T12:52:53.2279247+01:00</dateend> <datestart>2024-11-24T12:52:53.2279247+01:00</datestart> <externalcustomerpersonid>1</externalcustomerpersonid> <licenceplatenumber>sample string 6</licenceplatenumber> <originalamount>5</originalamount> <productcode>sample string 1</productcode> <productdescription>sample string 2</productdescription> <productkinddescription>sample string 9</productkinddescription> <productkindid>8</productkindid> <quantity>3</quantity> <ratedescription>sample string 7</ratedescription> </transactionitem> <transactionitem> <amount>4</amount> <dateend>2024-11-24T12:52:53.2279247+01:00</dateend> <datestart>2024-11-24T12:52:53.2279247+01:00</datestart> <externalcustomerpersonid>1</externalcustomerpersonid> <licenceplatenumber>sample string 6</licenceplatenumber> <originalamount>5</originalamount> <productcode>sample string 1</productcode> <productdescription>sample string 2</productdescription> <productkinddescription>sample string 9</productkinddescription> <productkindid>8</productkindid> <quantity>3</quantity> <ratedescription>sample string 7</ratedescription> </transactionitem> </transactionitems> <transactionpayments> <transactionpayment> <amount>2</amount> <amountvalue>1</amountvalue> <paymentdescription>sample string 1</paymentdescription> </transactionpayment> <transactionpayment> <amount>2</amount> <amountvalue>1</amountvalue> <paymentdescription>sample string 1</paymentdescription> </transactionpayment> </transactionpayments> <username>sample string 5</username> </transaction> </transactions> </transactionsresult>