# FAQ — API test log

- **When:** 2026-10-25 15:52:59
- **Base:** `http://127.0.0.1:8000/api`
- **Result:** 5 passed / 0 failed / 5 total

| Action | Method | Path | HTTP | Time | Result |
|---|---|---|---|---|---|
| List | GET | `/mf-faq/mf-faq-index` | 200 | 328ms | **PASS** |
| Create | POST | `/mf-faq/mf-faq-store` | 201 | 255ms | **PASS** |
| Show | GET | `/mf-faq/mf-faq-show/5` | 200 | 217ms | **PASS** |
| Update | POST | `/mf-faq/mf-faq-update/5` | 200 | 244ms | **PASS** |
| Delete | DELETE | `/mf-faq/mf-faq-delete/5` | 200 | 260ms | **PASS** |

## Responses

### List (`GET /mf-faq/mf-faq-index`)

```json
{
  "status": true,
  "data": [
    {
      "id": 1,
      "question": "What is NAV?",
      "answer": "Net Asset Value per unit \u2014 the fund\u2019s assets minus liabilities, divided by units outstanding, usually published each business day.",
      "sort_order": 1,
      "create_by": null,
      "update_by": null,
      "create_at": "2026-10-13T22:38:00.000000Z",
      "update_at": "2026-10-13T22:38:00.000000Z",
      "created_by": null,
      "updated_by": null
    },
    {
      "id": 2,
      "question": "What is a minimum SIP?",
      "answer": "The smallest monthly amount the fund accepts for a systematic investment plan. Amounts vary by fund and are set by the AMC.",
      "sort_order": 2,
      "create_by": null,
      "update_by": null,
      "create_at": "2026-10-13T22:38:00.000000Z",
      "update_at": "2026-10-13T22:38:00.000000Z",
      "created_by": null,
      "updated_by": null
    },
    {
      "id": 3,
      "question": "Does past return guarantee future results?",
      "answer": "No. Charts and calculators on NAV Plus use published history for analysis only.",
      "sort_order": 3,
      "create_by": null,
      "update_by": null,
      "create_at": "2026-10-13T22:38:00.000000Z",
      "update_at": "2026-10-13T22:38:00.000000Z",
      "created_by": null,
      "updated_by": null
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 5,
    "total": 3
  }
}
```

### Create (`POST /mf-faq/mf-faq-store`)

```json
{
  "status": true,
  "message": "FAQ created successfully",
  "data": {
    "question": "What is API test SIP 155241?",
    "answer": "Created by API test runner.",
    "sort_order": 99,
    "create_by": null,
    "update_at": "2026-10-25T09:52:50.000000Z",
    "create_at": "2026-10-25T09:52:50.000000Z",
    "id": 5,
    "created_by": null
  }
}
```

### Show (`GET /mf-faq/mf-faq-show/5`)

```json
{
  "status": true,
  "data": {
    "id": 5,
    "question": "What is API test SIP 155241?",
    "answer": "Created by API test runner.",
    "sort_order": 99,
    "create_by": null,
    "update_by": null,
    "create_at": "2026-10-25T09:52:50.000000Z",
    "update_at": "2026-10-25T09:52:50.000000Z",
    "created_by": null,
    "updated_by": null
  }
}
```

### Update (`POST /mf-faq/mf-faq-update/5`)

```json
{
  "status": true,
  "message": "FAQ updated successfully",
  "data": {
    "id": 5,
    "question": "What is API test SIP 155241?",
    "answer": "Updated by API test runner.",
    "sort_order": 99,
    "create_by": null,
    "create_at": "2026-10-25T09:52:50.000000Z",
    "update_by": null,
    "update_at": "2026-10-25T09:52:51.000000Z",
    "created_by": null,
    "updated_by": null
  }
}
```

### Delete (`DELETE /mf-faq/mf-faq-delete/5`)

```json
{
  "status": true,
  "message": "FAQ deleted successfully"
}
```
