MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

Authenticating requests

This API is not authenticated.

Endpoints

Display Swagger API page.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/documentation" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/documentation"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>L5 Swagger UI</title>
    <link rel="stylesheet" type="text/css" href="http://localhost:8000/docs/asset/swagger-ui.css?v=8b0c7418e9d17c36b3df64668afd6870">
    <link rel="icon" type="image/png" href="http://localhost:8000/docs/asset/favicon-32x32.png?v=40d4f2c38d1cd854ad463f16373cbcb6" sizes="32x32"/>
    <link rel="icon" type="image/png" href="http://localhost:8000/docs/asset/favicon-16x16.png?v=f0ae831196d55d8f4115b6c5e8ec5384" sizes="16x16"/>
    <style>
    html
    {
        box-sizing: border-box;
        overflow: -moz-scrollbars-vertical;
        overflow-y: scroll;
    }
    *,
    *:before,
    *:after
    {
        box-sizing: inherit;
    }

    body {
      margin:0;
      background: #fafafa;
    }
    </style>
    </head>

<body >
<div id="swagger-ui"></div>

<script src="http://localhost:8000/docs/asset/swagger-ui-bundle.js?v=ca9e675e1936939602ec056ba644fac4"></script>
<script src="http://localhost:8000/docs/asset/swagger-ui-standalone-preset.js?v=7024b7ccfddd55fd7869fd211b11bc65"></script>
<script>
    window.onload = function() {
        // Build a system
        const ui = SwaggerUIBundle({
            dom_id: '#swagger-ui',
            url: "http://localhost:8000/docs?api-docs.json",
            operationsSorter: null,
            configUrl: null,
            validatorUrl: null,
            oauth2RedirectUrl: "http://localhost:8000/api/oauth2-callback",

            requestInterceptor: function(request) {
                request.headers['X-CSRF-TOKEN'] = '';
                return request;
            },

            presets: [
                SwaggerUIBundle.presets.apis,
                SwaggerUIStandalonePreset
            ],

            plugins: [
                SwaggerUIBundle.plugins.DownloadUrl
            ],

            layout: "StandaloneLayout",
            docExpansion : "none",
            deepLinking: true,
            filter: true,
            persistAuthorization: "false",

        })

        window.ui = ui

            }
</script>
</body>
</html>

 

Request      

GET api/documentation

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display Oauth2 callback pages.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/oauth2-callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/oauth2-callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
 

<!doctype html>
<html lang="en-US">
<body>
</body>
</html>
<script src="oauth2-redirect.js"></script>
 

Request      

GET api/oauth2-callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/testing

Example request:
curl --request GET \
    --get "http://localhost:8000/api/testing" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/testing"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
access-control-allow-origin: *
 

[
    {
        "id": 2,
        "fullname": "client",
        "email": "client@mail.com",
        "phone_number": "6287882263838",
        "image": null,
        "active_status": "Aktif",
        "is_online": "Offline",
        "email_verified_at": null,
        "remember_token": null,
        "created_at": "2025-01-08T09:52:01.000000Z",
        "updated_at": "2025-01-08T09:52:01.000000Z",
        "oauth_id": null,
        "latitude": "-6.85509883",
        "longitude": "107.59272659",
        "area": null,
        "image_url": null,
        "role_name": [
            "Client"
        ],
        "roles": [
            {
                "id": 1,
                "name": "Client",
                "guard_name": "api",
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "pivot": {
                    "model_id": 2,
                    "role_id": 1,
                    "model_type": "App\\Models\\User"
                }
            }
        ]
    },
    {
        "id": 3,
        "fullname": "Customer Service",
        "email": "customer_service@mail.com",
        "phone_number": "6287882263838",
        "image": null,
        "active_status": "Aktif",
        "is_online": "Offline",
        "email_verified_at": null,
        "remember_token": null,
        "created_at": "2025-01-08T09:52:01.000000Z",
        "updated_at": "2025-01-08T09:52:01.000000Z",
        "oauth_id": null,
        "latitude": null,
        "longitude": null,
        "area": null,
        "image_url": null,
        "role_name": [
            "Customer Service"
        ],
        "roles": [
            {
                "id": 3,
                "name": "Customer Service",
                "guard_name": "api",
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "pivot": {
                    "model_id": 3,
                    "role_id": 3,
                    "model_type": "App\\Models\\User"
                }
            }
        ]
    },
    {
        "id": 4,
        "fullname": "Partner",
        "email": "partner@mail.com",
        "phone_number": "6287882263838",
        "image": null,
        "active_status": "Aktif",
        "is_online": "Offline",
        "email_verified_at": null,
        "remember_token": null,
        "created_at": "2025-01-08T09:52:01.000000Z",
        "updated_at": "2025-01-08T09:52:01.000000Z",
        "oauth_id": null,
        "latitude": "-6.91213350",
        "longitude": "107.61534213",
        "area": null,
        "image_url": null,
        "role_name": [
            "Partner"
        ],
        "roles": [
            {
                "id": 4,
                "name": "Partner",
                "guard_name": "api",
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "pivot": {
                    "model_id": 4,
                    "role_id": 4,
                    "model_type": "App\\Models\\User"
                }
            }
        ]
    },
    {
        "id": 9,
        "fullname": "Puji Hitler",
        "email": "pujiermanto@gmail.com",
        "phone_number": "6285971630027",
        "image": null,
        "active_status": "Aktif",
        "is_online": "Offline",
        "email_verified_at": null,
        "remember_token": null,
        "created_at": "2025-02-24T06:55:05.000000Z",
        "updated_at": "2025-02-24T07:11:29.000000Z",
        "oauth_id": null,
        "latitude": null,
        "longitude": null,
        "area": null,
        "image_url": null,
        "role_name": [
            "Partner"
        ],
        "roles": [
            {
                "id": 4,
                "name": "Partner",
                "guard_name": "api",
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "pivot": {
                    "model_id": 9,
                    "role_id": 4,
                    "model_type": "App\\Models\\User"
                }
            }
        ]
    },
    {
        "id": 10,
        "fullname": "Apple User #5180",
        "email": "kh88c285h2@privaterelay.appleid.com",
        "phone_number": null,
        "image": null,
        "active_status": "Aktif",
        "is_online": "Offline",
        "email_verified_at": null,
        "remember_token": null,
        "created_at": "2025-02-24T07:17:33.000000Z",
        "updated_at": "2025-02-24T07:17:33.000000Z",
        "oauth_id": null,
        "latitude": null,
        "longitude": null,
        "area": null,
        "image_url": null,
        "role_name": [
            "Client"
        ],
        "roles": [
            {
                "id": 1,
                "name": "Client",
                "guard_name": "api",
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "pivot": {
                    "model_id": 10,
                    "role_id": 1,
                    "model_type": "App\\Models\\User"
                }
            }
        ]
    },
    {
        "id": 1,
        "fullname": "admin",
        "email": "admin@mail.com",
        "phone_number": "6287882263838",
        "image": "2025091616103768c9298d1f045.png",
        "active_status": "Aktif",
        "is_online": "Offline",
        "email_verified_at": null,
        "remember_token": null,
        "created_at": "2025-01-08T09:52:01.000000Z",
        "updated_at": "2025-09-23T03:03:28.000000Z",
        "oauth_id": null,
        "latitude": null,
        "longitude": null,
        "area": null,
        "image_url": "http://localhost:8000/storage/images/users//2025091616103768c9298d1f045.png",
        "role_name": [
            "Administrator"
        ],
        "roles": [
            {
                "id": 2,
                "name": "Administrator",
                "guard_name": "api",
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "pivot": {
                    "model_id": 1,
                    "role_id": 2,
                    "model_type": "App\\Models\\User"
                }
            }
        ]
    }
]
 

Request      

GET api/testing

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/testing-env

Example request:
curl --request GET \
    --get "http://localhost:8000/api/testing-env" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/testing-env"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
access-control-allow-origin: *
 

anggafantiya.work@gmail.com
 

Request      

GET api/testing-env

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/testing-mail-failed

Example request:
curl --request GET \
    --get "http://localhost:8000/api/testing-mail-failed" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/testing-mail-failed"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 57
access-control-allow-origin: *
 

{}
 

Request      

GET api/testing-mail-failed

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/register-partner" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "fullname=atque"\
    --form "email=qfisher@example.net"\
    --form "phone_number=perspiciatis"\
    --form "password=GuVj(.>Ylhg"\
    --form "role=necessitatibus"\
    --form "profession_id=nulla"\
    --form "city_id=doloremque"\
    --form "nik=1138017445913596"\
    --form "place_of_birth=ratione"\
    --form "date_of_birth=sed"\
    --form "address=occaecati"\
    --form "gender=voluptatibus"\
    --form "npwp=consequatur"\
    --form "appointment_date=quod"\
    --form "office_other="\
    --form "office_id=molestiae"\
    --form "company_name=asperiores"\
    --form "member_number=esse"\
    --form "member_expire_date=non"\
    --form "description=necessitatibus"\
    --form "file_ktp=sequi"\
    --form "file_npwp=magni"\
    --form "file_nia=dolorem"\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php36EC.tmp" 
const url = new URL(
    "http://localhost:8000/api/register-partner"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('fullname', 'atque');
body.append('email', 'qfisher@example.net');
body.append('phone_number', 'perspiciatis');
body.append('password', 'GuVj(.>Ylhg');
body.append('role', 'necessitatibus');
body.append('profession_id', 'nulla');
body.append('city_id', 'doloremque');
body.append('nik', '1138017445913596');
body.append('place_of_birth', 'ratione');
body.append('date_of_birth', 'sed');
body.append('address', 'occaecati');
body.append('gender', 'voluptatibus');
body.append('npwp', 'consequatur');
body.append('appointment_date', 'quod');
body.append('office_other', '');
body.append('office_id', 'molestiae');
body.append('company_name', 'asperiores');
body.append('member_number', 'esse');
body.append('member_expire_date', 'non');
body.append('description', 'necessitatibus');
body.append('file_ktp', 'sequi');
body.append('file_npwp', 'magni');
body.append('file_nia', 'dolorem');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/register-partner

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

fullname   string   

Example: atque

email   string   

Must be a valid email address. Example: qfisher@example.net

phone_number   string   

Example: perspiciatis

password   string   

Example: GuVj(.>Ylhg

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php36EC.tmp

role   string   

Example: necessitatibus

profession_id   string   

Example: nulla

specialization_id   string[]  optional  
city_id   string   

Example: doloremque

nik   string   

Must be 16 digits. Example: 1138017445913596

place_of_birth   string   

Example: ratione

date_of_birth   string   

Example: sed

address   string   

Example: occaecati

gender   string   

Example: voluptatibus

npwp   string   

Example: consequatur

appointment_date   string   

Example: quod

office_other   boolean   

Example: false

office_id   string   

Example: molestiae

company_name   string   

Example: asperiores

member_number   string   

Example: esse

member_expire_date   string   

Example: non

description   string   

Example: necessitatibus

file_ktp   string   

Example: sequi

file_npwp   string   

Example: magni

file_nia   string   

Example: dolorem

file_berita_acara   string  optional  

Show the form for creating a new resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/register-partner/profession" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/register-partner/profession"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 56
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "success",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": [
            {
                "id": 1,
                "name": "suscipit",
                "description": "Sit vero reiciendis laboriosam dolorum et. Unde consectetur tempore reprehenderit ut. Nobis dolorem quis aut et eum.",
                "created_by": 1,
                "updated_by": null,
                "order": 99,
                "deleted_at": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "profession_detail": [
                    {
                        "id": 1,
                        "profession_id": 1,
                        "specialization_id": 4,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 4,
                            "name": "vitae",
                            "description": "Eos quas porro earum quos.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 2,
                        "profession_id": 1,
                        "specialization_id": 7,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 7,
                            "name": "eligendi",
                            "description": "Aspernatur et eveniet ad quos mollitia maxime.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 3,
                        "profession_id": 1,
                        "specialization_id": 5,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 5,
                            "name": "molestiae",
                            "description": "Maxime aliquam et impedit nulla et.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 4,
                        "profession_id": 1,
                        "specialization_id": 3,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 3,
                            "name": "dolorem",
                            "description": "Ducimus sit odit aliquam modi quibusdam ut tempore.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 5,
                        "profession_id": 1,
                        "specialization_id": 1,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 1,
                            "name": "eveniet",
                            "description": "Enim nostrum eaque quasi ipsum id.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    }
                ]
            },
            {
                "id": 2,
                "name": "recusandae",
                "description": "Facere sed fugit magnam ut voluptates sequi eum. Fuga saepe dolorum repudiandae voluptatem. Voluptate ut dolore ut odit culpa.",
                "created_by": 2,
                "updated_by": null,
                "order": 99,
                "deleted_at": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "profession_detail": [
                    {
                        "id": 6,
                        "profession_id": 2,
                        "specialization_id": 5,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 5,
                            "name": "molestiae",
                            "description": "Maxime aliquam et impedit nulla et.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 7,
                        "profession_id": 2,
                        "specialization_id": 2,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 2,
                            "name": "esse",
                            "description": "Aut molestiae unde at nulla eius eos autem.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 8,
                        "profession_id": 2,
                        "specialization_id": 2,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 2,
                            "name": "esse",
                            "description": "Aut molestiae unde at nulla eius eos autem.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 9,
                        "profession_id": 2,
                        "specialization_id": 7,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 7,
                            "name": "eligendi",
                            "description": "Aspernatur et eveniet ad quos mollitia maxime.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 10,
                        "profession_id": 2,
                        "specialization_id": 5,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 5,
                            "name": "molestiae",
                            "description": "Maxime aliquam et impedit nulla et.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    }
                ]
            },
            {
                "id": 3,
                "name": "aut",
                "description": "Quidem nobis sunt consequatur incidunt nemo ut aut. Similique suscipit et aut ut. In unde omnis quis natus. Unde ex necessitatibus deleniti sunt perspiciatis.",
                "created_by": 3,
                "updated_by": null,
                "order": 99,
                "deleted_at": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "profession_detail": [
                    {
                        "id": 11,
                        "profession_id": 3,
                        "specialization_id": 6,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 6,
                            "name": "a",
                            "description": "Voluptatem eius officia eaque ducimus.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 12,
                        "profession_id": 3,
                        "specialization_id": 3,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 3,
                            "name": "dolorem",
                            "description": "Ducimus sit odit aliquam modi quibusdam ut tempore.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 13,
                        "profession_id": 3,
                        "specialization_id": 2,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 2,
                            "name": "esse",
                            "description": "Aut molestiae unde at nulla eius eos autem.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 14,
                        "profession_id": 3,
                        "specialization_id": 4,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 4,
                            "name": "vitae",
                            "description": "Eos quas porro earum quos.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 15,
                        "profession_id": 3,
                        "specialization_id": 1,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 1,
                            "name": "eveniet",
                            "description": "Enim nostrum eaque quasi ipsum id.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    }
                ]
            }
        ]
    },
    "logstory": null
}
 

Request      

GET api/register-partner/profession

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/register-partner/specialization" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/register-partner/specialization"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 55
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "success",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": [
            {
                "id": 1,
                "name": "suscipit",
                "description": "Sit vero reiciendis laboriosam dolorum et. Unde consectetur tempore reprehenderit ut. Nobis dolorem quis aut et eum.",
                "created_by": 1,
                "updated_by": null,
                "order": 99,
                "deleted_at": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "profession_detail": [
                    {
                        "id": 1,
                        "profession_id": 1,
                        "specialization_id": 4,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 4,
                            "name": "vitae",
                            "description": "Eos quas porro earum quos.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 2,
                        "profession_id": 1,
                        "specialization_id": 7,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 7,
                            "name": "eligendi",
                            "description": "Aspernatur et eveniet ad quos mollitia maxime.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 3,
                        "profession_id": 1,
                        "specialization_id": 5,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 5,
                            "name": "molestiae",
                            "description": "Maxime aliquam et impedit nulla et.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 4,
                        "profession_id": 1,
                        "specialization_id": 3,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 3,
                            "name": "dolorem",
                            "description": "Ducimus sit odit aliquam modi quibusdam ut tempore.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 5,
                        "profession_id": 1,
                        "specialization_id": 1,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 1,
                            "name": "eveniet",
                            "description": "Enim nostrum eaque quasi ipsum id.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    }
                ]
            },
            {
                "id": 2,
                "name": "recusandae",
                "description": "Facere sed fugit magnam ut voluptates sequi eum. Fuga saepe dolorum repudiandae voluptatem. Voluptate ut dolore ut odit culpa.",
                "created_by": 2,
                "updated_by": null,
                "order": 99,
                "deleted_at": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "profession_detail": [
                    {
                        "id": 6,
                        "profession_id": 2,
                        "specialization_id": 5,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 5,
                            "name": "molestiae",
                            "description": "Maxime aliquam et impedit nulla et.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 7,
                        "profession_id": 2,
                        "specialization_id": 2,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 2,
                            "name": "esse",
                            "description": "Aut molestiae unde at nulla eius eos autem.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 8,
                        "profession_id": 2,
                        "specialization_id": 2,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 2,
                            "name": "esse",
                            "description": "Aut molestiae unde at nulla eius eos autem.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 9,
                        "profession_id": 2,
                        "specialization_id": 7,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 7,
                            "name": "eligendi",
                            "description": "Aspernatur et eveniet ad quos mollitia maxime.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 10,
                        "profession_id": 2,
                        "specialization_id": 5,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 5,
                            "name": "molestiae",
                            "description": "Maxime aliquam et impedit nulla et.",
                            "created_by": 3,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    }
                ]
            },
            {
                "id": 3,
                "name": "aut",
                "description": "Quidem nobis sunt consequatur incidunt nemo ut aut. Similique suscipit et aut ut. In unde omnis quis natus. Unde ex necessitatibus deleniti sunt perspiciatis.",
                "created_by": 3,
                "updated_by": null,
                "order": 99,
                "deleted_at": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "profession_detail": [
                    {
                        "id": 11,
                        "profession_id": 3,
                        "specialization_id": 6,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 6,
                            "name": "a",
                            "description": "Voluptatem eius officia eaque ducimus.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 12,
                        "profession_id": 3,
                        "specialization_id": 3,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 3,
                            "name": "dolorem",
                            "description": "Ducimus sit odit aliquam modi quibusdam ut tempore.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 13,
                        "profession_id": 3,
                        "specialization_id": 2,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 2,
                            "name": "esse",
                            "description": "Aut molestiae unde at nulla eius eos autem.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 14,
                        "profession_id": 3,
                        "specialization_id": 4,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 4,
                            "name": "vitae",
                            "description": "Eos quas porro earum quos.",
                            "created_by": 2,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    },
                    {
                        "id": 15,
                        "profession_id": 3,
                        "specialization_id": 1,
                        "deleted_at": null,
                        "created_at": "2025-01-08T09:52:01.000000Z",
                        "updated_at": "2025-01-08T09:52:01.000000Z",
                        "specialization": {
                            "id": 1,
                            "name": "eveniet",
                            "description": "Enim nostrum eaque quasi ipsum id.",
                            "created_by": 1,
                            "updated_by": null,
                            "status": "Tidak Aktif",
                            "deleted_at": null,
                            "created_at": "2025-01-08T09:52:01.000000Z",
                            "updated_at": "2025-01-08T09:52:01.000000Z"
                        }
                    }
                ]
            }
        ]
    },
    "logstory": null
}
 

Request      

GET api/register-partner/specialization

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/register-partner/office" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/register-partner/office"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 54
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "success",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": [
            {
                "id": 1,
                "name": "aut",
                "phone_number": "0445 4773 2452",
                "address": "Dk. Zamrud No. 514, Makassar 58305, Jateng",
                "description": "Quasi delectus enim quam aperiam ipsa debitis vel quia. Qui perspiciatis sed aliquam velit. Consequuntur iste velit esse adipisci necessitatibus dolorum.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 3,
                "name": "numquam",
                "phone_number": "0701 1493 5271",
                "address": "Gg. B.Agam Dlm No. 885, Madiun 94150, Bali",
                "description": "Minus qui sit omnis ut quaerat. Nihil possimus neque aut aut voluptas.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 15,
                "name": "perusahaan baoak",
                "phone_number": "-",
                "address": "-",
                "description": "-",
                "image": null,
                "created_at": "2025-02-24T06:55:05.000000Z",
                "updated_at": "2025-02-24T06:55:05.000000Z",
                "image_url": null
            },
            {
                "id": 11,
                "name": "perusahaan baoak",
                "phone_number": "-",
                "address": "-",
                "description": "-",
                "image": null,
                "created_at": "2025-02-24T04:26:14.000000Z",
                "updated_at": "2025-02-24T04:26:14.000000Z",
                "image_url": null
            },
            {
                "id": 12,
                "name": "perusahaan baoak",
                "phone_number": "-",
                "address": "-",
                "description": "-",
                "image": null,
                "created_at": "2025-02-24T04:52:28.000000Z",
                "updated_at": "2025-02-24T04:52:28.000000Z",
                "image_url": null
            },
            {
                "id": 13,
                "name": "perusahaan baoak",
                "phone_number": "-",
                "address": "-",
                "description": "-",
                "image": null,
                "created_at": "2025-02-24T04:56:53.000000Z",
                "updated_at": "2025-02-24T04:56:53.000000Z",
                "image_url": null
            },
            {
                "id": 14,
                "name": "perusahaan baoak",
                "phone_number": "-",
                "address": "-",
                "description": "-",
                "image": null,
                "created_at": "2025-02-24T06:48:49.000000Z",
                "updated_at": "2025-02-24T06:48:49.000000Z",
                "image_url": null
            },
            {
                "id": 6,
                "name": "provident",
                "phone_number": "(+62) 898 541 869",
                "address": "Jr. Jagakarsa No. 656, Dumai 76097, Sumut",
                "description": "Autem voluptas omnis quia accusamus. Ab similique omnis ut ea. Occaecati at odit et asperiores ab eos velit est.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 8,
                "name": "qui",
                "phone_number": "0549 9883 449",
                "address": "Ds. Dewi Sartika No. 8, Sibolga 83251, Bengkulu",
                "description": "Voluptatem quis ducimus ut consectetur consequatur. Tenetur facilis hic dolores provident. Quae quasi quos illum. Et tempore mollitia minus sint ea aperiam culpa.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 4,
                "name": "quis",
                "phone_number": "(+62) 223 5456 951",
                "address": "Kpg. Basuki Rahmat  No. 141, Tomohon 66631, Sulsel",
                "description": "Quis sit mollitia optio et in qui vitae ea. Repellendus ex illo velit facere sed voluptatibus deleniti. Necessitatibus voluptas voluptatibus perferendis tempore est pariatur.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 7,
                "name": "quo",
                "phone_number": "(+62) 483 8472 1855",
                "address": "Jr. Cikutra Timur No. 70, Pangkal Pinang 47369, Riau",
                "description": "Inventore vero aut quibusdam tenetur. Corporis nam aperiam ut. Ducimus non ratione architecto non. Nisi vero eveniet fugit rerum. Dolor ut sit accusantium eos. Omnis modi eos harum non quibusdam.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 5,
                "name": "unde",
                "phone_number": "(+62) 799 0567 6116",
                "address": "Jr. Astana Anyar No. 899, Bekasi 32771, Sulbar",
                "description": "Eius harum nostrum suscipit et unde. Modi itaque cupiditate corrupti. Ipsam mollitia itaque praesentium voluptates ratione.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 9,
                "name": "velit",
                "phone_number": "(+62) 800 8796 038",
                "address": "Ds. Soekarno Hatta No. 466, Banjar 86325, Sulsel",
                "description": "Rem inventore architecto in. Non amet numquam in soluta laudantium natus. Fugit consectetur deserunt eaque consectetur. Et cum explicabo non quia ut.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 2,
                "name": "voluptatem",
                "phone_number": "(+62) 513 6758 4114",
                "address": "Kpg. Salam No. 666, Surakarta 42289, Sulut",
                "description": "Sunt error iure fuga iusto. Saepe ullam vel non et quos ad. Ex vel quia sapiente provident harum non possimus. Ullam libero voluptas illum dicta voluptatem vel recusandae sunt.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            },
            {
                "id": 10,
                "name": "voluptatem",
                "phone_number": "0481 4778 5901",
                "address": "Dk. Nangka No. 76, Langsa 85556, DIY",
                "description": "Vel autem est excepturi et. Error minus hic unde doloribus. Consequatur non et sit qui.",
                "image": null,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "image_url": null
            }
        ]
    },
    "logstory": null
}
 

Request      

GET api/register-partner/office

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/register-partner/policy-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/register-partner/policy-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 53
access-control-allow-origin: *
 

{
    "message": "Attempt to read property \"content\" on null",
    "exception": "ErrorException",
    "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Services\\PolicyInformationService.php",
    "line": 38,
    "trace": [
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\HandleExceptions.php",
            "line": 270,
            "function": "handleError",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Services\\PolicyInformationService.php",
            "line": 38,
            "function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Http\\Controllers\\Api\\Admin\\Setting\\PolicyInformationController.php",
            "line": 37,
            "function": "index",
            "class": "App\\Services\\PolicyInformationService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "index",
            "class": "App\\Http\\Controllers\\Api\\Admin\\Setting\\PolicyInformationController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 259,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 798,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 126,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 92,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 54,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 797,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 776,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 740,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 729,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 190,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 165,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 134,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 661,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 183,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 152,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 1063,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 102,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 155,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\artisan",
            "line": 35,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET api/register-partner/policy-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/register-partner/withdraw-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/register-partner/withdraw-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 52
access-control-allow-origin: *
 

{
    "message": "Attempt to read property \"content\" on null",
    "exception": "ErrorException",
    "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Services\\WithdrawInformationService.php",
    "line": 38,
    "trace": [
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\HandleExceptions.php",
            "line": 270,
            "function": "handleError",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Services\\WithdrawInformationService.php",
            "line": 38,
            "function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Http\\Controllers\\Api\\Admin\\Setting\\WithDrawInformationController.php",
            "line": 27,
            "function": "index",
            "class": "App\\Services\\WithdrawInformationService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "index",
            "class": "App\\Http\\Controllers\\Api\\Admin\\Setting\\WithDrawInformationController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 259,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 798,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 126,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 92,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 54,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 797,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 776,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 740,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 729,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 190,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 165,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 134,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 661,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 183,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 152,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 1063,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 102,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 155,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\artisan",
            "line": 35,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET api/register-partner/withdraw-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fullname\": \"suscipit\",
    \"email\": \"nikolaus.erling@example.com\",
    \"phone_number\": \"sed\",
    \"password\": \"xgn(&k\",
    \"role\": \"doloribus\",
    \"city_id\": \"et\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/register"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fullname": "suscipit",
    "email": "nikolaus.erling@example.com",
    "phone_number": "sed",
    "password": "xgn(&k",
    "role": "doloribus",
    "city_id": "et"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/register

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fullname   string   

Example: suscipit

email   string   

Must be a valid email address. Example: nikolaus.erling@example.com

phone_number   string   

Example: sed

password   string   

Example: xgn(&k

role   string   

Example: doloribus

city_id   string   

Example: et

resend otp.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/resend-otp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"quo\",
    \"phone_number\": \"explicabo\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/resend-otp"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "quo",
    "phone_number": "explicabo"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/resend-otp

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

id   string   

Example: quo

phone_number   string   

Example: explicabo

Display the specified resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/verified-register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"eaque\",
    \"token\": \"937390\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/verified-register"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "eaque",
    "token": "937390"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/verified-register

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

id   string   

Example: eaque

token   string   

Must be 6 digits. Example: 937390

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"orville78@example.org\",
    \"password\": \"xXXKD,87+\\\"T(2\\\"s\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/login"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "orville78@example.org",
    "password": "xXXKD,87+\"T(2\"s"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: orville78@example.org

password   string   

Example: xXXKD,87+"T(2"s

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/login-wa" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"phone_number\": \"delectus\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/login-wa"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "phone_number": "delectus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/login-wa

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

phone_number   string   

Example: delectus

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/verified-login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"ut\",
    \"token\": \"143100\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/verified-login"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "ut",
    "token": "143100"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/verified-login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

id   string   

Example: ut

token   string   

Must be 6 digits. Example: 143100

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/forgot-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"helga75@example.net\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/forgot-password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "helga75@example.net"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/forgot-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: helga75@example.net

role   string  optional  

POST api/auth/apple/callback

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/apple/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"token\": \"esse\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/apple/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "token": "esse"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/apple/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

token   string   

Example: esse

POST api/auth/{driver}/callback

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/aut/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"token\": \"maxime\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/aut/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "token": "maxime"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/{driver}/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

driver   string   

Example: aut

Body Parameters

token   string   

Example: maxime

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/refresh" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/refresh"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/auth/refresh

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/logout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/logout"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/auth/logout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/update-forgot-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"password\": \"odit\"
}"
const url = new URL(
    "http://localhost:8000/api/auth/update-forgot-password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "password": "odit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/auth/update-forgot-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

password   string   

Example: odit

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/auth" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/auth

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

DELETE api/auth/delete

Example request:
curl --request DELETE \
    "http://localhost:8000/api/auth/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/auth/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/auth/delete

Example request:
curl --request GET \
    --get "http://localhost:8000/api/auth/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/auth/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/auth/toggle-online

Example request:
curl --request POST \
    "http://localhost:8000/api/auth/toggle-online" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/toggle-online"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/auth/toggle-online

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/auth/online-status

Example request:
curl --request GET \
    --get "http://localhost:8000/api/auth/online-status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/online-status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/auth/online-status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/version

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/version" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"version\": \"sequi\",
    \"platform\": \"molestias\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/version"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "version": "sequi",
    "platform": "molestias"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/version

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

version   string   

Example: sequi

platform   string   

Example: molestias

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/emergency-contact" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/emergency-contact"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/emergency-contact

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/master-data/emergency-contact/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/emergency-contact/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/emergency-contact/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/emergency-contact/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the emergency contact. Example: 1

POST api/admin/master-data/emergency-contact/batch

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/emergency-contact/batch" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/emergency-contact/batch"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/master-data/emergency-contact/batch

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/master-data/emergency-contact

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/emergency-contact" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/emergency-contact"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/master-data/emergency-contact

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/master-data/emergency-contact/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/emergency-contact/11" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/emergency-contact/11"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/master-data/emergency-contact/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the emergency contact. Example: 11

DELETE api/admin/master-data/emergency-contact/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/emergency-contact/18" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/emergency-contact/18"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/emergency-contact/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the emergency contact. Example: 18

GET api/admin/master-data/city

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/city" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/city"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/city

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

change status partner.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/user/change-status/voluptatem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"active_status\": \"Menunggu\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user/change-status/voluptatem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "active_status": "Menunggu"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/user/change-status/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the change status. Example: voluptatem

Body Parameters

active_status   string   

Example: Menunggu

Must be one of:
  • Menunggu
  • Tidak Aktif
  • Verifikasi Admin
  • Aktif

Export Data.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/user/export-data/excel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user/export-data/excel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/user/export-data/excel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/user/reset-password/suscipit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"password\": \"\\\\ta8;_Rt6];=O\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user/reset-password/suscipit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "password": "\\ta8;_Rt6];=O"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/user/reset-password/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reset password. Example: suscipit

Body Parameters

password   string   

Must be at least 8 characters. Example: \ta8;_Rt6];=O

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/user/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fullname\": \"in\",
    \"email\": \"veniam\",
    \"phone_number\": \"fugit\",
    \"role\": \"necessitatibus\",
    \"user_profile\": true,
    \"profession_id\": \"recusandae\",
    \"nik\": \"7175482272016660\",
    \"place_of_birth\": \"sunt\",
    \"date_of_birth\": \"cumque\",
    \"address\": \"labore\",
    \"city_id\": \"reprehenderit\",
    \"gender\": \"a\",
    \"npwp\": \"voluptas\",
    \"appointment_date\": \"ea\",
    \"office_other\": false,
    \"office_id\": \"enim\",
    \"company_name\": \"ex\",
    \"member_number\": \"maxime\",
    \"member_expire_date\": \"aut\",
    \"description\": \"qui\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fullname": "in",
    "email": "veniam",
    "phone_number": "fugit",
    "role": "necessitatibus",
    "user_profile": true,
    "profession_id": "recusandae",
    "nik": "7175482272016660",
    "place_of_birth": "sunt",
    "date_of_birth": "cumque",
    "address": "labore",
    "city_id": "reprehenderit",
    "gender": "a",
    "npwp": "voluptas",
    "appointment_date": "ea",
    "office_other": false,
    "office_id": "enim",
    "company_name": "ex",
    "member_number": "maxime",
    "member_expire_date": "aut",
    "description": "qui"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/user/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the user. Example: 2

Body Parameters

fullname   string   

Example: in

email   string   

Example: veniam

phone_number   string   

Example: fugit

role   string   

Example: necessitatibus

user_profile   boolean   

Example: true

profession_id   string   

Example: recusandae

specialization_id   string[]  optional  
nik   string   

Must be 16 digits. Example: 7175482272016660

place_of_birth   string   

Example: sunt

date_of_birth   string   

Example: cumque

address   string   

Example: labore

city_id   string   

Example: reprehenderit

gender   string   

Example: a

npwp   string   

Example: voluptas

appointment_date   string   

Example: ea

office_other   boolean   

Example: false

office_id   string   

Example: enim

company_name   string   

Example: ex

member_number   string   

Example: maxime

member_expire_date   string   

Example: aut

description   string   

Example: qui

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/user" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "fullname=veritatis"\
    --form "email=kiehn.clemmie@example.org"\
    --form "phone_number=quia"\
    --form "password=L&u"F"s>n-cw"\
    --form "role=aliquam"\
    --form "user_profile="\
    --form "profession_id=dolore"\
    --form "nik=8267542369916418"\
    --form "place_of_birth=cum"\
    --form "date_of_birth=dolores"\
    --form "address=voluptates"\
    --form "city_id=quam"\
    --form "gender=facilis"\
    --form "npwp=sit"\
    --form "appointment_date=exercitationem"\
    --form "office_other=1"\
    --form "office_id=harum"\
    --form "company_name=et"\
    --form "member_number=inventore"\
    --form "member_expire_date=ab"\
    --form "description=quaerat"\
    --form "file_ktp=quae"\
    --form "file_npwp=dolorem"\
    --form "file_nia=maiores"\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php40F0.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('fullname', 'veritatis');
body.append('email', 'kiehn.clemmie@example.org');
body.append('phone_number', 'quia');
body.append('password', 'L&u"F"s>n-cw');
body.append('role', 'aliquam');
body.append('user_profile', '');
body.append('profession_id', 'dolore');
body.append('nik', '8267542369916418');
body.append('place_of_birth', 'cum');
body.append('date_of_birth', 'dolores');
body.append('address', 'voluptates');
body.append('city_id', 'quam');
body.append('gender', 'facilis');
body.append('npwp', 'sit');
body.append('appointment_date', 'exercitationem');
body.append('office_other', '1');
body.append('office_id', 'harum');
body.append('company_name', 'et');
body.append('member_number', 'inventore');
body.append('member_expire_date', 'ab');
body.append('description', 'quaerat');
body.append('file_ktp', 'quae');
body.append('file_npwp', 'dolorem');
body.append('file_nia', 'maiores');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/master-data/user

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

fullname   string   

Example: veritatis

email   string   

Must be a valid email address. Example: kiehn.clemmie@example.org

phone_number   string   

Example: quia

password   string    n-cw" data-component="body">

Must be at least 8 characters. Example: L&u"F"s>n-cw

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php40F0.tmp

role   string   

Example: aliquam

user_profile   boolean   

Example: false

profession_id   string   

Example: dolore

specialization_id   string[]  optional  
nik   string   

Must be 16 digits. Example: 8267542369916418

place_of_birth   string   

Example: cum

date_of_birth   string   

Example: dolores

address   string   

Example: voluptates

city_id   string   

Example: quam

gender   string   

Example: facilis

npwp   string   

Example: sit

appointment_date   string   

Example: exercitationem

office_other   boolean   

Example: true

office_id   string   

Example: harum

company_name   string   

Example: et

member_number   string   

Example: inventore

member_expire_date   string   

Example: ab

description   string   

Example: quaerat

file_ktp   string   

Example: quae

file_npwp   string   

Example: dolorem

file_nia   string   

Example: maiores

file_berita_acara   string  optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/user/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/user/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the user. Example: 2

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/user/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/user/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/user/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the user. Example: 2

Export Data.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/profession/export-data/excel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/profession/export-data/excel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/profession/export-data/excel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/profession/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"tenetur\",
    \"description\": \"Nam voluptatem ut aut quia consequatur quibusdam.\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/profession/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "tenetur",
    "description": "Nam voluptatem ut aut quia consequatur quibusdam."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/profession/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the profession. Example: 1

Body Parameters

name   string   

Example: tenetur

description   string   

Example: Nam voluptatem ut aut quia consequatur quibusdam.

specialization_id   string[]  optional  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/profession" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/profession"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/profession

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/profession" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"pariatur\",
    \"description\": \"Quis adipisci aperiam aut laborum dolore temporibus dolorum.\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/profession"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "pariatur",
    "description": "Quis adipisci aperiam aut laborum dolore temporibus dolorum."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/profession

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: pariatur

description   string   

Example: Quis adipisci aperiam aut laborum dolore temporibus dolorum.

specialization_id   string[]  optional  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/profession/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/profession/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/profession/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the profession. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/profession/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/profession/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/profession/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the profession. Example: 1

Export Data.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/specialization/export-data/excel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/specialization/export-data/excel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/specialization/export-data/excel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/specialization/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ipsum\",
    \"description\": \"Et fugit culpa facere a doloremque.\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/specialization/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "ipsum",
    "description": "Et fugit culpa facere a doloremque."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/specialization/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the specialization. Example: 1

Body Parameters

name   string   

Example: ipsum

description   string   

Example: Et fugit culpa facere a doloremque.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/specialization" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/specialization"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/specialization

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/specialization" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"nihil\",
    \"description\": \"Non officiis saepe asperiores sapiente tempore.\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/specialization"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "nihil",
    "description": "Non officiis saepe asperiores sapiente tempore."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/specialization

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: nihil

description   string   

Example: Non officiis saepe asperiores sapiente tempore.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/specialization/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/specialization/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/specialization/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the specialization. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/specialization/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/specialization/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/specialization/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the specialization. Example: 1

office member.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/office/anggota/getData" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/office/anggota/getData"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/office/anggota/getData

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/office/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quo\",
    \"phone_number\": \"quia\",
    \"address\": \"libero\",
    \"description\": \"Fugiat quia hic in repellendus est.\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/office/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quo",
    "phone_number": "quia",
    "address": "libero",
    "description": "Fugiat quia hic in repellendus est."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/office/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the office. Example: 1

Body Parameters

name   string   

Example: quo

phone_number   string   

Example: quia

address   string   

Example: libero

description   string   

Example: Fugiat quia hic in repellendus est.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/office" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/office"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/office

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/office" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=optio"\
    --form "phone_number=cum"\
    --form "address=exercitationem"\
    --form "description=Ut eos quis sapiente necessitatibus saepe nihil suscipit voluptas."\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php41EB.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/master-data/office"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'optio');
body.append('phone_number', 'cum');
body.append('address', 'exercitationem');
body.append('description', 'Ut eos quis sapiente necessitatibus saepe nihil suscipit voluptas.');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/master-data/office

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Example: optio

phone_number   string   

Example: cum

address   string   

Example: exercitationem

description   string   

Example: Ut eos quis sapiente necessitatibus saepe nihil suscipit voluptas.

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php41EB.tmp

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/office/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/office/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/office/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the office. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/office/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/office/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/office/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the office. Example: 1

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/document-guide/laudantium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"voluptatem\",
    \"description\": \"Nesciunt eveniet praesentium aut est quod voluptatem.\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/document-guide/laudantium"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "voluptatem",
    "description": "Nesciunt eveniet praesentium aut est quod voluptatem."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/document-guide/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the document guide. Example: laudantium

Body Parameters

name   string   

Example: voluptatem

description   string   

Example: Nesciunt eveniet praesentium aut est quod voluptatem.

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/document-guide" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/document-guide"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/document-guide

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/document-guide" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ex"\
    --form "description=Dolore eveniet perferendis sed iste possimus reprehenderit deserunt."\
    --form "file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php421B.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/master-data/document-guide"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'ex');
body.append('description', 'Dolore eveniet perferendis sed iste possimus reprehenderit deserunt.');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/master-data/document-guide

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Example: ex

description   string   

Example: Dolore eveniet perferendis sed iste possimus reprehenderit deserunt.

file   file   

Must be a file. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php421B.tmp

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/document-guide/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/document-guide/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/document-guide/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the document guide. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/document-guide/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/document-guide/9"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/document-guide/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the document guide. Example: 9

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/bank-account/aliquam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/bank-account/aliquam"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/master-data/bank-account/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the bank account. Example: aliquam

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/bank-account" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/bank-account"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/bank-account

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/bank-account" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/bank-account"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/master-data/bank-account

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/bank-account/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/bank-account/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/bank-account/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the bank account. Example: 2

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/bank-account/18" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/bank-account/18"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/bank-account/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the bank account. Example: 18

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/voucher/accusantium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"autem\",
    \"nominal\": \"dolore\",
    \"quota\": \"dolorem\",
    \"active_date_voucher\": \"2020-07-19\",
    \"expired_date_voucher\": \"2044-08-20\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/voucher/accusantium"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "autem",
    "nominal": "dolore",
    "quota": "dolorem",
    "active_date_voucher": "2020-07-19",
    "expired_date_voucher": "2044-08-20"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/voucher/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the voucher. Example: accusantium

Body Parameters

name   string   

Example: autem

nominal   string   

Example: dolore

quota   string   

Example: dolorem

active_date_voucher   string   

Must be a valid date. Must be a date before expired_date_voucher. Example: 2020-07-19

expired_date_voucher   string   

Must be a valid date. Must be a date after active_date_voucher. Example: 2044-08-20

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/voucher" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/voucher"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/voucher

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-data/voucher" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"dignissimos\",
    \"nominal\": \"consequuntur\",
    \"quota\": \"voluptatibus\",
    \"active_date_voucher\": \"2007-11-27\",
    \"expired_date_voucher\": \"2097-10-25\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/voucher"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "dignissimos",
    "nominal": "consequuntur",
    "quota": "voluptatibus",
    "active_date_voucher": "2007-11-27",
    "expired_date_voucher": "2097-10-25"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-data/voucher

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: dignissimos

nominal   string   

Example: consequuntur

quota   string   

Example: voluptatibus

active_date_voucher   string   

Must be a valid date. Must be a date before expired_date_voucher. Example: 2007-11-27

expired_date_voucher   string   

Must be a valid date. Must be a date after active_date_voucher. Example: 2097-10-25

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-data/voucher/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/voucher/4"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-data/voucher/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the voucher. Example: 4

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-data/voucher/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-data/voucher/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-data/voucher/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the voucher. Example: 2

POST api/admin/master-layanan/partner-schedule/create

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/create" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"day\": \"Sabtu\",
    \"time_start\": \"eos\",
    \"time_end\": \"necessitatibus\",
    \"user_id\": \"reiciendis\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/create"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "day": "Sabtu",
    "time_start": "eos",
    "time_end": "necessitatibus",
    "user_id": "reiciendis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-schedule/create

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

day   string   

Example: Sabtu

Must be one of:
  • Senin
  • Selasa
  • Rabu
  • Kamis
  • Jumat
  • Sabtu
  • Minggu
time_start   string   

Example: eos

time_end   string   

Example: necessitatibus

user_id   string   

Example: reiciendis

POST api/admin/master-layanan/partner-schedule/{id}/update

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/et/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"day\": \"Senin\",
    \"time_start\": \"cumque\",
    \"time_end\": \"est\",
    \"user_id\": \"dolores\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/et/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "day": "Senin",
    "time_start": "cumque",
    "time_end": "est",
    "user_id": "dolores"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-schedule/{id}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partner schedule. Example: et

Body Parameters

day   string   

Example: Senin

Must be one of:
  • Senin
  • Selasa
  • Rabu
  • Kamis
  • Jumat
  • Sabtu
  • Minggu
time_start   string   

Example: cumque

time_end   string   

Example: est

user_id   string   

Example: dolores

POST api/admin/master-layanan/partner-schedule/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/aperiam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"day\": \"Kamis\",
    \"time_start\": \"animi\",
    \"partner_service_detail_id\": \"alias\",
    \"user_id\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/aperiam"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "day": "Kamis",
    "time_start": "animi",
    "partner_service_detail_id": "alias",
    "user_id": "ut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-schedule/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partner schedule. Example: aperiam

Body Parameters

day   string   

Example: Kamis

Must be one of:
  • Senin
  • Selasa
  • Rabu
  • Kamis
  • Jumat
  • Sabtu
  • Minggu
time_start   string   

Example: animi

partner_service_detail_id   string   

Example: alias

user_id   string   

Example: ut

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/partner-schedule" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-schedule"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/partner-schedule

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-schedule" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"day\": \"Jumat\",
    \"time_start\": \"suscipit\",
    \"partner_service_detail_id\": \"excepturi\",
    \"user_id\": \"dolorum\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-schedule"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "day": "Jumat",
    "time_start": "suscipit",
    "partner_service_detail_id": "excepturi",
    "user_id": "dolorum"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-schedule

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

day   string   

Example: Jumat

Must be one of:
  • Senin
  • Selasa
  • Rabu
  • Kamis
  • Jumat
  • Sabtu
  • Minggu
time_start   string   

Example: suscipit

partner_service_detail_id   string   

Example: excepturi

user_id   string   

Example: dolorum

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/ipsum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-schedule/ipsum"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-layanan/partner-schedule/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partner schedule. Example: ipsum

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/partner-service/show/natus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service/show/natus"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/partner-service/show/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the show. Example: natus

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-service/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"minutes\": \"est\",
    \"price\": \"non\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "minutes": "est",
    "price": "non"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-service/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the partner service. Example: 1

Body Parameters

minutes   string   

Example: est

price   string   

Example: non

partner service availalble.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/partner-service/available/quam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service/available/quam"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/partner-service/available/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the available. Example: quam

partner service detail.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/partner-service/detail/accusantium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"category_service\": \"Video Call\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service/detail/accusantium"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "category_service": "Video Call"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/partner-service/detail/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the detail. Example: accusantium

Body Parameters

category_service   string   

Example: Video Call

Must be one of:
  • Chat
  • Telepon
  • Video Call
  • Tatap Muka

POST api/admin/master-layanan/partner-service-type

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-service-type" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"aut\",
    \"category_service\": \"Chat\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service-type"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "aut",
    "category_service": "Chat"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-service-type

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_id   string   

Example: aut

category_service   string   

Example: Chat

Must be one of:
  • Chat
  • Telepon
  • Video Call
  • Tatap Muka

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/partner-service" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/partner-service

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/master-layanan/partner-service" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"nesciunt\",
    \"category_service\": \"Tatap Muka\",
    \"minutes\": \"commodi\",
    \"price\": \"dicta\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "nesciunt",
    "category_service": "Tatap Muka",
    "minutes": "commodi",
    "price": "dicta"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/master-layanan/partner-service

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_id   string   

Example: nesciunt

category_service   string   

Example: Tatap Muka

Must be one of:
  • Chat
  • Telepon
  • Video Call
  • Tatap Muka
minutes   string   

Example: commodi

price   string   

Example: dicta

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/partner-service/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/partner-service/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the partner service. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-layanan/partner-service/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/partner-service/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-layanan/partner-service/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the partner service. Example: 1

GET api/admin/master-layanan/rating

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/rating" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/rating"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/rating

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/master-layanan/rating/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/master-layanan/rating/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/rating/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/master-layanan/rating/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the rating. Example: 17

DELETE api/admin/master-layanan/rating/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/master-layanan/rating/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/master-layanan/rating/20"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/master-layanan/rating/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the rating. Example: 20

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/support/category-ticket/voluptate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"laboriosam\",
    \"description\": \"ea\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/support/category-ticket/voluptate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "laboriosam",
    "description": "ea"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/support/category-ticket/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category ticket. Example: voluptate

Body Parameters

name   string   

Example: laboriosam

description   string   

Example: ea

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/support/category-ticket" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/support/category-ticket"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/support/category-ticket

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/support/category-ticket" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qui\",
    \"description\": \"autem\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/support/category-ticket"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "qui",
    "description": "autem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/support/category-ticket

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: qui

description   string   

Example: autem

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/support/category-ticket/13" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/support/category-ticket/13"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/support/category-ticket/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category ticket. Example: 13

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/support/category-ticket/19" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/support/category-ticket/19"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/support/category-ticket/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category ticket. Example: 19

change status.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/support/ticket/change-status/debitis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"Closed\",
    \"priority\": \"High\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/support/ticket/change-status/debitis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "Closed",
    "priority": "High"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/support/ticket/change-status/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the change status. Example: debitis

Body Parameters

status   string   

Example: Closed

Must be one of:
  • New
  • Open
  • Closed
priority   string   

Example: High

Must be one of:
  • Low
  • Medium
  • High

assign to.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/support/ticket/assign/alias" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/admin/support/ticket/assign/alias"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/support/ticket/assign/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the assign. Example: alias

Body Parameters

user_id   string  optional  

Add Comment.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/support/ticket/add-comment/enim" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"text\": \"officiis\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/support/ticket/add-comment/enim"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "text": "officiis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/support/ticket/add-comment/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the add comment. Example: enim

Body Parameters

text   string   

Example: officiis

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/support/ticket" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/support/ticket"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/support/ticket

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/support/ticket/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/support/ticket/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/support/ticket/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the ticket. Example: 16

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-banner/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"nostrum\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-banner/maiores"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "nostrum"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-banner/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category banner. Example: maiores

Body Parameters

name   string   

Example: nostrum

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-banner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-banner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-banner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-banner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"voluptas\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-banner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "voluptas"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-banner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: voluptas

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-banner/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-banner/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-banner/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category banner. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/category-banner/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-banner/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/category-banner/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category banner. Example: 1

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/banner/aut" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=corrupti"\
    --form "description=Aspernatur officia iure dicta enim."\
    --form "category_id=vel"\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php447D.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/content/banner/aut"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'corrupti');
body.append('description', 'Aspernatur officia iure dicta enim.');
body.append('category_id', 'vel');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/content/banner/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the banner. Example: aut

Body Parameters

title   string   

Example: corrupti

description   string   

Example: Aspernatur officia iure dicta enim.

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php447D.tmp

category_id   string   

Example: vel

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/banner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/banner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/banner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/banner" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=inventore"\
    --form "description=Unde voluptates et ipsam."\
    --form "category_id=veritatis"\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php448E.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/content/banner"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'inventore');
body.append('description', 'Unde voluptates et ipsam.');
body.append('category_id', 'veritatis');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/content/banner

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

title   string   

Example: inventore

description   string   

Example: Unde voluptates et ipsam.

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php448E.tmp

category_id   string   

Example: veritatis

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/banner/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/banner/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/banner/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the banner. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/banner/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/banner/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/banner/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the banner. Example: 1

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-article/voluptatibus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quo\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-article/voluptatibus"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quo"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category article. Example: voluptatibus

Body Parameters

name   string   

Example: quo

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-article" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-article"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-article

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-article" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"est\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-article"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "est"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-article

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: est

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-article/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-article/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category article. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/category-article/7" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-article/7"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/category-article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category article. Example: 7

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/article/nihil" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"amet\",
    \"category_id\": \"voluptas\",
    \"status\": \"deserunt\",
    \"content\": \"scyexkjvmqwiqswnnioaymofjqkiywzkomckvwqjjlbugypiduengs\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/article/nihil"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "amet",
    "category_id": "voluptas",
    "status": "deserunt",
    "content": "scyexkjvmqwiqswnnioaymofjqkiywzkomckvwqjjlbugypiduengs"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the article. Example: nihil

Body Parameters

title   string   

Example: amet

category_id   string   

Example: voluptas

status   string   

Example: deserunt

content   string   

Must be at least 20 characters. Example: scyexkjvmqwiqswnnioaymofjqkiywzkomckvwqjjlbugypiduengs

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/article" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/article"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/article

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/article" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=sed"\
    --form "category_id=sequi"\
    --form "status=ducimus"\
    --form "content=tsbhvvahrpaqnmayxbfbjvhjnotmnvvalpzfpgclzjeyqrycgppydzugrcmnsolqauvxhmdp"\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php450C.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/content/article"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'sed');
body.append('category_id', 'sequi');
body.append('status', 'ducimus');
body.append('content', 'tsbhvvahrpaqnmayxbfbjvhjnotmnvvalpzfpgclzjeyqrycgppydzugrcmnsolqauvxhmdp');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/content/article

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

title   string   

Example: sed

category_id   string   

Example: sequi

status   string   

Example: ducimus

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php450C.tmp

content   string   

Must be at least 20 characters. Example: tsbhvvahrpaqnmayxbfbjvhjnotmnvvalpzfpgclzjeyqrycgppydzugrcmnsolqauvxhmdp

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/article/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/article/12"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the article. Example: 12

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/article/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/article/4"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the article. Example: 4

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/testimonial/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"fugiat\",
    \"testimony\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/testimonial/et"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "fugiat",
    "testimony": "ut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/testimonial/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the testimonial. Example: et

Body Parameters

name   string   

Example: fugiat

testimony   string   

'profession' => 'required|string',. Example: ut

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/testimonial" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/testimonial"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/testimonial

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/testimonial" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=adipisci"\
    --form "testimony=fuga"\
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php455B.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/content/testimonial"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'adipisci');
body.append('testimony', 'fuga');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/content/testimonial

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Example: adipisci

testimony   string   

'profession' => 'required|string',. Example: fuga

image   file  optional  

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php455B.tmp

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/testimonial/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/testimonial/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/testimonial/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the testimonial. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/testimonial/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/testimonial/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/testimonial/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the testimonial. Example: 1

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/word-of-wisdom/cumque" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"text_indonesia\": \"et\",
    \"text_english\": \"laboriosam\",
    \"status\": \"Aktif\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/word-of-wisdom/cumque"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "text_indonesia": "et",
    "text_english": "laboriosam",
    "status": "Aktif"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/word-of-wisdom/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the word of wisdom. Example: cumque

Body Parameters

text_indonesia   string   

Example: et

text_english   string   

Example: laboriosam

status   string   

Example: Aktif

Must be one of:
  • Aktif
  • Tidak Aktif

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/word-of-wisdom" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/word-of-wisdom"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/word-of-wisdom

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/word-of-wisdom" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"text_indonesia\": \"maiores\",
    \"text_english\": \"voluptatem\",
    \"status\": \"Aktif\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/word-of-wisdom"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "text_indonesia": "maiores",
    "text_english": "voluptatem",
    "status": "Aktif"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/word-of-wisdom

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

text_indonesia   string   

Example: maiores

text_english   string   

Example: voluptatem

status   string   

Example: Aktif

Must be one of:
  • Aktif
  • Tidak Aktif

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/word-of-wisdom/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/word-of-wisdom/20"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/word-of-wisdom/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the word of wisdom. Example: 20

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/word-of-wisdom/14" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/word-of-wisdom/14"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/word-of-wisdom/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the word of wisdom. Example: 14

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-faq/facilis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"facilis\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-faq/facilis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "facilis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-faq/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category faq. Example: facilis

Body Parameters

name   string   

Example: facilis

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-faq" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-faq"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-faq

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-faq" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"tenetur\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-faq"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "tenetur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-faq

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: tenetur

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-faq/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-faq/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-faq/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category faq. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/category-faq/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-faq/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/category-faq/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category faq. Example: 1

POST api/admin/content/category-event/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-event/officiis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"sint\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-event/officiis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "sint"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-event/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category event. Example: officiis

Body Parameters

name   string   

Example: sint

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/content/category-event

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/category-event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"dolorem\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "dolorem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/category-event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: dolorem

GET api/admin/content/category-event/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/category-event/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-event/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/category-event/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category event. Example: 1

DELETE api/admin/content/category-event/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/category-event/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/category-event/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/category-event/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the category event. Example: 2

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/event/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"a\",
    \"category_id\": \"aliquam\",
    \"location\": \"optio\",
    \"date\": \"2025-09-26T13:08:06\",
    \"time_start\": \"neque\",
    \"time_end\": \"voluptate\",
    \"max_audience\": 5,
    \"venue\": \"odio\",
    \"description\": \"Voluptate id qui sit magni nostrum.\",
    \"policy\": \"ut\",
    \"status\": \"Publish\",
    \"cp\": \"maxime\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/event/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "a",
    "category_id": "aliquam",
    "location": "optio",
    "date": "2025-09-26T13:08:06",
    "time_start": "neque",
    "time_end": "voluptate",
    "max_audience": 5,
    "venue": "odio",
    "description": "Voluptate id qui sit magni nostrum.",
    "policy": "ut",
    "status": "Publish",
    "cp": "maxime"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/event/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the event. Example: consequatur

Body Parameters

title   string   

Example: a

category_id   string   

Example: aliquam

location   string   

Example: optio

date   string   

Must be a valid date. Example: 2025-09-26T13:08:06

time_start   string   

Example: neque

time_end   string   

Example: voluptate

max_audience   integer   

Example: 5

venue   string   

Example: odio

description   string   

Must be at least 20 characters. Example: Voluptate id qui sit magni nostrum.

policy   string   

Example: ut

status   string   

Example: Publish

Must be one of:
  • Publish
  • Draft
cp   string   

Example: maxime

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"illum\",
    \"category_id\": \"aperiam\",
    \"location\": \"at\",
    \"date\": \"2025-09-26T13:08:06\",
    \"time_start\": \"voluptatem\",
    \"time_end\": \"dolorem\",
    \"max_audience\": 9,
    \"venue\": \"sunt\",
    \"description\": \"Magnam aperiam eos ea ex itaque libero.\",
    \"policy\": \"wfiueaybwaxxbbqgsrcjmymvzpzhpnyawfqxfdlmr\",
    \"status\": \"Draft\",
    \"cp\": \"dignissimos\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "illum",
    "category_id": "aperiam",
    "location": "at",
    "date": "2025-09-26T13:08:06",
    "time_start": "voluptatem",
    "time_end": "dolorem",
    "max_audience": 9,
    "venue": "sunt",
    "description": "Magnam aperiam eos ea ex itaque libero.",
    "policy": "wfiueaybwaxxbbqgsrcjmymvzpzhpnyawfqxfdlmr",
    "status": "Draft",
    "cp": "dignissimos"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Example: illum

category_id   string   

Example: aperiam

location   string   

Example: at

date   string   

Must be a valid date. Example: 2025-09-26T13:08:06

time_start   string   

Example: voluptatem

time_end   string   

Example: dolorem

max_audience   integer   

Example: 9

venue   string   

Example: sunt

description   string   

Must be at least 20 characters. Example: Magnam aperiam eos ea ex itaque libero.

policy   string   

Must be at least 20 characters. Example: wfiueaybwaxxbbqgsrcjmymvzpzhpnyawfqxfdlmr

status   string   

Example: Draft

Must be one of:
  • Publish
  • Draft
cp   string   

Example: dignissimos

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/event/19" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/event/19"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/event/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the event. Example: 19

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/event/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/event/20"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/event/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the event. Example: 20

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/faq/quasi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"question\": \"dolor\",
    \"answer\": \"labore\",
    \"category_id\": \"molestias\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/faq/quasi"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "question": "dolor",
    "answer": "labore",
    "category_id": "molestias"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/faq/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the faq. Example: quasi

Body Parameters

question   string   

Example: dolor

answer   string   

Example: labore

category_id   string   

Example: molestias

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/faq" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/faq"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/faq

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/content/faq" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"question\": \"est\",
    \"answer\": \"molestias\",
    \"category_id\": \"ipsam\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/content/faq"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "question": "est",
    "answer": "molestias",
    "category_id": "ipsam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/content/faq

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

question   string   

Example: est

answer   string   

Example: molestias

category_id   string   

Example: ipsam

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/content/faq/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/faq/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/content/faq/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the faq. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/content/faq/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/content/faq/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/content/faq/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the faq. Example: 1

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/general" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/general"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/general

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/setting/general" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name_app\": \"tempore\",
    \"description\": \"quasi\",
    \"address\": \"provident\",
    \"phone_number\": \"sapiente\",
    \"email\": \"gabriel95@example.com\",
    \"facebook\": \"incidunt\",
    \"instagram\": \"aut\",
    \"twitter\": \"iure\",
    \"youtube\": \"voluptate\",
    \"tiktok\": \"quia\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/setting/general"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name_app": "tempore",
    "description": "quasi",
    "address": "provident",
    "phone_number": "sapiente",
    "email": "gabriel95@example.com",
    "facebook": "incidunt",
    "instagram": "aut",
    "twitter": "iure",
    "youtube": "voluptate",
    "tiktok": "quia"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/setting/general

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name_app   string   

Example: tempore

description   string   

Example: quasi

address   string   

Example: provident

phone_number   string   

Example: sapiente

email   string   

Must be a valid email address. Example: gabriel95@example.com

facebook   string   

Example: incidunt

instagram   string   

Example: aut

twitter   string   

Example: iure

youtube   string   

Example: voluptate

tiktok   string   

Example: quia

POST api/admin/setting/comission

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/setting/comission" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"komisi\": \"aut\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/setting/comission"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "komisi": "aut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/setting/comission

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

komisi   string   

Example: aut

Update the specified resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/setting/policy-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"molestiae\",
    \"category\": \"2\",
    \"role\": \"Client\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/setting/policy-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "content": "molestiae",
    "category": "2",
    "role": "Client"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/setting/policy-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

content   string   

Example: molestiae

category   string   

Example: 2

Must be one of:
  • 1
  • 2
  • 3
role   string   

Example: Client

Must be one of:
  • Client
  • Customer Service
  • Partner

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/policy-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/policy-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/policy-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/setting/withdraw-information

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/setting/withdraw-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"content\": \"nobis\",
    \"category\": \"1\",
    \"role\": \"Client\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/setting/withdraw-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "content": "nobis",
    "category": "1",
    "role": "Client"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/setting/withdraw-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

content   string   

Example: nobis

category   string   

Example: 1

Must be one of:
  • 1
  • 2
  • 3
  • 4
role   string   

Example: Client

Must be one of:
  • Client
  • Customer Service
  • Partner

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/withdraw-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/withdraw-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/withdraw-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/activity-admin" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/activity-admin"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/activity-admin

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/setting/activity-customer

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/activity-customer" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/activity-customer"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/activity-customer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/setting/activity-keuangan

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/activity-keuangan" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/activity-keuangan"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/activity-keuangan

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/setting/activity-history

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/activity-history" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/activity-history"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/activity-history

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/setting/get-activity-name

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/get-activity-name" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/get-activity-name"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/get-activity-name

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/setting/activity/export-data/excel

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/activity/export-data/excel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/activity/export-data/excel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/activity/export-data/excel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/setting/permission/assign-permission/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/admin/setting/permission/assign-permission/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/admin/setting/permission/assign-permission/{role_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

role_id   integer   

The ID of the role. Example: 1

Body Parameters

permission   string[]  optional  

Store a newly created resource in storage.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/permission/role" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/permission/role"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/permission/role

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/setting/permission" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/setting/permission"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/setting/permission

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/setting/permission" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"exercitationem\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/setting/permission"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "exercitationem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/setting/permission

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: exercitationem

change password the specified resource from storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/profile/change-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"password_old\": \"dolorem\",
    \"password_new\": \"quam\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/profile/change-password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "password_old": "dolorem",
    "password_new": "quam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/profile/change-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

password_old   string   

Example: dolorem

password_new   string   

Example: quam

edit profile the specified resource from storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/profile/edit-profile" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fullname\": \"autem\",
    \"phone_number\": \"quos\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/profile/edit-profile"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fullname": "autem",
    "phone_number": "quos"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/profile/edit-profile

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fullname   string   

Example: autem

phone_number   string   

Example: quos

change avatar the specified resource from storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/profile/change-avatar" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php479E.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/profile/change-avatar"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/profile/change-avatar

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

image   file   

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php479E.tmp

Get Current User.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/profile/get-current-user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/profile/get-current-user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/profile/get-current-user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/dashboard/count

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/dashboard/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/dashboard/count"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/dashboard/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/dashboard/latest-bookings

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/dashboard/latest-bookings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/dashboard/latest-bookings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/dashboard/latest-bookings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/dashboard/latest-users

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/dashboard/latest-users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/dashboard/latest-users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/dashboard/latest-users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/dashboard/rating

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/dashboard/rating" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/dashboard/rating"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/dashboard/rating

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/report/bookings

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/report/bookings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/report/bookings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/report/bookings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/report/bookings/export-data/excel

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/report/bookings/export-data/excel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/report/bookings/export-data/excel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/report/bookings/export-data/excel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/report/transactions

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/report/transactions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/report/transactions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/report/transactions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/report/transactions/export-data/excel

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/report/transactions/export-data/excel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/report/transactions/export-data/excel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/report/transactions/export-data/excel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/report/transaction/{id}/invoice

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/report/transaction/dolorum/invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/report/transaction/dolorum/invoice"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/report/transaction/{id}/invoice

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the transaction. Example: dolorum

GET api/admin/report/transaction/{id}/export-data/pdf

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/report/transaction/natus/export-data/pdf" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/report/transaction/natus/export-data/pdf"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/report/transaction/{id}/export-data/pdf

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the transaction. Example: natus

GET api/admin/transaction/open-cases

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/open-cases" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/open-cases"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/open-cases

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/transaction/open-cases/{id}/offer

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/open-cases/15/offer" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/open-cases/15/offer"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/open-cases/{id}/offer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 15

GET api/admin/transaction/open-cases/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/open-cases/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/open-cases/9"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/open-cases/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 9

GET api/admin/transaction/consultation-probono

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-probono" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-probono"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-probono

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/transaction/consultation-probono/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-probono/atque" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-probono/atque"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-probono/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation probono. Example: atque

DELETE api/admin/transaction/consultation-probono/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/transaction/consultation-probono/id" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-probono/id"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/transaction/consultation-probono/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation probono. Example: id

GET api/admin/transaction/consultation-online

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-online" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-online"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-online

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/transaction/consultation-online/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-online/eligendi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-online/eligendi"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-online/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation online. Example: eligendi

DELETE api/admin/transaction/consultation-online/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/transaction/consultation-online/quos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-online/quos"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/transaction/consultation-online/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation online. Example: quos

GET api/admin/transaction/consultation-online/{id}/invoice

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-online/sapiente/invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-online/sapiente/invoice"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-online/{id}/invoice

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation online. Example: sapiente

GET api/admin/transaction/consultation-online/{id}/export-data/pdf

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-online/commodi/export-data/pdf" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-online/commodi/export-data/pdf"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-online/{id}/export-data/pdf

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation online. Example: commodi

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-face-to-face" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-face-to-face"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-face-to-face

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/transaction/consultation-face-to-face/quo" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-face-to-face/quo"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/transaction/consultation-face-to-face/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation face to face. Example: quo

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/transaction/consultation-face-to-face/dolor" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/transaction/consultation-face-to-face/dolor"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/admin/transaction/consultation-face-to-face/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the consultation face to face. Example: dolor

GET api/admin/comission/history-points

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/comission/history-points" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/comission/history-points"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/comission/history-points

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/admin/comission/partner-points

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/comission/partner-points" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/comission/partner-points"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/comission/partner-points

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/comission/partner-points

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/comission/partner-points" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"labore\",
    \"amount\": 48
}"
const url = new URL(
    "http://localhost:8000/api/admin/comission/partner-points"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "labore",
    "amount": 48
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/comission/partner-points

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_id   string   

Example: labore

amount   number   

Must be at least 0. Example: 48

GET api/admin/library/category

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/library/category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/library/category"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/library/category

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/library/category

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/library/category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"animi\",
    \"order\": 3490406.281056
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/category"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "animi",
    "order": 3490406.281056
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/library/category

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: animi

order   number  optional  

Example: 3490406.281056

POST api/admin/library/category/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/library/category/id" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"quia\",
    \"name\": \"qui\",
    \"order\": 49050960.99163942
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/category/id"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "quia",
    "name": "qui",
    "order": 49050960.99163942
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/library/category/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category. Example: id

Body Parameters

id   string   

Example: quia

name   string   

Example: qui

order   number  optional  

Example: 49050960.991639

DELETE api/admin/library/category/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/library/category/nobis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"est\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/category/nobis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "est"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/admin/library/category/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category. Example: nobis

Body Parameters

id   string   

Example: est

POST api/admin/library/batch

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/library/batch" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"data\": [
        {
            \"category\": \"autem\",
            \"title\": \"expedita\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/batch"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "data": [
        {
            "category": "autem",
            "title": "expedita"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/library/batch

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

data   object[]  optional  
category   string   

Example: autem

title   string   

Example: expedita

POST api/admin/library/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/library/deserunt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"reiciendis\",
    \"category_id\": 148869352.589,
    \"title\": \"quis\",
    \"from\": \"sint\",
    \"number\": \"ducimus\",
    \"year\": 426567.5860326,
    \"about\": \"animi\",
    \"city\": \"nulla\",
    \"date\": \"2025-09-26T13:08:07\",
    \"officer\": \"exercitationem\",
    \"body\": \"sit\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/deserunt"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "reiciendis",
    "category_id": 148869352.589,
    "title": "quis",
    "from": "sint",
    "number": "ducimus",
    "year": 426567.5860326,
    "about": "animi",
    "city": "nulla",
    "date": "2025-09-26T13:08:07",
    "officer": "exercitationem",
    "body": "sit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/library/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the library. Example: deserunt

Body Parameters

id   string   

Example: reiciendis

category_id   number   

Example: 148869352.589

title   string   

Example: quis

from   string   

Example: sint

number   string   

Example: ducimus

year   number   

Example: 426567.5860326

about   string   

Example: animi

city   string   

Example: nulla

date   string   

Must be a valid date. Example: 2025-09-26T13:08:07

officer   string   

Example: exercitationem

status   string  optional  
body   string   

Example: sit

GET api/admin/library

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/library" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/library"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/library

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/library

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/library" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"category_id\": 741467996.59055,
    \"title\": \"voluptatem\",
    \"from\": \"consectetur\",
    \"number\": \"reprehenderit\",
    \"year\": 214.5494614,
    \"about\": \"corporis\",
    \"city\": \"ullam\",
    \"date\": \"2025-09-26T13:08:07\",
    \"officer\": \"provident\",
    \"body\": \"quod\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/library"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "category_id": 741467996.59055,
    "title": "voluptatem",
    "from": "consectetur",
    "number": "reprehenderit",
    "year": 214.5494614,
    "about": "corporis",
    "city": "ullam",
    "date": "2025-09-26T13:08:07",
    "officer": "provident",
    "body": "quod"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/library

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

category_id   number   

Example: 741467996.59055

title   string   

Example: voluptatem

from   string   

Example: consectetur

number   string   

Example: reprehenderit

year   number   

Example: 214.5494614

about   string   

Example: corporis

city   string   

Example: ullam

date   string   

Must be a valid date. Example: 2025-09-26T13:08:07

officer   string   

Example: provident

status   string  optional  
body   string   

Example: quod

GET api/admin/library/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/library/qui" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"ipsam\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/qui"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "ipsam"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/library/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the library. Example: qui

Body Parameters

id   string   

Example: ipsam

DELETE api/admin/library/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/library/omnis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"est\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/library/omnis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "est"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/admin/library/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the library. Example: omnis

Body Parameters

id   string   

Example: est

GET api/admin/document-support/category

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/document-support/category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/document-support/category"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/document-support/category

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/document-support/category

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/document-support/category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quam\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/document-support/category"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/document-support/category

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: quam

POST api/admin/document-support/category/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/document-support/category/sit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"iure\",
    \"name\": \"ipsa\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/document-support/category/sit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "iure",
    "name": "ipsa"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/admin/document-support/category/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category. Example: sit

Body Parameters

id   string   

Example: iure

name   string   

Example: ipsa

DELETE api/admin/document-support/category/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/document-support/category/explicabo" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"voluptates\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/document-support/category/explicabo"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "voluptates"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/admin/document-support/category/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the category. Example: explicabo

Body Parameters

id   string   

Example: voluptates

POST api/admin/document-support/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/document-support/facilis" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "id=labore"\
    --form "category_id=eos"\
    --form "name=autem"\
    --form "file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4955.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/document-support/facilis"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('id', 'labore');
body.append('category_id', 'eos');
body.append('name', 'autem');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/document-support/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the document support. Example: facilis

Body Parameters

id   string   

Example: labore

category_id   string   

Example: eos

name   string   

Example: autem

file   file  optional  

Must be a file. Must not be greater than 5120 kilobytes. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4955.tmp

GET api/admin/document-support

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/document-support" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/admin/document-support"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/document-support

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/admin/document-support

Example request:
curl --request POST \
    "http://localhost:8000/api/admin/document-support" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "category_id=blanditiis"\
    --form "name=ipsum"\
    --form "file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4965.tmp" 
const url = new URL(
    "http://localhost:8000/api/admin/document-support"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('category_id', 'blanditiis');
body.append('name', 'ipsum');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/admin/document-support

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

category_id   string   

Example: blanditiis

name   string   

Example: ipsum

file   file   

Must be a file. Must not be greater than 5120 kilobytes. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4965.tmp

GET api/admin/document-support/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/admin/document-support/cupiditate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"laudantium\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/document-support/cupiditate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "laudantium"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/admin/document-support/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the document support. Example: cupiditate

Body Parameters

id   string   

Example: laudantium

DELETE api/admin/document-support/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/admin/document-support/sit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"qui\"
}"
const url = new URL(
    "http://localhost:8000/api/admin/document-support/sit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "qui"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/admin/document-support/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the document support. Example: sit

Body Parameters

id   string   

Example: qui

POST api/mobile/location

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/location" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/location"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/location

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/general" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/general"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/general

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/bank-account-management

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/bank-account-management" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/bank-account-management"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/bank-account-management

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/bank-account-management/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/bank-account-management/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/bank-account-management/9"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/bank-account-management/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the bank account management. Example: 9

POST api/mobile/bank-account-management

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/bank-account-management" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/bank-account-management"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/bank-account-management

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/bank-account-management/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/bank-account-management/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/bank-account-management/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/bank-account-management/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the bank account management. Example: 1

DELETE api/mobile/bank-account-management/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/bank-account-management/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/bank-account-management/10"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/bank-account-management/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the bank account management. Example: 10

Display a current user points

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/points" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/points"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/points

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display user points logs

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/points/log" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/points/log"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/points/log

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/location/update

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/location/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"latitude\": \"distinctio\",
    \"longitude\": \"a\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/location/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "latitude": "distinctio",
    "longitude": "a"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/location/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

latitude   string   

Example: distinctio

longitude   string   

Example: a

GET api/mobile/common/profession

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/common/profession" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/common/profession"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/common/profession

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Show the form for approval.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/consultation/start/autem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/consultation/start/autem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/consultation/start/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the start. Example: autem

GET api/mobile/consultation/room-chat/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/consultation/room-chat/doloremque" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"consultation_id\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/consultation/room-chat/doloremque"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "consultation_id": "ut"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/consultation/room-chat/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room chat. Example: doloremque

Body Parameters

consultation_id   string   

Example: ut

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/registration/profession" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/registration/profession"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/registration/profession

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/registration/profession" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"profession_id\": \"suscipit\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/registration/profession"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "profession_id": "suscipit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/registration/profession

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

profession_id   string   

Example: suscipit

specialization_id   string[]  optional  

Show the form for creating a new resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/registration/account-verification" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"blanditiis\",
    \"nik\": \"4114989081312624\",
    \"place_of_birth\": \"minima\",
    \"date_of_birth\": \"inventore\",
    \"address\": \"explicabo\",
    \"gender\": \"sunt\",
    \"npwp\": \"amet\",
    \"appointment_date\": \"omnis\",
    \"member_number\": \"aliquam\",
    \"member_expire_date\": \"odio\",
    \"description\": \"non\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/registration/account-verification"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "blanditiis",
    "nik": "4114989081312624",
    "place_of_birth": "minima",
    "date_of_birth": "inventore",
    "address": "explicabo",
    "gender": "sunt",
    "npwp": "amet",
    "appointment_date": "omnis",
    "member_number": "aliquam",
    "member_expire_date": "odio",
    "description": "non"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/registration/account-verification

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: blanditiis

nik   string   

Must be 16 digits. Example: 4114989081312624

place_of_birth   string   

Example: minima

date_of_birth   string   

Example: inventore

address   string   

Example: explicabo

gender   string   

Example: sunt

npwp   string   

Example: amet

appointment_date   string   

Example: omnis

member_number   string   

Example: aliquam

member_expire_date   string   

Example: odio

description   string   

Example: non

Show the form for creating a new resource.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/registration/upload-identity" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"file_ktp\": \"vel\",
    \"file_npwp\": \"totam\",
    \"file_nia\": \"voluptate\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/registration/upload-identity"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "file_ktp": "vel",
    "file_npwp": "totam",
    "file_nia": "voluptate"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/registration/upload-identity

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

file_ktp   string   

Example: vel

file_npwp   string   

Example: totam

file_nia   string   

Example: voluptate

file_berita_acara   string  optional  

Show the form for approval.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/consultation/generate-token/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/generate-token/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/consultation/generate-token/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the generate token. Example: consequatur

Show the form for approval.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/consultation/approval/autem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status_order\": \"Ditolak\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/approval/autem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status_order": "Ditolak"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/consultation/approval/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the approval. Example: autem

Body Parameters

status_order   string   

Example: Ditolak

Must be one of:
  • Diterima
  • Ditolak

GET api/mobile/partner/consultation/offer

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/consultation/offer" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/offer"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/consultation/offer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/partner/consultation/{id}/offer

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/consultation/16/offer" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Ut nesciunt qui consequuntur error saepe aspernatur.\",
    \"legal_steps\": [
        \"olinmnxpwpghxoedhelwcivlvsmlzjagvocbdoxozmmaocykwrhwudmvngtyhjhrxnpdeuwjqttrxt\"
    ],
    \"price\": 183.1205138,
    \"payment_type\": \"ullam\",
    \"success_fee\": false,
    \"success_percentage\": 17,
    \"success_value\": 1081924.6394527948
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/16/offer"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "description": "Ut nesciunt qui consequuntur error saepe aspernatur.",
    "legal_steps": [
        "olinmnxpwpghxoedhelwcivlvsmlzjagvocbdoxozmmaocykwrhwudmvngtyhjhrxnpdeuwjqttrxt"
    ],
    "price": 183.1205138,
    "payment_type": "ullam",
    "success_fee": false,
    "success_percentage": 17,
    "success_value": 1081924.6394527948
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/consultation/{id}/offer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the consultation. Example: 16

Body Parameters

description   string   

Must be at least 20 characters. Example: Ut nesciunt qui consequuntur error saepe aspernatur.

legal_steps   string[]  optional  

Must be at least 5 characters.

price   number   

Example: 183.1205138

payment_type   string   

Example: ullam

success_fee   boolean   

Example: false

consultation_id   string  optional  
success_percentage   number  optional  

This field is required when success_fee is 1. Must be at least 1. Must not be greater than 100. Example: 17

success_value   number  optional  

This field is required when success_fee is 1. Example: 1081924.6394528

POST api/mobile/partner/consultation/{id}/offer-edit

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/consultation/18/offer-edit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Aut eos est libero in rerum doloremque provident.\",
    \"legal_steps\": [
        \"ptzrxbucssl\"
    ],
    \"price\": 49,
    \"payment_type\": \"sapiente\",
    \"success_fee\": false,
    \"success_percentage\": 12,
    \"success_value\": 1189.469
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/18/offer-edit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "description": "Aut eos est libero in rerum doloremque provident.",
    "legal_steps": [
        "ptzrxbucssl"
    ],
    "price": 49,
    "payment_type": "sapiente",
    "success_fee": false,
    "success_percentage": 12,
    "success_value": 1189.469
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/consultation/{id}/offer-edit

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the consultation. Example: 18

Body Parameters

description   string   

Must be at least 20 characters. Example: Aut eos est libero in rerum doloremque provident.

legal_steps   string[]  optional  

Must be at least 5 characters.

price   number   

Example: 49

payment_type   string   

Example: sapiente

success_fee   boolean   

Example: false

offer_open_case_id   string  optional  
success_percentage   number  optional  

This field is required when success_fee is 1. Must be at least 1. Must not be greater than 100. Example: 12

success_value   number  optional  

This field is required when success_fee is 1. Example: 1189.469

DELETE api/mobile/partner/consultation/{id}/offer-delete

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/partner/consultation/17/offer-delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/17/offer-delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/partner/consultation/{id}/offer-delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the consultation. Example: 17

Body Parameters

offer_open_case_id   string  optional  

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/consultation" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/consultation

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/consultation/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/consultation/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/consultation/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the consultation. Example: 2

GET api/mobile/partner/open-case

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/open-case" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/open-case

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/partner/open-case/offer

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/open-case/offer" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/offer"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/open-case/offer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/partner/open-case/handled

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/open-case/handled" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/handled"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/open-case/handled

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/partner/open-case/offer/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/open-case/offer/ipsa" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/offer/ipsa"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/open-case/offer/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: ipsa

GET api/mobile/partner/open-case/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/open-case/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/8"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/open-case/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 8

POST api/mobile/partner/open-case/{id}/step

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/open-case/12/step" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/12/step"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/partner/open-case/{id}/step

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 12

POST api/mobile/partner/open-case/{id}/edit

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/open-case/12/edit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Enim pariatur eos corporis quidem enim est qui soluta.\",
    \"legal_steps\": [
        \"nzozwiahukcwjfdnpuuhquqynbdagkcnwqmgjggnjtamrmpzxzmhfhscnjauasxyfmqnwwxoi\"
    ],
    \"price\": 21.261812128,
    \"payment_type\": \"et\",
    \"success_fee\": false,
    \"termin_fee\": 99468354.455,
    \"success_percentage\": 3413.2,
    \"success_value\": 41021.4826111
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/12/edit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "description": "Enim pariatur eos corporis quidem enim est qui soluta.",
    "legal_steps": [
        "nzozwiahukcwjfdnpuuhquqynbdagkcnwqmgjggnjtamrmpzxzmhfhscnjauasxyfmqnwwxoi"
    ],
    "price": 21.261812128,
    "payment_type": "et",
    "success_fee": false,
    "termin_fee": 99468354.455,
    "success_percentage": 3413.2,
    "success_value": 41021.4826111
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/open-case/{id}/edit

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 12

Body Parameters

description   string   

Must be at least 20 characters. Example: Enim pariatur eos corporis quidem enim est qui soluta.

legal_steps   string[]  optional  

Must be at least 5 characters.

price   number   

Example: 21.261812128

payment_type   string   

Example: et

success_fee   boolean   

Example: false

termin_fee   number  optional  

This field is required when payment_type is Termin. Example: 99468354.455

offer_open_case_id   string  optional  
success_percentage   number  optional  

This field is required when success_fee is 1. Example: 3413.2

success_value   number  optional  

This field is required when success_fee is 1. Example: 41021.4826111

POST api/mobile/partner/open-case/{id}/probono

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/open-case/7/probono" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Quasi aut accusantium nobis aut aliquam aut.\",
    \"legal_steps\": [
        \"oxrnxoaljedcfr\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/7/probono"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "description": "Quasi aut accusantium nobis aut aliquam aut.",
    "legal_steps": [
        "oxrnxoaljedcfr"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/open-case/{id}/probono

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 7

Body Parameters

description   string   

Must be at least 20 characters. Example: Quasi aut accusantium nobis aut aliquam aut.

legal_steps   string[]  optional  

Must be at least 5 characters.

open_case_id   string  optional  

POST api/mobile/partner/open-case/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/open-case/19" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Quisquam dolorum ducimus ea exercitationem totam similique.\",
    \"legal_steps\": [
        \"omftkdhqcvcdcrskdufxqzcia\"
    ],
    \"price\": 26.398,
    \"payment_type\": \"est\",
    \"termin_fee\": 614669.3,
    \"success_fee\": false,
    \"success_percentage\": 4,
    \"success_value\": 3.13627
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/19"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "description": "Quisquam dolorum ducimus ea exercitationem totam similique.",
    "legal_steps": [
        "omftkdhqcvcdcrskdufxqzcia"
    ],
    "price": 26.398,
    "payment_type": "est",
    "termin_fee": 614669.3,
    "success_fee": false,
    "success_percentage": 4,
    "success_value": 3.13627
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/open-case/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 19

Body Parameters

description   string   

Must be at least 20 characters. Example: Quisquam dolorum ducimus ea exercitationem totam similique.

legal_steps   string[]  optional  

Must be at least 5 characters.

price   number   

Example: 26.398

payment_type   string   

Example: est

termin_fee   number  optional  

This field is required when payment_type is Termin. Example: 614669.3

success_fee   boolean   

Example: false

open_case_id   string  optional  
success_percentage   number  optional  

This field is required when success_fee is 1. Must be at least 1. Must not be greater than 100. Example: 4

success_value   number  optional  

This field is required when success_fee is 1. Example: 3.13627

DELETE api/mobile/partner/open-case/offer/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/partner/open-case/offer/dolor" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/mobile/partner/open-case/offer/dolor"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/partner/open-case/offer/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: dolor

Body Parameters

offer_open_case_id   string  optional  

update resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/service-schedule/4" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/service-schedule/4"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/service-schedule/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the service schedule. Example: 4

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/service-schedule" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"day\": \"Rabu\",
    \"time_start\": \"sed\",
    \"time_end\": \"voluptas\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/service-schedule"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "day": "Rabu",
    "time_start": "sed",
    "time_end": "voluptas"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/service-schedule

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

day   string   

Example: Rabu

Must be one of:
  • Senin
  • Selasa
  • Rabu
  • Kamis
  • Jumat
  • Sabtu
  • Minggu
time_start   string   

Example: sed

time_end   string   

Example: voluptas

delete a new service instance.

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/partner/profile/service-schedule/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/service-schedule/8"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/partner/profile/service-schedule/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the service schedule. Example: 8

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/service-schedule" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/service-schedule"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/service-schedule

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/partner/profile/partner-service/store

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/partner-service/store" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"category\": \"Tatap Muka\",
    \"minutes\": 26,
    \"price\": 39
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service/store"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "category": "Tatap Muka",
    "minutes": 26,
    "price": 39
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/partner-service/store

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

category   string   

Example: Tatap Muka

Must be one of:
  • Chat
  • Tatap Muka
  • Video Call
  • Telepon
minutes   number   

Must be at least 0. Example: 26

price   number   

Must be at least 0. Example: 39

POST api/mobile/partner/profile/partner-service/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/partner-service/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"minutes\": 51,
    \"price\": 53
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "minutes": 51,
    "price": 53
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/partner-service/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the partner service. Example: 1

Body Parameters

minutes   number   

Must be at least 0. Example: 51

price   number   

Must be at least 0. Example: 53

DELETE api/mobile/partner/profile/partner-service/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/partner/profile/partner-service/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/partner/profile/partner-service/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the partner service. Example: 1

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/partner-service" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/partner-service

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Partner Service Available.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/partner-service-available" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service-available"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/partner-service-available

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Partner Service Detail.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/partner-service-detail" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"category_service\": \"Video Call\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service-detail"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "category_service": "Video Call"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/partner-service-detail

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

category_service   string   

Example: Video Call

Must be one of:
  • Chat
  • Telepon
  • Video Call
  • Tatap Muka

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/partner-service" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"chat\": true,
    \"telepon\": false,
    \"video_call\": true,
    \"tatap_muka\": false
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/partner-service"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "chat": true,
    "telepon": false,
    "video_call": true,
    "tatap_muka": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/partner-service

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

chat   boolean  optional  

Example: true

chat_detail   object  optional  

This field is required when chat is true.

telepon   boolean  optional  

Example: false

telepon_detail   object  optional  

This field is required when call is true.

video_call   boolean  optional  

Example: true

video_call_detail   object  optional  

This field is required when video_call is true.

tatap_muka   boolean  optional  

Example: false

tatap_muka_detail   object  optional  

This field is required when tatap_muka is true.

POST api/mobile/partner/profile/edit-profile

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/edit-profile" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fullname\": \"accusantium\",
    \"phone_number\": \"nihil\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/edit-profile"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fullname": "accusantium",
    "phone_number": "nihil"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/edit-profile

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fullname   string   

Example: accusantium

phone_number   string   

Example: nihil

GET api/mobile/partner/profile/rating

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/rating" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/rating"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/rating

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

change avatar the specified resource from storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/change-avatar" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4CC2.tmp" 
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/change-avatar"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/change-avatar

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

image   file   

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4CC2.tmp

GET api/mobile/partner/profile/user

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/partner/profile/user

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/partner/profile/document-support

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/document-support" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/document-support"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/document-support

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/partner/profile/document-support/filter

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/document-support/filter" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/document-support/filter"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/document-support/filter

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/partner/profile/document-support/category

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/document-support/category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/document-support/category"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/document-support/category

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/partner/profile/document-support

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/partner/profile/document-support" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "category_id=corporis"\
    --form "name=temporibus"\
    --form "file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4D11.tmp" 
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/document-support"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('category_id', 'corporis');
body.append('name', 'temporibus');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/mobile/partner/profile/document-support

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

category_id   string   

Example: corporis

name   string   

Example: temporibus

file   file   

Must be a file. Must not be greater than 5120 kilobytes. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4D11.tmp

DELETE api/mobile/partner/profile/document-support/{id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/partner/profile/document-support/omnis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/document-support/omnis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/partner/profile/document-support/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the document support. Example: omnis

Body Parameters

id   string  optional  

POST api/mobile/client/home/wallet/payout

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/home/wallet/payout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/wallet/payout"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/client/home/wallet/payout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/home/wallet/payout

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/wallet/payout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/wallet/payout"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/wallet/payout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/home/wallet

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/wallet" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/wallet"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 51
access-control-allow-origin: *
 

{
    "message": "Attempt to read property \"id\" on null",
    "exception": "ErrorException",
    "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Services\\WalletService.php",
    "line": 21,
    "trace": [
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\HandleExceptions.php",
            "line": 270,
            "function": "handleError",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Services\\WalletService.php",
            "line": 21,
            "function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Http\\Controllers\\Api\\Mobile\\Client\\Home\\WalletController.php",
            "line": 32,
            "function": "index",
            "class": "App\\Services\\WalletService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "index",
            "class": "App\\Http\\Controllers\\Api\\Mobile\\Client\\Home\\WalletController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 259,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 798,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 126,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 92,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 54,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 797,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 776,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 740,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 729,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 190,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 165,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 134,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 661,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 183,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 152,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 1063,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 102,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 155,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\artisan",
            "line": 35,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET api/mobile/client/home/wallet

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/home/wallet/list-payment-method

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/wallet/list-payment-method" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/wallet/list-payment-method"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/wallet/list-payment-method

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/home/wallet/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/wallet/dolores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/wallet/dolores"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/wallet/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the wallet. Example: dolores

POST api/mobile/client/home/wallet

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/home/wallet" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/wallet"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/client/home/wallet

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/home/consultation/room-chat/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/room-chat/dolorum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"consultation_id\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/room-chat/dolorum"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "consultation_id": "ut"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/room-chat/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room chat. Example: dolorum

Body Parameters

consultation_id   string   

Example: ut

create consultation payment.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/check-available" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/check-available"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/check-available

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

get partner schedule.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/partner/schedule" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"aperiam\",
    \"date\": \"2025-09-26T13:08:08\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/partner/schedule"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "aperiam",
    "date": "2025-09-26T13:08:08"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/partner/schedule

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_id   string   

Example: aperiam

date   string   

Must be a valid date. Example: 2025-09-26T13:08:08

get partner duration.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/partner/service-duration" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"asperiores\",
    \"service_schedule_detail_id\": \"dolores\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/partner/service-duration"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "asperiores",
    "service_schedule_detail_id": "dolores"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/partner/service-duration

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_id   string   

Example: asperiores

service_schedule_detail_id   string   

Example: dolores

get consultation by id.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/show/quidem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/show/quidem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/show/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the show. Example: quidem

GET api/mobile/client/home/consultation/now/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/now/ullam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"adipisci\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/now/ullam"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "adipisci"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/now/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the now. Example: ullam

Body Parameters

id   string   

Example: adipisci

cancel consultation payment.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/home/consultation/cancel/harum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/cancel/harum"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/client/home/consultation/cancel/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the cancel. Example: harum

create consultation payment.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/home/consultation/payment-charge/aut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/payment-charge/aut"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/client/home/consultation/payment-charge/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the payment charge. Example: aut

POST api/mobile/client/home/consultation/now

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/home/consultation/now" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"specialization_id\": \"facere\",
    \"chronology\": \"tempora\",
    \"service_detail_id\": \"est\",
    \"user_id\": \"vero\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/now"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "specialization_id": "facere",
    "chronology": "tempora",
    "service_detail_id": "est",
    "user_id": "vero"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/home/consultation/now

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

specialization_id   string   

Example: facere

file_document   string  optional  
chronology   string   

Example: tempora

service_detail_id   string   

Example: est

user_id   string   

Example: vero

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/home/consultation" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"specialization_id\": \"alias\",
    \"type\": \"Online\",
    \"is_probono\": false,
    \"chronology\": \"sunt\",
    \"service_detail_id\": \"id\",
    \"user_id\": \"est\",
    \"date\": \"voluptas\",
    \"service_schedule_detail_id\": \"ut\",
    \"file_rw\": \"architecto\",
    \"file_kelurahan\": \"expedita\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "specialization_id": "alias",
    "type": "Online",
    "is_probono": false,
    "chronology": "sunt",
    "service_detail_id": "id",
    "user_id": "est",
    "date": "voluptas",
    "service_schedule_detail_id": "ut",
    "file_rw": "architecto",
    "file_kelurahan": "expedita"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/home/consultation

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

specialization_id   string   

Example: alias

type   string   

Example: Online

Must be one of:
  • Online
  • Tatap Muka
is_probono   boolean   

Example: false

file_document   string  optional  
chronology   string   

Example: sunt

service_detail_id   string   

Example: id

user_id   string   

Example: est

date   string   

Example: voluptas

service_schedule_detail_id   string   

Example: ut

file_rw   string   

Example: architecto

file_kelurahan   string   

Example: expedita

Store or update partner's rating.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/partner/quam/rate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"illum\",
    \"rating\": 5,
    \"comment\": \"yudvlxd\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/partner/quam/rate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "illum",
    "rating": 5,
    "comment": "yudvlxd"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/partner/{id}/rate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partner. Example: quam

Body Parameters

user_id   string   

Example: illum

rating   integer   

Must be at least 1. Must not be greater than 5. Example: 5

comment   string  optional  

Must not be greater than 255 characters. Example: yudvlxd

View all partner reviews

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/partner/quod/reviews" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"fuga\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/partner/quod/reviews"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": "fuga"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/partner/{id}/reviews

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partner. Example: quod

Body Parameters

user_id   string   

Example: fuga

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/customer-support" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/customer-support"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/customer-support

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/client/profile/customer-support

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/profile/customer-support" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"molestiae\",
    \"description\": \"quaerat\",
    \"category_ticket_id\": \"sed\",
    \"file\": \"est\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/customer-support"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "molestiae",
    "description": "quaerat",
    "category_ticket_id": "sed",
    "file": "est"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/profile/customer-support

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Example: molestiae

description   string   

Example: quaerat

category_ticket_id   string   

Example: sed

file   string   

Example: est

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/customer-support/aliquid" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/customer-support/aliquid"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/customer-support/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer support. Example: aliquid

GET api/mobile/client/profile/customer-ticket

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/customer-ticket" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/customer-ticket"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/customer-ticket

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/client/profile/customer-ticket/{id}/edit

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/profile/customer-ticket/eum/edit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"text\": \"fugit\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/customer-ticket/eum/edit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "text": "fugit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/profile/customer-ticket/{id}/edit

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer ticket. Example: eum

Body Parameters

text   string   

Example: fugit

Add Comment.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/profile/customer-ticket/eos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"text\": \"quis\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/customer-ticket/eos"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "text": "quis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/profile/customer-ticket/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer ticket. Example: eos

Body Parameters

text   string   

Example: quis

GET api/mobile/client/profile/user/show

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/user/show" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/user/show"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/user/show

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/client/profile/edit-profile

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/profile/edit-profile" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fullname\": \"qui\",
    \"phone_number\": \"vero\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/edit-profile"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fullname": "qui",
    "phone_number": "vero"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/profile/edit-profile

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fullname   string   

Example: qui

phone_number   string   

Example: vero

change avatar the specified resource from storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/profile/change-avatar" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4F54.tmp" 
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/change-avatar"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/mobile/client/profile/change-avatar

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

image   file   

Must be an image. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4F54.tmp

GET api/mobile/client/profile/transaction

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/transaction" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/transaction"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/transaction

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/profile/transaction/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/transaction/iusto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/transaction/iusto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/transaction/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the transaction. Example: iusto

GET api/mobile/client/profile/payment/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/payment/necessitatibus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/payment/necessitatibus"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/payment/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the payment. Example: necessitatibus

GET api/mobile/client/specialization/get

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/specialization/get" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/specialization/get"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/specialization/get

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store or publish new consultation.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/consultation/create" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "specialization_id=ratione"\
    --form "chronology=dolor"\
    --form "is_probono=nobis"\
    --form "consultation_file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4FE1.tmp" \
    --form "sktm_rw_file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4FE2.tmp" \
    --form "sktm_kelurahan_file=@C:\Users\Laptop Store 95\AppData\Local\Temp\php4FE3.tmp" 
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/create"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('specialization_id', 'ratione');
body.append('chronology', 'dolor');
body.append('is_probono', 'nobis');
body.append('consultation_file', document.querySelector('input[name="consultation_file"]').files[0]);
body.append('sktm_rw_file', document.querySelector('input[name="sktm_rw_file"]').files[0]);
body.append('sktm_kelurahan_file', document.querySelector('input[name="sktm_kelurahan_file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/mobile/client/consultation/create

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

specialization_id   string  optional  

Example: ratione

type   string  optional  
chronology   string   

Example: dolor

is_probono   string  optional  

Example: nobis

consultation_file   file   

Must be a file. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4FE1.tmp

sktm_rw_file   file  optional  

Must be a file. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4FE2.tmp

sktm_kelurahan_file   file  optional  

Must be a file. Example: C:\Users\Laptop Store 95\AppData\Local\Temp\php4FE3.tmp

POST api/mobile/client/consultation/detail/information/store

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/consultation/detail/information/store" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/detail/information/store"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/client/consultation/detail/information/store

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/consultation/information/service/list

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/information/service/list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/information/service/list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/information/service/list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/consultation/show/detail/booking

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/show/detail/booking" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/show/detail/booking"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/show/detail/booking

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/client/consultation/approval

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/consultation/approval" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status_order\": \"aut\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/approval"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status_order": "aut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/consultation/approval

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

status_order   string   

Example: aut

GET api/mobile/client/consultation/history/list

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/history/list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/history/list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/history/list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/consultation/list

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/consultation/case

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/case" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/case"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/case

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/consultation/case/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/case/odio" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/case/odio"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/case/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the case. Example: odio

GET api/mobile/client/consultation/free

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/free" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"partner_id\": \"consequatur\",
    \"consul_type\": \"Chat\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/free"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "partner_id": "consequatur",
    "consul_type": "Chat"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/free

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

partner_id   string   

Example: consequatur

consul_type   string   

Example: Chat

Must be one of:
  • Telepon
  • Chat
  • Video Call

GET api/mobile/client/consultation/start

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/start" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"consultation_id\": \"sapiente\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/start"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "consultation_id": "sapiente"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/start

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

consultation_id   string   

Example: sapiente

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/consultation/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/consultation/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the consultation. Example: 16

POST api/mobile/client/consultation/free

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/consultation/free" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"partner_id\": \"eius\",
    \"consul_type\": \"Telepon\",
    \"specialization_id\": \"voluptatem\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/free"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "partner_id": "eius",
    "consul_type": "Telepon",
    "specialization_id": "voluptatem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/consultation/free

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

partner_id   string   

Example: eius

consul_type   string   

Example: Telepon

Must be one of:
  • Telepon
  • Chat
  • Video Call
specialization_id   string   

Example: voluptatem

POST api/mobile/client/consultation/start

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/consultation/start" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"consultation_id\": \"labore\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/consultation/start"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "consultation_id": "labore"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/consultation/start

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

consultation_id   string   

Example: labore

GET api/mobile/client/open-case/offer/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/open-case/offer/non" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/offer/non"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/open-case/offer/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: non

GET api/mobile/client/open-case/offer/{id}/transaction

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/open-case/offer/culpa/transaction" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/offer/culpa/transaction"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/open-case/offer/{id}/transaction

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: culpa

POST api/mobile/client/open-case/offer/{id}/transaction

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/open-case/offer/quaerat/transaction" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"bank_code\": \"atque\",
    \"type\": \"nesciunt\",
    \"id\": \"et\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/offer/quaerat/transaction"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "bank_code": "atque",
    "type": "nesciunt",
    "id": "et"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/open-case/offer/{id}/transaction

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: quaerat

Body Parameters

bank_code   string   

Example: atque

type   string   

Example: nesciunt

id   string   

Example: et

POST api/mobile/client/open-case/offer/{id}

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/open-case/offer/possimus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/offer/possimus"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/mobile/client/open-case/offer/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: possimus

GET api/mobile/client/open-case/create

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/open-case/create" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/create"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/open-case/create

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/mobile/client/open-case

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/open-case" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"specialization_id\": \"voluptate\",
    \"profession_id\": \"doloribus\",
    \"title\": \"vvqatkqxyogglhvqwdsoxsyvymcgbcgcpefgmuvjqxlrwwmhaetoxufrkwhfcmiatisqjrd\",
    \"description\": \"Est sint maiores consequuntur laboriosam.\",
    \"probono\": false,
    \"files\": [
        \"olzqukbz\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "specialization_id": "voluptate",
    "profession_id": "doloribus",
    "title": "vvqatkqxyogglhvqwdsoxsyvymcgbcgcpefgmuvjqxlrwwmhaetoxufrkwhfcmiatisqjrd",
    "description": "Est sint maiores consequuntur laboriosam.",
    "probono": false,
    "files": [
        "olzqukbz"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/open-case

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

specialization_id   string   

Example: voluptate

profession_id   string   

Example: doloribus

title   string   

Must be at least 5 characters. Example: vvqatkqxyogglhvqwdsoxsyvymcgbcgcpefgmuvjqxlrwwmhaetoxufrkwhfcmiatisqjrd

description   string   

Must be at least 20 characters. Example: Est sint maiores consequuntur laboriosam.

probono   boolean  optional  

Example: false

files   string[]  optional  

Must not be greater than 5120 characters.

DELETE api/mobile/client/open-case/{id}/delete

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/client/open-case/19/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/19/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/client/open-case/{id}/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 19

DELETE api/mobile/client/open-case/{id}/delete-file

Example request:
curl --request DELETE \
    "http://localhost:8000/api/mobile/client/open-case/14/delete-file" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/14/delete-file"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/mobile/client/open-case/{id}/delete-file

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 14

POST api/mobile/client/open-case/{id}/update

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/client/open-case/19/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"ievfkxuhyoajjlzudfhdankmhxqrzgwrhck\",
    \"description\": \"Deserunt ad ut laborum quisquam reprehenderit.\",
    \"files\": [
        \"lzzyuuttzkznhhcaxj\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/19/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "ievfkxuhyoajjlzudfhdankmhxqrzgwrhck",
    "description": "Deserunt ad ut laborum quisquam reprehenderit.",
    "files": [
        "lzzyuuttzkznhhcaxj"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/client/open-case/{id}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 19

Body Parameters

title   string   

Must be at least 5 characters. Example: ievfkxuhyoajjlzudfhdankmhxqrzgwrhck

description   string   

Must be at least 20 characters. Example: Deserunt ad ut laborum quisquam reprehenderit.

files   string[]  optional  

Must not be greater than 5120 characters.

GET api/mobile/client/open-case/{id}/edit

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/open-case/5/edit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/5/edit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/open-case/{id}/edit

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 5

GET api/mobile/client/open-case

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/open-case" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/open-case

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/open-case/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/open-case/6" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/open-case/6"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/client/open-case/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the open case. Example: 6

update profile.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/profile/update-profile/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fullname\": \"et\",
    \"email\": \"velit\",
    \"city_id\": \"magni\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/update-profile/maiores"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fullname": "et",
    "email": "velit",
    "city_id": "magni"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/profile/update-profile/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update profile. Example: maiores

Body Parameters

fullname   string   

Example: et

email   string   

Example: velit

city_id   string   

Example: magni

change password the specified resource from storage.

Example request:
curl --request POST \
    "http://localhost:8000/api/mobile/profile/change-password/sint" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"password_old\": \"eos\",
    \"password_new\": \"qui\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/change-password/sint"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "password_old": "eos",
    "password_new": "qui"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/mobile/profile/change-password/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the change password. Example: sint

Body Parameters

password_old   string   

Example: eos

password_new   string   

Example: qui

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/policy-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/policy-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/profile/policy-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/withdraw-information" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/withdraw-information"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/profile/withdraw-information

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/document-guide/14" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/document-guide/14"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/profile/document-guide/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the document guide. Example: 14

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/document-guide" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/document-guide"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/profile/document-guide

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/profile/document-support

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/document-support" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/document-support"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 50
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "current_page": 1,
        "data": [],
        "first_page_url": "http://localhost:8000/api/mobile/client/profile/document-support?page=1",
        "from": null,
        "last_page": 1,
        "last_page_url": "http://localhost:8000/api/mobile/client/profile/document-support?page=1",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://localhost:8000/api/mobile/client/profile/document-support?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://localhost:8000/api/mobile/client/profile/document-support",
        "per_page": 10,
        "prev_page_url": null,
        "to": null,
        "total": 0
    },
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/document-support

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/client/profile/document-support/filter

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/profile/document-support/filter" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/profile/document-support/filter"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 49
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "type": [],
        "profession": {
            "1": "suscipit",
            "2": "recusandae",
            "3": "aut"
        }
    },
    "logstory": null
}
 

Request      

GET api/mobile/client/profile/document-support/filter

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

get partner.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/consultation/partner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/consultation/partner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 48
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": [],
    "logstory": null
}
 

Request      

GET api/mobile/client/home/consultation/partner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource for client and partner user.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 47
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": []
    },
    "logstory": null
}
 

Request      

GET api/mobile/client/event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/profile/library

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/library" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/library"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 46
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "SUCCESS",
        "message": "Success"
    },
    "data": []
}
 

Request      

GET api/mobile/profile/library

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/profile/library/filter

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/library/filter" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/library/filter"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 45
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "SUCCESS",
        "message": "Success"
    },
    "data": {
        "category": [],
        "pemrakarsa": [],
        "status": [
            "Tidak Berlaku",
            "Berlaku"
        ]
    }
}
 

Request      

GET api/mobile/profile/library/filter

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/library/search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/library/search"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 44
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "SUCCESS",
        "message": "Success"
    },
    "data": {
        "data": []
    }
}
 

GET api/mobile/profile/library/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/library/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"id\": \"aspernatur\"
}"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/library/10"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "id": "aspernatur"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (400):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 43
access-control-allow-origin: *
 

{
    "meta": {
        "code": 400,
        "status": "ERROR",
        "message": {
            "id": [
                "The selected id is invalid."
            ]
        }
    }
}
 

Request      

GET api/mobile/profile/library/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the library. Example: 10

Body Parameters

id   string   

Example: aspernatur

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/profile/faq" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/profile/faq"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 42
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": [
            {
                "id": 1,
                "question": "laborum",
                "answer": "Magni natus qui qui repellendus cumque ut voluptatum.",
                "category_faq_id": 1,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 1,
                    "name": "sit",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            },
            {
                "id": 2,
                "question": "sit",
                "answer": "At aspernatur fuga recusandae ut voluptatem ad.",
                "category_faq_id": 2,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 2,
                    "name": "itaque",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            },
            {
                "id": 3,
                "question": "aspernatur",
                "answer": "Aut voluptas laudantium necessitatibus ex voluptatibus assumenda.",
                "category_faq_id": 3,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 3,
                    "name": "aut",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            },
            {
                "id": 4,
                "question": "ipsam",
                "answer": "Earum et odit minus voluptatem.",
                "category_faq_id": 4,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 4,
                    "name": "corporis",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            }
        ]
    },
    "logstory": null
}
 

Request      

GET api/mobile/partner/profile/faq

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/profile/faq" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/profile/faq"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 41
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": [
            {
                "id": 1,
                "question": "laborum",
                "answer": "Magni natus qui qui repellendus cumque ut voluptatum.",
                "category_faq_id": 1,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 1,
                    "name": "sit",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            },
            {
                "id": 2,
                "question": "sit",
                "answer": "At aspernatur fuga recusandae ut voluptatem ad.",
                "category_faq_id": 2,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 2,
                    "name": "itaque",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            },
            {
                "id": 3,
                "question": "aspernatur",
                "answer": "Aut voluptas laudantium necessitatibus ex voluptatibus assumenda.",
                "category_faq_id": 3,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 3,
                    "name": "aut",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            },
            {
                "id": 4,
                "question": "ipsam",
                "answer": "Earum et odit minus voluptatem.",
                "category_faq_id": 4,
                "created_at": "2025-01-08T09:52:01.000000Z",
                "updated_at": "2025-01-08T09:52:01.000000Z",
                "category_faq": {
                    "id": 4,
                    "name": "corporis",
                    "created_by": 1,
                    "updated_by": null,
                    "deleted_at": null,
                    "created_at": "2025-01-08T09:52:01.000000Z",
                    "updated_at": "2025-01-08T09:52:01.000000Z"
                }
            }
        ]
    },
    "logstory": {
        "log_name": "Show All Faq",
        "properties": [],
        "batch_uuid": "f7658bba-5268-4798-a1dd-25a96db98227",
        "description": "Faq",
        "updated_at": "2025-09-26T06:08:10.000000Z",
        "created_at": "2025-09-26T06:08:10.000000Z",
        "id": 93,
        "ip": "127.0.0.1",
        "browser": " on ",
        "time": "September 26, 2025 01:08:10 PM",
        "subject": null
    }
}
 

Request      

GET api/mobile/profile/faq

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/emergency-contact" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/emergency-contact"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 40
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": []
    },
    "logstory": {
        "log_name": "Show All EmergencyContact",
        "properties": [],
        "batch_uuid": "2aad5454-2c37-4ef7-9caf-b9236c4c7e44",
        "description": "EmergencyContact",
        "updated_at": "2025-09-26T06:08:10.000000Z",
        "created_at": "2025-09-26T06:08:10.000000Z",
        "id": 94,
        "ip": "127.0.0.1",
        "browser": " on ",
        "time": "September 26, 2025 01:08:10 PM",
        "subject": null
    }
}
 

Request      

GET api/mobile/emergency-contact

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/emergency-contact/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/emergency-contact/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/emergency-contact/3"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 39
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Kosong"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/mobile/emergency-contact/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the emergency contact. Example: 3

Display a listing of the resource for client and partner user.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 38
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": []
    },
    "logstory": null
}
 

Request      

GET api/mobile/event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource for client and partner user.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/partner/event" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/partner/event"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 37
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": []
    },
    "logstory": null
}
 

Request      

GET api/mobile/partner/event

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/event-categories

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/event-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/event-categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 36
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": [],
    "logstory": null
}
 

Request      

GET api/mobile/event-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/article" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"category_article_id\": 4906.98
}"
const url = new URL(
    "http://localhost:8000/api/mobile/article"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "category_article_id": 4906.98
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 35
access-control-allow-origin: *
 

{
    "message": "SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  sintaks masukan tidak valid untuk tipe bigint : « 4906.98 »\nCONTEXT:  unnamed portal parameter $1 = '...' (SQL: select count(*) as aggregate from \"category_articles\" where \"id\" = 4906.98)",
    "exception": "Illuminate\\Database\\QueryException",
    "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
    "line": 760,
    "trace": [
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 720,
            "function": "runQueryCallback",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 405,
            "function": "run",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2705,
            "function": "select",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2694,
            "function": "runSelect",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3230,
            "function": "Illuminate\\Database\\Query\\{closure}",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2693,
            "function": "onceWithColumns",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3157,
            "function": "get",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3085,
            "function": "aggregate",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\DatabasePresenceVerifier.php",
            "line": 54,
            "function": "count",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Concerns\\ValidatesAttributes.php",
            "line": 882,
            "function": "getCount",
            "class": "Illuminate\\Validation\\DatabasePresenceVerifier",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Concerns\\ValidatesAttributes.php",
            "line": 853,
            "function": "getExistCount",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
            "line": 616,
            "function": "validateExists",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
            "line": 422,
            "function": "validateAttribute",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
            "line": 453,
            "function": "passes",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Http\\Controllers\\Api\\Mobile\\Article\\ArticleController.php",
            "line": 43,
            "function": "fails",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "index",
            "class": "App\\Http\\Controllers\\Api\\Mobile\\Article\\ArticleController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 259,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 798,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 126,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 92,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 54,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 797,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 776,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 740,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 729,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 190,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 165,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 134,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 661,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 183,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 152,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 1063,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 102,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 155,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\artisan",
            "line": 35,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET api/mobile/article

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

category_article_id   number  optional  

Example: 4906.98

Display details of the article

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/article/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/article/9"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 34
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "ERROR",
        "message": "Artikel tidak ditemukan"
    }
}
 

Request      

GET api/mobile/article/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the article. Example: 9

GET api/mobile/testimonial

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/testimonial" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/testimonial"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 33
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "SUCCESS",
        "message": "Success"
    },
    "data": [
        {
            "id": 1,
            "image": "nisi",
            "name": "esse",
            "testimony": "Ab nostrum repudiandae est ut quia ad.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//nisi"
        },
        {
            "id": 2,
            "image": "dolorem",
            "name": "iste",
            "testimony": "Quae corrupti sed consectetur dolor ducimus debitis omnis.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//dolorem"
        },
        {
            "id": 3,
            "image": "et",
            "name": "beatae",
            "testimony": "Libero nisi id qui qui sed ab.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//et"
        },
        {
            "id": 4,
            "image": "excepturi",
            "name": "reprehenderit",
            "testimony": "Saepe nobis fugit et omnis quia repellat.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//excepturi"
        },
        {
            "id": 5,
            "image": "natus",
            "name": "voluptates",
            "testimony": "Similique voluptate distinctio nemo qui.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//natus"
        },
        {
            "id": 6,
            "image": "et",
            "name": "sit",
            "testimony": "Nihil libero sit et aut doloribus minima.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//et"
        },
        {
            "id": 7,
            "image": "vitae",
            "name": "quia",
            "testimony": "Optio enim vel nihil.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//vitae"
        },
        {
            "id": 8,
            "image": "est",
            "name": "sit",
            "testimony": "Ut et tenetur aut aliquam.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//est"
        },
        {
            "id": 9,
            "image": "illum",
            "name": "aliquam",
            "testimony": "Qui ut accusamus velit velit reiciendis sint voluptate possimus.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//illum"
        },
        {
            "id": 10,
            "image": "unde",
            "name": "repellat",
            "testimony": "Enim voluptate distinctio harum magni qui mollitia.",
            "created_at": "2025-01-08T09:52:02.000000Z",
            "updated_at": "2025-01-08T09:52:02.000000Z",
            "profession": null,
            "image_url": "http://localhost:8000/storage/images/testimonials//unde"
        }
    ]
}
 

Request      

GET api/mobile/testimonial

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/testimonial/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/testimonial/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 32
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "SUCCESS",
        "message": "Success"
    },
    "data": {
        "id": 1,
        "image": "nisi",
        "name": "esse",
        "testimony": "Ab nostrum repudiandae est ut quia ad.",
        "created_at": "2025-01-08T09:52:02.000000Z",
        "updated_at": "2025-01-08T09:52:02.000000Z",
        "profession": null,
        "image_url": "http://localhost:8000/storage/images/testimonials//nisi"
    }
}
 

Request      

GET api/mobile/testimonial/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the testimonial. Example: 1

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/partner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"nearby\": false,
    \"radius\": 7.44,
    \"latitude\": \"nesciunt\",
    \"longitude\": \"et\",
    \"min_rate\": 4,
    \"price_range\": 4,
    \"specialization_id\": 4161,
    \"city_id\": 26205293.063116
}"
const url = new URL(
    "http://localhost:8000/api/mobile/client/partner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "nearby": false,
    "radius": 7.44,
    "latitude": "nesciunt",
    "longitude": "et",
    "min_rate": 4,
    "price_range": 4,
    "specialization_id": 4161,
    "city_id": 26205293.063116
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 31
access-control-allow-origin: *
 

{
    "message": "SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  sintaks masukan tidak valid untuk tipe bigint : « 26205293.063116 »\nCONTEXT:  unnamed portal parameter $1 = '...' (SQL: select count(*) as aggregate from \"cities\" where \"id\" = 26205293.063116)",
    "exception": "Illuminate\\Database\\QueryException",
    "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
    "line": 760,
    "trace": [
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 720,
            "function": "runQueryCallback",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 405,
            "function": "run",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2705,
            "function": "select",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2694,
            "function": "runSelect",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3230,
            "function": "Illuminate\\Database\\Query\\{closure}",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2693,
            "function": "onceWithColumns",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3157,
            "function": "get",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3085,
            "function": "aggregate",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\DatabasePresenceVerifier.php",
            "line": 54,
            "function": "count",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Concerns\\ValidatesAttributes.php",
            "line": 882,
            "function": "getCount",
            "class": "Illuminate\\Validation\\DatabasePresenceVerifier",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Concerns\\ValidatesAttributes.php",
            "line": 853,
            "function": "getExistCount",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
            "line": 616,
            "function": "validateExists",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
            "line": 422,
            "function": "validateAttribute",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php",
            "line": 453,
            "function": "passes",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Http\\Controllers\\Api\\Mobile\\Client\\Partner\\PartnerController.php",
            "line": 69,
            "function": "fails",
            "class": "Illuminate\\Validation\\Validator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "index",
            "class": "App\\Http\\Controllers\\Api\\Mobile\\Client\\Partner\\PartnerController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 259,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 798,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 126,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 92,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 54,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 797,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 776,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 740,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 729,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 190,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 165,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 134,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 661,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 183,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 152,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 1063,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 102,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 155,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\artisan",
            "line": 35,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET api/mobile/client/partner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

nearby   boolean  optional  

Example: false

radius   number  optional  

Example: 7.44

latitude   string  optional  

Example: nesciunt

longitude   string  optional  

Example: et

category_service   string  optional  
min_rate   number  optional  

Must be at least 1. Must not be greater than 5. Example: 4

price_range   number  optional  

Must be at least 1. Must not be greater than 4. Example: 4

specialization_id   number  optional  

Example: 4161

city_id   number  optional  

Example: 26205293.063116

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/word-of-wisdom" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/word-of-wisdom"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 30
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": []
    },
    "logstory": {
        "log_name": "Show All of Wisdom",
        "properties": [],
        "batch_uuid": "584dc7f6-b3b9-494c-b042-b87d63849a85",
        "description": "Word of Wisdom",
        "updated_at": "2025-09-26T06:08:10.000000Z",
        "created_at": "2025-09-26T06:08:10.000000Z",
        "id": 99,
        "ip": "127.0.0.1",
        "browser": " on ",
        "time": "September 26, 2025 01:08:10 PM",
        "subject": null
    }
}
 

Request      

GET api/mobile/client/home/word-of-wisdom

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/banner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/banner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 29
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": [
            {
                "id": 1,
                "title": "New Banner",
                "description": "Testing new banner upload image storage api",
                "image": "2025091616255368c92d21d0c76.png",
                "category_banner_id": 1,
                "created_by": 1,
                "created_at": "2025-09-16T09:25:54.000000Z",
                "updated_at": "2025-09-16T09:25:54.000000Z",
                "image_url": "http://localhost:8000/storage/images/banners/2025091616255368c92d21d0c76.png",
                "category_banner": {
                    "id": 1,
                    "name": "Landing Page",
                    "created_at": "2025-09-16T09:25:24.000000Z",
                    "updated_at": "2025-09-16T09:25:24.000000Z"
                }
            }
        ]
    },
    "logstory": {
        "log_name": "Show All Banner",
        "properties": [],
        "batch_uuid": "a0a47a5b-c781-465d-8ec9-7cab7d3dfb99",
        "description": "Banner",
        "updated_at": "2025-09-26T06:08:10.000000Z",
        "created_at": "2025-09-26T06:08:10.000000Z",
        "id": 100,
        "ip": "127.0.0.1",
        "browser": " on ",
        "time": "September 26, 2025 01:08:10 PM",
        "subject": null
    }
}
 

Request      

GET api/mobile/client/home/banner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

index a new service instance.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/client/home/article" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/client/home/article"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 28
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": {
        "data": []
    },
    "logstory": {
        "log_name": "Show All Article",
        "properties": [],
        "batch_uuid": "e247ec3d-6b0b-43b0-8eda-1c3a7c599c28",
        "description": "Article",
        "updated_at": "2025-09-26T06:08:10.000000Z",
        "created_at": "2025-09-26T06:08:10.000000Z",
        "id": 101,
        "ip": "127.0.0.1",
        "browser": " on ",
        "time": "September 26, 2025 01:08:10 PM",
        "subject": null
    }
}
 

Request      

GET api/mobile/client/home/article

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/mobile/version

Example request:
curl --request GET \
    --get "http://localhost:8000/api/mobile/version" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/mobile/version"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 27
access-control-allow-origin: *
 

{
    "meta": {
        "code": 200,
        "status": "SUCCESS",
        "message": "Success"
    }
}
 

Request      

GET api/mobile/version

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/livechat/get-all-chat/{chat_id?}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-all-chat/illum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-all-chat/illum"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-all-chat/{chat_id?}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chat_id   string  optional  

The ID of the chat. Example: illum

GET api/livechat/get-all-chat-category

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-all-chat-category" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-all-chat-category"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-all-chat-category

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/livechat/get-all-unlisted-chat

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-all-unlisted-chat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-all-unlisted-chat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-all-unlisted-chat

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/livechat/get-bot-message/{user_id?}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-bot-message/laboriosam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-bot-message/laboriosam"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-bot-message/{user_id?}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string  optional  

The ID of the user. Example: laboriosam

GET api/livechat/get-chat-by-status/{status?}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-chat-by-status/recusandae" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-chat-by-status/recusandae"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-chat-by-status/{status?}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

status   string  optional  

Example: recusandae

GET api/livechat/get-newest-chat/{chat_id?}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-newest-chat/vero" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-newest-chat/vero"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-newest-chat/{chat_id?}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chat_id   string  optional  

The ID of the chat. Example: vero

GET api/livechat/get-list-of-online-cs

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-list-of-online-cs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-list-of-online-cs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-list-of-online-cs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/livechat/read-all-unread-chat/{chat_id?}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/read-all-unread-chat/omnis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/read-all-unread-chat/omnis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/read-all-unread-chat/{chat_id?}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chat_id   string  optional  

The ID of the chat. Example: omnis

GET api/livechat/get-timeout/{chat_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/get-timeout/qui" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/get-timeout/qui"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/get-timeout/{chat_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chat_id   string   

The ID of the chat. Example: qui

GET api/livechat/offer-cases/{id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/offer-cases/earum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"offer_open_case_id\": \"reiciendis\"
}"
const url = new URL(
    "http://localhost:8000/api/livechat/offer-cases/earum"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "offer_open_case_id": "reiciendis"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/offer-cases/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer case. Example: earum

Body Parameters

offer_open_case_id   string   

Example: reiciendis

POST api/livechat/bot-sent-message

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/bot-sent-message" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/bot-sent-message"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/livechat/bot-sent-message

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/assign-to-customer

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/assign-to-customer" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/assign-to-customer"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/livechat/assign-to-customer

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/mark-as-done-chat

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/mark-as-done-chat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/mark-as-done-chat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/livechat/mark-as-done-chat

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/send-message

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/send-message" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/send-message"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/livechat/send-message

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/create-chatroom-direct-cs

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/create-chatroom-direct-cs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/create-chatroom-direct-cs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/livechat/create-chatroom-direct-cs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/send-message-for-direct-cs

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/send-message-for-direct-cs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/send-message-for-direct-cs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/livechat/send-message-for-direct-cs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/set-timeout

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/set-timeout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"chat_id\": \"autem\"
}"
const url = new URL(
    "http://localhost:8000/api/livechat/set-timeout"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "chat_id": "autem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/livechat/set-timeout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

chat_id   string   

Example: autem

imei   string  optional  

GET api/livechat/partner-recomendation

Example request:
curl --request GET \
    --get "http://localhost:8000/api/livechat/partner-recomendation" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/livechat/partner-recomendation"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/livechat/partner-recomendation

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/livechat/partner-recomendation

Example request:
curl --request POST \
    "http://localhost:8000/api/livechat/partner-recomendation" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"detail_chat_id\": \"voluptate\"
}"
const url = new URL(
    "http://localhost:8000/api/livechat/partner-recomendation"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "detail_chat_id": "voluptate"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/livechat/partner-recomendation

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

detail_chat_id   string   

Example: voluptate

GET api/auth/{driver}/redirect

Example request:
curl --request GET \
    --get "http://localhost:8000/api/auth/nam/redirect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/nam/redirect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 26
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImhiU1NIazVISmhzS2NrcXp1T29PTUE9PSIsInZhbHVlIjoiaEpOWUlLOWRCYzFjMEtlUlUydVZFUmVuSVppejkwbDREcVZjV3Y0YVZwZVhNbTN3dGVHTiszWmMvMk5zSGlkTys0ZEFTVXNaYnBPZlc0MWNud205UUJLK3p5NS8raU5iL1BLc3JsVHVvb0xyMWRoL1M5T2N0V0FJMzVLdU91Rk0iLCJtYWMiOiI4ODdhZWI0NjJhMWRiYzBjOTVhZDI3NWQwNWEyNTM2NmU5ZTk5Y2M0YzYzMWJlMWE4MjNiYjgwNmIzMDY4NjA1IiwidGFnIjoiIn0%3D; expires=Fri, 26 Sep 2025 08:08:11 GMT; Max-Age=7200; path=/; samesite=lax; laravel_session=NsBVYogCVFd8rvHYxJDnUelrwXVpbzNNcIcrFZGT; expires=Fri, 26 Sep 2025 08:08:11 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

{
    "message": "Driver [nam] not supported.",
    "exception": "InvalidArgumentException",
    "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\Manager.php",
    "line": 109,
    "trace": [
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\Manager.php",
            "line": 80,
            "function": "createDriver",
            "class": "Illuminate\\Support\\Manager",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\Facades\\Facade.php",
            "line": 338,
            "function": "driver",
            "class": "Illuminate\\Support\\Manager",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\app\\Http\\Controllers\\Api\\Auth\\OAuthController.php",
            "line": 29,
            "function": "__callStatic",
            "class": "Illuminate\\Support\\Facades\\Facade",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "handleRedirectProvider",
            "class": "App\\Http\\Controllers\\Api\\Auth\\OAuthController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 259,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 798,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php",
            "line": 78,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php",
            "line": 37,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php",
            "line": 67,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Cookie\\Middleware\\EncryptCookies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 126,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 92,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 54,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php",
            "line": 49,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\View\\Middleware\\ShareErrorsFromSession",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php",
            "line": 121,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php",
            "line": 64,
            "function": "handleStatefulRequest",
            "class": "Illuminate\\Session\\Middleware\\StartSession",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Session\\Middleware\\StartSession",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 797,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 776,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 740,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 729,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 190,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 165,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 134,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 661,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 183,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 152,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 1063,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\symfony\\console\\Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 102,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 155,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\artisan",
            "line": 35,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET api/auth/{driver}/redirect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

driver   string   

Example: nam

GET api/auth/{driver}/callback

Example request:
curl --request GET \
    --get "http://localhost:8000/api/auth/nihil/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/auth/nihil/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 25
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlBMVmwwM3dkRERhTWxWSC9wdmFXL3c9PSIsInZhbHVlIjoiejA0U0ZoME42S1F4amFhVkVLaDVlQ3d5cmtadnZzeVRQSnF3R2syaXB0Q0hOYXhPU0J6ZXRibG9iQ3dnbnR6dFRDc056Q0M0eW01ZjMzMXJUVVNUbXdlTTJ0ZDlhdEdSMERKOCt3MFloSnNZY2YrMUlqdnZoUTJhRmJydzdaYWciLCJtYWMiOiIzYjdlZWE4YTE5ZTE5Yzk3MjRhYjUxNjE0NzE5MThjY2RmZmFkZGU1ZTFiMDBlZmE4OGFmMDQ5MTA1ZjU4MjQ3IiwidGFnIjoiIn0%3D; expires=Fri, 26 Sep 2025 08:08:11 GMT; Max-Age=7200; path=/; samesite=lax; laravel_session=fbxQCbOXPBSABPnmBVBlkWBzAZuvFvCZGlQ7Mr0d; expires=Fri, 26 Sep 2025 08:08:11 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Session Token Masih Available"
    },
    "data": {
        "message": "Driver [nihil] not supported.",
        "files": "C:\\Users\\Laptop Store 95\\tw-project\\Hallaw-Backend\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\Manager.php",
        "line": 109,
        "code": 0,
        "ip": "127.0.0.1",
        "user_agent": "Symfony"
    },
    "logstory": null
}
 

Request      

GET api/auth/{driver}/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

driver   string   

Example: nihil

POST api/payment-notification

Example request:
curl --request POST \
    "http://localhost:8000/api/payment-notification" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/payment-notification"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/payment-notification

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

create consultation payment.

Example request:
curl --request POST \
    "http://localhost:8000/api/callback-payment" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/callback-payment"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/callback-payment

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

create consultation payment.

Example request:
curl --request POST \
    "http://localhost:8000/api/forwarded-callback-payment" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/forwarded-callback-payment"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/forwarded-callback-payment

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/city

Example request:
curl --request GET \
    --get "http://localhost:8000/api/city" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/city"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 24
access-control-allow-origin: *
 

{
    "meta": {
        "code": 404,
        "status": "error",
        "message": "Data Berhasil Diambil"
    },
    "data": [
        {
            "id": 1,
            "name": "Kabupaten Aceh Barat"
        },
        {
            "id": 2,
            "name": "Kabupaten Aceh Barat Daya"
        },
        {
            "id": 3,
            "name": "Kabupaten Aceh Besar"
        },
        {
            "id": 4,
            "name": "Kabupaten Aceh Jaya"
        },
        {
            "id": 5,
            "name": "Kabupaten Aceh Selatan"
        },
        {
            "id": 6,
            "name": "Kabupaten Aceh Singkil"
        },
        {
            "id": 7,
            "name": "Kabupaten Aceh Tamiang"
        },
        {
            "id": 8,
            "name": "Kabupaten Aceh Tengah"
        },
        {
            "id": 9,
            "name": "Kabupaten Aceh Tenggara"
        },
        {
            "id": 10,
            "name": "Kabupaten Aceh Timur"
        },
        {
            "id": 11,
            "name": "Kabupaten Aceh Utara"
        },
        {
            "id": 12,
            "name": "Kabupaten Bener Meriah"
        },
        {
            "id": 13,
            "name": "Kabupaten Bireuen"
        },
        {
            "id": 14,
            "name": "Kabupaten Gayo Lues"
        },
        {
            "id": 15,
            "name": "Kabupaten Nagan Raya"
        },
        {
            "id": 16,
            "name": "Kabupaten Pidie"
        },
        {
            "id": 17,
            "name": "Kabupaten Pidie Jaya"
        },
        {
            "id": 18,
            "name": "Kabupaten Simeulue"
        },
        {
            "id": 19,
            "name": "Kota Banda Aceh"
        },
        {
            "id": 20,
            "name": "Kota Langsa"
        },
        {
            "id": 21,
            "name": "Kota Lhokseumawe"
        },
        {
            "id": 22,
            "name": "Kota Sabang"
        },
        {
            "id": 23,
            "name": "Kota Subulussalam"
        },
        {
            "id": 24,
            "name": "Kabupaten Asahan"
        },
        {
            "id": 25,
            "name": "Kabupaten Batu Bara"
        },
        {
            "id": 26,
            "name": "Kabupaten Dairi"
        },
        {
            "id": 27,
            "name": "Kabupaten Deli Serdang"
        },
        {
            "id": 28,
            "name": "Kabupaten Humbang Hasundutan"
        },
        {
            "id": 29,
            "name": "Kabupaten Karo"
        },
        {
            "id": 30,
            "name": "Kabupaten Labuhanbatu"
        },
        {
            "id": 31,
            "name": "Kabupaten Labuhanbatu Selatan"
        },
        {
            "id": 32,
            "name": "Kabupaten Labuhanbatu Utara"
        },
        {
            "id": 33,
            "name": "Kabupaten Langkat"
        },
        {
            "id": 34,
            "name": "Kabupaten Mandailing Natal"
        },
        {
            "id": 35,
            "name": "Kabupaten Nias"
        },
        {
            "id": 36,
            "name": "Kabupaten Nias Barat"
        },
        {
            "id": 37,
            "name": "Kabupaten Nias Selatan"
        },
        {
            "id": 38,
            "name": "Kabupaten Nias Utara"
        },
        {
            "id": 39,
            "name": "Kabupaten Padang Lawas"
        },
        {
            "id": 40,
            "name": "Kabupaten Padang Lawas Utara"
        },
        {
            "id": 41,
            "name": "Kabupaten Pakpak Bharat"
        },
        {
            "id": 42,
            "name": "Kabupaten Samosir"
        },
        {
            "id": 43,
            "name": "Kabupaten Serdang Bedagai"
        },
        {
            "id": 44,
            "name": "Kabupaten Simalungun"
        },
        {
            "id": 45,
            "name": "Kabupaten Tapanuli Selatan"
        },
        {
            "id": 46,
            "name": "Kabupaten Tapanuli Tengah"
        },
        {
            "id": 47,
            "name": "Kabupaten Tapanuli Utara"
        },
        {
            "id": 48,
            "name": "Kabupaten Toba Samosir"
        },
        {
            "id": 49,
            "name": "Kota Binjai"
        },
        {
            "id": 50,
            "name": "Kota Gunungsitoli"
        },
        {
            "id": 51,
            "name": "Kota Medan"
        },
        {
            "id": 52,
            "name": "Kota Padangsidempuan"
        },
        {
            "id": 53,
            "name": "Kota Pematangsiantar"
        },
        {
            "id": 54,
            "name": "Kota Sibolga"
        },
        {
            "id": 55,
            "name": "Kota Tanjungbalai"
        },
        {
            "id": 56,
            "name": "Kota Tebing Tinggi"
        },
        {
            "id": 57,
            "name": "Kabupaten Agam"
        },
        {
            "id": 58,
            "name": "Kabupaten Dharmasraya"
        },
        {
            "id": 59,
            "name": "Kabupaten Kepulauan Mentawai"
        },
        {
            "id": 60,
            "name": "Kabupaten Lima Puluh Kota"
        },
        {
            "id": 61,
            "name": "Kabupaten Padang Pariaman"
        },
        {
            "id": 62,
            "name": "Kabupaten Pasaman"
        },
        {
            "id": 63,
            "name": "Kabupaten Pasaman Barat"
        },
        {
            "id": 64,
            "name": "Kabupaten Pesisir Selatan"
        },
        {
            "id": 65,
            "name": "Kabupaten Sijunjung"
        },
        {
            "id": 66,
            "name": "Kabupaten Solok"
        },
        {
            "id": 67,
            "name": "Kabupaten Solok Selatan"
        },
        {
            "id": 68,
            "name": "Kabupaten Tanah Datar"
        },
        {
            "id": 69,
            "name": "Kota Bukittinggi"
        },
        {
            "id": 70,
            "name": "Kota Padang"
        },
        {
            "id": 71,
            "name": "Kota Padangpanjang"
        },
        {
            "id": 72,
            "name": "Kota Pariaman"
        },
        {
            "id": 73,
            "name": "Kota Payakumbuh"
        },
        {
            "id": 74,
            "name": "Kota Sawahlunto"
        },
        {
            "id": 75,
            "name": "Kota Solok"
        },
        {
            "id": 76,
            "name": "Kabupaten Bengkalis"
        },
        {
            "id": 77,
            "name": "Kabupaten Indragiri Hilir"
        },
        {
            "id": 78,
            "name": "Kabupaten Indragiri Hulu"
        },
        {
            "id": 79,
            "name": "Kabupaten Kampar"
        },
        {
            "id": 80,
            "name": "Kabupaten Kepulauan Meranti"
        },
        {
            "id": 81,
            "name": "Kabupaten Kuantan Singingi"
        },
        {
            "id": 82,
            "name": "Kabupaten Pelalawan"
        },
        {
            "id": 83,
            "name": "Kabupaten Rokan Hilir"
        },
        {
            "id": 84,
            "name": "Kabupaten Rokan Hulu"
        },
        {
            "id": 85,
            "name": "Kabupaten Siak"
        },
        {
            "id": 86,
            "name": "Kota Dumai"
        },
        {
            "id": 87,
            "name": "Kota Pekanbaru"
        },
        {
            "id": 88,
            "name": "Kabupaten Bintan"
        },
        {
            "id": 89,
            "name": "Kabupaten Karimun"
        },
        {
            "id": 90,
            "name": "Kabupaten Kepulauan Anambas"
        },
        {
            "id": 91,
            "name": "Kabupaten Lingga"
        },
        {
            "id": 92,
            "name": "Kabupaten Natuna"
        },
        {
            "id": 93,
            "name": "Kota Batam"
        },
        {
            "id": 94,
            "name": "Kota Tanjung Pinang"
        },
        {
            "id": 95,
            "name": "Kabupaten Batanghari"
        },
        {
            "id": 96,
            "name": "Kabupaten Bungo"
        },
        {
            "id": 97,
            "name": "Kabupaten Kerinci"
        },
        {
            "id": 98,
            "name": "Kabupaten Merangin"
        },
        {
            "id": 99,
            "name": "Kabupaten Muaro Jambi"
        },
        {
            "id": 100,
            "name": "Kabupaten Sarolangun"
        },
        {
            "id": 101,
            "name": "Kabupaten Tanjung Jabung Barat"
        },
        {
            "id": 102,
            "name": "Kabupaten Tanjung Jabung Timur"
        },
        {
            "id": 103,
            "name": "Kabupaten Tebo"
        },
        {
            "id": 104,
            "name": "Kota Jambi"
        },
        {
            "id": 105,
            "name": "Kota Sungaipenuh"
        },
        {
            "id": 106,
            "name": "Kabupaten Bengkulu Selatan"
        },
        {
            "id": 107,
            "name": "Kabupaten Bengkulu Tengah"
        },
        {
            "id": 108,
            "name": "Kabupaten Bengkulu Utara"
        },
        {
            "id": 109,
            "name": "Kabupaten Kaur"
        },
        {
            "id": 110,
            "name": "Kabupaten Kepahiang"
        },
        {
            "id": 111,
            "name": "Kabupaten Lebong"
        },
        {
            "id": 112,
            "name": "Kabupaten Mukomuko"
        },
        {
            "id": 113,
            "name": "Kabupaten Rejang Lebong"
        },
        {
            "id": 114,
            "name": "Kabupaten Seluma"
        },
        {
            "id": 115,
            "name": "Kota Bengkulu"
        },
        {
            "id": 116,
            "name": "Kabupaten Banyuasin"
        },
        {
            "id": 117,
            "name": "Kabupaten Empat Lawang"
        },
        {
            "id": 118,
            "name": "Kabupaten Lahat"
        },
        {
            "id": 119,
            "name": "Kabupaten Muara Enim"
        },
        {
            "id": 120,
            "name": "Kabupaten Musi Banyuasin"
        },
        {
            "id": 121,
            "name": "Kabupaten Musi Rawas"
        },
        {
            "id": 122,
            "name": "Kabupaten Musi Rawas Utara"
        },
        {
            "id": 123,
            "name": "Kabupaten Ogan Ilir"
        },
        {
            "id": 124,
            "name": "Kabupaten Ogan Komering Ilir"
        },
        {
            "id": 125,
            "name": "Kabupaten Ogan Komering Ulu"
        },
        {
            "id": 126,
            "name": "Kabupaten Ogan Komering Ulu Selatan"
        },
        {
            "id": 127,
            "name": "Kabupaten Ogan Komering Ulu Timur"
        },
        {
            "id": 128,
            "name": "Kabupaten Penukal Abab Lematang Ilir"
        },
        {
            "id": 129,
            "name": "Kota Lubuklinggau"
        },
        {
            "id": 130,
            "name": "Kota Pagar Alam"
        },
        {
            "id": 131,
            "name": "Kota Palembang"
        },
        {
            "id": 132,
            "name": "Kota Prabumulih"
        },
        {
            "id": 133,
            "name": "Kabupaten Bangka"
        },
        {
            "id": 134,
            "name": "Kabupaten Bangka Barat"
        },
        {
            "id": 135,
            "name": "Kabupaten Bangka Selatan"
        },
        {
            "id": 136,
            "name": "Kabupaten Bangka Tengah"
        },
        {
            "id": 137,
            "name": "Kabupaten Belitung"
        },
        {
            "id": 138,
            "name": "Kabupaten Belitung Timur"
        },
        {
            "id": 139,
            "name": "Kota Pangkal Pinang"
        },
        {
            "id": 140,
            "name": "Kabupaten Lampung Barat"
        },
        {
            "id": 141,
            "name": "Kabupaten Lampung Selatan"
        },
        {
            "id": 142,
            "name": "Kabupaten Lampung Tengah"
        },
        {
            "id": 143,
            "name": "Kabupaten Lampung Timur"
        },
        {
            "id": 144,
            "name": "Kabupaten Lampung Utara"
        },
        {
            "id": 145,
            "name": "Kabupaten Mesuji"
        },
        {
            "id": 146,
            "name": "Kabupaten Pesawaran"
        },
        {
            "id": 147,
            "name": "Kabupaten Pesisir Barat"
        },
        {
            "id": 148,
            "name": "Kabupaten Pringsewu"
        },
        {
            "id": 149,
            "name": "Kabupaten Tanggamus"
        },
        {
            "id": 150,
            "name": "Kabupaten Tulang Bawang"
        },
        {
            "id": 151,
            "name": "Kabupaten Tulang Bawang Barat"
        },
        {
            "id": 152,
            "name": "Kabupaten Way Kanan"
        },
        {
            "id": 153,
            "name": "Kota Bandar Lampung"
        },
        {
            "id": 154,
            "name": "Kota Metro"
        },
        {
            "id": 155,
            "name": "Kabupaten Lebak"
        },
        {
            "id": 156,
            "name": "Kabupaten Pandeglang"
        },
        {
            "id": 157,
            "name": "Kabupaten Serang"
        },
        {
            "id": 158,
            "name": "Kabupaten Tangerang"
        },
        {
            "id": 159,
            "name": "Kota Cilegon"
        },
        {
            "id": 160,
            "name": "Kota Serang"
        },
        {
            "id": 161,
            "name": "Kota Tangerang"
        },
        {
            "id": 162,
            "name": "Kota Tangerang Selatan"
        },
        {
            "id": 163,
            "name": "Kabupaten Bandung"
        },
        {
            "id": 164,
            "name": "Kabupaten Bandung Barat"
        },
        {
            "id": 165,
            "name": "Kabupaten Bekasi"
        },
        {
            "id": 166,
            "name": "Kabupaten Bogor"
        },
        {
            "id": 167,
            "name": "Kabupaten Ciamis"
        },
        {
            "id": 168,
            "name": "Kabupaten Cianjur"
        },
        {
            "id": 169,
            "name": "Kabupaten Cirebon"
        },
        {
            "id": 170,
            "name": "Kabupaten Garut"
        },
        {
            "id": 171,
            "name": "Kabupaten Indramayu"
        },
        {
            "id": 172,
            "name": "Kabupaten Karawang"
        },
        {
            "id": 173,
            "name": "Kabupaten Kuningan"
        },
        {
            "id": 174,
            "name": "Kabupaten Majalengka"
        },
        {
            "id": 175,
            "name": "Kabupaten Pangandaran"
        },
        {
            "id": 176,
            "name": "Kabupaten Purwakarta"
        },
        {
            "id": 177,
            "name": "Kabupaten Subang"
        },
        {
            "id": 178,
            "name": "Kabupaten Sukabumi"
        },
        {
            "id": 179,
            "name": "Kabupaten Sumedang"
        },
        {
            "id": 180,
            "name": "Kabupaten Tasikmalaya"
        },
        {
            "id": 181,
            "name": "Kota Bandung"
        },
        {
            "id": 182,
            "name": "Kota Banjar"
        },
        {
            "id": 183,
            "name": "Kota Bekasi"
        },
        {
            "id": 184,
            "name": "Kota Bogor"
        },
        {
            "id": 185,
            "name": "Kota Cimahi"
        },
        {
            "id": 186,
            "name": "Kota Cirebon"
        },
        {
            "id": 187,
            "name": "Kota Depok"
        },
        {
            "id": 188,
            "name": "Kota Sukabumi"
        },
        {
            "id": 189,
            "name": "Kota Tasikmalaya"
        },
        {
            "id": 190,
            "name": "Kabupaten Administrasi Kepulauan Seribu"
        },
        {
            "id": 191,
            "name": "Kota Administrasi Jakarta Barat"
        },
        {
            "id": 192,
            "name": "Kota Administrasi Jakarta Pusat"
        },
        {
            "id": 193,
            "name": "Kota Administrasi Jakarta Selatan"
        },
        {
            "id": 194,
            "name": "Kota Administrasi Jakarta Timur"
        },
        {
            "id": 195,
            "name": "Kota Administrasi Jakarta Utara"
        },
        {
            "id": 196,
            "name": "Kabupaten Banjarnegara"
        },
        {
            "id": 197,
            "name": "Kabupaten Banyumas"
        },
        {
            "id": 198,
            "name": "Kabupaten Batang"
        },
        {
            "id": 199,
            "name": "Kabupaten Blora"
        },
        {
            "id": 200,
            "name": "Kabupaten Boyolali"
        },
        {
            "id": 201,
            "name": "Kabupaten Brebes"
        },
        {
            "id": 202,
            "name": "Kabupaten Cilacap"
        },
        {
            "id": 203,
            "name": "Kabupaten Demak"
        },
        {
            "id": 204,
            "name": "Kabupaten Grobogan"
        },
        {
            "id": 205,
            "name": "Kabupaten Jepara"
        },
        {
            "id": 206,
            "name": "Kabupaten Karanganyar"
        },
        {
            "id": 207,
            "name": "Kabupaten Kebumen"
        },
        {
            "id": 208,
            "name": "Kabupaten Kendal"
        },
        {
            "id": 209,
            "name": "Kabupaten Klaten"
        },
        {
            "id": 210,
            "name": "Kabupaten Kudus"
        },
        {
            "id": 211,
            "name": "Kabupaten Magelang"
        },
        {
            "id": 212,
            "name": "Kabupaten Pati"
        },
        {
            "id": 213,
            "name": "Kabupaten Pekalongan"
        },
        {
            "id": 214,
            "name": "Kabupaten Pemalang"
        },
        {
            "id": 215,
            "name": "Kabupaten Purbalingga"
        },
        {
            "id": 216,
            "name": "Kabupaten Purworejo"
        },
        {
            "id": 217,
            "name": "Kabupaten Rembang"
        },
        {
            "id": 218,
            "name": "Kabupaten Semarang"
        },
        {
            "id": 219,
            "name": "Kabupaten Sragen"
        },
        {
            "id": 220,
            "name": "Kabupaten Sukoharjo"
        },
        {
            "id": 221,
            "name": "Kabupaten Tegal"
        },
        {
            "id": 222,
            "name": "Kabupaten Temanggung"
        },
        {
            "id": 223,
            "name": "Kabupaten Wonogiri"
        },
        {
            "id": 224,
            "name": "Kabupaten Wonosobo"
        },
        {
            "id": 225,
            "name": "Kota Magelang"
        },
        {
            "id": 226,
            "name": "Kota Pekalongan"
        },
        {
            "id": 227,
            "name": "Kota Salatiga"
        },
        {
            "id": 228,
            "name": "Kota Semarang"
        },
        {
            "id": 229,
            "name": "Kota Surakarta"
        },
        {
            "id": 230,
            "name": "Kota Tegal"
        },
        {
            "id": 231,
            "name": "Kabupaten Bantul"
        },
        {
            "id": 232,
            "name": "Kabupaten Gunungkidul"
        },
        {
            "id": 233,
            "name": "Kabupaten Kulon Progo"
        },
        {
            "id": 234,
            "name": "Kabupaten Sleman"
        },
        {
            "id": 235,
            "name": "Kota Yogyakarta"
        },
        {
            "id": 236,
            "name": "Kabupaten Bangkalan"
        },
        {
            "id": 237,
            "name": "Kabupaten Banyuwangi"
        },
        {
            "id": 238,
            "name": "Kabupaten Blitar"
        },
        {
            "id": 239,
            "name": "Kabupaten Bojonegoro"
        },
        {
            "id": 240,
            "name": "Kabupaten Bondowoso"
        },
        {
            "id": 241,
            "name": "Kabupaten Gresik"
        },
        {
            "id": 242,
            "name": "Kabupaten Jember"
        },
        {
            "id": 243,
            "name": "Kabupaten Jombang"
        },
        {
            "id": 244,
            "name": "Kabupaten Kediri"
        },
        {
            "id": 245,
            "name": "Kabupaten Lamongan"
        },
        {
            "id": 246,
            "name": "Kabupaten Lumajang"
        },
        {
            "id": 247,
            "name": "Kabupaten Madiun"
        },
        {
            "id": 248,
            "name": "Kabupaten Magetan"
        },
        {
            "id": 249,
            "name": "Kabupaten Malang"
        },
        {
            "id": 250,
            "name": "Kabupaten Mojokerto"
        },
        {
            "id": 251,
            "name": "Kabupaten Nganjuk"
        },
        {
            "id": 252,
            "name": "Kabupaten Ngawi"
        },
        {
            "id": 253,
            "name": "Kabupaten Pacitan"
        },
        {
            "id": 254,
            "name": "Kabupaten Pamekasan"
        },
        {
            "id": 255,
            "name": "Kabupaten Pasuruan"
        },
        {
            "id": 256,
            "name": "Kabupaten Ponorogo"
        },
        {
            "id": 257,
            "name": "Kabupaten Probolinggo"
        },
        {
            "id": 258,
            "name": "Kabupaten Sampang"
        },
        {
            "id": 259,
            "name": "Kabupaten Sidoarjo"
        },
        {
            "id": 260,
            "name": "Kabupaten Situbondo"
        },
        {
            "id": 261,
            "name": "Kabupaten Sumenep"
        },
        {
            "id": 262,
            "name": "Kabupaten Trenggalek"
        },
        {
            "id": 263,
            "name": "Kabupaten Tuban"
        },
        {
            "id": 264,
            "name": "Kabupaten Tulungagung"
        },
        {
            "id": 265,
            "name": "Kota Batu"
        },
        {
            "id": 266,
            "name": "Kota Blitar"
        },
        {
            "id": 267,
            "name": "Kota Kediri"
        },
        {
            "id": 268,
            "name": "Kota Madiun"
        },
        {
            "id": 269,
            "name": "Kota Malang"
        },
        {
            "id": 270,
            "name": "Kota Mojokerto"
        },
        {
            "id": 271,
            "name": "Kota Pasuruan"
        },
        {
            "id": 272,
            "name": "Kota Probolinggo"
        },
        {
            "id": 273,
            "name": "Kota Surabaya"
        },
        {
            "id": 274,
            "name": "Kabupaten Badung"
        },
        {
            "id": 275,
            "name": "Kabupaten Bangli"
        },
        {
            "id": 276,
            "name": "Kabupaten Buleleng"
        },
        {
            "id": 277,
            "name": "Kabupaten Gianyar"
        },
        {
            "id": 278,
            "name": "Kabupaten Jembrana"
        },
        {
            "id": 279,
            "name": "Kabupaten Karangasem"
        },
        {
            "id": 280,
            "name": "Kabupaten Klungkung"
        },
        {
            "id": 281,
            "name": "Kabupaten Tabanan"
        },
        {
            "id": 282,
            "name": "Kota Denpasar"
        },
        {
            "id": 283,
            "name": "Kabupaten Bima"
        },
        {
            "id": 284,
            "name": "Kabupaten Dompu"
        },
        {
            "id": 285,
            "name": "Kabupaten Lombok Barat"
        },
        {
            "id": 286,
            "name": "Kabupaten Lombok Tengah"
        },
        {
            "id": 287,
            "name": "Kabupaten Lombok Timur"
        },
        {
            "id": 288,
            "name": "Kabupaten Lombok Utara"
        },
        {
            "id": 289,
            "name": "Kabupaten Sumbawa"
        },
        {
            "id": 290,
            "name": "Kabupaten Sumbawa Barat"
        },
        {
            "id": 291,
            "name": "Kota Bima"
        },
        {
            "id": 292,
            "name": "Kota Mataram"
        },
        {
            "id": 293,
            "name": "Kabupaten Alor"
        },
        {
            "id": 294,
            "name": "Kabupaten Belu"
        },
        {
            "id": 295,
            "name": "Kabupaten Ende"
        },
        {
            "id": 296,
            "name": "Kabupaten Flores Timur"
        },
        {
            "id": 297,
            "name": "Kabupaten Kupang"
        },
        {
            "id": 298,
            "name": "Kabupaten Lembata"
        },
        {
            "id": 299,
            "name": "Kabupaten Malaka"
        },
        {
            "id": 300,
            "name": "Kabupaten Manggarai"
        },
        {
            "id": 301,
            "name": "Kabupaten Manggarai Barat"
        },
        {
            "id": 302,
            "name": "Kabupaten Manggarai Timur"
        },
        {
            "id": 303,
            "name": "Kabupaten Nagekeo"
        },
        {
            "id": 304,
            "name": "Kabupaten Ngada"
        },
        {
            "id": 305,
            "name": "Kabupaten Rote Ndao"
        },
        {
            "id": 306,
            "name": "Kabupaten Sabu Raijua"
        },
        {
            "id": 307,
            "name": "Kabupaten Sikka"
        },
        {
            "id": 308,
            "name": "Kabupaten Sumba Barat"
        },
        {
            "id": 309,
            "name": "Kabupaten Sumba Barat Daya"
        },
        {
            "id": 310,
            "name": "Kabupaten Sumba Tengah"
        },
        {
            "id": 311,
            "name": "Kabupaten Sumba Timur"
        },
        {
            "id": 312,
            "name": "Kabupaten Timor Tengah Selatan"
        },
        {
            "id": 313,
            "name": "Kabupaten Timor Tengah Utara"
        },
        {
            "id": 314,
            "name": "Kota Kupang"
        },
        {
            "id": 315,
            "name": "Kabupaten Bengkayang"
        },
        {
            "id": 316,
            "name": "Kabupaten Kapuas Hulu"
        },
        {
            "id": 317,
            "name": "Kabupaten Kayong Utara"
        },
        {
            "id": 318,
            "name": "Kabupaten Ketapang"
        },
        {
            "id": 319,
            "name": "Kabupaten Kubu Raya"
        },
        {
            "id": 320,
            "name": "Kabupaten Landak"
        },
        {
            "id": 321,
            "name": "Kabupaten Melawi"
        },
        {
            "id": 322,
            "name": "Kabupaten Mempawah"
        },
        {
            "id": 323,
            "name": "Kabupaten Sambas"
        },
        {
            "id": 324,
            "name": "Kabupaten Sanggau"
        },
        {
            "id": 325,
            "name": "Kabupaten Sekadau"
        },
        {
            "id": 326,
            "name": "Kabupaten Sintang"
        },
        {
            "id": 327,
            "name": "Kota Pontianak"
        },
        {
            "id": 328,
            "name": "Kota Singkawang"
        },
        {
            "id": 329,
            "name": "Kabupaten Balangan"
        },
        {
            "id": 330,
            "name": "Kabupaten Banjar"
        },
        {
            "id": 331,
            "name": "Kabupaten Barito Kuala"
        },
        {
            "id": 332,
            "name": "Kabupaten Hulu Sungai Selatan"
        },
        {
            "id": 333,
            "name": "Kabupaten Hulu Sungai Tengah"
        },
        {
            "id": 334,
            "name": "Kabupaten Hulu Sungai Utara"
        },
        {
            "id": 335,
            "name": "Kabupaten Kotabaru"
        },
        {
            "id": 336,
            "name": "Kabupaten Tabalong"
        },
        {
            "id": 337,
            "name": "Kabupaten Tanah Bumbu"
        },
        {
            "id": 338,
            "name": "Kabupaten Tanah Laut"
        },
        {
            "id": 339,
            "name": "Kabupaten Tapin"
        },
        {
            "id": 340,
            "name": "Kota Banjarbaru"
        },
        {
            "id": 341,
            "name": "Kota Banjarmasin"
        },
        {
            "id": 342,
            "name": "Kabupaten Barito Selatan"
        },
        {
            "id": 343,
            "name": "Kabupaten Barito Timur"
        },
        {
            "id": 344,
            "name": "Kabupaten Barito Utara"
        },
        {
            "id": 345,
            "name": "Kabupaten Gunung Mas"
        },
        {
            "id": 346,
            "name": "Kabupaten Kapuas"
        },
        {
            "id": 347,
            "name": "Kabupaten Katingan"
        },
        {
            "id": 348,
            "name": "Kabupaten Kotawaringin Barat"
        },
        {
            "id": 349,
            "name": "Kabupaten Kotawaringin Timur"
        },
        {
            "id": 350,
            "name": "Kabupaten Lamandau"
        },
        {
            "id": 351,
            "name": "Kabupaten Murung Raya"
        },
        {
            "id": 352,
            "name": "Kabupaten Pulang Pisau"
        },
        {
            "id": 353,
            "name": "Kabupaten Sukamara"
        },
        {
            "id": 354,
            "name": "Kabupaten Seruyan"
        },
        {
            "id": 355,
            "name": "Kota Palangka Raya"
        },
        {
            "id": 356,
            "name": "Kabupaten Berau"
        },
        {
            "id": 357,
            "name": "Kabupaten Kutai Barat"
        },
        {
            "id": 358,
            "name": "Kabupaten Kutai Kartanegara"
        },
        {
            "id": 359,
            "name": "Kabupaten Kutai Timur"
        },
        {
            "id": 360,
            "name": "Kabupaten Mahakam Ulu"
        },
        {
            "id": 361,
            "name": "Kabupaten Paser"
        },
        {
            "id": 362,
            "name": "Kabupaten Penajam Paser Utara"
        },
        {
            "id": 363,
            "name": "Kota Balikpapan"
        },
        {
            "id": 364,
            "name": "Kota Bontang"
        },
        {
            "id": 365,
            "name": "Kota Samarinda"
        },
        {
            "id": 366,
            "name": "Kabupaten Bulungan"
        },
        {
            "id": 367,
            "name": "Kabupaten Malinau"
        },
        {
            "id": 368,
            "name": "Kabupaten Nunukan"
        },
        {
            "id": 369,
            "name": "Kabupaten Tana Tidung"
        },
        {
            "id": 370,
            "name": "Kota Tarakan"
        },
        {
            "id": 371,
            "name": "Kabupaten Boalemo"
        },
        {
            "id": 372,
            "name": "Kabupaten Bone Bolango"
        },
        {
            "id": 373,
            "name": "Kabupaten Gorontalo"
        },
        {
            "id": 374,
            "name": "Kabupaten Gorontalo Utara"
        },
        {
            "id": 375,
            "name": "Kabupaten Pohuwato"
        },
        {
            "id": 376,
            "name": "Kota Gorontalo"
        },
        {
            "id": 377,
            "name": "Kabupaten Majene"
        },
        {
            "id": 378,
            "name": "Kabupaten Mamasa"
        },
        {
            "id": 379,
            "name": "Kabupaten Mamuju"
        },
        {
            "id": 380,
            "name": "Kabupaten Mamuju Tengah"
        },
        {
            "id": 381,
            "name": "Kabupaten Pasangkayu"
        },
        {
            "id": 382,
            "name": "Kabupaten Polewali Mandar"
        },
        {
            "id": 383,
            "name": "Kabupaten Bantaeng"
        },
        {
            "id": 384,
            "name": "Kabupaten Barru"
        },
        {
            "id": 385,
            "name": "Kabupaten Bone"
        },
        {
            "id": 386,
            "name": "Kabupaten Bulukumba"
        },
        {
            "id": 387,
            "name": "Kabupaten Enrekang"
        },
        {
            "id": 388,
            "name": "Kabupaten Gowa"
        },
        {
            "id": 389,
            "name": "Kabupaten Jeneponto"
        },
        {
            "id": 390,
            "name": "Kabupaten Kepulauan Selayar"
        },
        {
            "id": 391,
            "name": "Kabupaten Luwu"
        },
        {
            "id": 392,
            "name": "Kabupaten Luwu Timur"
        },
        {
            "id": 393,
            "name": "Kabupaten Luwu Utara"
        },
        {
            "id": 394,
            "name": "Kabupaten Maros"
        },
        {
            "id": 395,
            "name": "Kabupaten Pangkajene dan Kepulauan"
        },
        {
            "id": 396,
            "name": "Kabupaten Pinrang"
        },
        {
            "id": 397,
            "name": "Kabupaten Sidenreng Rappang"
        },
        {
            "id": 398,
            "name": "Kabupaten Sinjai"
        },
        {
            "id": 399,
            "name": "Kabupaten Soppeng"
        },
        {
            "id": 400,
            "name": "Kabupaten Takalar"
        },
        {
            "id": 401,
            "name": "Kabupaten Tana Toraja"
        },
        {
            "id": 402,
            "name": "Kabupaten Toraja Utara"
        },
        {
            "id": 403,
            "name": "Kabupaten Wajo"
        },
        {
            "id": 404,
            "name": "Kota Makassar"
        },
        {
            "id": 405,
            "name": "Kota Palopo"
        },
        {
            "id": 406,
            "name": "Kota Parepare"
        },
        {
            "id": 407,
            "name": "Kabupaten Bombana"
        },
        {
            "id": 408,
            "name": "Kabupaten Buton"
        },
        {
            "id": 409,
            "name": "Kabupaten Buton Selatan"
        },
        {
            "id": 410,
            "name": "Kabupaten Buton Tengah"
        },
        {
            "id": 411,
            "name": "Kabupaten Buton Utara"
        },
        {
            "id": 412,
            "name": "Kabupaten Kolaka"
        },
        {
            "id": 413,
            "name": "Kabupaten Kolaka Timur"
        },
        {
            "id": 414,
            "name": "Kabupaten Kolaka Utara"
        },
        {
            "id": 415,
            "name": "Kabupaten Konawe"
        },
        {
            "id": 416,
            "name": "Kabupaten Konawe Kepulauan"
        },
        {
            "id": 417,
            "name": "Kabupaten Konawe Selatan"
        },
        {
            "id": 418,
            "name": "Kabupaten Konawe Utara"
        },
        {
            "id": 419,
            "name": "Kabupaten Muna"
        },
        {
            "id": 420,
            "name": "Kabupaten Muna Barat"
        },
        {
            "id": 421,
            "name": "Kabupaten Wakatobi"
        },
        {
            "id": 422,
            "name": "Kota Bau-Bau"
        },
        {
            "id": 423,
            "name": "Kota Kendari"
        },
        {
            "id": 424,
            "name": "Kabupaten Banggai"
        },
        {
            "id": 425,
            "name": "Kabupaten Banggai Kepulauan"
        },
        {
            "id": 426,
            "name": "Kabupaten Banggai Laut"
        },
        {
            "id": 427,
            "name": "Kabupaten Buol"
        },
        {
            "id": 428,
            "name": "Kabupaten Donggala"
        },
        {
            "id": 429,
            "name": "Kabupaten Morowali"
        },
        {
            "id": 430,
            "name": "Kabupaten Morowali Utara"
        },
        {
            "id": 431,
            "name": "Kabupaten Parigi Moutong"
        },
        {
            "id": 432,
            "name": "Kabupaten Poso"
        },
        {
            "id": 433,
            "name": "Kabupaten Sigi"
        },
        {
            "id": 434,
            "name": "Kabupaten Tojo Una-Una"
        },
        {
            "id": 435,
            "name": "Kabupaten Tolitoli"
        },
        {
            "id": 436,
            "name": "Kota Palu"
        },
        {
            "id": 437,
            "name": "Kabupaten Bolaang Mongondow"
        },
        {
            "id": 438,
            "name": "Kabupaten Bolaang Mongondow Selatan"
        },
        {
            "id": 439,
            "name": "Kabupaten Bolaang Mongondow Timur"
        },
        {
            "id": 440,
            "name": "Kabupaten Bolaang Mongondow Utara"
        },
        {
            "id": 441,
            "name": "Kabupaten Kepulauan Sangihe"
        },
        {
            "id": 442,
            "name": "Kabupaten Kepulauan Siau Tagulandang Biaro"
        },
        {
            "id": 443,
            "name": "Kabupaten Kepulauan Talaud"
        },
        {
            "id": 444,
            "name": "Kabupaten Minahasa"
        },
        {
            "id": 445,
            "name": "Kabupaten Minahasa Selatan"
        },
        {
            "id": 446,
            "name": "Kabupaten Minahasa Tenggara"
        },
        {
            "id": 447,
            "name": "Kabupaten Minahasa Utara"
        },
        {
            "id": 448,
            "name": "Kota Bitung"
        },
        {
            "id": 449,
            "name": "Kota Kotamobagu"
        },
        {
            "id": 450,
            "name": "Kota Manado"
        },
        {
            "id": 451,
            "name": "Kota Tomohon"
        },
        {
            "id": 452,
            "name": "Kabupaten Buru"
        },
        {
            "id": 453,
            "name": "Kabupaten Buru Selatan"
        },
        {
            "id": 454,
            "name": "Kabupaten Kepulauan Aru"
        },
        {
            "id": 455,
            "name": "Kabupaten Maluku Barat Daya"
        },
        {
            "id": 456,
            "name": "Kabupaten Maluku Tengah"
        },
        {
            "id": 457,
            "name": "Kabupaten Maluku Tenggara"
        },
        {
            "id": 458,
            "name": "Kabupaten Kepulauan Tanimbar"
        },
        {
            "id": 459,
            "name": "Kabupaten Seram Bagian Barat"
        },
        {
            "id": 460,
            "name": "Kabupaten Seram Bagian Timur"
        },
        {
            "id": 461,
            "name": "Kota Ambon"
        },
        {
            "id": 462,
            "name": "Kota Tual"
        },
        {
            "id": 463,
            "name": "Kabupaten Halmahera Barat"
        },
        {
            "id": 464,
            "name": "Kabupaten Halmahera Tengah"
        },
        {
            "id": 465,
            "name": "Kabupaten Halmahera Timur"
        },
        {
            "id": 466,
            "name": "Kabupaten Halmahera Selatan"
        },
        {
            "id": 467,
            "name": "Kabupaten Halmahera Utara"
        },
        {
            "id": 468,
            "name": "Kabupaten Kepulauan Sula"
        },
        {
            "id": 469,
            "name": "Kabupaten Pulau Morotai"
        },
        {
            "id": 470,
            "name": "Kabupaten Pulau Taliabu"
        },
        {
            "id": 471,
            "name": "Kota Ternate"
        },
        {
            "id": 472,
            "name": "Kota Tidore Kepulauan"
        },
        {
            "id": 473,
            "name": "Kabupaten Asmat"
        },
        {
            "id": 474,
            "name": "Kabupaten Biak Numfor"
        },
        {
            "id": 475,
            "name": "Kabupaten Boven Digoel"
        },
        {
            "id": 476,
            "name": "Kabupaten Deiyai"
        },
        {
            "id": 477,
            "name": "Kabupaten Dogiyai"
        },
        {
            "id": 478,
            "name": "Kabupaten Intan Jaya"
        },
        {
            "id": 479,
            "name": "Kabupaten Jayapura"
        },
        {
            "id": 480,
            "name": "Kabupaten Jayawijaya"
        },
        {
            "id": 481,
            "name": "Kabupaten Keerom"
        },
        {
            "id": 482,
            "name": "Kabupaten Kepulauan Yapen"
        },
        {
            "id": 483,
            "name": "Kabupaten Lanny Jaya"
        },
        {
            "id": 484,
            "name": "Kabupaten Mamberamo Raya"
        },
        {
            "id": 485,
            "name": "Kabupaten Mamberamo Tengah"
        },
        {
            "id": 486,
            "name": "Kabupaten Mappi"
        },
        {
            "id": 487,
            "name": "Kabupaten Merauke"
        },
        {
            "id": 488,
            "name": "Kabupaten Mimika"
        },
        {
            "id": 489,
            "name": "Kabupaten Nabire"
        },
        {
            "id": 490,
            "name": "Kabupaten Nduga"
        },
        {
            "id": 491,
            "name": "Kabupaten Paniai"
        },
        {
            "id": 492,
            "name": "Kabupaten Pegunungan Bintang"
        },
        {
            "id": 493,
            "name": "Kabupaten Puncak"
        },
        {
            "id": 494,
            "name": "Kabupaten Puncak Jaya"
        },
        {
            "id": 495,
            "name": "Kabupaten Sarmi"
        },
        {
            "id": 496,
            "name": "Kabupaten Supiori"
        },
        {
            "id": 497,
            "name": "Kabupaten Tolikara"
        },
        {
            "id": 498,
            "name": "Kabupaten Waropen"
        },
        {
            "id": 499,
            "name": "Kabupaten Yahukimo"
        },
        {
            "id": 500,
            "name": "Kabupaten Yalimo"
        },
        {
            "id": 501,
            "name": "Kota Jayapura"
        },
        {
            "id": 502,
            "name": "Kabupaten Fakfak"
        },
        {
            "id": 503,
            "name": "Kabupaten Kaimana"
        },
        {
            "id": 504,
            "name": "Kabupaten Manokwari"
        },
        {
            "id": 505,
            "name": "Kabupaten Manokwari Selatan"
        },
        {
            "id": 506,
            "name": "Kabupaten Maybrat"
        },
        {
            "id": 507,
            "name": "Kabupaten Pegunungan Arfak"
        },
        {
            "id": 508,
            "name": "Kabupaten Raja Ampat"
        },
        {
            "id": 509,
            "name": "Kabupaten Sorong"
        },
        {
            "id": 510,
            "name": "Kabupaten Sorong Selatan"
        },
        {
            "id": 511,
            "name": "Kabupaten Tambrauw"
        },
        {
            "id": 512,
            "name": "Kabupaten Teluk Bintuni"
        },
        {
            "id": 513,
            "name": "Kabupaten Teluk Wondama"
        },
        {
            "id": 514,
            "name": "Kota Sorong"
        }
    ],
    "logstory": null
}
 

Request      

GET api/city

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/user

Example request:
curl --request GET \
    --get "http://localhost:8000/api/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "meta": {
        "code": 401,
        "status": "error",
        "message": "Unauthenticated"
    },
    "data": null,
    "logstory": null
}
 

Request      

GET api/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json