text: define({ "api": [
    {
      "type": "get",
      "url": "/api/logout",
      "title": "Logout",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "GetLogout",
      "group": "Auth",
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>logout successfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>{}.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n  {\n      \"status\": true,\n      \"status_code\": 200,\n      \"message\": \"logout successfully\",\n      \"data\": {}\n  }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/AuthController.php",
      "groupTitle": "Auth"
    },
    {
      "type": "post",
      "url": "/api/verify-otp",
      "title": "Verify OTP",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostVerifyOtp",
      "group": "Auth",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "mobile_number",
              "description": "<p>Users mobile number*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "password",
              "description": "<p>password*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_type",
              "description": "<p>User type*. (Staff member =&gt; 2 ).</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "longitude",
              "description": "<p>cordinate location.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "latitude",
              "description": "<p>cordinate location.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "fcm_token",
              "description": "<p>Token*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>OTP verified successfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>User detail with unique token.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"OTP verified successfully.\",\n     \"data\": {\n         \"id\": 149,\n         \"first_name\": \"Om\",\n         \"last_name\": \"hg\",\n         \"otp\": \"7015\",\n         \"user_type_id\": 2,\n         \"email_id\": \"om@mail.com\",\n         \"date_of_birth\": \"2015-10-23\",\n         \"profile_pic_path\": \"http://127.0.0.1:8000/storage/profile_pic/M9eFQWAvpBHyk1e4PDK9WsoYy4Hh5eY2G32tvNi7.jpeg\",\n         \"account_holder_name\": \"Nitish\",\n         \"bank_account_no\": 1234567890000,\n         \"mobile_number\": \"8088080000\",\n         \"bank_name\": \"Sbi\",\n         \"ifsc\": \"Utib00095\",\n         \"address\": \"Noida\",\n         \"password\": null,\n         \"aadhar_id_front\": \"http://127.0.0.1:8000/storage/aadhar/M8UrX3a3MH2T6qVLIRpsiclbsozQYADgt9OerG15.jpeg\",\n          \"aadhar_id_back\": \"http://127.0.0.1:8000/storage/aadhar/seZQhl91k6KvaeBPJmruzjmnBOrW9jaclXl6eQss.jpeg\",\n          \"voter_id\": \"http://127.0.0.1:8000/storage/dl/E51tdtrQyGZvYneWMlytm5vff6svyAyngmtoOMvU.jpeg\",\n         \"device_token\": null,\n         \"device_id\": null,\n         \"latitude\": null,\n         \"longitude\": null,\n         \"is_active\": 1,\n         \"remember_token\": null,\n         \"created_by\": \"1\",\n         \"updated_by\": \"1\",  \n         \"created_at\": \"2020-03-31 12:29:45\",\n         \"updated_at\": \"2020-04-01 14:24:53\"\n     }\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "MobileNumberMissing",
              "description": "<p>The mobile number is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "MobileNumber10Digit",
              "description": "<p>The Mobile number should be 10 digit.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "OTPMissing",
              "description": "<p>The OTP is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserTypeMissing",
              "description": "<p>The User Type is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "InvalidUserType",
              "description": "<p>The user type invalid</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "IncorrectOTP",
              "description": "<p>The OTP or mobile number incorrect.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"Mobile number missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"Mobile number should be 10 digit.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"OTP missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User type missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User type invalid.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"OTP or mobile number incorrect.\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/AuthController.php",
      "groupTitle": "Auth"
    },
    {
      "type": "post",
      "url": "/api/user-trip",
      "title": "User Trip",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostUserTrip",
      "group": "Notification",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Notification List.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Trip List\",\n     \"data\": {\n     \"upcoming\": {\n     \"id\": 149,\n     \"user_id\": 6,\n     \"vehicle_id\": 1,\n     \"trip_date\": \"2020-10-08\",\n     \"start_trip\": \"noida1\",\n     \"fuel_entry\": \"4325\",\n     \"end_trip\": \"patna\",\n     \"start_km\": \"5345\",\n     \"end_km\": \"32532\",\n     \"expense_amount\": 5325,\n     \"expense_description\": \"42353\",\n     \"amount_spend\": 5345,\n     \"end_fuel_entry\": \"534\",\n     \"is_read\": 0,\n     \"created_at\": \"2020-10-08 12:58:24\",\n     \"updated_at\": \"2020-10-08 12:58:24\"\n}, \"running\": {\n     \"id\": 149,\n     \"user_id\": 6,\n     \"vehicle_id\": 1,\n     \"trip_date\": \"2020-10-08\",\n     \"start_trip\": \"noida1\",\n     \"fuel_entry\": \"4325\",\n     \"end_trip\": \"patna\",\n     \"start_km\": \"5345\",\n     \"end_km\": \"32532\",\n     \"expense_amount\": 5325,\n     \"expense_description\": \"42353\",\n     \"amount_spend\": 5345,\n     \"end_fuel_entry\": \"534\",\n     \"is_read\": 0,\n     \"created_at\": \"2020-10-08 12:58:24\",\n     \"updated_at\": \"2020-10-08 12:58:24\"\n}\n     }\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/TripController.php",
      "groupTitle": "Notification"
    },
    {
      "type": "post",
      "url": "/api/end-trip",
      "title": "End Trip",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostEndTrip",
      "group": "Trip",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "trip_id",
              "description": "<p>Trip Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "location",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "end_meter_fuel",
              "description": "<p>End Fuel Meter Reading*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "end_meter_km",
              "description": "<p>End Meter Reading*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>End Trip Sucessfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"End Trip Sucessfully\",\n     \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/TripController.php",
      "groupTitle": "Trip"
    },
    {
      "type": "post",
      "url": "/api/status-trip",
      "title": "Status Trip",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostStatusTrip",
      "group": "Trip",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "status",
              "description": "<p>Status*(1=&gt;accept , 2=&gt;reject).</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "trip_id",
              "description": "<p>Trip Id*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Status Changed successfully..</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Status Changed successfully.\",\n      \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/TripController.php",
      "groupTitle": "Trip"
    },
    {
      "type": "post",
      "url": "/api/trip-list",
      "title": "Trip List",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostTripList",
      "group": "Trip",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Trip List.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Trip List\",\n     \"data\": {\n     \"id\": 149,\n     \"user_id\": 6,\n     \"vehicle_id\": 1,\n     \"trip_date\": \"2020-10-08\",\n     \"start_trip\": \"noida1\",\n     \"fuel_entry\": \"4325\",\n     \"end_trip\": \"patna\",\n     \"start_km\": \"5345\",\n     \"end_km\": \"32532\",\n     \"expense_amount\": 5325,\n     \"expense_description\": \"42353\",\n     \"amount_spend\": 5345,\n     \"end_fuel_entry\": \"534\",\n     \"is_read\": 0,\n     \"created_at\": \"2020-10-08 12:58:24\",\n     \"updated_at\": \"2020-10-08 12:58:24\"\n     }\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/TripController.php",
      "groupTitle": "Trip"
    },
    {
      "type": "post",
      "url": "/api/fuel-fill",
      "title": "Fuel Fill",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostFuelFill",
      "group": "Vehicle",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "vehicle_id",
              "description": "<p>Vehicle Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "trip_id",
              "description": "<p>Trip Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "amount",
              "description": "<p>Amount*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "location",
              "description": "<p>Location*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "meter_fuel",
              "description": "<p>Meter Fuel*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "fuel_pic",
              "description": "<p>Bill Image*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Image Uploded Sucessfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Image Uploded Sucessfully\",\n     \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "VehicleIdMissing",
              "description": "<p>The vehicle id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"Vehicle id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/VehicleController.php",
      "groupTitle": "Vehicle"
    },
    {
      "type": "post",
      "url": "/api/spend-money",
      "title": "Spend Money",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostSpendMoney",
      "group": "Vehicle",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "trip_id",
              "description": "<p>Trip Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "expense_description",
              "description": "<p>Expense Description*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "expense_amount",
              "description": "<p>Expense Amount*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Expense Uploded Sucessfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Expense Uploded Sucessfully\",\n     \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "TripIdMissing",
              "description": "<p>The Trip id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"Trip id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/VehicleController.php",
      "groupTitle": "Vehicle"
    },
    {
      "type": "post",
      "url": "/api/trip-challan",
      "title": "Trip Challan",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostTripChallan",
      "group": "Vehicle",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "vehicle_id",
              "description": "<p>Vehicle Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "longitude",
              "description": "<p>challan place longitude*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "latitude",
              "description": "<p>challan place latitude*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "challan_place",
              "description": "<p>challan place*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "amount",
              "description": "<p>Challan Amount*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "challan_pic",
              "description": "<p>Challan Image*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Challan Uploded Sucessfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Challan Uploded Sucessfully\",\n     \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "VehicleIdMissing",
              "description": "<p>The vehicle id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"Vehicle id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/VehicleController.php",
      "groupTitle": "Vehicle"
    },
    {
      "type": "post",
      "url": "/api/vehicle-issue",
      "title": "Vehicle Issue",
      "header": {
        "fields": {
          "Header": [
            {
              "group": "Header",
              "type": "String",
              "optional": false,
              "field": "Accept",
              "description": "<p>application/json.</p>"
            }
          ]
        }
      },
      "name": "PostVehicleIssue",
      "group": "Vehicle",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "user_id",
              "description": "<p>User Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "vehicle_id",
              "description": "<p>Vehicle Id*.</p>"
            },
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "issue_pic",
              "description": "<p>Issue Image*.</p>"
            }
          ]
        }
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "success",
              "description": "<p>true</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "status_code",
              "description": "<p>(200 =&gt; success, 404 =&gt; Not found or failed).</p>"
            },
            {
              "group": "Success 200",
              "type": "String",
              "optional": false,
              "field": "message",
              "description": "<p>Image Uploded Sucessfully.</p>"
            },
            {
              "group": "Success 200",
              "type": "JSON",
              "optional": false,
              "field": "data",
              "description": "<p>response.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n {\n     \"status\": true,\n     \"status_code\": 200,\n     \"message\": \"Image Uploded Sucessfully\",\n     \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "error": {
        "fields": {
          "Error 4xx": [
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserIdMissing",
              "description": "<p>The user id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "VehicleIdMissing",
              "description": "<p>The vehicle id is missing.</p>"
            },
            {
              "group": "Error 4xx",
              "optional": false,
              "field": "UserNotFound",
              "description": "<p>The User Not Found.</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"Vehicle id missing.\",\n    \"data\": {}\n }",
            "type": "json"
          },
          {
            "title": "Error-Response:",
            "content": "HTTP/1.1 404 Not Found\n {\n    \"status\": false,\n    \"status_code\": 404,\n    \"message\": \"User Not Found\",\n    \"data\": {}\n }",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "app/Http/Controllers/Api/VehicleController.php",
      "groupTitle": "Vehicle"
    }
  ] });
  