Examples

GET /api/v2/premium-service-requests
200
{
  "data": [
    {
      "id": "27",
      "type": "premium-service-requests",
      "links": {
        "self": "http://test.host/api/v2/premium-service-requests/27"
      },
      "attributes": {
        "title": "Service Request",
        "description": null,
        "time-required": null,
        "smarts-required": null,
        "status": "submitted",
        "status-updated-at": "2018-01-24T09:59:35.933+08:00",
        "completed-at": null,
        "deliver-at": null,
        "updated-at": "2018-01-24T09:59:35.933+08:00",
        "rating": null,
        "feedback": null
      },
      "relationships": {
        "requestor": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/requestor",
            "related": "http://test.host/api/v2/premium-service-requests/27/requestor"
          }
        },
        "requestee": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/requestee",
            "related": "http://test.host/api/v2/premium-service-requests/27/requestee"
          }
        },
        "manager": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/manager",
            "related": "http://test.host/api/v2/premium-service-requests/27/manager"
          }
        },
        "premium-service": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/premium-service",
            "related": "http://test.host/api/v2/premium-service-requests/27/premium-service"
          }
        },
        "premium-service-attachments": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/premium-service-attachments",
            "related": "http://test.host/api/v2/premium-service-requests/27/premium-service-attachments"
          }
        },
        "premium-service-notes": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/premium-service-notes",
            "related": "http://test.host/api/v2/premium-service-requests/27/premium-service-notes"
          }
        },
        "activities": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/activities",
            "related": "http://test.host/api/v2/premium-service-requests/27/activities"
          }
        },
        "premium-service-activity-notes": {
          "links": {
            "self": "http://test.host/api/v2/premium-service-requests/27/relationships/premium-service-activity-notes",
            "related": "http://test.host/api/v2/premium-service-requests/27/premium-service-activity-notes"
          }
        }
      }
    }
  ],
  "meta": {
    "total-pages": 1,
    "record-count": 1
  },
  "links": {
    "first": "http://test.host/api/v2/premium-service-requests?filter%5Bfulltext%5D=Service+Request&page%5Bnumber%5D=1&page%5Bsize%5D=10",
    "last": "http://test.host/api/v2/premium-service-requests?filter%5Bfulltext%5D=Service+Request&page%5Bnumber%5D=1&page%5Bsize%5D=10"
  }
}