> For the complete documentation index, see [llms.txt](https://ajuda.rnp.br/eduplay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.rnp.br/eduplay/video-sob-demanda/manual-de-integracoes/api-para-integracao-com-o-eduplay/transmissoes-de-video-ao-vivo-pontos-de-integracao/atualizacao-dos-dados-de-agendamento-de-uma-transmissao-preexistente.md).

# Atualização dos dados de agendamento de uma transmissão preexistente

{% hint style="info" %}
Para o uso desse endpoint é necessário que suas credenciais de acesso tenham permissão para o uso do OAuth 2.0 para autorização.
{% endhint %}

<mark style="color:green;">`POST`</mark> `https://eduplay.rnp.br/services/transmission/update/{identifierOrigin}/schedule`

#### Path Parameters

| Name                                               | Type   | Description                                       |
| -------------------------------------------------- | ------ | ------------------------------------------------- |
| identifierOrigin<mark style="color:red;">\*</mark> | String | identificador único do vídeo no sistema de origem |

#### Query Parameters

| Name        | Type    | Description                                                                                                                                                                                                                                                                                        |
| ----------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| generateVoD | Boolean | definir se é para gerar um vídeo sob demanda a partir da transmissão. **IMPORTANTE:** caso já existe um vídeo sob demanda associado a transmissão, o mesmo será substituído pelo novo arquivo gerado. Caso não seja passado o parâmetro, o valor padrão é <mark style="color:red;">`false`</mark>. |

{% tabs %}
{% tab title="200: OK " %}

```xml
<returnMessage>
	<operationCode>CODIGO_DA_OPERACAO_DE_SUCESSO_OU_ERRO</operationCode>
	<message>MENSAGEM_EXPLICATIVA</message>
</returnMessage>
```

{% endtab %}

{% tab title="403: Forbidden " %}

{% endtab %}

{% tab title="503: Service Unavailable " %}

{% endtab %}

{% tab title="500: Internal Server Error " %}

{% endtab %}

{% tab title="412: Precondition Failed " %}

{% endtab %}

{% tab title="401: Unauthorized " %}

{% endtab %}
{% endtabs %}

**Considerações sobre os dados de agendamento da transmissão:**

* No corpo da requisição, as informações do agendamento da transmissão devem ser enviadas conforme formato do tipo <mark style="color:red;">`transmissionMetadata`</mark>, definido na descrição dos serviços em [api-docs](https://eduplay.rnp.br/services/v3/api-docs).
* Necessário enviar pelo menos uma entrada do tipo <mark style="color:red;">`TransmissionSchedule`</mark>.
* Para cada <mark style="color:red;">`schedule`</mark>, as informações obrigatórios são <mark style="color:red;">`day`</mark> e <mark style="color:red;">`endTime`</mark>. No caso de apenas essas informações, apenas o horário final da transmissão do dia correspondente será atualizado.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ajuda.rnp.br/eduplay/video-sob-demanda/manual-de-integracoes/api-para-integracao-com-o-eduplay/transmissoes-de-video-ao-vivo-pontos-de-integracao/atualizacao-dos-dados-de-agendamento-de-uma-transmissao-preexistente.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
