Examples

GET /api/v2/premium-service-requests/25
200
{
  "data": {
    "id": "25",
    "type": "premium-service-requests",
    "links": {
      "self": "http://test.host/api/v2/premium-service-requests/25"
    },
    "attributes": {
      "title": "Service Request",
      "description": null,
      "time-required": null,
      "smarts-required": null,
      "status": "submitted",
      "status-updated-at": "2018-01-24T09:59:35.132+08:00",
      "completed-at": null,
      "deliver-at": null,
      "updated-at": "2018-01-24T09:59:35.132+08:00",
      "rating": null,
      "feedback": null
    },
    "relationships": {
      "requestor": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/requestor",
          "related": "http://test.host/api/v2/premium-service-requests/25/requestor"
        }
      },
      "requestee": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/requestee",
          "related": "http://test.host/api/v2/premium-service-requests/25/requestee"
        }
      },
      "manager": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/manager",
          "related": "http://test.host/api/v2/premium-service-requests/25/manager"
        }
      },
      "premium-service": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/premium-service",
          "related": "http://test.host/api/v2/premium-service-requests/25/premium-service"
        }
      },
      "premium-service-attachments": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/premium-service-attachments",
          "related": "http://test.host/api/v2/premium-service-requests/25/premium-service-attachments"
        }
      },
      "premium-service-notes": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/premium-service-notes",
          "related": "http://test.host/api/v2/premium-service-requests/25/premium-service-notes"
        }
      },
      "activities": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/activities",
          "related": "http://test.host/api/v2/premium-service-requests/25/activities"
        }
      },
      "premium-service-activity-notes": {
        "links": {
          "self": "http://test.host/api/v2/premium-service-requests/25/relationships/premium-service-activity-notes",
          "related": "http://test.host/api/v2/premium-service-requests/25/premium-service-activity-notes"
        }
      }
    }
  }
}

Params

Param name Description
id
required

Premium Service Request ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.