---
title: "Get the latest asset used for a lesson as demo."
method: POST
path: "/Template/GetDemoLesson3DAssetCurrentVersion"
tags: ["Template"]
---

# Get the latest asset used for a lesson as demo.

`POST /Template/GetDemoLesson3DAssetCurrentVersion`

<br>
  <i>Replaces "AVRCMSService/Common/AdminMaintainLessonAssetVersion:GETCURRENTVERSION" service.</i>
</br>
<br>
  <b>FileFormatId</b>: 12 (GLTF), 9 (EMP), 1 (EOP)</br>
<br>
  <b>PlatformID</b>: For backward compability, do not use this. Use FileFormatId.</br>

## Headers

- `X-Version` string

## Request body

- GetLesson3DAssetCurrentVersionRequest
  - `lessonId` integer, required — Lesson identifier
  - `fileFormatId` integer — File format identifier
  - `platformID` integer — DO not use this, use ONLY FileFormatId This is added for beta app that is release for public user testing, and the BETA app is still refering to platformID. This is added to backward support.
  - `gLBCompressionType` 1 | 2 | 3 | 4 | 5

## Response `200`

Success

- LessonAssetVersionV1
  - `id` integer, nullable
  - `lessonId` integer, nullable
  - `contentId` integer, nullable
  - `name` string, nullable
  - `version` integer, nullable
  - `versionId` integer, nullable
  - `comments` string, nullable
  - `dateCreated` string, date-time, nullable
  - `createdBy` integer, nullable
  - `type` string, nullable
  - `isSelected` boolean, nullable
  - `instituteId` integer, nullable
  - `url` string, nullable
  - `orientationFix` string, nullable
  - `lastModifiedDate` string, date-time, nullable

## 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)
