Notifications debugging

Every time a notification is sent to an application, a transaction is recorded and available on the endpoint /transaction_logs
For instance, you can find there the return status from accounting applications API, this can be useful for debugging purposes.

You can use filtering when requesting this endpoint

Get 100 records starting from record number 150

https://api-connec.maestrano.com/api/v2/GROUP_ID/transaction_logs?$top=100&$skip=150

Get the first 10 records for organizations updates

https://api-connec.maestrano.com/api/v2/GROUP_ID/transaction_logs?$top=10&$filter=entity_name eq 'Organization'

Example of response

{
  "transaction_logs": [
    {
      "id": "6dcafbd1-89a2-0133-a24c-025dd6a1bb31",
      "reference": "a47c300c-e007-4a05-8d23-072e9bacc578",
      "entity_id": "cbc476e0-899b-0133-b5c6-025dd6a1bb31",
      "entity_name": "Invoice",
      "group_id": "cld-90ar",
      "action": "BULK UPDATE",
      "status": "SUCCESS",
      "created_at": "2015-12-20T23:50:53Z",
      "updated_at": "2015-12-20T23:50:53Z",
      "channel_id": "org-fc3l",
      "resource_type": "transaction_logs"
    },
    {
      "id": "5de4b991-8060-0133-cd59-0226738d8c99",
      "reference": "6a2bec7a-4d68-40de-b104-dd4faf409b09",
      "entity_id": "86f51711-8058-0133-5df7-0226738d8c99",
      "entity_name": "Invoice",
      "group_id": "cld-90ar",
      "action": "BULK UPDATE",
      "status": "ERROR",
      "message": "Invoice not of valid status for modification, This document cannot be edited as it has a payment or credit note allocated to it.",
      "created_at": "2015-12-09T05:05:19Z",
      "updated_at": "2015-12-09T05:05:19Z",
      "channel_id": "org-fc3l",
      "resource_type": "transaction_logs"
    }
  ]
}