# Read

## Read lectures

<mark style="color:green;">`POST`</mark> `https://event.talque.com/api/v1/lecture/read`

This endpoint allows you to read multiple lecture records in a single request.

#### Query Parameters

| Name                                            | Type   | Description                                                           |
| ----------------------------------------------- | ------ | --------------------------------------------------------------------- |
| orgId<mark style="color:red;">\*</mark>         | string | The API will do its best to find a cake matching the provided recipe. |
| lectureIdList<mark style="color:red;">\*</mark> | array  | List of lecture identifiers                                           |

{% tabs %}
{% tab title="200 Lecture successfully retrieved." %}

```javascript
{
    "lectureById":{
        "fMfhFCuBCXHd6dgbJvWx":{
            "model":{
                "backgroundImage":null,
                "customData":{
                    "data":[
                        {
                            "id":"B2ulKb4421KiWpuR4fPz",
                            "type":"TranslatedTextData",
                            "value":{
                                "DE_DE":"Mein Untertitel",
                                "EN_US":"Very Punny"
                            }
                        }
                    ]
                },
                "description":{
                    "DE_DE":"Sehr *Abstrakt*",
                    "EN_US":"Very *abstract*"
                },
                "descriptionHtml":{
                    "DE_DE":"<div class=\"msg_div\">\n<p class=\"msg_p\">Sehr <strong class=\"msg_strong\">Abstrakt<\/strong><\/p>\n<\/div>",
                    "EN_US":"<div class=\"msg_div\">\n<p class=\"msg_p\">Very <strong class=\"msg_strong\">abstract<\/strong><\/p>\n<\/div>"
                },
                "format":"talk",
                "isHighlight":true,
                "isPublic": true,
                "isPublished": true,
                "languageOther":{},
                "languages":[
                    "RUS"
                ],
                "lectureId":"fMfhFCuBCXHd6dgbJvWx",
                "mtime":1538496600000,
                "name":{
                    "DE_DE":"Vortragstitel",
                    "EN_US":"Talk title"
                },
                "period":{
                    "duration":60,
                    "end":1539882600000,
                    "isTimed":true,
                    "periodType":"TIME",
                    "start":1539879000000
                },
                "roomId":null,
                "speakerRole":{
                    "GTOD9d0P9IJQGI5f8DeZ":"MODERATOR"
                },
                "speakers":[
                    "8f7dBiIGtWOttptVLagH",
                    "GTOD9d0P9IJQGI5f8DeZ"
                ],
                "tags":[
                    "top"
                ],
                "topics":[
                    "fin"
                ]
            },
            "reason":"SUCCESS",
            "success":true
        }
    },
    "orgId":"RVZA0drygVK5NbrZuQnB",
    "reason":"SUCCESS",
    "reasonEnum":"LectureReadReason",
    "success":true
}
```

{% endtab %}

{% tab title="404 Could not find a lecture matching this query. Note that the request status is actually 200, the failure of returning a lecture is in the per-lecture reason field." %}

```javascript
{
    "lectureById":{
        "mxtYyqX36L1wVrK73YM4":{
            "model":null,
            "reason":"NOT_FOUND",
            "success":false
        }
    },
    "orgId":"RVZA0drygVK5NbrZuQnB",
    "reason":"SUCCESS",
    "reasonEnum":"LectureReadReason",
    "success":true
}
```

{% endtab %}
{% endtabs %}

### Example Request

```javascript
{
    "lectureIdList":[
        "MUxL57F2TjFzPduHoFw0"
    ],
    "orgId": "qRY08MFxsIo97DecfEPk"
}
```

### Example Response

```json
{
  "lectureById": {
    "MUxL57F2TjFzPduHoFw0": {
      "model": {
        "isHighlight": false,
        "description": {
          "DE_DE": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
          "EN_US": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
        },
        "tags": [],
        "topics": [],
        "customData": {
          "data": []
        },
        "period": {
          "duration": 120,
          "start": 1717167600000,
          "end": 1717174800000,
          "periodType": "TIME"
        },
        "mtime": 1678106830105,
        "vendors": [
          "IO8WdkXAwIDGdvpJ0s9X"
        ],
        "roomId": "OFDQB3uxbQm7gstgTxlD",
        "partCollection": {
          "files": [],
          "customData": {
            "data": []
          },
          "parts": [],
          "adminDeck": null,
          "deck": null
        },
        "speakers": [],
        "name": {
          "DE_DE": "Norah di Flora - Koncert",
          "EN_US": "Norah di Flora - Concert"
        },
        "format": "yze",
        "isPublished": true,
        "languages": [],
        "descriptionHtml": null,
        "backgroundImage": null,
        "languageOther": {},
        "lectureId": "MUxL57F2TjFzPduHoFw0",
        "speakerRole": {},
        "isPublic": true,
        "isBlocker": false
      },
      "reason": "SUCCESS",
      "success": true
    }
  },
  "reason": "SUCCESS",
  "orgId": "qRY08MFxsIo97DecfEPk",
  "success": true,
  "reasonEnum": "LectureReadReason"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://talque.gitbook.io/public/json-api/lecture/read.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
