1 |
<a class="version-pill" style="font-family: 'Noto Serif'; font-size: 16px; background-color: #ffffff;" href="/api/rest-api-1-0">API version 1.0.0</a> |
Retrieves the transaction type with the given ID in the account.
Since May 2020 “transactionTypeId” can either be the numeric ID of the the transaction type, or the url encoded name (string), instead.
Request
1 |
GET https://api.maileon.com/1.0/transactions/types/:transactionTypeId |
Response
Media type: application/vnd.maileon.api+xml
HTTP status code | Description |
---|---|
200 OK |
transaction type was found |
404 Not Found |
transaction type is not defined |
Example response body
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <transaction_type> <id>264</id> <name>JsonDataGeneratorFatalErrorLog</name> <archivingDuration>365</archivingDuration> <storeOnly>false</storeOnly> <attributes> <attribute> <id>1539</id> <name>message</name> <type>string</type> <required>true</required> </attribute> <attribute> <id>1540</id> <name>stacktrace</name> <type>string</type> <required>false</required> </attribute> </attributes> </transaction_type> |