Service Guides for ResourceIQ

Investigate use cases. Find sample scenarios. Learn how your applications can best use ResourceIQ.

Retrieve Transactions

The Retrieve Transactions endpoint allows you to retrieve transactions associated with your contacts, licenses, external document references or administrative access details. Each transaction listed in the response will have a transaction id, customer id, transaction type, extension type, extension object id and the date of the transaction.

To Retrieve Transactions (example):

Gather the following information for the request:

  • The customer ID and the API Key.
  • Choose the extension type that you would like the transactions for. Valid extension types are contact, license, external_document or admin_access.
  • Choose the transaction type that you would like the transactions for. Valid transaction types are create, update, delete, assignment_create, assignment_update or assignment_delete.

For this example, we are going to gather the update transactions for the contact extension type.

Request

GET  https://sandbox.ebsco.io/rm/rmaccounts/CUSTID/transactions?extensiontype=contact&transactiontype=update

Response

200 OK

{
  "items": [
    {
      "transactionId": 209247,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "1ddf65ef-19a8-4c3a-962e-f6a83613ba5a",
      "dateCreated": "2018-12-13T11:43:27.000Z"
    },
    {
      "transactionId": 209263,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "b1b6f89d-9c7c-464f-86b3-724712697f29",
      "dateCreated": "2018-12-13T11:56:13.000Z"
    },
    {
      "transactionId": 209279,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "cbbbaafa-7848-48a6-ab26-16ba3bb70cd8",
      "dateCreated": "2018-12-13T13:02:49.000Z"
    },
    {
      "transactionId": 209295,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "201e9671-a3ba-4697-aee5-212cedef6edc",
      "dateCreated": "2018-12-13T13:19:24.000Z"
    },
    {
      "transactionId": 209311,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "1b6f24e0-b405-4caa-87e1-0b1e221d9185",
      "dateCreated": "2018-12-13T13:24:41.000Z"
    },
    {
      "transactionId": 209327,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "07e046ac-03bf-4152-9b53-86b2087e1225",
      "dateCreated": "2018-12-13T13:55:30.000Z"
    },
    {
      "transactionId": 209343,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "a7e5d7e4-02b3-4b16-9469-b266c3e1158c",
      "dateCreated": "2018-12-13T14:23:07.000Z"
    },
    {
      "transactionId": 209359,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "a1f676a2-520a-4033-810c-66bbb209387d",
      "dateCreated": "2018-12-13T14:40:36.000Z"
    },
    {
      "transactionId": 209375,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "da7303ca-6dcf-445c-913f-f6a7974bb648",
      "dateCreated": "2018-12-13T15:42:55.000Z"
    },
    {
      "transactionId": 209391,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "22534301-e31d-4a01-baed-b1077f4cf4e2",
      "dateCreated": "2018-12-13T15:53:39.000Z"
    },
    {
      "transactionId": 209407,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "018ba315-7f23-40bc-9f30-435b4af1a640",
      "dateCreated": "2018-12-13T16:06:35.000Z"
    },
    {
      "transactionId": 209423,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "1e84c2e2-2d53-460a-8f12-6b555a258ab1",
      "dateCreated": "2018-12-13T16:23:42.000Z"
    },
    {
      "transactionId": 209439,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "54cbf318-a634-483f-8c8a-012cf041af64",
      "dateCreated": "2018-12-13T16:59:18.000Z"
    },
    {
      "transactionId": 209455,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "67a1cf65-f094-4651-9b21-9b3e185073d9",
      "dateCreated": "2018-12-13T17:00:29.000Z"
    },
    {
      "transactionId": 209471,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "42b20156-208a-4d59-9c1a-7ca067f2ec38",
      "dateCreated": "2018-12-13T17:06:44.000Z"
    },
    {
      "transactionId": 209487,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "e8768fe7-5c3c-498c-a1c2-e15450bf6efa",
      "dateCreated": "2018-12-14T08:57:06.000Z"
    },
    {
      "transactionId": 209745,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "fbe2f2a8-2ccb-4ce0-8884-676fc0243485",
      "dateCreated": "2018-12-14T14:40:12.000Z"
    },
    {
      "transactionId": 210852,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "6510731e-d7dc-4bd7-9125-5e471d85fc51",
      "dateCreated": "2018-12-17T12:11:48.000Z"
    },
    {
      "transactionId": 215869,
      "customerId": "123355",
      "transactionType": "UPDATE",
      "extensionType": "CONTACT",
      "objectId": "065cb541-681c-4dd9-a059-e78b72e31bc4",
      "dateCreated": "2019-01-17T18:52:59.000Z"
    }
  ],
  "totalResults": 19
}


For more information on the GET transactions resource, please refer to our interactive or service reference documentation.