---
# System prepended metadata

title: CAMY

---

# CAMY


## Training

endpoint
```
user

- trainings/:id [GET]
- trainings [GET]
- trainings/:id/timeline [GET]
- trainings/:id/cert [GET]
- trainings/:id/book [POST]
- trainings/:id/wishlist [POST]
- trainings/:id/attendance [POST]
- trainings/:id/quizes [GET]
- trainings/:id/quizes [POST]
    - peninailan training
    - generate sertifikat
- trainings/:id/feedback [GET]
- trainings/ondemand/:training_id/:module_id/detail [GET]
- trainings/ondemand/:training_id/module-list [GET]
- trainings/ondemand/:training_id/:module_id [POST]

- checkout/:uuid [GET]
- checkout/:uuid [POST]

- payment-notification [POST]

- users/ongoing-trainings [GET]
- users/profile [GET]
- users/wishlist [GET]

- users/wallet [GET]
- users/wallet/topup [POST]
- users/wallet/topup/status [GET]

- users/transactions/history [GET]

PIC
- trainings/:id/apply-pic [POST]
- pic/trainings [GET] [params=> {type: ongoing, requested,search}]
- pic/trainings/setup [GET,POST]
- pic/trainings/:id/participant [GET]
- pic/trainings/:id/start [POST]
- pic/trainings/:id/apply 



corporate

```
```json
{
    "title": "title",    
}

```


### HOME

```
- trainings
- mentors
- organizer
- categories
```

### Training Detail
```
- trainings/:id [GET]
- trainings [GET]
- trainings/:id/timeline [GET]
- trainings/:id/cert [GET]
- trainings/:id/book [POST]
- trainings/:id/wishlist [POST]
- trainings/:id/attendance [POST]

- trainings/ondemand/:training_id/:module_id/detail [GET]
- trainings/ondemand/:training_id/module-list [GET]
- trainings/ondemand/:training_id/:module_id [POST]
```

### Training Video On Demand
```
- trainings/:id [GET]
- trainings/:id/modules [GET] [Rahmad] [DONE]
- trainings/:id/modules/:module_id/content/:content_id [GET] [Rahmad] 
- trainings/:id/progress [POST]
- trainings/:id/submit-test/:module_id


```

### FEEDBACK

```
- trainings/:id/feedback [GET]
- trainings/:id/feedback [POST]
```

```
id
training_id
type [training, trainer, organizer, tempat]
feedback
rating
user_id
```

### NOTIFICATION

```
- notification [GET]
- notification [POST]
```
### QUIZ
```
- trainings/:id/quizes [GET]
- trainings/:id/quizes [POST]
```
### Apply PIC
```
- pic/training/apply [POST]
```

### Transaction
```
- transactions
- checkout/:uuid [GET]
- checkout/:uuid [POST]

```

### User
```
- user/profile
- user/setting
- user/trainings [GET] [params=> {type: ongoing, requested,search, request_type: mentor, pic}]
- user/wishlist
```

### Training Creation
```
- trainings/normal [POST]
- trainings/ondemand [POST]
```

### Module Creation
```
- modules [POST]
- modules/material-list [GET]
```
### Material Creation
```
- materials [POST]
- materials/material-list [GET]
```


### Organization
```
- organizations [GET]
- organizations/:id/detail [GET]
- organizations/:id/mentors [GET]
- organizations/:id/trainings [GET]
- organization [POST|PUT]
- organization/member
```

### PIC

```
- trainings/:id/apply-pic [POST]
- pic/trainings [GET] [params=> {type: ongoing, requested,search}]
- pic/trainings/setup [GET,POST]
- pic/trainings/:id/participant [GET]
- pic/trainings/:id/start [POST]
- pic/trainings/:id/apply 
```


### Wallet
```
- wallets/histories [GET]
- wallets/topup [POST]
- wallets/disbursement [POST]
```

### Employee
```
- organization/employees [GET]
- organization/employees/:id [GET]
- organization/employees [POST]
```

### Membership
```
- plans
- plans/buy
```

### Invoices
```
- invoices [GET]
- invoice/:invoice_id [GET]
```

### Abilities
```
- abilities [GET]
- abilities/:user_id [GET]
- abilities [POST]
```

### Consultation
```
- consultations/mentor-list [GET]
- consultation/request [POST]
- consultation/consult/:consultation_id [POST]
- user/my-consultation
```

### Mentor
```
- mentor/consultations
- mentor/consultations/:consultation_id
```

### Dashboard
```
- dashboard/corporate
- dashboard/asociate
- dashboard/professional
- dashboard/user
```

```
- Youtube
- Gdrive
- Directlink
```


```json

```

### Booking
```
Cek dulu sebelum masuk redis slotnya
Order disimpan di redis, booking selama 15 menit,
redist_key,
user_id,
training_id,
timestamp,
status

tambah payment type dengan ttl, jumlah booking
```

### Order
```

```


### TIMELINE
```json
{
    "id": timeline_id,
    "training_id": training_id ->reference (training),
    "step": (registration, day_1, )
}
```


```
Register
    - google register [DONE]
    - normal register [DONE]
    
Login
    - google login [DONE]
    - normal login [DONE]
    
Home
    - Newest training
    - Popular training
    - Webinar Popular
    - Mentor
    - Place
    - Feedbacks
    
Katalog
    - List [DONE]
    - Search [DONE]
    
Training 
    - Creation
        - On demand training [DONE]
        - normal training [DONE]
    - detail training [DONE]
    - timeline [DONE]
    - User status [DONE]
    - Feedbacks [DONE]
    - Quiz [DONE]
    - Certificate [Pending]
    - Histories [Pending]
    - Ondemand
        - Module list [DONE]
        - Module Detail [DONE]
        - Record Progress [PENDING]
    - Booking
        - Add Booking [DONE]
        - Detail Booking [DONE]
        - Delete Booking [DONE]
    - Attendance [DONE]

Mentor
    - Mentor list [DONE]
    - Detail Mentor [PENDING]
    - Request mentor [DONE]
    
Organizer
    - List [DONE]
    - Detail [DONE]
    - Trainings [PENDING]
    - Employee List [PENDING]
    - Employee Add [PENDING]
    
Membership
    - List [DONE]
    - Upgrade Plan [DONE]
    
Forget Password [DONE]

Order
    - Booking [DONE]
    - Cancel Booking [DONE]
    - Checkout [DONE]
    - Payment [DONE]
    - Payment handler [ON PROGRESS]

Wishlist
    - List [DONE]
    - Add [DONE]
    - Remove [DONE]
Wallet
    - History [ON PROGRESS]
    - Topup [ON PROGRESS]
    - Withdrawal [ON PROGRESS]
    

Transaction History

Module
    - List [DONE]
    - Add [DONE]
    - Update [DONE]
    - Delete [DONE]
Material
    - List [DONE]
    - Add [DONE]
    - Update [DONE]
    - Delete [DONE]
    - My Material [DONE]
    - Question List [DONE]


Question
    - List [DONE]
    - Detail [DONE]
    - Create [DONE]
    - Update [DONE]
    - Delete [DONE]
    
Material File
    - List [DONE]
    - Detail [DONE]
    - Create [DONE]
    - Update [DONE]
    - Delete [DONE]
Users
    - Profile [DONE]
Konsultasi
Konsultasi History
Setting
Dashboard Trainer
Dashboard Corporat
Request Konsultasi
Invoice
Dashboard
Notifikasi
check plan, roles & hak akes
```