Team Squad

Introduction

The squad include provide information about the player who currently play for the requested team.

{
    // .....
    "included": [
        {
            "type": "players",
            "id": "908",
            "attributes": {
                "firstname": "Callum",
                "lastname": "Ferguson",
                "fullname": "Callum Ferguson",
                "image_path": null,
                "dateofbirth": "1984-11-21",
                "gender": "m",
                "position_id": 1,
                "country_id": 98,
                "updated_at": "2018-11-16T10:18:34+00:00"
            },
            "relationships": {
                "country": [],
                "position": []
            }
        },
    ]
}

Relationship Details

Below you can find the details for this relationship.

Name Value
Relationship: squad
Nested Relationships:
Include Example: https://cricket.sportmonks.com/api/1/teams/{id}?include=squad
Callable Via Relationship: true
Relative Relationship Url: /api/v1/__PARENT__/__PARENTID__/squad

Questions?

We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.

This article was last updated on 2019-01-17 15:25:41

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?