Skip to main content

GET /trainees/{trainee_id}/placements/{placement_id}

Get a single placement for a trainee.

Request

GET /api/v1.0-pre/trainees/{trainee_id}/placements/{placement_id}

Parameters

Parameter In Type Required Description
trainee_id path string true The unique ID of the trainee
placement_id path string true The unique ID of the placement

Possible responses

HTTP 200 - A placement
    {
      "data": {
        "placement_id": "AXsRAS4LfwZZXvSX7aAfNUb4",
        "school_id": 26214,
        "urn": "123456",
        "name": "Meadow Creek School",
        "postcode": "AB1 2CD",
        "created_at": "2024-01-18T08:02:42.672Z",
        "updated_at": "2024-01-18T08:02:42.672Z"
      }
    }
    
HTTP 401 - Unauthorized
    {
      "error": "Unauthorized"
    }
    
HTTP 404 - Not found
    {
      "errors": [
        {
          "error": "NotFound",
          "message": "Placement(s) not found"
        }
      ]
    }