Examples

GET /api/v2/premium-service-transactions
200
{
  "data": [
    {
      "id": "2",
      "type": "premium-service-transactions",
      "links": {
        "self": "http://test.host/api/v2/premium-service-transactions/2"
      },
      "attributes": {
        "transaction-type": "credit",
        "smarts": "60.0",
        "amount": "7500.0",
        "created-at": "2018-01-24T09:59:47.933+08:00",
        "updated-at": "2018-01-24T09:59:47.933+08:00"
      },
      "relationships": {
        "company": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-transactions/2/relationships/company",
            "related": "http://test.host/api/v2/premium-service-transactions/2/company"
          }
        },
        "premium-service-request": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-transactions/2/relationships/premium-service-request",
            "related": "http://test.host/api/v2/premium-service-transactions/2/premium-service-request"
          }
        }
      }
    }
  ],
  "meta": {
    "total-pages": 1,
    "record-count": 1
  },
  "links": {
    "first": "http://test.host/api/v2/premium-service-transactions?page%5Bnumber%5D=1&page%5Bsize%5D=10",
    "last": "http://test.host/api/v2/premium-service-transactions?page%5Bnumber%5D=1&page%5Bsize%5D=10"
  }
}