GET api/sale/transactiontypes
Provides a list of transaction types. NOTE: Common card types start at 600.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of transaction types.
Collection of PublicAPI.Models.TransactionTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Description |
Description of the transaction type |
string |
String length: inclusive between 0 and 30 |
TransactionType |
Transaction type |
integer |
Range: inclusive between 0 and 999999 |
Response Formats
application/json, text/json
Sample:
[ { "Description": "sample string 1", "TransactionType": 2 }, { "Description": "sample string 1", "TransactionType": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfTransactionTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <TransactionTypeViewModel> <Description>sample string 1</Description> <TransactionType>2</TransactionType> </TransactionTypeViewModel> <TransactionTypeViewModel> <Description>sample string 1</Description> <TransactionType>2</TransactionType> </TransactionTypeViewModel> </ArrayOfTransactionTypeViewModel>