> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET (/serviceconfigs/{scid}/sessiontemplates)

> GET (/serviceconfigs/{scid}/sessiontemplates)

# GET (/serviceconfigs/{scid}/sessiontemplates)

Recupera un conjunto de plantillas de sesión del MPSD.

> **Importante:**\
> Este método de URI requiere un elemento de encabezado X-Xbl-Contract-Version: 104/105 o posterior en cada solicitud.

* [Parámetros de URI](#ID4ET)
* [Códigos de estado HTTP](#ID4E5)
* [Cuerpo de la solicitud](#ID4EFB)
* [Cuerpo de la respuesta](#ID4EQB)

## Parámetros de URI

\| Parámetro| Tipo| Descripción|
\| --- | --- | --- | --- |
\| scid| GUID| Identificador de configuración de servicio (SCID). Parte 1 del ID de sesión.|
\| sessionTemplateName| string| Nombre de la instancia actual de la plantilla de sesión. Parte 2 del ID de sesión. |

## Códigos de estado HTTP

El servicio devuelve un código de estado HTTP según se aplica al MPSD.

## Cuerpo de la solicitud

No se envían objetos en el cuerpo de esta solicitud.

## Cuerpo de la respuesta

```cpp theme={null}
{
    "results": [ {
            "xuid": "9876",    // If the session was found from a xuid, that xuid.
            "startTime": "2009-06-15T13:45:30.0900000Z",
            "sessionRef": {
                "scid": "foo",
                "templateName": "bar",
                "name": "session-seven"
            },
            "accepted": 4,    // Approximate number of non-reserved members.
            "status": "active",    // or "reserved" or "inactive". This is the state of the user in the session, not the session itself. Only present if the session was found using a xuid.
            "visibility": "open",    // or "private", "visible", or "full"
            "joinRestriction": "local",    // or "followed". Only present if 'visibility' is "open" or "full" and the session has a join restriction.
            "myTurn": true,    // Not present is the same as 'false'. Only present if the session was found using a xuid.
            "keywords": [ "one", "two" ]
        }
    ]
}

```

## Consulte también

##### Elemento primario

[/serviceconfigs/{scid}/sessiontemplates](https://docs.xbox.com/es/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplates.md)


## Related topics

- [GET (/serviceconfigs/{scid}/sessiontemplates/{sessionTemplateName})](https://docs.xbox.com/es/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplatessessiontemplatenameget.md)
- [GET (/serviceconfigs/{scid}/sessiontemplates/{sessionTemplateName}/sessions)](https://docs.xbox.com/es/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplatessessiontemplatenamesessionsget.md)
- [GET (/serviceconfigs/{scid}/sessiontemplates/{sessionTemplateName}/sessions/{sessionName})](https://docs.xbox.com/es/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplatessessiontemplatenamesessionssessionnameget.md)
- [/serviceconfigs/{scid}/sessiontemplates](https://docs.xbox.com/es/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplates.md)
- [/serviceconfigs/{scid}/sessiontemplates/{sessionTemplateName}](https://docs.xbox.com/es/reference/live/rest/uri/sessiondirectory/uri-serviceconfigsscidsessiontemplatessessiontemplatename.md)
