Wingfield Logo
Wingfield Partner API
Session

Get session details

GET
/api/v1/sessions/{sessionId}

Retrieve full details for a session.

Path Parameters

sessionId*string

Session ID (UUID).

Formatuuid

Error Responses

400

invalid_schema

Request validation failed.

401

missing_api_token

No authentication token provided.

401

invalid_api_token

Invalid or expired authentication token.

403

scope_permission_denied

Insufficient permissions for this operation.

403

user_access_denied

Service is not granted access to the user.

404

session_not_found

Session was not found.

curl -X GET "https://dev.wingfield.systems/api/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "type": "string",
  "sportType": "TENNIS",
  "durationSeconds": 0,
  "startedAt": "2019-08-24T14:15:22Z",
  "teams": [
    {
      "users": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "string"
        }
      ]
    }
  ]
}
{
  "error": {
    "type": "invalid_schema",
    "message": "string",
    "issues": [
      {}
    ]
  }
}
{
  "error": {
    "type": "missing_api_token",
    "message": "string"
  }
}
{
  "error": {
    "type": "scope_permission_denied",
    "message": "string"
  }
}
{
  "error": {
    "type": "session_not_found",
    "message": "string"
  }
}