openapi: 3.0.3
info:
  title: 'Track Vision API'
  description: ''
  version: 1.0.0
servers:
  -
    url: localhost
paths:
  /api/auth/login:
    post:
      summary: Login
      operationId: login
      description: "Login into Track Vision System. You will get reponse of 200 and token when the login are success.\n\nOtherwise, the request will fail with a 500 error, and a response listing the failed services."
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n \"success\": true,\n \"message\": 'Login Successfully',\n \"data\": {\n     \"token\": \"jukjdnjkdjasdadweeiufrhjv23i2enwjdk\";\n     \"user\": {\n           \"id\": \"eyJpdiI6IkhBUXNmMVBiZGRJcFZ1dWljc1lOdFE9PSIsInZhbHVlIjoiRE0vVWw3a3hibmt3Y21YcXNoUjE1UT09IiwibWFjIjoiYTZiN2M3MzA5MzI2NGFkZTk2MDBiNDAwNTRiZDU4OTM2MTE2NGU5YmEzNjU0ODIxNTFhNjE3YmZlMGFkNjQyMSIsInRhZyI6IiJ9\",\n           \"roleId\": null,\n           \"access\": null,\n           \"firstName\": \"Superman\",\n           \"lastName\": \"Brother\",\n           \"name\": \"Dagrik Corp.\",\n           \"username\": \"test\",\n           \"type\": \"test\",\n           \"dialCode\": \"+60\",\n           \"phone\": \"123456780\",\n           \"email\": \"test@safetruck.co\",\n           \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n           \"isMerchantFleet\": null,\n           \"isActive\": \"1\",\n           \"isKycVerify\": \"1\",\n           \"mainUserId\": null,\n           \"password\": \"$2y$10$H8itnAJh0OeXsAEn.Kj6WuGb.c7vR7c9VZt2tRMlF40kD8CUl2fYS\",\n           \"defaultBillingEntityId\": \"8\",\n           \"rememberToken\": null,\n           \"passwordUpdatedAt\": null,\n           \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n           \"createdBy\": null,\n           \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n           \"updatedBy\": \"1\",\n           \"isDelete\": \"0\",\n           \"deletedAt\": null,\n           \"deletedBy\": null\n       };\n     }\n}"
        500:
          description: 'Credentials not match'
          content:
            text/plain:
              schema:
                type: string
                example: '{"success": false, "status": "Error", message: "Credentials not match", data = ''''}'
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  description: 'The username of the user.'
                  example: id
                password:
                  type: string
                  description: 'The password of the user.'
                  example: '%[GlgZnq_o,'
              required:
                - username
                - password
      security: []
  /api/user3:
    get:
      summary: ''
      operationId: getApiUser3
      description: ''
      parameters: []
      responses:
        404:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: ''
                  exception: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php
                  line: 43
                  trace:
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
                      line: 162
                      function: handleMatchedRoute
                      class: Illuminate\Routing\AbstractRouteCollection
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 673
                      function: match
                      class: Illuminate\Routing\RouteCollection
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 662
                      function: findRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 651
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 167
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 128
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/app/Http/Middleware/SharedMiddleware.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: App\Http\Middleware\SharedMiddleware
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                      line: 33
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 128
                      function: 'Laravel\Sanctum\Http\Middleware\{closure}'
                      class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 103
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                      line: 34
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 86
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/fruitcake/laravel-cors/src/HandleCors.php
                      line: 38
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Fruitcake\Cors\HandleCors
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 103
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 142
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 111
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 300
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 288
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 91
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 44
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 236
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 166
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 95
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 125
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 72
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 50
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 53
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 40
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 37
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 653
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 136
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Command/Command.php
                      line: 298
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 121
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                      line: 1040
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                      line: 301
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                      line: 171
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Application.php
                      line: 94
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 129
                      function: run
                      class: Illuminate\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/artisan
                      line: 37
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: ''
                  exception:
                    type: string
                    example: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file:
                    type: string
                    example: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php
                  line:
                    type: integer
                    example: 43
                  trace:
                    type: array
                    example:
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
                        line: 162
                        function: handleMatchedRoute
                        class: Illuminate\Routing\AbstractRouteCollection
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 673
                        function: match
                        class: Illuminate\Routing\RouteCollection
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 662
                        function: findRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 651
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 167
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 128
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/app/Http/Middleware/SharedMiddleware.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: App\Http\Middleware\SharedMiddleware
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                        line: 33
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 128
                        function: 'Laravel\Sanctum\Http\Middleware\{closure}'
                        class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 103
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                        line: 34
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 86
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/fruitcake/laravel-cors/src/HandleCors.php
                        line: 38
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Fruitcake\Cors\HandleCors
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 103
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 142
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 111
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 300
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 288
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 91
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 44
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 236
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 166
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 95
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 125
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 72
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 50
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 53
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 40
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 37
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 653
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 136
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Command/Command.php
                        line: 298
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 121
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                        line: 1040
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                        line: 301
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                        line: 171
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Application.php
                        line: 94
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 129
                        function: run
                        class: Illuminate\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/artisan
                        line: 37
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
                      properties:
                        file:
                          type: string
                          example: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
                        line:
                          type: integer
                          example: 162
                        function:
                          type: string
                          example: handleMatchedRoute
                        class:
                          type: string
                          example: Illuminate\Routing\AbstractRouteCollection
                        type:
                          type: string
                          example: '->'
      tags:
        - Endpoints
      security: []
  '/api/user3/{id}':
    get:
      summary: ''
      operationId: getApiUser3Id
      description: ''
      parameters: []
      responses:
        404:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: ''
                  exception: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php
                  line: 43
                  trace:
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
                      line: 162
                      function: handleMatchedRoute
                      class: Illuminate\Routing\AbstractRouteCollection
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 673
                      function: match
                      class: Illuminate\Routing\RouteCollection
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 662
                      function: findRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                      line: 651
                      function: dispatchToRoute
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 167
                      function: dispatch
                      class: Illuminate\Routing\Router
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 128
                      function: 'Illuminate\Foundation\Http\{closure}'
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/app/Http/Middleware/SharedMiddleware.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: App\Http\Middleware\SharedMiddleware
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                      line: 33
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 128
                      function: 'Laravel\Sanctum\Http\Middleware\{closure}'
                      class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 103
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                      line: 34
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                      line: 31
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                      line: 21
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                      line: 40
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\TrimStrings
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                      line: 27
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                      line: 86
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/fruitcake/laravel-cors/src/HandleCors.php
                      line: 38
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Fruitcake\Cors\HandleCors
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                      line: 39
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 167
                      function: handle
                      class: Illuminate\Http\Middleware\TrustProxies
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                      line: 103
                      function: 'Illuminate\Pipeline\{closure}'
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 142
                      function: then
                      class: Illuminate\Pipeline\Pipeline
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                      line: 111
                      function: sendRequestThroughRouter
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 300
                      function: handle
                      class: Illuminate\Foundation\Http\Kernel
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 288
                      function: callLaravelOrLumenRoute
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 91
                      function: makeApiCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 44
                      function: makeResponseCall
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                      line: 35
                      function: makeResponseCallIfConditionsPass
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 236
                      function: __invoke
                      class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 166
                      function: iterateThroughStrategies
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                      line: 95
                      function: fetchResponses
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 125
                      function: processRoute
                      class: Knuckles\Scribe\Extracting\Extractor
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 72
                      function: extractEndpointsInfoFromLaravelApp
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                      line: 50
                      function: extractEndpointsInfoAndWriteToDisk
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                      line: 53
                      function: get
                      class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 36
                      function: handle
                      class: Knuckles\Scribe\Commands\GenerateDocumentation
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Util.php
                      line: 40
                      function: 'Illuminate\Container\{closure}'
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 93
                      function: unwrapIfClosure
                      class: Illuminate\Container\Util
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                      line: 37
                      function: callBoundMethod
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php
                      line: 653
                      function: call
                      class: Illuminate\Container\BoundMethod
                      type: '::'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 136
                      function: call
                      class: Illuminate\Container\Container
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Command/Command.php
                      line: 298
                      function: execute
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                      line: 121
                      function: run
                      class: Symfony\Component\Console\Command\Command
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                      line: 1040
                      function: run
                      class: Illuminate\Console\Command
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                      line: 301
                      function: doRunCommand
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                      line: 171
                      function: doRun
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Application.php
                      line: 94
                      function: run
                      class: Symfony\Component\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                      line: 129
                      function: run
                      class: Illuminate\Console\Application
                      type: '->'
                    -
                      file: /Applications/MAMP/htdocs/trackvision/laravel/artisan
                      line: 37
                      function: handle
                      class: Illuminate\Foundation\Console\Kernel
                      type: '->'
                properties:
                  message:
                    type: string
                    example: ''
                  exception:
                    type: string
                    example: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
                  file:
                    type: string
                    example: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php
                  line:
                    type: integer
                    example: 43
                  trace:
                    type: array
                    example:
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
                        line: 162
                        function: handleMatchedRoute
                        class: Illuminate\Routing\AbstractRouteCollection
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 673
                        function: match
                        class: Illuminate\Routing\RouteCollection
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 662
                        function: findRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/Router.php
                        line: 651
                        function: dispatchToRoute
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 167
                        function: dispatch
                        class: Illuminate\Routing\Router
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 128
                        function: 'Illuminate\Foundation\Http\{closure}'
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/app/Http/Middleware/SharedMiddleware.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: App\Http\Middleware\SharedMiddleware
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                        line: 33
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 128
                        function: 'Laravel\Sanctum\Http\Middleware\{closure}'
                        class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 103
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php
                        line: 34
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
                        line: 31
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
                        line: 21
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
                        line: 40
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TransformsRequest
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\TrimStrings
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
                        line: 27
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\ValidatePostSize
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                        line: 86
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/fruitcake/laravel-cors/src/HandleCors.php
                        line: 38
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Fruitcake\Cors\HandleCors
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
                        line: 39
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 167
                        function: handle
                        class: Illuminate\Http\Middleware\TrustProxies
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        line: 103
                        function: 'Illuminate\Pipeline\{closure}'
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 142
                        function: then
                        class: Illuminate\Pipeline\Pipeline
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
                        line: 111
                        function: sendRequestThroughRouter
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 300
                        function: handle
                        class: Illuminate\Foundation\Http\Kernel
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 288
                        function: callLaravelOrLumenRoute
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 91
                        function: makeApiCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 44
                        function: makeResponseCall
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php
                        line: 35
                        function: makeResponseCallIfConditionsPass
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 236
                        function: __invoke
                        class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 166
                        function: iterateThroughStrategies
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php
                        line: 95
                        function: fetchResponses
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 125
                        function: processRoute
                        class: Knuckles\Scribe\Extracting\Extractor
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 72
                        function: extractEndpointsInfoFromLaravelApp
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php
                        line: 50
                        function: extractEndpointsInfoAndWriteToDisk
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php
                        line: 53
                        function: get
                        class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 36
                        function: handle
                        class: Knuckles\Scribe\Commands\GenerateDocumentation
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Util.php
                        line: 40
                        function: 'Illuminate\Container\{closure}'
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 93
                        function: unwrapIfClosure
                        class: Illuminate\Container\Util
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
                        line: 37
                        function: callBoundMethod
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php
                        line: 653
                        function: call
                        class: Illuminate\Container\BoundMethod
                        type: '::'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 136
                        function: call
                        class: Illuminate\Container\Container
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Command/Command.php
                        line: 298
                        function: execute
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php
                        line: 121
                        function: run
                        class: Symfony\Component\Console\Command\Command
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                        line: 1040
                        function: run
                        class: Illuminate\Console\Command
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                        line: 301
                        function: doRunCommand
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/symfony/console/Application.php
                        line: 171
                        function: doRun
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Console/Application.php
                        line: 94
                        function: run
                        class: Symfony\Component\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php
                        line: 129
                        function: run
                        class: Illuminate\Console\Application
                        type: '->'
                      -
                        file: /Applications/MAMP/htdocs/trackvision/laravel/artisan
                        line: 37
                        function: handle
                        class: Illuminate\Foundation\Console\Kernel
                        type: '->'
                    items:
                      type: object
                      properties:
                        file:
                          type: string
                          example: /Applications/MAMP/htdocs/trackvision/laravel/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
                        line:
                          type: integer
                          example: 162
                        function:
                          type: string
                          example: handleMatchedRoute
                        class:
                          type: string
                          example: Illuminate\Routing\AbstractRouteCollection
                        type:
                          type: string
                          example: '->'
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the user3.'
        example: voluptatum
        required: true
        schema:
          type: string
  /api/fleet:
    get:
      summary: 'Show my listing of Fleet Group'
      operationId: showMyListingOfFleetGroup
      description: 'Show list of fleet group and its creator information from logged in'
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n\"success\": true,\n   \"status\": \"Success\",\n   \"message\": \"Obtain Successfully\",\n   \"data\":\n     [\n     {\n       \"id\": \"eyJpdiI6Ik1qTk4rc2pKaTlVbkdaSTBOTVJyc3c9PSIsInZhbHVlIjoiYzFDSmlZUDUxSk1jaHVnRUdpOFZrUT09IiwibWFjIjoiN2VkZjAzMWVhZGIxY2MyOGNjZDNiN2NmMGU0MjFhMThiNWI2ZjljMTIyMTU1MWNlZjdjZmZiN2E4NGIzZDlhZSIsInRhZyI6IiJ9\",\n       \"name\": \"test\",\n       \"createdAt\": \"2024-03-07 03:00:33\",\n       \"createdBy\": \"eyJpdiI6IkY2UzV2Ukl6eGQwN1V1cW1ROFFNYWc9PSIsInZhbHVlIjoiN2pndUtiYVNjVFRPcGtza25GRlNmUT09IiwibWFjIjoiM2U3NzBmZmQ3YWNkZGE1YzgyNWFmZDU0OGZjYTBjYTJjNGMzNDUxY2E3MWYwZTFkYmNiMmEzNzFlZDFkYjkxOCIsInRhZyI6IiJ9\",\n        \"createdByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n        }\n       \"updatedAt\": \"2024-03-07 03:00:33\",\n       \"updatedBy\": \"eyJpdiI6InNSemRrU09aeTF3MXRhYUhUR3htK0E9PSIsInZhbHVlIjoiYUdIRHpEZWFGYjZQSjZTdmZOYTh0QT09IiwibWFjIjoiYmJlYzRiMGIwMjc3MGI4Y2E1ZDEwZjM2NTM5ZTIwMzc5NmU5OGRmMzU3MDEwZTAyYjJlOWRhZWM5ZTUyMTA1NiIsInRhZyI6IiJ9\",\n       \"updatedByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n        },\n       \"isDelete\": null,\n       \"deletedAt\": null,\n       \"deletedBy\": null,\n       \"deletedByUser\": null,\n        \"setting\": {\n           \"fleetId\": \"eyJpdiI6InpNS211Z3psd0xzZmR5akp6NHZPOHc9PSIsInZhbHVlIjoiUXM3UHZHczNEaHVuR3g2WkZVbVpYZz09IiwibWFjIjoiZDI2MTNiYzgwZWU2NDQ1ODZkZGY1NjQ0OTNjMmRmZGQ2MTM0MTVhMjM4YzQwMWVlN2VhODY5YmFmYzY0M2VhMiIsInRhZyI6IiJ9\",\n           \"lowFuelPercentage\": \"2.00\",\n           \"refuelCriticalEnable\": \"1\",\n           \"idlingMinute\": null,\n           \"erpContactName\": null,\n           \"erpTelNo\": null,\n           \"isDelete\": null,\n           \"deletedAt\": null,\n           \"deletedBy\": null,\n           \"deletedByUser\": null,\n              \"createdByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n          },\n           \"createdAt\": \"2024-03-07 03:00:33\",\n           \"createdBy\": \"eyJpdiI6Im15SDZ6THc5elVjVmU5c1E4elYyWnc9PSIsInZhbHVlIjoicmJPcE1TeVpBaEw0MDJ1QjNGWjExdz09IiwibWFjIjoiZmI3ZmVjOWZhYWQzODU2MDQzNWY5ZWUxMzQ5ZmI0ODJhNGQ2ZjRlMTQxOTM4NzYyNmQwMWM1NTI0MTBkNzc1ZSIsInRhZyI6IiJ9\",\n           \"updatedAt\": \"2024-03-07 03:00:33\",\n           \"updatedBy\": \"eyJpdiI6IkdOdzFoWk1yaWJHVGVUNDNhdGlmQ0E9PSIsInZhbHVlIjoiOVBUelNURTNFanpESWR5YkhzRHZEQT09IiwibWFjIjoiNzYxOWUwMzE5M2YwOGZhNTQ2Y2Q0ZjYzOWM0MWVlMmI5ZDdlNWYwOWY1NTUyZmQzZDY4ODBiMDdiYjIzNzM5ZSIsInRhZyI6IiJ9\"\n           \"updatedByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n          }\n       },\n       \"contacts\": [\n           {\n               \"id\": \"eyJpdiI6Ik5yZHhtak1JZFZtL1gzTFdHYjYzQWc9PSIsInZhbHVlIjoiclRaQkFFZzhmK25ydDRZRVRBenpaQT09IiwibWFjIjoiYmUxNjRlN2Q2N2UxYjBjNjVkMGI2ZWQyNmY5MzEyYjUwOGY1MDIwNTVjZWFjMDA5ZjY2YmRlN2JlOTQ5NWE1ZCIsInRhZyI6IiJ9\",\n               \"fleetId\": \"23\",\n               \"contactName\": \"Ronnie Tan\",\n               \"telNo\": \"3332222\"\n           }\n       ]\n   }\n   ]\n}"
        404:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Object Not Found'
                  data: {  }
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Object Not Found'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties: {  }
      tags:
        - Fleet
      security: []
    post:
      summary: 'Create new Fleet Group'
      operationId: createNewFleetGroup
      description: 'create new fleet group with fleet group settings and its contact list'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Created Successfully'
                  data:
                    id: eyJpdiI6IkpuUWY2N2l6M252aEcxSXVUWWpOaHc9PSIsInZhbHVlIjoicXQ5ME1OWkx0MUNNWVFIVWxNUHZkQT09IiwibWFjIjoiNzgzMDJkZTY5OGM4ZGU0MGIyZDRjMzEwN2I5YjY5ODkxOWRjZGVjYWFmOTZiYjU4YzU4ZTIyMmVmZDViNjBjOCIsInRhZyI6IiJ9
                    name: test
                    createdAt: '2024-03-06 09:47:31'
                    createdBy: eyJpdiI6IlExS1FWVTFneFN5UDdod3J6ZFdiR3c9PSIsInZhbHVlIjoiNHh2alZnU2kxZ1FiN2NXeHZ1aWZOQT09IiwibWFjIjoiNjRhMTAzMTE1ZTdlMDUzYTgwY2QzNjE2ZmRkNTBmOTI0MTdkY2ZmM2E4OTc3ZDczNTI3NTdhOWY2OGZmYWM0MSIsInRhZyI6IiJ9
                    updatedAt: '2024-03-06 09:47:31'
                    updatedBy: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                    isDelete: null
                    deletedAt: null
                    deletedBy: eyJpdiI6IlVaSDNzSUViK2RRYmpKN1JPSnR6OWc9PSIsInZhbHVlIjoiL1JNdmYxNmNoNG1UdURYbno0SmVYQT09IiwibWFjIjoiNTdmOTE3NTEyYTA5YWM0NTc0YjMwNGU0NjlmMTExNDVmYjg4MWNjMzljNDdlNGNmYmJkNWQ1ODAzMWM2MTZhZSIsInRhZyI6IiJ9
                    setting:
                      fleetId: eyJpdiI6Imo3Qzg2NlhWRmQrK3R3K3d1YWRlMkE9PSIsInZhbHVlIjoiQTdLbzZvaGFEU0k0Z2lMczE3aXl4Zz09IiwibWFjIjoiY2MwOWEwOGJhYjIyMjk4NTNlY2ZjODdjM2U5ZjMzZjIxYWJmMjllNjFmOGZiMzVlMjg3N2ZiY2EyYzQ5YThmMiIsInRhZyI6IiJ9
                      lowFuelPercentage: '2'
                      refuelCriticalEnable: '1'
                      idlingMinute: null
                      erpContactName: null
                      erpTelNo: null
                      isDelete: null
                      deletedAt: null
                      deletedBy: eyJpdiI6InVuU3hObW83TUtMYVVKQkp5YlNMY0E9PSIsInZhbHVlIjoiM0FQTWZjY29EdFNRSUtKMld2WHlXZz09IiwibWFjIjoiZDZjYzhkZWJjMzhiNzUyYTg4MTA2ODQwYTJjZGRjMjI3YjNjNjE3Mjk0ZGYxMTU5YzdhYWIxMWFhNDNiODQ1MSIsInRhZyI6IiJ9
                      createdAt: '2024-03-06 09:47:31'
                      createdBy: eyJpdiI6Iko2MCtDenc2Tzh1b25ZQXVxWE5zemc9PSIsInZhbHVlIjoiNDhDMnlUek41QXBDaGhyL0pNUm9Hdz09IiwibWFjIjoiMDczNzc2NjYyNDRkZDU3ZGFkNjYyYWMzNjJhZmI2MjZhMjMyNmI5MTk5Y2UwZjJmOTJmMjYyYWI2Yjg4ZThiYSIsInRhZyI6IiJ9
                      updatedAt: '2024-03-06 09:47:31'
                      updatedBy: eyJpdiI6IktRRkV3ZGdRalJZRkR6ck5hSDh4aXc9PSIsInZhbHVlIjoiZTdiaHU4VEZSQkxzVmZIQ0hDR0tMZz09IiwibWFjIjoiYmQ3MmVmOGVjMmM1NmRmMThhYjAyZjUzNzgwZGVlNzdjMTEyY2Y3ZjFkZDY0Mzk4NGQ3NzM4OGNlMzZhMzg5NCIsInRhZyI6IiJ9
                    contacts:
                      -
                        id: eyJpdiI6InliYVpkWHV2WHl6U1YweVpsd0c0dEE9PSIsInZhbHVlIjoiY2w1UTBaRWJWeTJkdHlqdFZMSE5vdz09IiwibWFjIjoiM2E2M2YwM2FiYjg4MTVmYzY2OGVmOWEyOGRhNDY2ZWUyYzBlODA1MDc4ZjhkZmVlZDU0MmRiZjg3MTgzNTZlMCIsInRhZyI6IiJ9
                        fleetId: 22
                        contactName: '12322222'
                        telNo: '3332222'
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Created Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6IkpuUWY2N2l6M252aEcxSXVUWWpOaHc9PSIsInZhbHVlIjoicXQ5ME1OWkx0MUNNWVFIVWxNUHZkQT09IiwibWFjIjoiNzgzMDJkZTY5OGM4ZGU0MGIyZDRjMzEwN2I5YjY5ODkxOWRjZGVjYWFmOTZiYjU4YzU4ZTIyMmVmZDViNjBjOCIsInRhZyI6IiJ9
                      name:
                        type: string
                        example: test
                      createdAt:
                        type: string
                        example: '2024-03-06 09:47:31'
                      createdBy:
                        type: string
                        example: eyJpdiI6IlExS1FWVTFneFN5UDdod3J6ZFdiR3c9PSIsInZhbHVlIjoiNHh2alZnU2kxZ1FiN2NXeHZ1aWZOQT09IiwibWFjIjoiNjRhMTAzMTE1ZTdlMDUzYTgwY2QzNjE2ZmRkNTBmOTI0MTdkY2ZmM2E4OTc3ZDczNTI3NTdhOWY2OGZmYWM0MSIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-03-06 09:47:31'
                      updatedBy:
                        type: string
                        example: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                      isDelete:
                        type: string
                        example: null
                      deletedAt:
                        type: string
                        example: null
                      deletedBy:
                        type: string
                        example: eyJpdiI6IlVaSDNzSUViK2RRYmpKN1JPSnR6OWc9PSIsInZhbHVlIjoiL1JNdmYxNmNoNG1UdURYbno0SmVYQT09IiwibWFjIjoiNTdmOTE3NTEyYTA5YWM0NTc0YjMwNGU0NjlmMTExNDVmYjg4MWNjMzljNDdlNGNmYmJkNWQ1ODAzMWM2MTZhZSIsInRhZyI6IiJ9
                      setting:
                        type: object
                        properties:
                          fleetId:
                            type: string
                            example: eyJpdiI6Imo3Qzg2NlhWRmQrK3R3K3d1YWRlMkE9PSIsInZhbHVlIjoiQTdLbzZvaGFEU0k0Z2lMczE3aXl4Zz09IiwibWFjIjoiY2MwOWEwOGJhYjIyMjk4NTNlY2ZjODdjM2U5ZjMzZjIxYWJmMjllNjFmOGZiMzVlMjg3N2ZiY2EyYzQ5YThmMiIsInRhZyI6IiJ9
                          lowFuelPercentage:
                            type: string
                            example: '2'
                          refuelCriticalEnable:
                            type: string
                            example: '1'
                          idlingMinute:
                            type: string
                            example: null
                          erpContactName:
                            type: string
                            example: null
                          erpTelNo:
                            type: string
                            example: null
                          isDelete:
                            type: string
                            example: null
                          deletedAt:
                            type: string
                            example: null
                          deletedBy:
                            type: string
                            example: eyJpdiI6InVuU3hObW83TUtMYVVKQkp5YlNMY0E9PSIsInZhbHVlIjoiM0FQTWZjY29EdFNRSUtKMld2WHlXZz09IiwibWFjIjoiZDZjYzhkZWJjMzhiNzUyYTg4MTA2ODQwYTJjZGRjMjI3YjNjNjE3Mjk0ZGYxMTU5YzdhYWIxMWFhNDNiODQ1MSIsInRhZyI6IiJ9
                          createdAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          createdBy:
                            type: string
                            example: eyJpdiI6Iko2MCtDenc2Tzh1b25ZQXVxWE5zemc9PSIsInZhbHVlIjoiNDhDMnlUek41QXBDaGhyL0pNUm9Hdz09IiwibWFjIjoiMDczNzc2NjYyNDRkZDU3ZGFkNjYyYWMzNjJhZmI2MjZhMjMyNmI5MTk5Y2UwZjJmOTJmMjYyYWI2Yjg4ZThiYSIsInRhZyI6IiJ9
                          updatedAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          updatedBy:
                            type: string
                            example: eyJpdiI6IktRRkV3ZGdRalJZRkR6ck5hSDh4aXc9PSIsInZhbHVlIjoiZTdiaHU4VEZSQkxzVmZIQ0hDR0tMZz09IiwibWFjIjoiYmQ3MmVmOGVjMmM1NmRmMThhYjAyZjUzNzgwZGVlNzdjMTEyY2Y3ZjFkZDY0Mzk4NGQ3NzM4OGNlMzZhMzg5NCIsInRhZyI6IiJ9
                      contacts:
                        type: array
                        example:
                          -
                            id: eyJpdiI6InliYVpkWHV2WHl6U1YweVpsd0c0dEE9PSIsInZhbHVlIjoiY2w1UTBaRWJWeTJkdHlqdFZMSE5vdz09IiwibWFjIjoiM2E2M2YwM2FiYjg4MTVmYzY2OGVmOWEyOGRhNDY2ZWUyYzBlODA1MDc4ZjhkZmVlZDU0MmRiZjg3MTgzNTZlMCIsInRhZyI6IiJ9
                            fleetId: 22
                            contactName: '12322222'
                            telNo: '3332222'
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: eyJpdiI6InliYVpkWHV2WHl6U1YweVpsd0c0dEE9PSIsInZhbHVlIjoiY2w1UTBaRWJWeTJkdHlqdFZMSE5vdz09IiwibWFjIjoiM2E2M2YwM2FiYjg4MTVmYzY2OGVmOWEyOGRhNDY2ZWUyYzBlODA1MDc4ZjhkZmVlZDU0MmRiZjg3MTgzNTZlMCIsInRhZyI6IiJ9
                            fleetId:
                              type: integer
                              example: 22
                            contactName:
                              type: string
                              example: '12322222'
                            telNo:
                              type: string
                              example: '3332222'
        400:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Bad Request'
                  data:
                    contact_name:
                      - 'The contact name field is required.'
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Bad Request'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      contact_name:
                        type: array
                        example:
                          - 'The contact name field is required.'
                        items:
                          type: string
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of the fleet group'
                  example: est
                'setting[lowFuelPercentage]':
                  type: number
                  description: 'fuel level percentage of low fuel alert configuration'
                  example: 215.68177755
                'setting[refuelCriticalEnable]':
                  type: integer
                  description: 'Enable of refuel critical alert notification [0=disabled; 1=enabled]'
                  example: 15
                'setting[idlingMinute]':
                  type: integer
                  description: 'Minute Duration of the idling alert configuration'
                  example: 15
                'setting[erpContactName]':
                  type: string
                  description: 'Emergency Response Plan''s Contact Name'
                  example: in
                'setting[erpTelNo]':
                  type: string
                  description: 'Emergency Response Plan''s Contact Telephone Number'
                  example: et
                'contacts[][contactName]':
                  type: string
                  description: 'Name of the contact of the fleet group. Required when one of contact are being filled.'
                  example: quibusdam
                'contacts[][telNo]':
                  type: string
                  description: 'Telephone number of the contact of the fleet group'
                  example: maiores
              required:
                - 'setting[lowFuelPercentage]'
                - 'setting[refuelCriticalEnable]'
                - 'setting[idlingMinute]'
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The encrypted ID of the fleet.'
        example: ut
        required: true
        schema:
          type: string
  '/api/fleet/{id}':
    get:
      summary: 'Show a Fleet Group'
      operationId: showAFleetGroup
      description: 'Show a fleet group with fleet group settings and its contact list'
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n\"success\": true,\n   \"status\": \"Success\",\n   \"message\": \"Obtain Successfully\",\n   \"data\":\n     {\n       \"id\": \"eyJpdiI6Ik1qTk4rc2pKaTlVbkdaSTBOTVJyc3c9PSIsInZhbHVlIjoiYzFDSmlZUDUxSk1jaHVnRUdpOFZrUT09IiwibWFjIjoiN2VkZjAzMWVhZGIxY2MyOGNjZDNiN2NmMGU0MjFhMThiNWI2ZjljMTIyMTU1MWNlZjdjZmZiN2E4NGIzZDlhZSIsInRhZyI6IiJ9\",\n       \"name\": \"test\",\n       \"createdAt\": \"2024-03-07 03:00:33\",\n       \"createdBy\": \"eyJpdiI6IkY2UzV2Ukl6eGQwN1V1cW1ROFFNYWc9PSIsInZhbHVlIjoiN2pndUtiYVNjVFRPcGtza25GRlNmUT09IiwibWFjIjoiM2U3NzBmZmQ3YWNkZGE1YzgyNWFmZDU0OGZjYTBjYTJjNGMzNDUxY2E3MWYwZTFkYmNiMmEzNzFlZDFkYjkxOCIsInRhZyI6IiJ9\",\n        \"createdByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n        }\n       \"updatedAt\": \"2024-03-07 03:00:33\",\n       \"updatedBy\": \"eyJpdiI6InNSemRrU09aeTF3MXRhYUhUR3htK0E9PSIsInZhbHVlIjoiYUdIRHpEZWFGYjZQSjZTdmZOYTh0QT09IiwibWFjIjoiYmJlYzRiMGIwMjc3MGI4Y2E1ZDEwZjM2NTM5ZTIwMzc5NmU5OGRmMzU3MDEwZTAyYjJlOWRhZWM5ZTUyMTA1NiIsInRhZyI6IiJ9\",\n       \"updatedByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n        },\n       \"isDelete\": null,\n       \"deletedAt\": null,\n       \"deletedBy\": null,\n       \"deletedByUser\": null,\n        \"setting\": {\n           \"fleetId\": \"eyJpdiI6InpNS211Z3psd0xzZmR5akp6NHZPOHc9PSIsInZhbHVlIjoiUXM3UHZHczNEaHVuR3g2WkZVbVpYZz09IiwibWFjIjoiZDI2MTNiYzgwZWU2NDQ1ODZkZGY1NjQ0OTNjMmRmZGQ2MTM0MTVhMjM4YzQwMWVlN2VhODY5YmFmYzY0M2VhMiIsInRhZyI6IiJ9\",\n           \"lowFuelPercentage\": \"2.00\",\n           \"refuelCriticalEnable\": \"1\",\n           \"idlingMinute\": null,\n           \"erpContactName\": null,\n           \"erpTelNo\": null,\n           \"isDelete\": null,\n           \"deletedAt\": null,\n           \"deletedBy\": null,\n           \"deletedByUser\": null,\n              \"createdByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n          },\n           \"createdAt\": \"2024-03-07 03:00:33\",\n           \"createdBy\": \"eyJpdiI6Im15SDZ6THc5elVjVmU5c1E4elYyWnc9PSIsInZhbHVlIjoicmJPcE1TeVpBaEw0MDJ1QjNGWjExdz09IiwibWFjIjoiZmI3ZmVjOWZhYWQzODU2MDQzNWY5ZWUxMzQ5ZmI0ODJhNGQ2ZjRlMTQxOTM4NzYyNmQwMWM1NTI0MTBkNzc1ZSIsInRhZyI6IiJ9\",\n           \"updatedAt\": \"2024-03-07 03:00:33\",\n           \"updatedBy\": \"eyJpdiI6IkdOdzFoWk1yaWJHVGVUNDNhdGlmQ0E9PSIsInZhbHVlIjoiOVBUelNURTNFanpESWR5YkhzRHZEQT09IiwibWFjIjoiNzYxOWUwMzE5M2YwOGZhNTQ2Y2Q0ZjYzOWM0MWVlMmI5ZDdlNWYwOWY1NTUyZmQzZDY4ODBiMDdiYjIzNzM5ZSIsInRhZyI6IiJ9\"\n           \"updatedByUser\": {\n              \"id\": \"eyJpdiI6ImwyRE5SZHFENThmYzROMEpNVmpIdXc9PSIsInZhbHVlIjoiaGpmSUMwUjdlR1doU1JLbTZMczcvZz09IiwibWFjIjoiNmZlODUwZDVhYjg1NmNkOTA1ODhlNTZlYWI4YmZlZTUzY2YzZjVkZDAwM2IyOWFhY2Y3MjZhODRmOTM1ZGM4ZiIsInRhZyI6IiJ9\",\n              \"roleId\": \"eyJpdiI6Iis2VTc1MmJxaHcxSXQycXAycWR5cVE9PSIsInZhbHVlIjoicGJpYVVlN2djNVlCZEh5TFExMklIUT09IiwibWFjIjoiOWZkMWQyMWU3YjI3NTc3YWJjYmViMDZhYzRhYWUwZTZkYzczZWRmZTM1N2Y2YjMwYjVkMWY3NGM2MTg5MjcxZCIsInRhZyI6IiJ9\",\n              \"access\": null,\n              \"firstName\": \"Superman\",\n              \"lastName\": \"Brother\",\n              \"name\": \"Dagrik Corp.\",\n              \"username\": \"admin\",\n              \"type\": \"admin\",\n              \"dialCode\": \"+60\",\n              \"phone\": \"123456780\",\n              \"email\": \"sarveen@safetruck.co\",\n              \"emailVerifiedAt\": \"2023-01-03T11:21:53.243000Z\",\n              \"isMerchantFleet\": null,\n              \"isActive\": \"1\",\n              \"isKycVerify\": \"1\",\n              \"mainUserId\": \"eyJpdiI6InJZSUNzdk5BNTVIcXVBMzYxL0dqNVE9PSIsInZhbHVlIjoiYzR3K0M0SGdmV3pnWUVwMEdEWnJhQT09IiwibWFjIjoiMDM3YmIzZjAzZGZmNTlhMWM3ODAxY2E1NGIxOWY1NDU5MzgyODdmODIzYjQ4NmY1MTRkYmEwMTlmY2Q0NGZhNCIsInRhZyI6IiJ9\",\n              \"defaultBillingEntityId\": \"8\",\n              \"rememberToken\": null,\n              \"passwordUpdatedAt\": null,\n              \"createdAt\": \"2022-06-01T13:51:32.037000Z\",\n              \"createdBy\": null,\n              \"updatedAt\": \"2023-06-07T11:45:56.783000Z\",\n              \"updatedBy\": \"1\",\n              \"isDelete\": \"0\",\n              \"deletedAt\": null,\n              \"deletedBy\": null,\n              \"setting\": null\n          }\n       },\n       \"contacts\": [\n           {\n               \"id\": \"eyJpdiI6Ik5yZHhtak1JZFZtL1gzTFdHYjYzQWc9PSIsInZhbHVlIjoiclRaQkFFZzhmK25ydDRZRVRBenpaQT09IiwibWFjIjoiYmUxNjRlN2Q2N2UxYjBjNjVkMGI2ZWQyNmY5MzEyYjUwOGY1MDIwNTVjZWFjMDA5ZjY2YmRlN2JlOTQ5NWE1ZCIsInRhZyI6IiJ9\",\n               \"fleetId\": \"23\",\n               \"contactName\": \"Ronnie Tan\",\n               \"telNo\": \"3332222\"\n           }\n       ]\n   }\n}"
        404:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Object Not Found'
                  data: {  }
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Object Not Found'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties: {  }
      tags:
        - Fleet
      security: []
    put:
      summary: 'Update Fleet Group'
      operationId: updateFleetGroup
      description: 'update fleet group with fleet group settings and its contact list'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Created Successfully'
                  data:
                    id: eyJpdiI6IkpuUWY2N2l6M252aEcxSXVUWWpOaHc9PSIsInZhbHVlIjoicXQ5ME1OWkx0MUNNWVFIVWxNUHZkQT09IiwibWFjIjoiNzgzMDJkZTY5OGM4ZGU0MGIyZDRjMzEwN2I5YjY5ODkxOWRjZGVjYWFmOTZiYjU4YzU4ZTIyMmVmZDViNjBjOCIsInRhZyI6IiJ9
                    name: test
                    createdAt: '2024-03-06 09:47:31'
                    createdBy: eyJpdiI6IlExS1FWVTFneFN5UDdod3J6ZFdiR3c9PSIsInZhbHVlIjoiNHh2alZnU2kxZ1FiN2NXeHZ1aWZOQT09IiwibWFjIjoiNjRhMTAzMTE1ZTdlMDUzYTgwY2QzNjE2ZmRkNTBmOTI0MTdkY2ZmM2E4OTc3ZDczNTI3NTdhOWY2OGZmYWM0MSIsInRhZyI6IiJ9
                    updatedAt: '2024-03-06 09:47:31'
                    updatedBy: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                    isDelete: null
                    deletedAt: null
                    deletedBy: eyJpdiI6IlVaSDNzSUViK2RRYmpKN1JPSnR6OWc9PSIsInZhbHVlIjoiL1JNdmYxNmNoNG1UdURYbno0SmVYQT09IiwibWFjIjoiNTdmOTE3NTEyYTA5YWM0NTc0YjMwNGU0NjlmMTExNDVmYjg4MWNjMzljNDdlNGNmYmJkNWQ1ODAzMWM2MTZhZSIsInRhZyI6IiJ9
                    setting:
                      fleetId: eyJpdiI6Imo3Qzg2NlhWRmQrK3R3K3d1YWRlMkE9PSIsInZhbHVlIjoiQTdLbzZvaGFEU0k0Z2lMczE3aXl4Zz09IiwibWFjIjoiY2MwOWEwOGJhYjIyMjk4NTNlY2ZjODdjM2U5ZjMzZjIxYWJmMjllNjFmOGZiMzVlMjg3N2ZiY2EyYzQ5YThmMiIsInRhZyI6IiJ9
                      lowFuelPercentage: '2'
                      refuelCriticalEnable: '1'
                      idlingMinute: null
                      erpContactName: null
                      erpTelNo: null
                      isDelete: null
                      deletedAt: null
                      deletedBy: eyJpdiI6InVuU3hObW83TUtMYVVKQkp5YlNMY0E9PSIsInZhbHVlIjoiM0FQTWZjY29EdFNRSUtKMld2WHlXZz09IiwibWFjIjoiZDZjYzhkZWJjMzhiNzUyYTg4MTA2ODQwYTJjZGRjMjI3YjNjNjE3Mjk0ZGYxMTU5YzdhYWIxMWFhNDNiODQ1MSIsInRhZyI6IiJ9
                      createdAt: '2024-03-06 09:47:31'
                      createdBy: eyJpdiI6Iko2MCtDenc2Tzh1b25ZQXVxWE5zemc9PSIsInZhbHVlIjoiNDhDMnlUek41QXBDaGhyL0pNUm9Hdz09IiwibWFjIjoiMDczNzc2NjYyNDRkZDU3ZGFkNjYyYWMzNjJhZmI2MjZhMjMyNmI5MTk5Y2UwZjJmOTJmMjYyYWI2Yjg4ZThiYSIsInRhZyI6IiJ9
                      updatedAt: '2024-03-06 09:47:31'
                      updatedBy: eyJpdiI6IktRRkV3ZGdRalJZRkR6ck5hSDh4aXc9PSIsInZhbHVlIjoiZTdiaHU4VEZSQkxzVmZIQ0hDR0tMZz09IiwibWFjIjoiYmQ3MmVmOGVjMmM1NmRmMThhYjAyZjUzNzgwZGVlNzdjMTEyY2Y3ZjFkZDY0Mzk4NGQ3NzM4OGNlMzZhMzg5NCIsInRhZyI6IiJ9
                    contacts:
                      -
                        id: eyJpdiI6InliYVpkWHV2WHl6U1YweVpsd0c0dEE9PSIsInZhbHVlIjoiY2w1UTBaRWJWeTJkdHlqdFZMSE5vdz09IiwibWFjIjoiM2E2M2YwM2FiYjg4MTVmYzY2OGVmOWEyOGRhNDY2ZWUyYzBlODA1MDc4ZjhkZmVlZDU0MmRiZjg3MTgzNTZlMCIsInRhZyI6IiJ9
                        fleetId: 22
                        contactName: '12322222'
                        telNo: '3332222'
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Created Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6IkpuUWY2N2l6M252aEcxSXVUWWpOaHc9PSIsInZhbHVlIjoicXQ5ME1OWkx0MUNNWVFIVWxNUHZkQT09IiwibWFjIjoiNzgzMDJkZTY5OGM4ZGU0MGIyZDRjMzEwN2I5YjY5ODkxOWRjZGVjYWFmOTZiYjU4YzU4ZTIyMmVmZDViNjBjOCIsInRhZyI6IiJ9
                      name:
                        type: string
                        example: test
                      createdAt:
                        type: string
                        example: '2024-03-06 09:47:31'
                      createdBy:
                        type: string
                        example: eyJpdiI6IlExS1FWVTFneFN5UDdod3J6ZFdiR3c9PSIsInZhbHVlIjoiNHh2alZnU2kxZ1FiN2NXeHZ1aWZOQT09IiwibWFjIjoiNjRhMTAzMTE1ZTdlMDUzYTgwY2QzNjE2ZmRkNTBmOTI0MTdkY2ZmM2E4OTc3ZDczNTI3NTdhOWY2OGZmYWM0MSIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-03-06 09:47:31'
                      updatedBy:
                        type: string
                        example: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                      isDelete:
                        type: string
                        example: null
                      deletedAt:
                        type: string
                        example: null
                      deletedBy:
                        type: string
                        example: eyJpdiI6IlVaSDNzSUViK2RRYmpKN1JPSnR6OWc9PSIsInZhbHVlIjoiL1JNdmYxNmNoNG1UdURYbno0SmVYQT09IiwibWFjIjoiNTdmOTE3NTEyYTA5YWM0NTc0YjMwNGU0NjlmMTExNDVmYjg4MWNjMzljNDdlNGNmYmJkNWQ1ODAzMWM2MTZhZSIsInRhZyI6IiJ9
                      setting:
                        type: object
                        properties:
                          fleetId:
                            type: string
                            example: eyJpdiI6Imo3Qzg2NlhWRmQrK3R3K3d1YWRlMkE9PSIsInZhbHVlIjoiQTdLbzZvaGFEU0k0Z2lMczE3aXl4Zz09IiwibWFjIjoiY2MwOWEwOGJhYjIyMjk4NTNlY2ZjODdjM2U5ZjMzZjIxYWJmMjllNjFmOGZiMzVlMjg3N2ZiY2EyYzQ5YThmMiIsInRhZyI6IiJ9
                          lowFuelPercentage:
                            type: string
                            example: '2'
                          refuelCriticalEnable:
                            type: string
                            example: '1'
                          idlingMinute:
                            type: string
                            example: null
                          erpContactName:
                            type: string
                            example: null
                          erpTelNo:
                            type: string
                            example: null
                          isDelete:
                            type: string
                            example: null
                          deletedAt:
                            type: string
                            example: null
                          deletedBy:
                            type: string
                            example: eyJpdiI6InVuU3hObW83TUtMYVVKQkp5YlNMY0E9PSIsInZhbHVlIjoiM0FQTWZjY29EdFNRSUtKMld2WHlXZz09IiwibWFjIjoiZDZjYzhkZWJjMzhiNzUyYTg4MTA2ODQwYTJjZGRjMjI3YjNjNjE3Mjk0ZGYxMTU5YzdhYWIxMWFhNDNiODQ1MSIsInRhZyI6IiJ9
                          createdAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          createdBy:
                            type: string
                            example: eyJpdiI6Iko2MCtDenc2Tzh1b25ZQXVxWE5zemc9PSIsInZhbHVlIjoiNDhDMnlUek41QXBDaGhyL0pNUm9Hdz09IiwibWFjIjoiMDczNzc2NjYyNDRkZDU3ZGFkNjYyYWMzNjJhZmI2MjZhMjMyNmI5MTk5Y2UwZjJmOTJmMjYyYWI2Yjg4ZThiYSIsInRhZyI6IiJ9
                          updatedAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          updatedBy:
                            type: string
                            example: eyJpdiI6IktRRkV3ZGdRalJZRkR6ck5hSDh4aXc9PSIsInZhbHVlIjoiZTdiaHU4VEZSQkxzVmZIQ0hDR0tMZz09IiwibWFjIjoiYmQ3MmVmOGVjMmM1NmRmMThhYjAyZjUzNzgwZGVlNzdjMTEyY2Y3ZjFkZDY0Mzk4NGQ3NzM4OGNlMzZhMzg5NCIsInRhZyI6IiJ9
                      contacts:
                        type: array
                        example:
                          -
                            id: eyJpdiI6InliYVpkWHV2WHl6U1YweVpsd0c0dEE9PSIsInZhbHVlIjoiY2w1UTBaRWJWeTJkdHlqdFZMSE5vdz09IiwibWFjIjoiM2E2M2YwM2FiYjg4MTVmYzY2OGVmOWEyOGRhNDY2ZWUyYzBlODA1MDc4ZjhkZmVlZDU0MmRiZjg3MTgzNTZlMCIsInRhZyI6IiJ9
                            fleetId: 22
                            contactName: '12322222'
                            telNo: '3332222'
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: eyJpdiI6InliYVpkWHV2WHl6U1YweVpsd0c0dEE9PSIsInZhbHVlIjoiY2w1UTBaRWJWeTJkdHlqdFZMSE5vdz09IiwibWFjIjoiM2E2M2YwM2FiYjg4MTVmYzY2OGVmOWEyOGRhNDY2ZWUyYzBlODA1MDc4ZjhkZmVlZDU0MmRiZjg3MTgzNTZlMCIsInRhZyI6IiJ9
                            fleetId:
                              type: integer
                              example: 22
                            contactName:
                              type: string
                              example: '12322222'
                            telNo:
                              type: string
                              example: '3332222'
        400:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Bad Request'
                  data:
                    contact_name:
                      - 'The contact name field is required.'
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Bad Request'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      contact_name:
                        type: array
                        example:
                          - 'The contact name field is required.'
                        items:
                          type: string
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'Name of the fleet group'
                  example: quod
                'setting[fleetID]':
                  type: string
                  description: 'The encrypted id of the fleet'
                  example: modi
                'setting[lowFuelPercentage]':
                  type: number
                  description: 'fuel level percentage of low fuel alert configuration'
                  example: 2477.70313
                'setting[refuelCriticalEnable]':
                  type: integer
                  description: 'Enable of refuel critical alert notification [0=disabled; 1=enabled]'
                  example: 1
                'setting[idlingMinute]':
                  type: integer
                  description: 'Minute Duration of the idling alert configuration'
                  example: 5
                'setting[erpContactName]':
                  type: string
                  description: 'Emergency Response Plan''s Contact Name'
                  example: architecto
                'setting[erpTelNo]':
                  type: string
                  description: 'Emergency Response Plan''s Contact Telephone Number'
                  example: facere
                'contacts[][contactName]':
                  type: string
                  description: 'Name of the contact of the fleet group. Required when one of contact are being filled.'
                  example: culpa
                'contacts[][telNo]':
                  type: string
                  description: 'Telephone number of the contact of the fleet group'
                  example: et
              required:
                - 'setting[fleetID]'
                - 'setting[lowFuelPercentage]'
                - 'setting[refuelCriticalEnable]'
                - 'setting[idlingMinute]'
      security: []
    delete:
      summary: 'Remove Fleet Group'
      operationId: removeFleetGroup
      description: 'Remove fleet group and its fleet group settings'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Delete Successfully'
                  data:
                    id: eyJpdiI6IkpuUWY2N2l6M252aEcxSXVUWWpOaHc9PSIsInZhbHVlIjoicXQ5ME1OWkx0MUNNWVFIVWxNUHZkQT09IiwibWFjIjoiNzgzMDJkZTY5OGM4ZGU0MGIyZDRjMzEwN2I5YjY5ODkxOWRjZGVjYWFmOTZiYjU4YzU4ZTIyMmVmZDViNjBjOCIsInRhZyI6IiJ9
                    name: test
                    createdAt: '2024-03-06 09:47:31'
                    createdBy: eyJpdiI6IlExS1FWVTFneFN5UDdod3J6ZFdiR3c9PSIsInZhbHVlIjoiNHh2alZnU2kxZ1FiN2NXeHZ1aWZOQT09IiwibWFjIjoiNjRhMTAzMTE1ZTdlMDUzYTgwY2QzNjE2ZmRkNTBmOTI0MTdkY2ZmM2E4OTc3ZDczNTI3NTdhOWY2OGZmYWM0MSIsInRhZyI6IiJ9
                    updatedAt: '2024-03-06 09:47:31'
                    updatedBy: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                    isDelete: 1
                    deletedAt: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                    deletedBy: eyJpdiI6IlVaSDNzSUViK2RRYmpKN1JPSnR6OWc9PSIsInZhbHVlIjoiL1JNdmYxNmNoNG1UdURYbno0SmVYQT09IiwibWFjIjoiNTdmOTE3NTEyYTA5YWM0NTc0YjMwNGU0NjlmMTExNDVmYjg4MWNjMzljNDdlNGNmYmJkNWQ1ODAzMWM2MTZhZSIsInRhZyI6IiJ9
                    setting:
                      fleetId: eyJpdiI6Imo3Qzg2NlhWRmQrK3R3K3d1YWRlMkE9PSIsInZhbHVlIjoiQTdLbzZvaGFEU0k0Z2lMczE3aXl4Zz09IiwibWFjIjoiY2MwOWEwOGJhYjIyMjk4NTNlY2ZjODdjM2U5ZjMzZjIxYWJmMjllNjFmOGZiMzVlMjg3N2ZiY2EyYzQ5YThmMiIsInRhZyI6IiJ9
                      lowFuelPercentage: '2'
                      refuelCriticalEnable: '1'
                      idlingMinute: null
                      erpContactName: null
                      erpTelNo: null
                      isDelete: 1
                      deletedAt: '2024-03-06 09:47:31'
                      deletedBy: eyJpdiI6InVuU3hObW83TUtMYVVKQkp5YlNMY0E9PSIsInZhbHVlIjoiM0FQTWZjY29EdFNRSUtKMld2WHlXZz09IiwibWFjIjoiZDZjYzhkZWJjMzhiNzUyYTg4MTA2ODQwYTJjZGRjMjI3YjNjNjE3Mjk0ZGYxMTU5YzdhYWIxMWFhNDNiODQ1MSIsInRhZyI6IiJ9
                      createdAt: '2024-03-06 09:47:31'
                      createdBy: eyJpdiI6Iko2MCtDenc2Tzh1b25ZQXVxWE5zemc9PSIsInZhbHVlIjoiNDhDMnlUek41QXBDaGhyL0pNUm9Hdz09IiwibWFjIjoiMDczNzc2NjYyNDRkZDU3ZGFkNjYyYWMzNjJhZmI2MjZhMjMyNmI5MTk5Y2UwZjJmOTJmMjYyYWI2Yjg4ZThiYSIsInRhZyI6IiJ9
                      updatedAt: '2024-03-06 09:47:31'
                      updatedBy: eyJpdiI6IktRRkV3ZGdRalJZRkR6ck5hSDh4aXc9PSIsInZhbHVlIjoiZTdiaHU4VEZSQkxzVmZIQ0hDR0tMZz09IiwibWFjIjoiYmQ3MmVmOGVjMmM1NmRmMThhYjAyZjUzNzgwZGVlNzdjMTEyY2Y3ZjFkZDY0Mzk4NGQ3NzM4OGNlMzZhMzg5NCIsInRhZyI6IiJ9
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Delete Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6IkpuUWY2N2l6M252aEcxSXVUWWpOaHc9PSIsInZhbHVlIjoicXQ5ME1OWkx0MUNNWVFIVWxNUHZkQT09IiwibWFjIjoiNzgzMDJkZTY5OGM4ZGU0MGIyZDRjMzEwN2I5YjY5ODkxOWRjZGVjYWFmOTZiYjU4YzU4ZTIyMmVmZDViNjBjOCIsInRhZyI6IiJ9
                      name:
                        type: string
                        example: test
                      createdAt:
                        type: string
                        example: '2024-03-06 09:47:31'
                      createdBy:
                        type: string
                        example: eyJpdiI6IlExS1FWVTFneFN5UDdod3J6ZFdiR3c9PSIsInZhbHVlIjoiNHh2alZnU2kxZ1FiN2NXeHZ1aWZOQT09IiwibWFjIjoiNjRhMTAzMTE1ZTdlMDUzYTgwY2QzNjE2ZmRkNTBmOTI0MTdkY2ZmM2E4OTc3ZDczNTI3NTdhOWY2OGZmYWM0MSIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-03-06 09:47:31'
                      updatedBy:
                        type: string
                        example: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                      isDelete:
                        type: integer
                        example: 1
                      deletedAt:
                        type: string
                        example: eyJpdiI6Imt4a25VTndqMWF1V2FRb25IRVBHb2c9PSIsInZhbHVlIjoiT2c0WlN4SGZ2Z29uOUVDYnpDQXVKZz09IiwibWFjIjoiNTA2Yjg3NGMzMGE0NjgwNTliMmE2ZGViYmYwMzk0NmM0NTJiZmJjMmQ0MTgyNTM5NzNiZTcyYTFhNTA3NDk4MCIsInRhZyI6IiJ9
                      deletedBy:
                        type: string
                        example: eyJpdiI6IlVaSDNzSUViK2RRYmpKN1JPSnR6OWc9PSIsInZhbHVlIjoiL1JNdmYxNmNoNG1UdURYbno0SmVYQT09IiwibWFjIjoiNTdmOTE3NTEyYTA5YWM0NTc0YjMwNGU0NjlmMTExNDVmYjg4MWNjMzljNDdlNGNmYmJkNWQ1ODAzMWM2MTZhZSIsInRhZyI6IiJ9
                      setting:
                        type: object
                        properties:
                          fleetId:
                            type: string
                            example: eyJpdiI6Imo3Qzg2NlhWRmQrK3R3K3d1YWRlMkE9PSIsInZhbHVlIjoiQTdLbzZvaGFEU0k0Z2lMczE3aXl4Zz09IiwibWFjIjoiY2MwOWEwOGJhYjIyMjk4NTNlY2ZjODdjM2U5ZjMzZjIxYWJmMjllNjFmOGZiMzVlMjg3N2ZiY2EyYzQ5YThmMiIsInRhZyI6IiJ9
                          lowFuelPercentage:
                            type: string
                            example: '2'
                          refuelCriticalEnable:
                            type: string
                            example: '1'
                          idlingMinute:
                            type: string
                            example: null
                          erpContactName:
                            type: string
                            example: null
                          erpTelNo:
                            type: string
                            example: null
                          isDelete:
                            type: integer
                            example: 1
                          deletedAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          deletedBy:
                            type: string
                            example: eyJpdiI6InVuU3hObW83TUtMYVVKQkp5YlNMY0E9PSIsInZhbHVlIjoiM0FQTWZjY29EdFNRSUtKMld2WHlXZz09IiwibWFjIjoiZDZjYzhkZWJjMzhiNzUyYTg4MTA2ODQwYTJjZGRjMjI3YjNjNjE3Mjk0ZGYxMTU5YzdhYWIxMWFhNDNiODQ1MSIsInRhZyI6IiJ9
                          createdAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          createdBy:
                            type: string
                            example: eyJpdiI6Iko2MCtDenc2Tzh1b25ZQXVxWE5zemc9PSIsInZhbHVlIjoiNDhDMnlUek41QXBDaGhyL0pNUm9Hdz09IiwibWFjIjoiMDczNzc2NjYyNDRkZDU3ZGFkNjYyYWMzNjJhZmI2MjZhMjMyNmI5MTk5Y2UwZjJmOTJmMjYyYWI2Yjg4ZThiYSIsInRhZyI6IiJ9
                          updatedAt:
                            type: string
                            example: '2024-03-06 09:47:31'
                          updatedBy:
                            type: string
                            example: eyJpdiI6IktRRkV3ZGdRalJZRkR6ck5hSDh4aXc9PSIsInZhbHVlIjoiZTdiaHU4VEZSQkxzVmZIQ0hDR0tMZz09IiwibWFjIjoiYmQ3MmVmOGVjMmM1NmRmMThhYjAyZjUzNzgwZGVlNzdjMTEyY2Y3ZjFkZDY0Mzk4NGQ3NzM4OGNlMzZhMzg5NCIsInRhZyI6IiJ9
        400:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Bad Request'
                  data:
                    contact_name:
                      - 'The contact name field is required.'
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Bad Request'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      contact_name:
                        type: array
                        example:
                          - 'The contact name field is required.'
                        items:
                          type: string
      tags:
        - Fleet
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The encrypted ID of the fleet.'
        example: illum
        required: true
        schema:
          type: string
  /api/fuelPriceModel:
    get:
      summary: 'Show my listing of Fuel Price Model'
      operationId: showMyListingOfFuelPriceModel
      description: 'Show list of fuel price model and its creator information from logged in'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Obtain Successfully'
                  data:
                    -
                      id: eyJpdiI6IjVITHl3Um1JOU15ZGhieC91VXYwQ2c9PSIsInZhbHVlIjoiWExXejFwdHVRSWFBVGJGNjY2Mm14QT09IiwibWFjIjoiMTdmY2VmYjc4NmNkMWEwZmM5NDkwODNjYjdjNGI2MzM0NDhhN2M4ZjVmMWMxZGQwMTA1ODQ3ZGYwYzkzZDUwZSIsInRhZyI6IiJ9
                      code: RON95
                      description: 'RON 95'
                      defaultPrice: '3.15      '
                      isDefault: '1'
                      isPredefine: '1'
                      isActive: '0'
                      isDelete: null
                      deletedAt: null
                      deletedBy: eyJpdiI6IkhMaTFLQUZVWWc0QUlveFR2bXgwb3c9PSIsInZhbHVlIjoiWjJ4RmFpWTJEcnF4RXZTcE1CK1p6QT09IiwibWFjIjoiMTZjY2U5N2JiOGFlZThlNWZiYWZlY2U1MDlmMzJjZjQzYmRhOGZlM2JkYjZlMWFlY2UyYjQyYjVhOWViNWJlNyIsInRhZyI6IiJ9
                      createdAt: '2024-05-06 11:07:31'
                      createdBy: eyJpdiI6IktzY1FldU8vaHRvaTZvM05TaXNLanc9PSIsInZhbHVlIjoiM0pCSHh0ZmsvUVVQNUJMRE1Fa3pIQT09IiwibWFjIjoiZWM5NDk5YmY3MjRmMTYzZDA2MjVhMTM3YzI2MGM0MzNlNTVlNzNlMjAxYWQzZDk2NjdiYThhZDkzNzE3MDExZCIsInRhZyI6IiJ9
                      updatedAt: '2024-05-06 11:07:31'
                      updatedBy: eyJpdiI6IndKMklsd0tsTTRGL1ErWnBBSWdSbnc9PSIsInZhbHVlIjoiWmpCNENhN0cxSmdweFdhT0ZMc1YyUT09IiwibWFjIjoiZGJjYmYzNjcyOTcwMWZkYmRmN2FiMGNkZGQwYzliYzc3ZWJhZTQ0ZmQ4M2Y1N2M5OTIyYmNiZmJkZGRmMDdlYSIsInRhZyI6IiJ9
                      createdByUser:
                        id: eyJpdiI6Ii9MZ3pJbldwUkIzU1FkVGxYM2t1cUE9PSIsInZhbHVlIjoiL2xEbldIYVVJOE82Um9PQkR6dlh2UT09IiwibWFjIjoiMjNhOTM3YTgzNTEzOTRjMGU4MWY4ZTM2YWZkYzZjZjNiMDhmNzg5MjhiZTU3MzlhYTQ0NzQxMTE3MzM2NjE3ZCIsInRhZyI6IiJ9
                        roleId: eyJpdiI6IjhhRFZwRFJhSnJNNnFrc1NjVmRaT2c9PSIsInZhbHVlIjoiVE1uRWY5dkNwWDBUL1Z0MldkQTFqdz09IiwibWFjIjoiNjdjOTJhNDhjOTc0ZGQzYmY5Mzc5ZWNjZjJmNzQwNGM0OGZkOWI2OGFiYzY3YzViNjI4OGQ0NTUzYTBhNDM2YSIsInRhZyI6IiJ9
                        access: null
                        firstName: Superman
                        lastName: Brother
                        name: 'Dagrik Corp.'
                        username: admin
                        type: admin
                        dialCode: '+60'
                        phone: '123456780'
                        email: sarveen@safetruck.co
                        emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                        isMerchantFleet: null
                        isActive: '1'
                        isKycVerify: '1'
                        mainUserId: eyJpdiI6IlNZdnhCTENYNHEwakQ0R0k5UkttN3c9PSIsInZhbHVlIjoiWVB0VXhPRHNSd1Z6ZHU0aWUxUVJvdz09IiwibWFjIjoiZjU1NGI2NDRlNTViMjJmYTk5ODY1M2MxMjA2YzA3YzFjYThlZTZiN2VhMTU0NjliZDBiZWRjZWYyZWMwNDFhOCIsInRhZyI6IiJ9
                        defaultBillingEntityId: '8'
                        rememberToken: null
                        passwordUpdatedAt: null
                        createdAt: '2022-06-01T13:51:32.037000Z'
                        createdBy: null
                        updatedAt: '2023-06-07T11:45:56.783000Z'
                        updatedBy: '1'
                        isDelete: '0'
                        deletedAt: null
                        deletedBy: null
                        setting: null
                    -
                      id: eyJpdiI6InA2SDl4TENhWWNlS3FNNlBjT09ONEE9PSIsInZhbHVlIjoibnZzaDFnakZKcDVSWVZqZDFsTmVSUT09IiwibWFjIjoiYTAwMmIwNjY0MDhkZTE1NjdjOGE1M2ViMTcwMmFkOWZmNGNmMWMyMTE5NGYxYjJhOGFjMDNjY2YxZmUzNGQ5OSIsInRhZyI6IiJ9
                      code: diesel
                      description: 'Diesel Fuel'
                      defaultPrice: '2.15      '
                      isDefault: '1'
                      isPredefine: '1'
                      isActive: '0'
                      isDelete: null
                      deletedAt: null
                      deletedBy: eyJpdiI6ImpUY3BURldlVi9oTkZ4MG5GK2VrbHc9PSIsInZhbHVlIjoiMjJxdUxJWStNS21JakQxVnRhcFNDUT09IiwibWFjIjoiNmJmZWY3MmNhYmFmMGM3NDA4YzZjODEyZDdhOTI2YzM3MGQ3NGU1ZWM1NTFiYmU2ZGVmOTJhZmVhYWIyNGVhZCIsInRhZyI6IiJ9
                      createdAt: '2024-05-06 11:05:17'
                      createdBy: eyJpdiI6IjQwNjZrZnkvVm1zeldSVXdJTUNQSnc9PSIsInZhbHVlIjoiL1NYMkEvdElNS3dPRFpDMVFnMDl6dz09IiwibWFjIjoiNDRmNTkyZWFjOTVhYWQ2N2Y0ZDBhYzBiNDQ2ZmYwNjk5NGJiYmZjYjRjOGNkMWM0OTg2YWY0NzlmMzI1NGE0NyIsInRhZyI6IiJ9
                      updatedAt: '2024-05-06 11:05:17'
                      updatedBy: eyJpdiI6InpiWkdIcS9tc2tmbEJqcURnNU0rSVE9PSIsInZhbHVlIjoiajNmTkNnbkVJVlZpVU1aZE16RXNSdz09IiwibWFjIjoiZDA5MGY5M2JkMzdhOWNkZjY2OGVlODZlNWQzZTNmZmYxODQ0YTZmOTU0YzIxYjg0MDU5NGE1YTdkZGVlZTlmMCIsInRhZyI6IiJ9
                      createdByUser:
                        id: eyJpdiI6IitXZTN1a3kzVHYyU1MzdUhyZm95RlE9PSIsInZhbHVlIjoiYXVQcGZpZ1h0ZkgwTnhLMi85elQwQT09IiwibWFjIjoiMjdjYmY3MTEzZTFjZWE2YWIxMDVmMjVjNTA1MWU3ZGY1YjRhMThjOTM3YWQwNGNhYzFjNzU3MjgyMzQ5YjcyOSIsInRhZyI6IiJ9
                        roleId: eyJpdiI6IkhaRHJGTjdUaW1pbGt1emh5UXQzL3c9PSIsInZhbHVlIjoiWEhwOGtDSG5oUlVVSUdiaXBIdS9udz09IiwibWFjIjoiMWIzMjcxMjE5YWM2MjYyNTc3YzhlOWViMjgyM2I0NDYyZTUwZDAxY2Q2MWI1MzcyYTM3MWYyNjQwNmI4NDBhNCIsInRhZyI6IiJ9
                        access: null
                        firstName: Superman
                        lastName: Brother
                        name: 'Dagrik Corp.'
                        username: admin
                        type: admin
                        dialCode: '+60'
                        phone: '123456780'
                        email: sarveen@safetruck.co
                        emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                        isMerchantFleet: null
                        isActive: '1'
                        isKycVerify: '1'
                        mainUserId: eyJpdiI6ImRsUStvK2xySjNIb3I1bVNJb04zRVE9PSIsInZhbHVlIjoibXZUSURBM2s1Tm1XOE5BaFM2cXhxdz09IiwibWFjIjoiODk0NTNlMmM3MWYwZDcwMGVjZjU1N2M2MDRjYjJiYzBjMTI3YmFiZmRiZDc4NjA3OThiNGI4YWNmYjM5YTFlYSIsInRhZyI6IiJ9
                        defaultBillingEntityId: '8'
                        rememberToken: null
                        passwordUpdatedAt: null
                        createdAt: '2022-06-01T13:51:32.037000Z'
                        createdBy: null
                        updatedAt: '2023-06-07T11:45:56.783000Z'
                        updatedBy: '1'
                        isDelete: '0'
                        deletedAt: null
                        deletedBy: null
                        setting: null
                    -
                      id: eyJpdiI6IlN3dFlORStxNzkrdUpRejZwTENQNkE9PSIsInZhbHVlIjoiUXZxcW93RngzVTZPdmFaNU44L0c3Zz09IiwibWFjIjoiMmJkYzIxNjA3NDgxOGIwZTk0YWVhYTNlYTcyNWNkMzQ3NWFkMWU2YzNhODlmZTk2NGJjMjgwMmM4ZjM1ZDM3ZCIsInRhZyI6IiJ9
                      code: diesel
                      description: 'Diesel Fuel'
                      defaultPrice: '2.15      '
                      isDefault: '1'
                      isPredefine: '1'
                      isActive: '0'
                      isDelete: null
                      deletedAt: null
                      deletedBy: eyJpdiI6Ik1ENy9zemx4OUdsL1E5THV3MFVYZlE9PSIsInZhbHVlIjoiSkJkR0c3Sk1QeFdmNmN0YXpFZnJ6QT09IiwibWFjIjoiOTBmZmZkZGYzYzk1MTcyODU4YTMzNjljNzhjN2MxNGIwMTE0N2U4NDEwMDE3YTNmZWY3NDFiZmI0OTg4MGNlNyIsInRhZyI6IiJ9
                      createdAt: '2024-05-06 11:06:02'
                      createdBy: eyJpdiI6IkNVc0ViVVBOaXRuS0p4NXl2TGs2V0E9PSIsInZhbHVlIjoiOENtVnhMV2FlY3BxVjY1cVplQVV5UT09IiwibWFjIjoiOTE1NzA2OGU4MmUyMTVkNGUxMGM1OTEzNjU5NzIxMDdkZmVjNDY1YTUwNGFkZTNjZDIxY2Y0NjE1NTI0OTYzNyIsInRhZyI6IiJ9
                      updatedAt: '2024-05-06 11:06:02'
                      updatedBy: eyJpdiI6IlhiSldHdG1FZWNGVm5CQXZaZGowM1E9PSIsInZhbHVlIjoiN0d3RURNbTUvSk1sdHByOXlGdlZiQT09IiwibWFjIjoiZDc3NzliNzFkNDIwNDg1MjIxZmVhNzYyNTFjYzA4NDUyMzdkOTY1OWZjNjBjZTQ0YTA4ZjFiNGM3MmE3NDQ0ZCIsInRhZyI6IiJ9
                      createdByUser:
                        id: eyJpdiI6ImxaMGRpc202MXJOZnFDZC9OaEtTb1E9PSIsInZhbHVlIjoiczUvTlRRR0Qwc2FBZFc4LytIYTQ4UT09IiwibWFjIjoiOGI1YTVjZDQ0ODYzZjNiOGE4NGE4ZmQ1OTRmZjY4MjA5MzAzZThkYzdmOWRhZWYwZjkwM2IyMjBiYTJkNTE5ZCIsInRhZyI6IiJ9
                        roleId: eyJpdiI6ImtEOGo5SWF2TURUb1l6bklRTGlpSFE9PSIsInZhbHVlIjoiajM4cEhTWCtCTXhDdXg4N0F0d1hyQT09IiwibWFjIjoiYjhjNDBhYzc5NDA5MTg1YzA1M2Y3ODhhNWVmMDcyMjUyYTM1MjlhYzBkODcyZDg0Yzg1MGRmN2IxOWE2YjY1ZSIsInRhZyI6IiJ9
                        access: null
                        firstName: Superman
                        lastName: Brother
                        name: 'Dagrik Corp.'
                        username: admin
                        type: admin
                        dialCode: '+60'
                        phone: '123456780'
                        email: sarveen@safetruck.co
                        emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                        isMerchantFleet: null
                        isActive: '1'
                        isKycVerify: '1'
                        mainUserId: eyJpdiI6IitIRnpUcE01RjRrQnhqc204Mk0zNnc9PSIsInZhbHVlIjoiUFlKUEFUcHRtUUV5bUFiKzdpYWZqdz09IiwibWFjIjoiNmFiZmM3YTFjY2RiMWUzNGEyYjM5YTZhMThjMDU3MjI1MzgyNmQwMjVlMTk1M2NhMmUzYzZkM2Y4NzJiNDBkOCIsInRhZyI6IiJ9
                        defaultBillingEntityId: '8'
                        rememberToken: null
                        passwordUpdatedAt: null
                        createdAt: '2022-06-01T13:51:32.037000Z'
                        createdBy: null
                        updatedAt: '2023-06-07T11:45:56.783000Z'
                        updatedBy: '1'
                        isDelete: '0'
                        deletedAt: null
                        deletedBy: null
                        setting: null
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Obtain Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: array
                    example:
                      -
                        id: eyJpdiI6IjVITHl3Um1JOU15ZGhieC91VXYwQ2c9PSIsInZhbHVlIjoiWExXejFwdHVRSWFBVGJGNjY2Mm14QT09IiwibWFjIjoiMTdmY2VmYjc4NmNkMWEwZmM5NDkwODNjYjdjNGI2MzM0NDhhN2M4ZjVmMWMxZGQwMTA1ODQ3ZGYwYzkzZDUwZSIsInRhZyI6IiJ9
                        code: RON95
                        description: 'RON 95'
                        defaultPrice: '3.15      '
                        isDefault: '1'
                        isPredefine: '1'
                        isActive: '0'
                        isDelete: null
                        deletedAt: null
                        deletedBy: eyJpdiI6IkhMaTFLQUZVWWc0QUlveFR2bXgwb3c9PSIsInZhbHVlIjoiWjJ4RmFpWTJEcnF4RXZTcE1CK1p6QT09IiwibWFjIjoiMTZjY2U5N2JiOGFlZThlNWZiYWZlY2U1MDlmMzJjZjQzYmRhOGZlM2JkYjZlMWFlY2UyYjQyYjVhOWViNWJlNyIsInRhZyI6IiJ9
                        createdAt: '2024-05-06 11:07:31'
                        createdBy: eyJpdiI6IktzY1FldU8vaHRvaTZvM05TaXNLanc9PSIsInZhbHVlIjoiM0pCSHh0ZmsvUVVQNUJMRE1Fa3pIQT09IiwibWFjIjoiZWM5NDk5YmY3MjRmMTYzZDA2MjVhMTM3YzI2MGM0MzNlNTVlNzNlMjAxYWQzZDk2NjdiYThhZDkzNzE3MDExZCIsInRhZyI6IiJ9
                        updatedAt: '2024-05-06 11:07:31'
                        updatedBy: eyJpdiI6IndKMklsd0tsTTRGL1ErWnBBSWdSbnc9PSIsInZhbHVlIjoiWmpCNENhN0cxSmdweFdhT0ZMc1YyUT09IiwibWFjIjoiZGJjYmYzNjcyOTcwMWZkYmRmN2FiMGNkZGQwYzliYzc3ZWJhZTQ0ZmQ4M2Y1N2M5OTIyYmNiZmJkZGRmMDdlYSIsInRhZyI6IiJ9
                        createdByUser:
                          id: eyJpdiI6Ii9MZ3pJbldwUkIzU1FkVGxYM2t1cUE9PSIsInZhbHVlIjoiL2xEbldIYVVJOE82Um9PQkR6dlh2UT09IiwibWFjIjoiMjNhOTM3YTgzNTEzOTRjMGU4MWY4ZTM2YWZkYzZjZjNiMDhmNzg5MjhiZTU3MzlhYTQ0NzQxMTE3MzM2NjE3ZCIsInRhZyI6IiJ9
                          roleId: eyJpdiI6IjhhRFZwRFJhSnJNNnFrc1NjVmRaT2c9PSIsInZhbHVlIjoiVE1uRWY5dkNwWDBUL1Z0MldkQTFqdz09IiwibWFjIjoiNjdjOTJhNDhjOTc0ZGQzYmY5Mzc5ZWNjZjJmNzQwNGM0OGZkOWI2OGFiYzY3YzViNjI4OGQ0NTUzYTBhNDM2YSIsInRhZyI6IiJ9
                          access: null
                          firstName: Superman
                          lastName: Brother
                          name: 'Dagrik Corp.'
                          username: admin
                          type: admin
                          dialCode: '+60'
                          phone: '123456780'
                          email: sarveen@safetruck.co
                          emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                          isMerchantFleet: null
                          isActive: '1'
                          isKycVerify: '1'
                          mainUserId: eyJpdiI6IlNZdnhCTENYNHEwakQ0R0k5UkttN3c9PSIsInZhbHVlIjoiWVB0VXhPRHNSd1Z6ZHU0aWUxUVJvdz09IiwibWFjIjoiZjU1NGI2NDRlNTViMjJmYTk5ODY1M2MxMjA2YzA3YzFjYThlZTZiN2VhMTU0NjliZDBiZWRjZWYyZWMwNDFhOCIsInRhZyI6IiJ9
                          defaultBillingEntityId: '8'
                          rememberToken: null
                          passwordUpdatedAt: null
                          createdAt: '2022-06-01T13:51:32.037000Z'
                          createdBy: null
                          updatedAt: '2023-06-07T11:45:56.783000Z'
                          updatedBy: '1'
                          isDelete: '0'
                          deletedAt: null
                          deletedBy: null
                          setting: null
                      -
                        id: eyJpdiI6InA2SDl4TENhWWNlS3FNNlBjT09ONEE9PSIsInZhbHVlIjoibnZzaDFnakZKcDVSWVZqZDFsTmVSUT09IiwibWFjIjoiYTAwMmIwNjY0MDhkZTE1NjdjOGE1M2ViMTcwMmFkOWZmNGNmMWMyMTE5NGYxYjJhOGFjMDNjY2YxZmUzNGQ5OSIsInRhZyI6IiJ9
                        code: diesel
                        description: 'Diesel Fuel'
                        defaultPrice: '2.15      '
                        isDefault: '1'
                        isPredefine: '1'
                        isActive: '0'
                        isDelete: null
                        deletedAt: null
                        deletedBy: eyJpdiI6ImpUY3BURldlVi9oTkZ4MG5GK2VrbHc9PSIsInZhbHVlIjoiMjJxdUxJWStNS21JakQxVnRhcFNDUT09IiwibWFjIjoiNmJmZWY3MmNhYmFmMGM3NDA4YzZjODEyZDdhOTI2YzM3MGQ3NGU1ZWM1NTFiYmU2ZGVmOTJhZmVhYWIyNGVhZCIsInRhZyI6IiJ9
                        createdAt: '2024-05-06 11:05:17'
                        createdBy: eyJpdiI6IjQwNjZrZnkvVm1zeldSVXdJTUNQSnc9PSIsInZhbHVlIjoiL1NYMkEvdElNS3dPRFpDMVFnMDl6dz09IiwibWFjIjoiNDRmNTkyZWFjOTVhYWQ2N2Y0ZDBhYzBiNDQ2ZmYwNjk5NGJiYmZjYjRjOGNkMWM0OTg2YWY0NzlmMzI1NGE0NyIsInRhZyI6IiJ9
                        updatedAt: '2024-05-06 11:05:17'
                        updatedBy: eyJpdiI6InpiWkdIcS9tc2tmbEJqcURnNU0rSVE9PSIsInZhbHVlIjoiajNmTkNnbkVJVlZpVU1aZE16RXNSdz09IiwibWFjIjoiZDA5MGY5M2JkMzdhOWNkZjY2OGVlODZlNWQzZTNmZmYxODQ0YTZmOTU0YzIxYjg0MDU5NGE1YTdkZGVlZTlmMCIsInRhZyI6IiJ9
                        createdByUser:
                          id: eyJpdiI6IitXZTN1a3kzVHYyU1MzdUhyZm95RlE9PSIsInZhbHVlIjoiYXVQcGZpZ1h0ZkgwTnhLMi85elQwQT09IiwibWFjIjoiMjdjYmY3MTEzZTFjZWE2YWIxMDVmMjVjNTA1MWU3ZGY1YjRhMThjOTM3YWQwNGNhYzFjNzU3MjgyMzQ5YjcyOSIsInRhZyI6IiJ9
                          roleId: eyJpdiI6IkhaRHJGTjdUaW1pbGt1emh5UXQzL3c9PSIsInZhbHVlIjoiWEhwOGtDSG5oUlVVSUdiaXBIdS9udz09IiwibWFjIjoiMWIzMjcxMjE5YWM2MjYyNTc3YzhlOWViMjgyM2I0NDYyZTUwZDAxY2Q2MWI1MzcyYTM3MWYyNjQwNmI4NDBhNCIsInRhZyI6IiJ9
                          access: null
                          firstName: Superman
                          lastName: Brother
                          name: 'Dagrik Corp.'
                          username: admin
                          type: admin
                          dialCode: '+60'
                          phone: '123456780'
                          email: sarveen@safetruck.co
                          emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                          isMerchantFleet: null
                          isActive: '1'
                          isKycVerify: '1'
                          mainUserId: eyJpdiI6ImRsUStvK2xySjNIb3I1bVNJb04zRVE9PSIsInZhbHVlIjoibXZUSURBM2s1Tm1XOE5BaFM2cXhxdz09IiwibWFjIjoiODk0NTNlMmM3MWYwZDcwMGVjZjU1N2M2MDRjYjJiYzBjMTI3YmFiZmRiZDc4NjA3OThiNGI4YWNmYjM5YTFlYSIsInRhZyI6IiJ9
                          defaultBillingEntityId: '8'
                          rememberToken: null
                          passwordUpdatedAt: null
                          createdAt: '2022-06-01T13:51:32.037000Z'
                          createdBy: null
                          updatedAt: '2023-06-07T11:45:56.783000Z'
                          updatedBy: '1'
                          isDelete: '0'
                          deletedAt: null
                          deletedBy: null
                          setting: null
                      -
                        id: eyJpdiI6IlN3dFlORStxNzkrdUpRejZwTENQNkE9PSIsInZhbHVlIjoiUXZxcW93RngzVTZPdmFaNU44L0c3Zz09IiwibWFjIjoiMmJkYzIxNjA3NDgxOGIwZTk0YWVhYTNlYTcyNWNkMzQ3NWFkMWU2YzNhODlmZTk2NGJjMjgwMmM4ZjM1ZDM3ZCIsInRhZyI6IiJ9
                        code: diesel
                        description: 'Diesel Fuel'
                        defaultPrice: '2.15      '
                        isDefault: '1'
                        isPredefine: '1'
                        isActive: '0'
                        isDelete: null
                        deletedAt: null
                        deletedBy: eyJpdiI6Ik1ENy9zemx4OUdsL1E5THV3MFVYZlE9PSIsInZhbHVlIjoiSkJkR0c3Sk1QeFdmNmN0YXpFZnJ6QT09IiwibWFjIjoiOTBmZmZkZGYzYzk1MTcyODU4YTMzNjljNzhjN2MxNGIwMTE0N2U4NDEwMDE3YTNmZWY3NDFiZmI0OTg4MGNlNyIsInRhZyI6IiJ9
                        createdAt: '2024-05-06 11:06:02'
                        createdBy: eyJpdiI6IkNVc0ViVVBOaXRuS0p4NXl2TGs2V0E9PSIsInZhbHVlIjoiOENtVnhMV2FlY3BxVjY1cVplQVV5UT09IiwibWFjIjoiOTE1NzA2OGU4MmUyMTVkNGUxMGM1OTEzNjU5NzIxMDdkZmVjNDY1YTUwNGFkZTNjZDIxY2Y0NjE1NTI0OTYzNyIsInRhZyI6IiJ9
                        updatedAt: '2024-05-06 11:06:02'
                        updatedBy: eyJpdiI6IlhiSldHdG1FZWNGVm5CQXZaZGowM1E9PSIsInZhbHVlIjoiN0d3RURNbTUvSk1sdHByOXlGdlZiQT09IiwibWFjIjoiZDc3NzliNzFkNDIwNDg1MjIxZmVhNzYyNTFjYzA4NDUyMzdkOTY1OWZjNjBjZTQ0YTA4ZjFiNGM3MmE3NDQ0ZCIsInRhZyI6IiJ9
                        createdByUser:
                          id: eyJpdiI6ImxaMGRpc202MXJOZnFDZC9OaEtTb1E9PSIsInZhbHVlIjoiczUvTlRRR0Qwc2FBZFc4LytIYTQ4UT09IiwibWFjIjoiOGI1YTVjZDQ0ODYzZjNiOGE4NGE4ZmQ1OTRmZjY4MjA5MzAzZThkYzdmOWRhZWYwZjkwM2IyMjBiYTJkNTE5ZCIsInRhZyI6IiJ9
                          roleId: eyJpdiI6ImtEOGo5SWF2TURUb1l6bklRTGlpSFE9PSIsInZhbHVlIjoiajM4cEhTWCtCTXhDdXg4N0F0d1hyQT09IiwibWFjIjoiYjhjNDBhYzc5NDA5MTg1YzA1M2Y3ODhhNWVmMDcyMjUyYTM1MjlhYzBkODcyZDg0Yzg1MGRmN2IxOWE2YjY1ZSIsInRhZyI6IiJ9
                          access: null
                          firstName: Superman
                          lastName: Brother
                          name: 'Dagrik Corp.'
                          username: admin
                          type: admin
                          dialCode: '+60'
                          phone: '123456780'
                          email: sarveen@safetruck.co
                          emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                          isMerchantFleet: null
                          isActive: '1'
                          isKycVerify: '1'
                          mainUserId: eyJpdiI6IitIRnpUcE01RjRrQnhqc204Mk0zNnc9PSIsInZhbHVlIjoiUFlKUEFUcHRtUUV5bUFiKzdpYWZqdz09IiwibWFjIjoiNmFiZmM3YTFjY2RiMWUzNGEyYjM5YTZhMThjMDU3MjI1MzgyNmQwMjVlMTk1M2NhMmUzYzZkM2Y4NzJiNDBkOCIsInRhZyI6IiJ9
                          defaultBillingEntityId: '8'
                          rememberToken: null
                          passwordUpdatedAt: null
                          createdAt: '2022-06-01T13:51:32.037000Z'
                          createdBy: null
                          updatedAt: '2023-06-07T11:45:56.783000Z'
                          updatedBy: '1'
                          isDelete: '0'
                          deletedAt: null
                          deletedBy: null
                          setting: null
                    description: 'The data provided from the response.'
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: eyJpdiI6IjVITHl3Um1JOU15ZGhieC91VXYwQ2c9PSIsInZhbHVlIjoiWExXejFwdHVRSWFBVGJGNjY2Mm14QT09IiwibWFjIjoiMTdmY2VmYjc4NmNkMWEwZmM5NDkwODNjYjdjNGI2MzM0NDhhN2M4ZjVmMWMxZGQwMTA1ODQ3ZGYwYzkzZDUwZSIsInRhZyI6IiJ9
                        code:
                          type: string
                          example: RON95
                        description:
                          type: string
                          example: 'RON 95'
                        defaultPrice:
                          type: string
                          example: '3.15      '
                        isDefault:
                          type: string
                          example: '1'
                        isPredefine:
                          type: string
                          example: '1'
                        isActive:
                          type: string
                          example: '0'
                        isDelete:
                          type: string
                          example: null
                        deletedAt:
                          type: string
                          example: null
                        deletedBy:
                          type: string
                          example: eyJpdiI6IkhMaTFLQUZVWWc0QUlveFR2bXgwb3c9PSIsInZhbHVlIjoiWjJ4RmFpWTJEcnF4RXZTcE1CK1p6QT09IiwibWFjIjoiMTZjY2U5N2JiOGFlZThlNWZiYWZlY2U1MDlmMzJjZjQzYmRhOGZlM2JkYjZlMWFlY2UyYjQyYjVhOWViNWJlNyIsInRhZyI6IiJ9
                        createdAt:
                          type: string
                          example: '2024-05-06 11:07:31'
                        createdBy:
                          type: string
                          example: eyJpdiI6IktzY1FldU8vaHRvaTZvM05TaXNLanc9PSIsInZhbHVlIjoiM0pCSHh0ZmsvUVVQNUJMRE1Fa3pIQT09IiwibWFjIjoiZWM5NDk5YmY3MjRmMTYzZDA2MjVhMTM3YzI2MGM0MzNlNTVlNzNlMjAxYWQzZDk2NjdiYThhZDkzNzE3MDExZCIsInRhZyI6IiJ9
                        updatedAt:
                          type: string
                          example: '2024-05-06 11:07:31'
                        updatedBy:
                          type: string
                          example: eyJpdiI6IndKMklsd0tsTTRGL1ErWnBBSWdSbnc9PSIsInZhbHVlIjoiWmpCNENhN0cxSmdweFdhT0ZMc1YyUT09IiwibWFjIjoiZGJjYmYzNjcyOTcwMWZkYmRmN2FiMGNkZGQwYzliYzc3ZWJhZTQ0ZmQ4M2Y1N2M5OTIyYmNiZmJkZGRmMDdlYSIsInRhZyI6IiJ9
                        createdByUser:
                          type: object
                          properties:
                            id:
                              type: string
                              example: eyJpdiI6Ii9MZ3pJbldwUkIzU1FkVGxYM2t1cUE9PSIsInZhbHVlIjoiL2xEbldIYVVJOE82Um9PQkR6dlh2UT09IiwibWFjIjoiMjNhOTM3YTgzNTEzOTRjMGU4MWY4ZTM2YWZkYzZjZjNiMDhmNzg5MjhiZTU3MzlhYTQ0NzQxMTE3MzM2NjE3ZCIsInRhZyI6IiJ9
                            roleId:
                              type: string
                              example: eyJpdiI6IjhhRFZwRFJhSnJNNnFrc1NjVmRaT2c9PSIsInZhbHVlIjoiVE1uRWY5dkNwWDBUL1Z0MldkQTFqdz09IiwibWFjIjoiNjdjOTJhNDhjOTc0ZGQzYmY5Mzc5ZWNjZjJmNzQwNGM0OGZkOWI2OGFiYzY3YzViNjI4OGQ0NTUzYTBhNDM2YSIsInRhZyI6IiJ9
                            access:
                              type: string
                              example: null
                            firstName:
                              type: string
                              example: Superman
                            lastName:
                              type: string
                              example: Brother
                            name:
                              type: string
                              example: 'Dagrik Corp.'
                            username:
                              type: string
                              example: admin
                            type:
                              type: string
                              example: admin
                            dialCode:
                              type: string
                              example: '+60'
                            phone:
                              type: string
                              example: '123456780'
                            email:
                              type: string
                              example: sarveen@safetruck.co
                            emailVerifiedAt:
                              type: string
                              example: '2023-01-03T11:21:53.243000Z'
                            isMerchantFleet:
                              type: string
                              example: null
                            isActive:
                              type: string
                              example: '1'
                            isKycVerify:
                              type: string
                              example: '1'
                            mainUserId:
                              type: string
                              example: eyJpdiI6IlNZdnhCTENYNHEwakQ0R0k5UkttN3c9PSIsInZhbHVlIjoiWVB0VXhPRHNSd1Z6ZHU0aWUxUVJvdz09IiwibWFjIjoiZjU1NGI2NDRlNTViMjJmYTk5ODY1M2MxMjA2YzA3YzFjYThlZTZiN2VhMTU0NjliZDBiZWRjZWYyZWMwNDFhOCIsInRhZyI6IiJ9
                            defaultBillingEntityId:
                              type: string
                              example: '8'
                            rememberToken:
                              type: string
                              example: null
                            passwordUpdatedAt:
                              type: string
                              example: null
                            createdAt:
                              type: string
                              example: '2022-06-01T13:51:32.037000Z'
                            createdBy:
                              type: string
                              example: null
                            updatedAt:
                              type: string
                              example: '2023-06-07T11:45:56.783000Z'
                            updatedBy:
                              type: string
                              example: '1'
                            isDelete:
                              type: string
                              example: '0'
                            deletedAt:
                              type: string
                              example: null
                            deletedBy:
                              type: string
                              example: null
                            setting:
                              type: string
                              example: null
        404:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Object Not Found'
                  data: {  }
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Object Not Found'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties: {  }
      tags:
        - 'Fuel Price Model'
      security: []
    post:
      summary: 'Create new Fuel Price Model'
      operationId: createNewFuelPriceModel
      description: 'create new fuel price model and its details'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Created Successfully'
                  data:
                    id: eyJpdiI6ImZ0b1hFSGRCVEtUeFQwMU0rMldySEE9PSIsInZhbHVlIjoiTmlzUUM3UGNEdEE2dzl1dFkxZEE5dz09IiwibWFjIjoiZDRhNWZhODY0NjYzYzZjMWY1Y2MyYzYwMmIzMGNiNWUyMmJkZWJiMjYwNmZiMjVkMjZhOTc4ZWM3OTI4OGRkNiIsInRhZyI6IiJ9
                    code: RON95
                    description: 'RON 95'
                    defaultPrice: '3.15'
                    isDefault: '1'
                    isPredefine: '1'
                    isActive: '0'
                    isDelete: null
                    deletedAt: null
                    deletedBy: eyJpdiI6IjNhc3NUOHZKNm54MW8xUEsvSU50UkE9PSIsInZhbHVlIjoiSDk0ZXd4eEZLNDZKaUpZYi9XMVdlZz09IiwibWFjIjoiZDMyYTdjODc3ZTE0YTc2MjJlZjNjMzc4NGRlZGU3ZTAyNjE4NjJmNjU2MDFkYzM5NDM2ZjUyOGE0MjE3NmI0NyIsInRhZyI6IiJ9
                    createdAt: '2024-05-06 11:07:31'
                    createdBy: eyJpdiI6IkdFVW90ZWZMT2lxQTY5SkQ5bnFyN1E9PSIsInZhbHVlIjoiWWx6aUpTZklLRFdBYW5NalRSM1RwQT09IiwibWFjIjoiNTU4YjBjZjhhZDIzNDJmOGY4MGY1YTlmZGRhNjc3ZGQ5YWRjODM0Y2FkMzE3NzViY2VkMTJmZDk3ZmNjMGQ1MCIsInRhZyI6IiJ9
                    updatedAt: '2024-05-06 11:07:31'
                    updatedBy: eyJpdiI6InRyakZTOHh5b05IWmx0QktmeldXd3c9PSIsInZhbHVlIjoiYWk5ZzZGRjZlcWNTZEJ4aG1GU2syZz09IiwibWFjIjoiYThkMWZhZGFlNjFiMzY4MzA5MzFlMWY0ZjE4N2M2OGYxYjg3NGQzODFkNGNmNzI1M2JjYjliZWJjYTM4ZTIzMiIsInRhZyI6IiJ9
                    details:
                      -
                        id: eyJpdiI6IklQdTJKL0J0dENPK3gwOW9UWWNYbVE9PSIsInZhbHVlIjoiRGNSZGxWRk1ocFRoZ3lqZVhFTlM5UT0zx9IiwibWFjIjoiMjRkZjg3NTVhZTEzMTliYzNiN2Y2Njg5OTcyN2Q1ODUwMDlkMjFlMjZkOTQ4N2I5NTVjOWM5MzAyN2ZlNWJkNCIsInRhZyI6IiJ9
                        fromDate: '2024-04-01'
                        toDate: '2024-05-30'
                        price: '2.15'
                        fuelPriceModelId: eyJpdiI6ImdMYVlwMERmQnNiMHJIZGY2dkEwbmc9PSIsInZhbHVlIjoiUUJmdlhLSllkdlhSckJqenNqRHFwdz09IiwibWFjIjoiYWYzZTJkZmU0NTk0ODIwOWFlOGFmYWM0NDY2MTNlOTM0NzUxNDk3ZTBiYmFjYTZjOTZjMzExNDhlMmIyYWZmMSIsInRhZyI6IiJ9
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Created Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6ImZ0b1hFSGRCVEtUeFQwMU0rMldySEE9PSIsInZhbHVlIjoiTmlzUUM3UGNEdEE2dzl1dFkxZEE5dz09IiwibWFjIjoiZDRhNWZhODY0NjYzYzZjMWY1Y2MyYzYwMmIzMGNiNWUyMmJkZWJiMjYwNmZiMjVkMjZhOTc4ZWM3OTI4OGRkNiIsInRhZyI6IiJ9
                      code:
                        type: string
                        example: RON95
                      description:
                        type: string
                        example: 'RON 95'
                      defaultPrice:
                        type: string
                        example: '3.15'
                      isDefault:
                        type: string
                        example: '1'
                      isPredefine:
                        type: string
                        example: '1'
                      isActive:
                        type: string
                        example: '0'
                      isDelete:
                        type: string
                        example: null
                      deletedAt:
                        type: string
                        example: null
                      deletedBy:
                        type: string
                        example: eyJpdiI6IjNhc3NUOHZKNm54MW8xUEsvSU50UkE9PSIsInZhbHVlIjoiSDk0ZXd4eEZLNDZKaUpZYi9XMVdlZz09IiwibWFjIjoiZDMyYTdjODc3ZTE0YTc2MjJlZjNjMzc4NGRlZGU3ZTAyNjE4NjJmNjU2MDFkYzM5NDM2ZjUyOGE0MjE3NmI0NyIsInRhZyI6IiJ9
                      createdAt:
                        type: string
                        example: '2024-05-06 11:07:31'
                      createdBy:
                        type: string
                        example: eyJpdiI6IkdFVW90ZWZMT2lxQTY5SkQ5bnFyN1E9PSIsInZhbHVlIjoiWWx6aUpTZklLRFdBYW5NalRSM1RwQT09IiwibWFjIjoiNTU4YjBjZjhhZDIzNDJmOGY4MGY1YTlmZGRhNjc3ZGQ5YWRjODM0Y2FkMzE3NzViY2VkMTJmZDk3ZmNjMGQ1MCIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-05-06 11:07:31'
                      updatedBy:
                        type: string
                        example: eyJpdiI6InRyakZTOHh5b05IWmx0QktmeldXd3c9PSIsInZhbHVlIjoiYWk5ZzZGRjZlcWNTZEJ4aG1GU2syZz09IiwibWFjIjoiYThkMWZhZGFlNjFiMzY4MzA5MzFlMWY0ZjE4N2M2OGYxYjg3NGQzODFkNGNmNzI1M2JjYjliZWJjYTM4ZTIzMiIsInRhZyI6IiJ9
                      details:
                        type: array
                        example:
                          -
                            id: eyJpdiI6IklQdTJKL0J0dENPK3gwOW9UWWNYbVE9PSIsInZhbHVlIjoiRGNSZGxWRk1ocFRoZ3lqZVhFTlM5UT0zx9IiwibWFjIjoiMjRkZjg3NTVhZTEzMTliYzNiN2Y2Njg5OTcyN2Q1ODUwMDlkMjFlMjZkOTQ4N2I5NTVjOWM5MzAyN2ZlNWJkNCIsInRhZyI6IiJ9
                            fromDate: '2024-04-01'
                            toDate: '2024-05-30'
                            price: '2.15'
                            fuelPriceModelId: eyJpdiI6ImdMYVlwMERmQnNiMHJIZGY2dkEwbmc9PSIsInZhbHVlIjoiUUJmdlhLSllkdlhSckJqenNqRHFwdz09IiwibWFjIjoiYWYzZTJkZmU0NTk0ODIwOWFlOGFmYWM0NDY2MTNlOTM0NzUxNDk3ZTBiYmFjYTZjOTZjMzExNDhlMmIyYWZmMSIsInRhZyI6IiJ9
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: eyJpdiI6IklQdTJKL0J0dENPK3gwOW9UWWNYbVE9PSIsInZhbHVlIjoiRGNSZGxWRk1ocFRoZ3lqZVhFTlM5UT0zx9IiwibWFjIjoiMjRkZjg3NTVhZTEzMTliYzNiN2Y2Njg5OTcyN2Q1ODUwMDlkMjFlMjZkOTQ4N2I5NTVjOWM5MzAyN2ZlNWJkNCIsInRhZyI6IiJ9
                            fromDate:
                              type: string
                              example: '2024-04-01'
                            toDate:
                              type: string
                              example: '2024-05-30'
                            price:
                              type: string
                              example: '2.15'
                            fuelPriceModelId:
                              type: string
                              example: eyJpdiI6ImdMYVlwMERmQnNiMHJIZGY2dkEwbmc9PSIsInZhbHVlIjoiUUJmdlhLSllkdlhSckJqenNqRHFwdz09IiwibWFjIjoiYWYzZTJkZmU0NTk0ODIwOWFlOGFmYWM0NDY2MTNlOTM0NzUxNDk3ZTBiYmFjYTZjOTZjMzExNDhlMmIyYWZmMSIsInRhZyI6IiJ9
        400:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Bad Request'
                  data:
                    contact_name:
                      - 'The code field is required.'
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Bad Request'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      contact_name:
                        type: array
                        example:
                          - 'The code field is required.'
                        items:
                          type: string
      tags:
        - 'Fuel Price Model'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: 'Unique code of the price model'
                  example: ullam
                description:
                  type: string
                  description: 'Description of the price model'
                  example: 'In nisi unde praesentium doloribus voluptatibus qui.'
                defaultPrice:
                  type: string
                  description: 'Default price rate of the fuel model for undefined period'
                  example: necessitatibus
                isDefault:
                  type: integer
                  description: 'Flag of to set default price model used by platform: only manage by admin. [0= default, 1= Default]'
                  example: 7
                isActive:
                  type: integer
                  description: 'Flag of to set active/visibility the price model. [0= disactive, 1= active]'
                  example: 18
                isPredefine:
                  type: integer
                  description: 'Flag of to set predefined from system. [0= created by user, 1= created by system]'
                  example: 18
                'details[fromDate]':
                  type: string
                  description: 'Start date of the selective period [Format: "YYYY-MM-DD"]'
                  example: ipsum
                'details[toDate]':
                  type: string
                  description: 'End date of the selective period [Format: "YYYY-MM-DD"]'
                  example: quis
                'details[price]':
                  type: number
                  description: 'Price of fuel model the selective period [Unit: RM]'
                  example: 1887095.3535094
              required:
                - code
                - defaultPrice
                - isActive
                - isPredefine
                - 'details[fromDate]'
                - 'details[toDate]'
                - 'details[price]'
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The encrypted ID of the fuel price.'
        example: et
        required: true
        schema:
          type: string
  '/api/fuelPriceModel/{id}':
    get:
      summary: 'Show a Fuel Price Model'
      operationId: showAFuelPriceModel
      description: 'Show a fuel price model with details'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Obtain Successfully'
                  data:
                    id: eyJpdiI6IjlHZXk3UkF5VlM5MnlJWUg2V3VBaVE9PSIsInZhbHVlIjoiYTMzZ2dlUlBxVE5SbDhOcTJWRG9Pdz09IiwibWFjIjoiNDk4ZjRmZDI2ZjE5MDdjZWEyNDRkZGEyYTU2N2VkYjY0ZDQ3MzZhZTIyOWM5ZWVjZTFkYTVkM2MwMjIzNDAwOCIsInRhZyI6IiJ9
                    code: RON95
                    description: 'RON 95'
                    defaultPrice: '3.15      '
                    isDefault: '1'
                    isPredefine: '1'
                    isActive: '0'
                    isDelete: null
                    deletedAt: null
                    deletedBy: eyJpdiI6InFNazk0cDJmMHJCNmZRU3IxQXJjNVE9PSIsInZhbHVlIjoibHBjZHJnQmJ4YWs3ZWR0MC93bkpXUT09IiwibWFjIjoiNDk3MzNmYjMzZDRlMGFkMjNjZDhhNjg3MmE0Y2FmZDk5MzZlYjcyMTkxYjcxNGI2MjFlMzNhZGYzZWI4OWFhNCIsInRhZyI6IiJ9
                    createdAt: '2024-05-06 11:07:31'
                    createdBy: eyJpdiI6ImVmYXdZNENSS05lRU5aNVE5cVpTbkE9PSIsInZhbHVlIjoiWXJOenRDK09MS3NCSzlKY1ZEZ1VtZz09IiwibWFjIjoiNDA2OTIyM2MwYTBiYjgxYzNkZmU4ZmY3YWFhN2U5NTA0OTM3MmY3YzZkZDNlODdhZjgyN2ViMGM0YTI3ZTc5MSIsInRhZyI6IiJ9
                    updatedAt: '2024-05-06 11:07:31'
                    updatedBy: eyJpdiI6IlZjUGxlYXZrVTdnNm5SUE5OZ0FCd0E9PSIsInZhbHVlIjoiOHJnalZWQ29MN2ZvcHNCM0JoVlJVQT09IiwibWFjIjoiYzBkNTk3Y2U2MjVkNTQ4NWZmM2EwMTc5NjEzNjVlZDg3Yzg5NmE2OTFiM2UzZjkxNjlhODAyNGIyYTMzZmM2NCIsInRhZyI6IiJ9
                    details:
                      -
                        id: eyJpdiI6IjZsenN5NWt6cXVEaTZiYzVZSGRZL2c9PSIsInZhbHVlIjoicHVRclU2TjRadS91U1l0V3RPRlpyUT09IiwibWFjIjoiMzdlNmNhZmFhZTMwMTM2Mjc4M2M0ZmFiMWZkNzg1Njk5YzJkZWY0MjA0ODYwM2EwZWIxNWUxNGE5MmUwZGJhMiIsInRhZyI6IiJ9
                        fromDate: '2024-04-01'
                        toDate: '2024-05-30'
                        price: '2.15'
                        fuelPriceModelId: eyJpdiI6ImV3d1VPTGlxQTBGN1FXVzdVcFhiclE9PSIsInZhbHVlIjoicmtSNklxOXhScEVxYm9iOCtyblI1UT09IiwibWFjIjoiNWMyOTY3OGNhYmQ2MDUxNmE3YTRlODc0ZTc1MzZkOTFlMmJkNTY5Y2NkNGU2ZGZhNzQ3N2NkMGNhNmJjNmM1MSIsInRhZyI6IiJ9
                    createdByUser:
                      id: eyJpdiI6Im9vOEt2MHBrTTR3RW1VTmRsOWg1RVE9PSIsInZhbHVlIjoiNmNlSWVzN3ZkOWhtcXRzSEk5a2U0dz09IiwibWFjIjoiOTA1MDg4YjE4NDM0ZWYxZTgzNWZhMDA2ZmU5NTEyMjI4ZmIyZWUxYmYxMDdiZmY4MDU2NTBiYjI2NjJkZTRjYyIsInRhZyI6IiJ9
                      roleId: eyJpdiI6IkhZNitBWVVOdVRzTCtqSG1DeXRJOUE9PSIsInZhbHVlIjoiUk1Oa3NIV1M2dVZ1SUdiTU9uekFKZz09IiwibWFjIjoiNTAwNTUyOGUyY2I5ZjUwZTYzY2U1MzllMzM2YjBhZmZjZmM2OGY3YzcyYmYyYjY3NzQ1MTUyYjdkMzc1YjllNSIsInRhZyI6IiJ9
                      access: null
                      firstName: Superman
                      lastName: Brother
                      name: 'Dagrik Corp.'
                      username: admin
                      type: admin
                      dialCode: '+60'
                      phone: '123456780'
                      email: sarveen@safetruck.co
                      emailVerifiedAt: '2023-01-03T11:21:53.243000Z'
                      isMerchantFleet: null
                      isActive: '1'
                      isKycVerify: '1'
                      mainUserId: eyJpdiI6IlRpd0t2YlZlVk45V1JIZG9RK3l1eWc9PSIsInZhbHVlIjoiQXlLTkkvQXBkSEZacVEyWWx2RmJaZz09IiwibWFjIjoiNGU5NDBiNzE5ZmI0MzYxYTZhMzE4ZDRjZGJlNGQwMWRiYWExZjk2NjBmMjFmNDZhNjZjYTAyMTFiOWE2OTEwMCIsInRhZyI6IiJ9
                      defaultBillingEntityId: '8'
                      rememberToken: null
                      passwordUpdatedAt: null
                      createdAt: '2022-06-01T13:51:32.037000Z'
                      createdBy: null
                      updatedAt: '2023-06-07T11:45:56.783000Z'
                      updatedBy: '1'
                      isDelete: '0'
                      deletedAt: null
                      deletedBy: null
                      setting: null
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Obtain Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6IjlHZXk3UkF5VlM5MnlJWUg2V3VBaVE9PSIsInZhbHVlIjoiYTMzZ2dlUlBxVE5SbDhOcTJWRG9Pdz09IiwibWFjIjoiNDk4ZjRmZDI2ZjE5MDdjZWEyNDRkZGEyYTU2N2VkYjY0ZDQ3MzZhZTIyOWM5ZWVjZTFkYTVkM2MwMjIzNDAwOCIsInRhZyI6IiJ9
                      code:
                        type: string
                        example: RON95
                      description:
                        type: string
                        example: 'RON 95'
                      defaultPrice:
                        type: string
                        example: '3.15      '
                      isDefault:
                        type: string
                        example: '1'
                      isPredefine:
                        type: string
                        example: '1'
                      isActive:
                        type: string
                        example: '0'
                      isDelete:
                        type: string
                        example: null
                      deletedAt:
                        type: string
                        example: null
                      deletedBy:
                        type: string
                        example: eyJpdiI6InFNazk0cDJmMHJCNmZRU3IxQXJjNVE9PSIsInZhbHVlIjoibHBjZHJnQmJ4YWs3ZWR0MC93bkpXUT09IiwibWFjIjoiNDk3MzNmYjMzZDRlMGFkMjNjZDhhNjg3MmE0Y2FmZDk5MzZlYjcyMTkxYjcxNGI2MjFlMzNhZGYzZWI4OWFhNCIsInRhZyI6IiJ9
                      createdAt:
                        type: string
                        example: '2024-05-06 11:07:31'
                      createdBy:
                        type: string
                        example: eyJpdiI6ImVmYXdZNENSS05lRU5aNVE5cVpTbkE9PSIsInZhbHVlIjoiWXJOenRDK09MS3NCSzlKY1ZEZ1VtZz09IiwibWFjIjoiNDA2OTIyM2MwYTBiYjgxYzNkZmU4ZmY3YWFhN2U5NTA0OTM3MmY3YzZkZDNlODdhZjgyN2ViMGM0YTI3ZTc5MSIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-05-06 11:07:31'
                      updatedBy:
                        type: string
                        example: eyJpdiI6IlZjUGxlYXZrVTdnNm5SUE5OZ0FCd0E9PSIsInZhbHVlIjoiOHJnalZWQ29MN2ZvcHNCM0JoVlJVQT09IiwibWFjIjoiYzBkNTk3Y2U2MjVkNTQ4NWZmM2EwMTc5NjEzNjVlZDg3Yzg5NmE2OTFiM2UzZjkxNjlhODAyNGIyYTMzZmM2NCIsInRhZyI6IiJ9
                      details:
                        type: array
                        example:
                          -
                            id: eyJpdiI6IjZsenN5NWt6cXVEaTZiYzVZSGRZL2c9PSIsInZhbHVlIjoicHVRclU2TjRadS91U1l0V3RPRlpyUT09IiwibWFjIjoiMzdlNmNhZmFhZTMwMTM2Mjc4M2M0ZmFiMWZkNzg1Njk5YzJkZWY0MjA0ODYwM2EwZWIxNWUxNGE5MmUwZGJhMiIsInRhZyI6IiJ9
                            fromDate: '2024-04-01'
                            toDate: '2024-05-30'
                            price: '2.15'
                            fuelPriceModelId: eyJpdiI6ImV3d1VPTGlxQTBGN1FXVzdVcFhiclE9PSIsInZhbHVlIjoicmtSNklxOXhScEVxYm9iOCtyblI1UT09IiwibWFjIjoiNWMyOTY3OGNhYmQ2MDUxNmE3YTRlODc0ZTc1MzZkOTFlMmJkNTY5Y2NkNGU2ZGZhNzQ3N2NkMGNhNmJjNmM1MSIsInRhZyI6IiJ9
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: eyJpdiI6IjZsenN5NWt6cXVEaTZiYzVZSGRZL2c9PSIsInZhbHVlIjoicHVRclU2TjRadS91U1l0V3RPRlpyUT09IiwibWFjIjoiMzdlNmNhZmFhZTMwMTM2Mjc4M2M0ZmFiMWZkNzg1Njk5YzJkZWY0MjA0ODYwM2EwZWIxNWUxNGE5MmUwZGJhMiIsInRhZyI6IiJ9
                            fromDate:
                              type: string
                              example: '2024-04-01'
                            toDate:
                              type: string
                              example: '2024-05-30'
                            price:
                              type: string
                              example: '2.15'
                            fuelPriceModelId:
                              type: string
                              example: eyJpdiI6ImV3d1VPTGlxQTBGN1FXVzdVcFhiclE9PSIsInZhbHVlIjoicmtSNklxOXhScEVxYm9iOCtyblI1UT09IiwibWFjIjoiNWMyOTY3OGNhYmQ2MDUxNmE3YTRlODc0ZTc1MzZkOTFlMmJkNTY5Y2NkNGU2ZGZhNzQ3N2NkMGNhNmJjNmM1MSIsInRhZyI6IiJ9
                      createdByUser:
                        type: object
                        properties:
                          id:
                            type: string
                            example: eyJpdiI6Im9vOEt2MHBrTTR3RW1VTmRsOWg1RVE9PSIsInZhbHVlIjoiNmNlSWVzN3ZkOWhtcXRzSEk5a2U0dz09IiwibWFjIjoiOTA1MDg4YjE4NDM0ZWYxZTgzNWZhMDA2ZmU5NTEyMjI4ZmIyZWUxYmYxMDdiZmY4MDU2NTBiYjI2NjJkZTRjYyIsInRhZyI6IiJ9
                          roleId:
                            type: string
                            example: eyJpdiI6IkhZNitBWVVOdVRzTCtqSG1DeXRJOUE9PSIsInZhbHVlIjoiUk1Oa3NIV1M2dVZ1SUdiTU9uekFKZz09IiwibWFjIjoiNTAwNTUyOGUyY2I5ZjUwZTYzY2U1MzllMzM2YjBhZmZjZmM2OGY3YzcyYmYyYjY3NzQ1MTUyYjdkMzc1YjllNSIsInRhZyI6IiJ9
                          access:
                            type: string
                            example: null
                          firstName:
                            type: string
                            example: Superman
                          lastName:
                            type: string
                            example: Brother
                          name:
                            type: string
                            example: 'Dagrik Corp.'
                          username:
                            type: string
                            example: admin
                          type:
                            type: string
                            example: admin
                          dialCode:
                            type: string
                            example: '+60'
                          phone:
                            type: string
                            example: '123456780'
                          email:
                            type: string
                            example: sarveen@safetruck.co
                          emailVerifiedAt:
                            type: string
                            example: '2023-01-03T11:21:53.243000Z'
                          isMerchantFleet:
                            type: string
                            example: null
                          isActive:
                            type: string
                            example: '1'
                          isKycVerify:
                            type: string
                            example: '1'
                          mainUserId:
                            type: string
                            example: eyJpdiI6IlRpd0t2YlZlVk45V1JIZG9RK3l1eWc9PSIsInZhbHVlIjoiQXlLTkkvQXBkSEZacVEyWWx2RmJaZz09IiwibWFjIjoiNGU5NDBiNzE5ZmI0MzYxYTZhMzE4ZDRjZGJlNGQwMWRiYWExZjk2NjBmMjFmNDZhNjZjYTAyMTFiOWE2OTEwMCIsInRhZyI6IiJ9
                          defaultBillingEntityId:
                            type: string
                            example: '8'
                          rememberToken:
                            type: string
                            example: null
                          passwordUpdatedAt:
                            type: string
                            example: null
                          createdAt:
                            type: string
                            example: '2022-06-01T13:51:32.037000Z'
                          createdBy:
                            type: string
                            example: null
                          updatedAt:
                            type: string
                            example: '2023-06-07T11:45:56.783000Z'
                          updatedBy:
                            type: string
                            example: '1'
                          isDelete:
                            type: string
                            example: '0'
                          deletedAt:
                            type: string
                            example: null
                          deletedBy:
                            type: string
                            example: null
                          setting:
                            type: string
                            example: null
        404:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Object Not Found'
                  data: {  }
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Object Not Found'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties: {  }
      tags:
        - 'Fuel Price Model'
      security: []
    put:
      summary: 'Update Fuel Price Model'
      operationId: updateFuelPriceModel
      description: 'update fuel price model with fuel price model settings and its contact list'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Updated Successfully'
                  data:
                    id: eyJpdiI6ImZ0b1hFSGRCVEtUeFQwMU0rMldySEE9PSIsInZhbHVlIjoiTmlzUUM3UGNEdEE2dzl1dFkxZEE5dz09IiwibWFjIjoiZDRhNWZhODY0NjYzYzZjMWY1Y2MyYzYwMmIzMGNiNWUyMmJkZWJiMjYwNmZiMjVkMjZhOTc4ZWM3OTI4OGRkNiIsInRhZyI6IiJ9
                    code: RON95
                    description: 'RON 95'
                    defaultPrice: '3.15'
                    isDefault: '1'
                    isPredefine: '1'
                    isActive: '0'
                    isDelete: null
                    deletedAt: null
                    deletedBy: eyJpdiI6IjNhc3NUOHZKNm54MW8xUEsvSU50UkE9PSIsInZhbHVlIjoiSDk0ZXd4eEZLNDZKaUpZYi9XMVdlZz09IiwibWFjIjoiZDMyYTdjODc3ZTE0YTc2MjJlZjNjMzc4NGRlZGU3ZTAyNjE4NjJmNjU2MDFkYzM5NDM2ZjUyOGE0MjE3NmI0NyIsInRhZyI6IiJ9
                    createdAt: '2024-05-06 11:07:31'
                    createdBy: eyJpdiI6IkdFVW90ZWZMT2lxQTY5SkQ5bnFyN1E9PSIsInZhbHVlIjoiWWx6aUpTZklLRFdBYW5NalRSM1RwQT09IiwibWFjIjoiNTU4YjBjZjhhZDIzNDJmOGY4MGY1YTlmZGRhNjc3ZGQ5YWRjODM0Y2FkMzE3NzViY2VkMTJmZDk3ZmNjMGQ1MCIsInRhZyI6IiJ9
                    updatedAt: '2024-05-06 11:07:31'
                    updatedBy: eyJpdiI6InRyakZTOHh5b05IWmx0QktmeldXd3c9PSIsInZhbHVlIjoiYWk5ZzZGRjZlcWNTZEJ4aG1GU2syZz09IiwibWFjIjoiYThkMWZhZGFlNjFiMzY4MzA5MzFlMWY0ZjE4N2M2OGYxYjg3NGQzODFkNGNmNzI1M2JjYjliZWJjYTM4ZTIzMiIsInRhZyI6IiJ9
                    details:
                      -
                        id: eyJpdiI6IklQdTJKL0J0dENPK3gwOW9UWWNYbVE9PSIsInZhbHVlIjoiRGNSZGxWRk1ocFRoZ3lqZVhFTlM5UT0zx9IiwibWFjIjoiMjRkZjg3NTVhZTEzMTliYzNiN2Y2Njg5OTcyN2Q1ODUwMDlkMjFlMjZkOTQ4N2I5NTVjOWM5MzAyN2ZlNWJkNCIsInRhZyI6IiJ9
                        fromDate: '2024-04-01'
                        toDate: '2024-05-30'
                        price: '2.15'
                        fuelPriceModelId: eyJpdiI6ImdMYVlwMERmQnNiMHJIZGY2dkEwbmc9PSIsInZhbHVlIjoiUUJmdlhLSllkdlhSckJqenNqRHFwdz09IiwibWFjIjoiYWYzZTJkZmU0NTk0ODIwOWFlOGFmYWM0NDY2MTNlOTM0NzUxNDk3ZTBiYmFjYTZjOTZjMzExNDhlMmIyYWZmMSIsInRhZyI6IiJ9
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Updated Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6ImZ0b1hFSGRCVEtUeFQwMU0rMldySEE9PSIsInZhbHVlIjoiTmlzUUM3UGNEdEE2dzl1dFkxZEE5dz09IiwibWFjIjoiZDRhNWZhODY0NjYzYzZjMWY1Y2MyYzYwMmIzMGNiNWUyMmJkZWJiMjYwNmZiMjVkMjZhOTc4ZWM3OTI4OGRkNiIsInRhZyI6IiJ9
                      code:
                        type: string
                        example: RON95
                      description:
                        type: string
                        example: 'RON 95'
                      defaultPrice:
                        type: string
                        example: '3.15'
                      isDefault:
                        type: string
                        example: '1'
                      isPredefine:
                        type: string
                        example: '1'
                      isActive:
                        type: string
                        example: '0'
                      isDelete:
                        type: string
                        example: null
                      deletedAt:
                        type: string
                        example: null
                      deletedBy:
                        type: string
                        example: eyJpdiI6IjNhc3NUOHZKNm54MW8xUEsvSU50UkE9PSIsInZhbHVlIjoiSDk0ZXd4eEZLNDZKaUpZYi9XMVdlZz09IiwibWFjIjoiZDMyYTdjODc3ZTE0YTc2MjJlZjNjMzc4NGRlZGU3ZTAyNjE4NjJmNjU2MDFkYzM5NDM2ZjUyOGE0MjE3NmI0NyIsInRhZyI6IiJ9
                      createdAt:
                        type: string
                        example: '2024-05-06 11:07:31'
                      createdBy:
                        type: string
                        example: eyJpdiI6IkdFVW90ZWZMT2lxQTY5SkQ5bnFyN1E9PSIsInZhbHVlIjoiWWx6aUpTZklLRFdBYW5NalRSM1RwQT09IiwibWFjIjoiNTU4YjBjZjhhZDIzNDJmOGY4MGY1YTlmZGRhNjc3ZGQ5YWRjODM0Y2FkMzE3NzViY2VkMTJmZDk3ZmNjMGQ1MCIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-05-06 11:07:31'
                      updatedBy:
                        type: string
                        example: eyJpdiI6InRyakZTOHh5b05IWmx0QktmeldXd3c9PSIsInZhbHVlIjoiYWk5ZzZGRjZlcWNTZEJ4aG1GU2syZz09IiwibWFjIjoiYThkMWZhZGFlNjFiMzY4MzA5MzFlMWY0ZjE4N2M2OGYxYjg3NGQzODFkNGNmNzI1M2JjYjliZWJjYTM4ZTIzMiIsInRhZyI6IiJ9
                      details:
                        type: array
                        example:
                          -
                            id: eyJpdiI6IklQdTJKL0J0dENPK3gwOW9UWWNYbVE9PSIsInZhbHVlIjoiRGNSZGxWRk1ocFRoZ3lqZVhFTlM5UT0zx9IiwibWFjIjoiMjRkZjg3NTVhZTEzMTliYzNiN2Y2Njg5OTcyN2Q1ODUwMDlkMjFlMjZkOTQ4N2I5NTVjOWM5MzAyN2ZlNWJkNCIsInRhZyI6IiJ9
                            fromDate: '2024-04-01'
                            toDate: '2024-05-30'
                            price: '2.15'
                            fuelPriceModelId: eyJpdiI6ImdMYVlwMERmQnNiMHJIZGY2dkEwbmc9PSIsInZhbHVlIjoiUUJmdlhLSllkdlhSckJqenNqRHFwdz09IiwibWFjIjoiYWYzZTJkZmU0NTk0ODIwOWFlOGFmYWM0NDY2MTNlOTM0NzUxNDk3ZTBiYmFjYTZjOTZjMzExNDhlMmIyYWZmMSIsInRhZyI6IiJ9
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              example: eyJpdiI6IklQdTJKL0J0dENPK3gwOW9UWWNYbVE9PSIsInZhbHVlIjoiRGNSZGxWRk1ocFRoZ3lqZVhFTlM5UT0zx9IiwibWFjIjoiMjRkZjg3NTVhZTEzMTliYzNiN2Y2Njg5OTcyN2Q1ODUwMDlkMjFlMjZkOTQ4N2I5NTVjOWM5MzAyN2ZlNWJkNCIsInRhZyI6IiJ9
                            fromDate:
                              type: string
                              example: '2024-04-01'
                            toDate:
                              type: string
                              example: '2024-05-30'
                            price:
                              type: string
                              example: '2.15'
                            fuelPriceModelId:
                              type: string
                              example: eyJpdiI6ImdMYVlwMERmQnNiMHJIZGY2dkEwbmc9PSIsInZhbHVlIjoiUUJmdlhLSllkdlhSckJqenNqRHFwdz09IiwibWFjIjoiYWYzZTJkZmU0NTk0ODIwOWFlOGFmYWM0NDY2MTNlOTM0NzUxNDk3ZTBiYmFjYTZjOTZjMzExNDhlMmIyYWZmMSIsInRhZyI6IiJ9
        400:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Bad Request'
                  data:
                    contact_name:
                      - 'The contact name field is required.'
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Bad Request'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      contact_name:
                        type: array
                        example:
                          - 'The contact name field is required.'
                        items:
                          type: string
      tags:
        - 'Fuel Price Model'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: 'Unique code of the price model'
                  example: voluptatem
                description:
                  type: string
                  description: 'Description of the price model'
                  example: 'Fuga magni in officiis atque non est.'
                defaultPrice:
                  type: string
                  description: 'Default price rate of the fuel model for undefined period'
                  example: amet
                isDefault:
                  type: integer
                  description: 'Flag of to set default price model used by platform: only manage by admin. [0= default, 1= Default]'
                  example: 19
                isActive:
                  type: integer
                  description: 'Flag of to set active/visibility the price model. [0= disactive, 1= active]'
                  example: 13
                isPredefine:
                  type: integer
                  description: 'Flag of to set predefined from system. [0= created by user, 1= created by system]'
                  example: 8
                'details[id]':
                  type: string
                  description: 'The encrypted ID of the fuel price detail. [null = new detail]'
                  example: tempore
                'details[fromDate]':
                  type: string
                  description: 'Start date of the selective period [Format: "YYYY-MM-DD"]uired Start date of the selective period [Format: "YYYY-MM-DD"]'
                  example: praesentium
                'details[toDate]':
                  type: string
                  description: 'End date of the selective period [Format: "YYYY-MM-DD"]'
                  example: voluptatem
                'details[price]':
                  type: number
                  description: 'Price of fuel model the selective period [Unit: RM]'
                  example: 114501.0
              required:
                - code
                - defaultPrice
                - isActive
                - isPredefine
                - 'details[fromDate]'
                - 'details[toDate]'
                - 'details[price]'
      security: []
    delete:
      summary: 'Remove Fuel Price Model'
      operationId: removeFuelPriceModel
      description: 'Remove fuel price model and its fuel price model settings'
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  status: Success
                  message: 'Removed Successfully'
                  data:
                    id: eyJpdiI6IlU2dm9DSlQ1MHlUZVZEc3BPUmFuckE9PSIsInZhbHVlIjoienRJcmkzS3JRK2lVNFNHdkJSS3lkdz09IiwibWFjIjoiYjIxNjQ5ZjJlNjkwOTA2MmM2MmQ3YmRiNjkyNjJiMjg1NDcwZTRlOWJhNTVhM2YyNTE3MTk3YTEyZjQwOTBjNCIsInRhZyI6IiJ9
                    code: RON952
                    description: 'RON 95'
                    defaultPrice: '4         '
                    isDefault: '1'
                    isPredefine: '1'
                    isActive: '0'
                    isDelete: 1
                    deletedAt: '2024-05-06T12:09:26.000000Z'
                    deletedBy: eyJpdiI6Im5PQ0NJS0EwSkY2NG80WWpleUxIOXc9PSIsInZhbHVlIjoia0EwdGRNS2xYOThvWEpya1Fka3NJdz09IiwibWFjIjoiOTQyMzNhOWYwYWEyZjExOTU0NGE2ZjU5MWI2ZmFkMTY1MjY5NDhmZTY2YWIyOWU0ZTEwZWJlNTIyNTNhNmY0NSIsInRhZyI6IiJ9
                    createdAt: null
                    createdBy: eyJpdiI6IlVsbmlEc2h6ZFdYSmkxZ0pXQmlmc0E9PSIsInZhbHVlIjoiVEdPVWMxMHVyWVFNUjZIZ1NMUCtuQT09IiwibWFjIjoiNTJmY2Y1YTUzMThjZDhmZTcwMzc0NzYzY2Q0N2U0YTdhYzRjNTUzNDE0OTI2OGY4NjNiZjRhYWY2MmRkOGRiYiIsInRhZyI6IiJ9
                    updatedAt: '2024-05-06 11:58:37'
                    updatedBy: eyJpdiI6InZJNGVKaktkMWpXQ2lPV3kreGNLemc9PSIsInZhbHVlIjoibFJyb0FYSDhFdk05UHFnV1ViV3k4UT09IiwibWFjIjoiNDEwNTY3NzA0OWRkYTQyYjYzMTBjNDI4ZmQzYjJmNDNkMDY4NDAxN2ExNDgxYjhiZDA4MjE2YjgwZDAwZGI2NyIsInRhZyI6IiJ9
                properties:
                  success:
                    type: boolean
                    example: true
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Success
                  message:
                    type: string
                    example: 'Removed Successfully'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: eyJpdiI6IlU2dm9DSlQ1MHlUZVZEc3BPUmFuckE9PSIsInZhbHVlIjoienRJcmkzS3JRK2lVNFNHdkJSS3lkdz09IiwibWFjIjoiYjIxNjQ5ZjJlNjkwOTA2MmM2MmQ3YmRiNjkyNjJiMjg1NDcwZTRlOWJhNTVhM2YyNTE3MTk3YTEyZjQwOTBjNCIsInRhZyI6IiJ9
                      code:
                        type: string
                        example: RON952
                      description:
                        type: string
                        example: 'RON 95'
                      defaultPrice:
                        type: string
                        example: '4         '
                      isDefault:
                        type: string
                        example: '1'
                      isPredefine:
                        type: string
                        example: '1'
                      isActive:
                        type: string
                        example: '0'
                      isDelete:
                        type: integer
                        example: 1
                      deletedAt:
                        type: string
                        example: '2024-05-06T12:09:26.000000Z'
                      deletedBy:
                        type: string
                        example: eyJpdiI6Im5PQ0NJS0EwSkY2NG80WWpleUxIOXc9PSIsInZhbHVlIjoia0EwdGRNS2xYOThvWEpya1Fka3NJdz09IiwibWFjIjoiOTQyMzNhOWYwYWEyZjExOTU0NGE2ZjU5MWI2ZmFkMTY1MjY5NDhmZTY2YWIyOWU0ZTEwZWJlNTIyNTNhNmY0NSIsInRhZyI6IiJ9
                      createdAt:
                        type: string
                        example: null
                      createdBy:
                        type: string
                        example: eyJpdiI6IlVsbmlEc2h6ZFdYSmkxZ0pXQmlmc0E9PSIsInZhbHVlIjoiVEdPVWMxMHVyWVFNUjZIZ1NMUCtuQT09IiwibWFjIjoiNTJmY2Y1YTUzMThjZDhmZTcwMzc0NzYzY2Q0N2U0YTdhYzRjNTUzNDE0OTI2OGY4NjNiZjRhYWY2MmRkOGRiYiIsInRhZyI6IiJ9
                      updatedAt:
                        type: string
                        example: '2024-05-06 11:58:37'
                      updatedBy:
                        type: string
                        example: eyJpdiI6InZJNGVKaktkMWpXQ2lPV3kreGNLemc9PSIsInZhbHVlIjoibFJyb0FYSDhFdk05UHFnV1ViV3k4UT09IiwibWFjIjoiNDEwNTY3NzA0OWRkYTQyYjYzMTBjNDI4ZmQzYjJmNDNkMDY4NDAxN2ExNDgxYjhiZDA4MjE2YjgwZDAwZGI2NyIsInRhZyI6IiJ9
        400:
          description: 'Bad Request'
          content:
            application/json:
              schema:
                type: object
                example:
                  success: false
                  status: Error
                  message: 'Bad Request'
                  data:
                    contact_name:
                      - 'The contact name field is required.'
                properties:
                  success:
                    type: boolean
                    example: false
                    description: 'The status of this API (boolean).'
                  status:
                    type: string
                    example: Error
                  message:
                    type: string
                    example: 'Bad Request'
                    description: 'The message response of this API (boolean).'
                  data:
                    type: object
                    properties:
                      contact_name:
                        type: array
                        example:
                          - 'The contact name field is required.'
                        items:
                          type: string
      tags:
        - 'Fuel Price Model'
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The encrypted ID of the fuel price model.'
        example: deleniti
        required: true
        schema:
          type: string
tags:
  -
    name: Authentication
    description: ''
  -
    name: Endpoints
    description: ''
  -
    name: Fleet
    description: ''
  -
    name: 'Fuel Price Model'
    description: ''
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: 'You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.'
security:
  -
    default: []
