---
title: "Updates lesson information, and uploads json file."
method: POST
path: "/Template/UpdateLesson3D"
tags: ["Template"]
---

# Updates lesson information, and uploads json file.

`POST /Template/UpdateLesson3D`

<br>
  <i>Replaces "MobileService/MobileService.svc/UploadFile", and "MobileService/TeacherService.svc/AddNewLesson" services.</i>
</br>

## Headers

- `X-Version` string

## Request body

- UpdateLesson3DRequest
  - `instituteId` integer, required — Institute identifier
  - `lessonId` integer, required — Lesson identifier
  - `file` string, nullable — Lesson json file, in base64 string
  - `lessonAppVersion` string, nullable — Lesson app version identifier. <br>Format: major.minor[.build[.revision]]</br><br>Optional components are shown in square brackets</br>

## Response `200`

Success

## Other responses

- `400` — If param invalid
- `401` — If unauthorized

---

[API](https://skmtc.dev/eon-xr/apis/eonxr-api.md) · [All operations](https://skmtc.dev/eon-xr/apis/eonxr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eon-xr/eonxr-api/revisions/538c75161c64/schema)
