Returns a list of the transaction types that are defined in the account.
Request
1 |
GET https://api.maileon.com/1.0/transactions/types |
Query parameters
Parameter | Default | Description |
---|---|---|
page_index | 1 | The index of the result page. The index must be greater than or equal to 1. |
page_size | 100 | The maximum count of items in the result page. If provided, the value of page_size must be in the range 1 to 1000. |
Response
Media type: application/vnd.maileon.api+xml
Pagination links are transmitted as Link headers.
HTTP status code | Description |
---|---|
200 OK |
Success |
400 Bad Request |
if page_index < 1 or page_size < 1 or page_size > 1000 |
404 Not Found |
if the page referenced by page_index does not exist |
Example response body
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<transaction_types> <transaction_type> <id>20</id> <name>Order</name> <attributes> <attribute> <id>157</id> <name>total</name> <type>double</type> <required>false</required> </attribute> ... </attributes> </transaction_type> ... </transaction_types> |