# Franchise Courses

## Get franchise user 

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> branding/franchise
</span> 


```shell
curl -X GET https://vedaay-api.mulika.in/branding/franchise \
-H "Content-Type: application/json" \
-H Referer: http://192.168.1.96/mi96/vedaay_api/
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Franchise details retrieved successfully",
    "data": {
        "user_id": "402",
        "user_name": "avi",
        "first_name": "avi",
        "middle_name": "a",
        "last_name": "avi",
        "email": "avi@gmail.com",
        "mobile": "9876543210",
        "role_id": "5",
        "parent_id": "476",
        "profile_img": "100",
        "created_at": "2026-03-28 16:49:04",
        "updated_at": "2026-03-28 16:49:04",
        "status": "active",
        "created_by": "107",
        "scope": "/"
    }
}
```


## Get franchise courses

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> branding/franchise/courses
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/branding/franchise/courses \
-H "Content-Type: application/json" \
-H Referer: http://192.168.1.96/mi96/vedaay_api/
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Franchise courses retrieved successfully.",
    "data": [
        {
            "course_id": "254",
            "course_title": "Vedaay Champs new",
            "course_status": "active",
            "course_icon": {
                "media_id": "147",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/147/1770889860_IMG_9146.jpg",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/jpeg"
            },
            "course_img": {
                "media_id": "147",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/147/1770889860_IMG_9146.jpg",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/jpeg"
            },
            "course_gallary": [
                {
                    "media_id": "147",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/147/1770889860_IMG_9146.jpg",
                    "media_title": null,
                    "media_alt": null,
                    "media_type": "image/jpeg"
                },
                {
                    "media_id": "148",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/148/1770889880_686614d20bd8d_back5.jpg",
                    "media_title": null,
                    "media_alt": null,
                    "media_type": "image/jpeg"
                },
                {
                    "media_id": "151",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/151/1770955340_back4.jpg",
                    "media_title": null,
                    "media_alt": null,
                    "media_type": "image/jpeg"
                }
            ],
            "created_by": "107"
        }
    ]
}
```

## Get franchise single course

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> branding/franchise/courses/{id}
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/branding/franchise/courses/254 \
-H "Content-Type: application/json" \
-H Referer: http://192.168.1.96/mi96/vedaay_api/
```
> Responce:

```json
{
    "status": "success",
    "message": "Franchise course retrieved successfully.",
    "code": 200,
    "data": {
        "course_id": "254",
        "course_title": "Vedaay Champs new",
        "course_status": "active",
        "course_icon": {
            "media_id": "147",
            "media_src": "https://dev-api.vedaay.mulika.in/media/src/147/1770889860_IMG_9146.jpg",
            "media_title": null,
            "media_alt": null,
            "media_type": "image/jpeg"
        },
        "course_img": {
            "media_id": "147",
            "media_src": "https://dev-api.vedaay.mulika.in/media/src/147/1770889860_IMG_9146.jpg",
            "media_title": null,
            "media_alt": null,
            "media_type": "image/jpeg"
        },
        "course_gallary": [
            {
                "media_id": "147",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/147/1770889860_IMG_9146.jpg",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/jpeg"
            },
            {
                "media_id": "148",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/148/1770889880_686614d20bd8d_back5.jpg",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/jpeg"
            },
            {
                "media_id": "151",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/151/1770955340_back4.jpg",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/jpeg"
            }
        ],
        "created_by": "107"
    }
}
```

## Get franchise courses

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /franchise/courses
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/franchise/courses \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Courses retrieved successfully.",
    "data": [
        {
            "course_id": "1",
            "course_title": "Abacus",
            "course_description": "<p><strong>🧮 Abacus Course: Complete Mental Math &amp; Brain Development</strong></p><p><strong>Course Overview</strong><br>This course introduces students to the ancient art of the Abacus to master lightning-fast mental arithmetic. Students begin by learning how to calculate using the physical abacus tool and progressively transition to calculating purely in their minds through advanced visualization techniques. This program is highly scientifically proven to unlock a child's cognitive potential, turning them into \"human calculators\".</p><hr><p><strong>🎯 Key Learning Objectives</strong></p><ul><li><p><strong>Master Number Sense</strong>: Understand place values, bead formations, and numerical representation intuitively.</p></li><li><p><strong>Perform Rapid Arithmetic</strong>: Execute high-speed addition, subtraction, multiplication, and division.</p></li><li><p><strong>Develop Photographic Memory</strong>: Build advanced mental imagery to solve complex equations without paper or a physical tool.</p></li><li><p><strong>Bridge to Complex Concepts</strong>: Progress into decimals, fractions, and negative calculations in advanced stages.</p></li></ul><p></p>",
            "course_status": "active",
            "course_icon": {
                "media_id": "1",
                "media_src": "https://vedaay-api.mulika.in/media/src/1/1779795802_Gemini_Generated_Image_yge7tpyge7tpyge7.png",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/png"
            },
            "course_img": {
                "media_id": "2",
                "media_src": "https://vedaay-api.mulika.in/media/src/2/1779796965_ChatGPT%20Image%20Mar%2025,%202026,%2011_56_34%20PM.png",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/png"
            },
            "course_gallary": [
                {
                    "media_id": "3",
                    "media_src": "https://vedaay-api.mulika.in/media/src/3/1779797163_Gemini_Generated_Image_553vnx553vnx553v.png",
                    "media_title": null,
                    "media_alt": null,
                    "media_type": "image/png"
                }
            ],
            "created_by": "337"
        },
        {
            "course_id": "2",
            "course_title": "Vedic Math",
            "course_description": "<p>Vedic Mathematics is an ancient Indian system of mental calculation based on 16 <strong>Sutras</strong> (formulae) and 13 <strong>sub-sutras</strong>. Courses in this field are <strong>designed to increase calculation speed by 10–15 times compared to conventional methods</strong>.</p>",
            "course_status": "active",
            "course_icon": null,
            "course_img": null,
            "course_gallary": [],
            "created_by": "337"
        }
    ]
}
```
## Get franchise single course

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /franchise/courses/{id}
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/franchise/courses/254 \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Franchise course retrieved successfully.",
    "code": 200,
    "data": {
        "course_id": "1",
        "course_title": "Abacus",
        "course_description": "<p><strong>🧮 Abacus Course: Complete Mental Math &amp; Brain Development</strong></p><p><strong>Course Overview</strong><br>This course introduces students to the ancient art of the Abacus to master lightning-fast mental arithmetic. Students begin by learning how to calculate using the physical abacus tool and progressively transition to calculating purely in their minds through advanced visualization techniques. This program is highly scientifically proven to unlock a child's cognitive potential, turning them into \"human calculators\".</p><hr><p><strong>🎯 Key Learning Objectives</strong></p><ul><li><p><strong>Master Number Sense</strong>: Understand place values, bead formations, and numerical representation intuitively.</p></li><li><p><strong>Perform Rapid Arithmetic</strong>: Execute high-speed addition, subtraction, multiplication, and division.</p></li><li><p><strong>Develop Photographic Memory</strong>: Build advanced mental imagery to solve complex equations without paper or a physical tool.</p></li><li><p><strong>Bridge to Complex Concepts</strong>: Progress into decimals, fractions, and negative calculations in advanced stages.</p></li></ul><p></p>",
        "course_status": "active",
        "course_icon": {
            "media_id": "1",
            "media_src": "https://vedaay-api.mulika.in/media/src/1/1779795802_Gemini_Generated_Image_yge7tpyge7tpyge7.png",
            "media_title": null,
            "media_alt": null,
            "media_type": "image/png"
        },
        "course_img": {
            "media_id": "2",
            "media_src": "https://vedaay-api.mulika.in/media/src/2/1779796965_ChatGPT%20Image%20Mar%2025,%202026,%2011_56_34%20PM.png",
            "media_title": null,
            "media_alt": null,
            "media_type": "image/png"
        },
        "course_gallary": [
            {
                "media_id": "3",
                "media_src": "https://vedaay-api.mulika.in/media/src/3/1779797163_Gemini_Generated_Image_553vnx553vnx553v.png",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/png"
            }
        ],
        "created_by": "337"
    }
}
```

## Get teacher courses

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /franchise/teacher/courses
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/franchise/teacher/courses \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Courses retrieved successfully.",
    "data": [
        {
            "course_id": "272",
            "course_title": "Vedpad Basics",
            "course_description": "An introductory course to Vedpad, covering fundamentals and key concepts.",
            "course_status": "inactive",
            "course_icon": null,
            "course_img": {
                "media_id": "260",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/260/1775546285_bg-image1.png",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/png"
            },
            "course_gallary": [],
            "levels": [
                {
                    "level_id": "120",
                    "level_name": "Level 01 ",
                    "level_description": "<p>Level Bacis&nbsp;<strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since 1966, when designers at Letraset and James Mosley, the librarian at St Bride Printing Library in London, took a 1914 Cicero translation and scrambled it to make dummy text for Letraset's Body Type sheets. It has survived not only many decades, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised thanks to these sheets and more recently with desktop publishing software including versions of Lorem Ipsum.</p>"
                },
                {
                    "level_id": "121",
                    "level_name": "Level 02",
                    "level_description": "<p>Basic Single Digit Subtraction</p>"
                },
                {
                    "level_id": "122",
                    "level_name": "Level 03",
                    "level_description": "<p>Double Digit Addition</p>"
                },
                {
                    "level_id": "129",
                    "level_name": "Level 04",
                    "level_description": "<p>Level 04</p>"
                },
                {
                    "level_id": "130",
                    "level_name": "Level 05",
                    "level_description": "<p>Level 0 5</p>"
                },
                {
                    "level_id": "131",
                    "level_name": "Level 06",
                    "level_description": "<p>Level 06</p>"
                }
            ],
            "created_by": "366"
        }
    ]
}
```

## Get teacher show franchies students

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /franchise/teacher/student
</span> 

1.  GET /franchise/teacher/student
2.  GET /franchise/teacher/student?page=2&per_page=20
3.  GET /franchise/teacher/student?search=tushar
4.  GET /franchise/teacher/student?status=active
5.  GET /franchise/teacher/student?column_count=status
6.  GET /franchise/teacher/student?order=asc

```shell
curl -X GET https://vedaay-api.mulika.in/franchise/teacher/student \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Students retrieved successfully.",
    "pagination": {
        "total_records": 7,
        "current_page": 1,
        "per_page": 10,
        "total_pages": 1
    },
    "data": [
        {
            "user_id": "530",
            "user_name": "tushar ",
            "first_name": "tushar",
            "middle_name": "A",
            "last_name": "tushar",
            "email": "tushar@gmail.com",
            "mobile": "9890041673",
            "parent_id": "521",
            "status": "active"
        },
        {
            "user_id": "537",
            "user_name": "roshana",
            "first_name": "roshana",
            "middle_name": "abc",
            "last_name": "abc",
            "email": "roshana@gmail.com",
            "mobile": "9012345678",
            "parent_id": "521",
            "status": "active"
        },
        {
            "user_id": "531",
            "user_name": "akash ",
            "first_name": "ak",
            "middle_name": "ak",
            "last_name": "ak",
            "email": "ak@gmail.com",
            "mobile": "1458796452",
            "parent_id": "521",
            "status": "active"
        },
        {
            "user_id": "557",
            "user_name": "STD-550-00002",
            "first_name": "k",
            "middle_name": "r",
            "last_name": "y",
            "email": "ky11@gmail.com",
            "mobile": "1231231231",
            "parent_id": "521",
            "status": "active"
        },
        {
            "user_id": "558",
            "user_name": "STD-521-00001",
            "first_name": "nil11",
            "middle_name": "r",
            "last_name": "y",
            "email": "nil11@gmail.com",
            "mobile": "1231231231",
            "parent_id": "521",
            "status": "active"
        },
        {
            "user_id": "565",
            "user_name": "STD-521-00002",
            "first_name": "manoj",
            "middle_name": "r",
            "last_name": "manoj",
            "email": "manoj@gmail.com",
            "mobile": "1111111111",
            "parent_id": "521",
            "status": "active"
        },
        {
            "user_id": "522",
            "user_name": "mandar777",
            "first_name": "Mandar",
            "middle_name": "Santosh",
            "last_name": "Kadam",
            "email": "mandar@gmail.com",
            "mobile": "1234567890",
            "parent_id": "521",
            "status": "active"
        }
    ]
}
```

## Admin assigns courses to franchises

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #d7be4e; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> user/franchise/assign/{franchise_id}
</span> 

```shell
curl -X POST https://vedaay-api.mulika.in/user/franchise/assign/512 \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
  "courses_id": [272,299]
}'
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Courses assigned successfully",
    "data": {
        "courses_id": [
            272,
            299
        ],
        "franchise_id": "512"
    }
}
```

## Get franchise assign courses

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> user/franchise/assign/{franchise_id}
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/user/franchise/assign/512 \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "Success",
    "code": 200,
    "message": "Assign courses data retrieved successfully.",
    "data": [
        {
            "franchise_id": "512",
            "courses_id": "272",
            "course_title": "Vedpad Basics",
            "course_img": "https://dev-api.vedaay.mulika.in/media/src/260/1775546285_bg-image1.png",
            "status": "active",
            "levels": [
                {
                    "level_id": "120",
                    "level_name": "Level 01 "
                },
                {
                    "level_id": "121",
                    "level_name": "Level 02"
                },
                {
                    "level_id": "122",
                    "level_name": "Level 03"
                }
            ]
        },
        {
            "franchise_id": "512",
            "courses_id": "299",
            "course_title": "Vedpad Test 01",
            "course_img": "https://dev-api.vedaay.mulika.in/media/src/271/1777370391_MI92_IMG_0979.jpeg",
            "status": "active",
            "levels": [
                {
                    "level_id": "123",
                    "level_name": "new205"
                },
                {
                    "level_id": "125",
                    "level_name": "new215"
                }
            ]
        }
    ]
}
```
