# getRecordInfos

This method returns a list of records, selected by their id.

## Parameters

| Name        | Type               | Required | Description                                                   |
| ----------- | ------------------ | -------- | ------------------------------------------------------------- |
| cortexToken | `string`           | yes      | A token returned by [authorize](../authentication/authorize). |
| recordIds   | `array of strings` | yes      | A list of records id.                                         |

## Result

The result is an array of [record objects](record-object), including the markers of each record.

## Examples

{% tabs %}
{% tab title="Request" %}
```javascript
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getRecordInfos",
    "params": {
        "cortexToken": "xxx",
        "recordIds": ["db01c15e-d916-4a7b-9f1d-16295fd1c643"]
    }
}
```
{% endtab %}

{% tab title="Response" %}
```javascript
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": [{
        "applicationId": "com.jon.snow.winterfell-app",
        "applicationVersion": "1.0",
        "description": "",
        "endDatetime": "2019-06-06T15:57:58.472229+07:00",
        "experimentId": 0,
        "licenseId": "xxx",
        "licenseScope": [
            "pm",
            "eeg"
        ],
        "markers": [
            {
                "endDatetime": "2019-06-06T15:57:33.523627+07:00",
                "extras": {},
                "label": "test1",
                "port": "Cortex Example",
                "startDatetime": "2019-06-06T15:57:33.523627+07:00",
                "type": "instance",
                "uuid": "3e8d3a26-f4bf-486c-8ece-6efb8b739a51",
                "value": 41
            },
            {
                "endDatetime": "2019-06-06T15:57:49.530743+07:00",
                "extras": {},
                "label": "test2",
                "port": "Cortex Example",
                "startDatetime": "2019-06-06T15:57:41.529661+07:00",
                "type": "interval",
                "uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
                "value": 42
            }
        ],
        "ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
        "startDatetime": "2019-06-06T15:57:28.596410+07:00",
        "subject": {
            "subjectName": "Hodor"
        },
        "tags": [],
        "title": "Cortex Examples C++",
        "uuid": "db01c15e-d916-4a7b-9f1d-16295fd1c643"
    }]
}
```
{% endtab %}
{% endtabs %}
