---
# System prepended metadata

title: New LXP

---

# Project Xperience
## Onboarding Json
> Api

```
https://cdn.10minuteschool.com/onboarding_v2_1745923677311.json
```

## Onboarding Auto Enrolment(New)
```
curl --request POST \
  --url 'http://stage-api.10minuteschool.net/enrolment-service/api/v1/enrolments/onboarding?=' \
  --header 'Content-Type: application/json' \
  --data '{
	"vertical": "k12",
	"segment": "6",
	"group": "science",
	"batch": "hsc-26"
}'
```
Auth Required *
Sample Response
```
{
   "data":[
      {
         "product_id":"40",
         "title":"ghore boshe spoken english",
         "sku_id": "40",
         "plan_id": "145",
         "media":[
            {
               "name":"preview_gallery",
               "resource_type":"video",
               "resource_value":"11imlf3CysY",
               "thumbnail_url":"https://cdn.10minuteschool.com/images/thumbnails/ghore-boshe-spoken-english-online-course-updated-thumbnails.jpg",
               "order_idx":1
            },
            {
               "name":"sqr_img",
               "resource_type":"image",
               "resource_value":"https://cdn.10minuteschool.com/images/thumbnails/ghore-boshe-spoken-english-online-course-updated-sqr-thumbnails.jpg",
               "order_idx":2
            },
            {
               "name":"thumbnail",
               "resource_type":"image",
               "resource_value":"https://cdn.10minuteschool.com/images/thumbnails/ghore-boshe-spoken-english-online-course-updated-thumbnails.jpg",
               "order_idx":3
            }
         ],
         "slug":"ghore-boshe-spoken-english",
         "platform":"skills"
      }
   ]
}
```

## Routine Api(Old)
> Api

Request

```
vertical=vertical-slug
segment=segment-slug
group=group-slug
batch=batch-slug
```
Response
```

```

## Latest Contents (New)

```
https://stage-api.10minuteschool.net/k12-course-service/api/v2/contents/latest
```

Request

```
limit=7
catalog_product_id=10091(optional)
vertical=vertical-slug
segment=segment-slug
group=group-slug
batch=batch-slug
```
Response
```
{
	"data": [
		{
			"course": {
				"catalog_product_id": 10091,
				"product_slug": "ob23-class-10",
				"program_id": 142,
				"program_name": {
					"en": "১০ম শ্রেণি - অনলাইন ব্যাচ ২০২৩ - EN",
					"bn": "১০ম শ্রেণি - ok অনলাইন ব্যাচ ২০২৩"
				},
				"program_short_name": {
					"text": "10-OB-2023",
					"color": "#c55a20"
				},
				"course_id": 272,
				"course_name": {
					"bn": "পদার্থবিজ্ঞান",
					"en": "Physics"
				}
			},
			"content": {
				"step_id": 2407,
				"chapter_id": 43,
				"map_content_id": 69392,
				"content_id": "213213",
				"in_content_id": 213213,
				"content_service_id": "213213",
				"content_type": "lesson",
				"subtype": "",
				"name": "Online Batch: Welcome Video",
				"thumbnail": "https:\/\/cdn.10minuteschool.com\/images\/k-12-courses\/thumbnail_lesson.png",
				"status": null,
				"media_type": "jw",
				"tag_id": 0,
				"created_at": "2024-01-29T00:00:00Z"
			}
		}
	]
}
```

## Taxonomies Products (batch,group filter needed)(Old) . Online Batch Courses
```
curl --request GET \
  --url 'https://stage-api.10minuteschool.net/discovery-service/api/v1/taxonomies/products?vertical=k12&segment=6&product_limit=99&group_by=modality&group=science&batch=hsc-26' \
  --header 'User-Agent: insomnia/8.4.5' \
  --header 'X-TENMS-SOURCE-LANG: bn'
```


## ERP
1. Mode in product (Auth Required*)

```
curl --request PATCH \
  --url https://stage-api.10minuteschool.net/catalog-service/api/v2/admin/products/10538 \
  --header 'Content-Type: application/json' \
  --data '{
	"mode": "live" // live,archive,unlisted
}'
```
2. segments product mapping Create (Auth Required*)
```
curl --request POST \
  --url https://stage-api.10minuteschool.net/catalog-service/api/v2/admin/segments-free-products \
  --header 'Content-Type: application/json' \
  --data '{
	"product_id": 153,
	"sku_id": 153,
	"vertical": "k12",
	"segment": "6",
	"group": "science",
	"batch": "hsc-26"
}'
```
3. segments product mapping Delete (Auth Required*)
```
curl --request DELETE \
  --url https://stage-api.10minuteschool.net/catalog-service/api/v2/admin/segments-free-products/5 \
  --header 'Content-Type: application/json'
```
4. segments product mapping FindAll (Auth Required*)
```
curl --request GET \
  --url https://stage-api.10minuteschool.net/catalog-service/api/v2/admin/segments-free-products \
  --header 'Content-Type: application/json'
```