[
  {
    "type": "post",
    "url": "v2/account/recommend-hostels",
    "title": "Recommend",
    "name": "_Recommend",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_rent",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price_min",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "price_max",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api gợi ý nhà trọ cho người thuê</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/account-phone",
    "title": "Lấy tài khoản theo SĐT",
    "name": "_account_phone",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy tài khoản theo SĐT</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/add-refer-code",
    "title": "Điền mã giới thiệu",
    "name": "_add_refer_code",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "refer_code",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Đưa vào danh sách lead đã lấy số</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/bookmark",
    "title": "Danh sách đánh dấu",
    "name": "_bookmark",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Danh sách đánh dấu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/config",
    "title": "Config cộng trừ tiền",
    "name": "_config",
    "group": "Account",
    "description": "<p>Api Config cộng trừ tiền</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/crawl-wishlist",
    "title": "Wishlist crawl",
    "name": "_crawl_wishlist",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Wishlist crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/create-bookmark",
    "title": "Đánh dấu yêu thích",
    "name": "_create_bookmark",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "find_session_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Đánh dấu yêu thích</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/current-account-list",
    "title": "Lấy danh sách tk bằng SĐT",
    "name": "_current_account_list",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "facebook_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "zalo_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "apple_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách tk bằng SĐT</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/delete-owner-message",
    "title": "Xóa tin nhắn đến owner",
    "name": "_delete_owner_message",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa tin nhắn đến owner</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/exclude-hostel",
    "title": "Exclude hostels",
    "name": "_exclude_hostel",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api loại hostel ra khỏi danh sách recommend</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/exclude-leads",
    "title": "Exclude leads",
    "name": "_exclude_leads",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>Id này chính là id đưọc trả ra trong api v2/search/customer</p>"
          }
        ]
      }
    },
    "description": "<p>Api loại leads ra khỏi danh sách recommend</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/find-session",
    "title": "Danh sách find session",
    "name": "_find_session",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>0 là đang tìm, 1 là đã thấy, 2 là ko thấy, 3 là hủy.</p>"
          }
        ]
      }
    },
    "description": "<p>Api Danh sách find session</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/crawl-wishlist",
    "title": "get Wishlist crawl",
    "name": "_get_crawl_wishlist",
    "group": "Account",
    "description": "<p>get Wishlist crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/hostel-post",
    "title": "get hostle post user",
    "name": "_hostel_post",
    "group": "Account",
    "description": "<p>get Wishlist crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/lead-taken",
    "title": "Danh sách lead đã lấy số",
    "name": "_lead_taken",
    "group": "Account",
    "description": "<p>Đưa vào danh sách lead đã lấy số</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/login-partner",
    "title": "Đăng nhập partner",
    "name": "_login_partner",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "device_token_ios",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "device_token_android",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Đăng nhập partner</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/login-with-phone",
    "title": "Đăng nhập bằng SĐT",
    "name": "_login_with_phone",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "1",
              "2",
              "6"
            ],
            "optional": false,
            "field": "type",
            "description": "<p>1 là chủ trọ, 2 là người thuê, 6 là nhân viên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "country_phone_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "\"IOS,ANDROID\""
            ],
            "optional": false,
            "field": "token_type",
            "description": "<p>Loại token</p>"
          }
        ]
      }
    },
    "description": "<p>Api Đăng nhập bằng SĐT</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/logout",
    "title": "Logout",
    "name": "_logout",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>ios, android</p>"
          }
        ]
      }
    },
    "description": "<p>Api Logout</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/logout",
    "title": "Logout",
    "name": "_logout",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Logout</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/owner-message",
    "title": "Lấy danh sách tin nhắn khách hàng đến chủ trọ",
    "name": "_owner_message",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy danh sách tin nhắn khách hàng đến chủ trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/permissions",
    "title": "Lấy danh sách quyền",
    "name": "_permissions",
    "group": "Account",
    "description": "<p>Api Lấy danh sách quyền</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/rating",
    "title": "Rating một user",
    "name": "_rating",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>là người trọ hay là nhân viên, theo type user</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "rate",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_be_rated",
            "description": "<p>user_id của người được rate</p>"
          }
        ]
      }
    },
    "description": "<p>Api Rating một user</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/ratings",
    "title": "Lấy danh sách rating",
    "name": "_ratings",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách rating</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/redeem-login",
    "title": "Dùng mã coupon khi login",
    "name": "_redeem_login",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Dùng mã coupon</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/refer",
    "title": "Danh sách user được giới thiệu",
    "name": "_refer",
    "group": "Account",
    "description": "<p>Danh sách user được giới thiệu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "v2/account/refer-link",
    "title": "Lấy dynamic link giới thiệu",
    "name": "_refer_link",
    "group": "Account",
    "description": "<p>Lấy dynamic link giới thiệu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/refresh-token",
    "title": "Refresh token",
    "name": "_refresh_token",
    "group": "Account",
    "description": "<p>Api Refresh token</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/register",
    "title": "Đăng ký tài khoản",
    "name": "_register",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "first_name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "last_name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "gender",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "from",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "refer_phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "promotion_code",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api đăng ký tài khoản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/register",
    "title": "Đăng ký tài khoản",
    "name": "_register",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "country_phone_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "facebook_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "zalo_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "apple_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "gender",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "birthday",
            "description": "<p>Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": true,
            "field": "avatar",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api đăng ký tài khoản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/register-2",
    "title": "Đăng ký tài khoản rút gọn",
    "name": "_register_2",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "from",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api đăng ký tài khoản rút gọn</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/remove-bookmark",
    "title": "Xóa yêu thích",
    "name": "_remove_bookmark",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "find_session_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa yêu thích</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/system-permissions",
    "title": "Lấy danh sách quyền hệ thống",
    "name": "_system_permissions",
    "group": "Account",
    "description": "<p>Lấy danh sách quyền hệ thống</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/take-lead",
    "title": "Đưa vào danh sách lead đã lấy số",
    "name": "_take_lead",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lead_id",
            "description": "<p>lead_id</p>"
          }
        ]
      }
    },
    "description": "<p>Đưa vào danh sách lead đã lấy số</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "v2/account/update",
    "title": "Cập nhật",
    "name": "_update",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "country_phone_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "facebook_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "zalo_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "gender",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "birthday",
            "description": "<p>Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": true,
            "field": "avatar",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api cập nhật</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật thông tin ng dùng",
    "name": "_update",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "first_name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "last_name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "gender",
            "description": "<p>Nam/Nữ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": "<p>dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật thông tin ng dùng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-password-accountkit",
    "title": "Cập nhật mật khẩu qua account kit",
    "name": "_update_password_accountkit",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "account_kit_token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>Loại người dùng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>Mật khẩu mới</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>SĐT</p>"
          }
        ]
      }
    },
    "description": "<p>Api Dùng mã coupon</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-signature",
    "title": "Cập nhật chữ ký",
    "name": "_update_signature",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_ids",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "signature",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Cập nhật chữ ký</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-staff-permissions",
    "title": "Set quyền cho nhân viên",
    "name": "_update_staff_permissions",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostels[]",
            "description": "<p>Mảng id các nhà trọ được phân quyền</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "permissions[]",
            "description": "<p>Mảng tên các quyền. Ví dụ view-hostel</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>id của nhân viên</p>"
          }
        ]
      }
    },
    "description": "<p>Set quyền cho nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-status-owner-message",
    "title": "Cập nhật trạng thái tin nhắn owner",
    "name": "_update_status_owner_message",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Cập nhật trạng thái tin nhắn owner</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-token",
    "title": "Cập nhật token",
    "name": "_update_token",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "android_token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ios_token",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật token</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/verify-password",
    "title": "Xác nhận mật khẩu",
    "name": "_verify_password",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xác nhận mật khẩu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/create-setting",
    "title": "Luu cai dat",
    "name": "create_setting",
    "group": "Account",
    "description": "<p>Api Luu cai dat</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "allow_renter_make_group",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "allow_renter_view_hostel_group",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "allow_renter_view_room_group",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_unit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_display_money_info",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/create-staff",
    "title": "Tạo nhân viên",
    "name": "create_staff",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>SĐT</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": "<p>Email</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Tạo nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/create-staff-type",
    "title": "Tạo loại nhân viên",
    "name": "create_staff_type",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "permissions[]",
            "description": "<p>Danh sách quyền. Chú ý để dạng tên, ví dụ view-statistic</p>"
          }
        ]
      }
    },
    "description": "<p>Api Tạo loại nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/delete-staff",
    "title": "Xóa nhân viên",
    "name": "delete_staff",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/delete-staff-type",
    "title": "Xóa loại nhân viên",
    "name": "delete_staff_type",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa loại nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/get-notification",
    "title": "Lay danh sach thong bao",
    "name": "get_notification",
    "group": "Account",
    "description": "<p>Api Lay danh sach thong bao</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/get-setting",
    "title": "Lay cai dat",
    "name": "get_setting",
    "group": "Account",
    "description": "<p>Api Lay cai dat</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/renters",
    "title": "Lấy danh sách người ở trọ",
    "name": "renters",
    "group": "Account",
    "description": "<p>Api Lấy danh sách người ở trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_status",
            "description": "<p>1 là chưa khai báo, 2 là đã khai báo</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/renters-left",
    "title": "Lấy danh sách người ở trọ đã chuyển đi",
    "name": "renters_left",
    "group": "Account",
    "description": "<p>Api Lấy danh sách người ở trọ đã chuyển đi</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_status",
            "description": "<p>1 là chưa khai báo, 2 là đã khai báo</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/reset-password-renter",
    "title": "Đặt lại mật khẩu nguoi thue",
    "name": "reset_password_renter",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>Mật khẩu mới</p>"
          }
        ]
      }
    },
    "description": "<p>Api Đặt lại mật khẩu nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/reset-password-staff",
    "title": "Đặt lại mật khẩu nhân viên",
    "name": "reset_password_staff",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>Mật khẩu mới</p>"
          }
        ]
      }
    },
    "description": "<p>Api Đặt lại mật khẩu nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/send-email-reset",
    "title": "Gửi email reset mk",
    "name": "send_email_reset",
    "group": "Account",
    "description": "<p>Api Gửi email reset mk</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Auth/ForgotPasswordController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/send-notification",
    "title": "Gui thong bao",
    "name": "send_notification",
    "group": "Account",
    "description": "<p>Api Gui thong bao</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_ids",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/send-zalo-invoice",
    "title": "Gửi zalo hóa đơn",
    "name": "send_zalo_invoice",
    "group": "Account",
    "description": "<p>Api Gửi zalo hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "invoice_path",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "customer_name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/staff-type",
    "title": "Lấy danh sách loại nhân viên",
    "name": "staff_typ",
    "group": "Account",
    "description": "<p>Api Lấy danh sách loại nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "get",
    "url": "/staffs",
    "title": "Lấy danh sách nhân viên",
    "name": "staffs",
    "group": "Account",
    "description": "<p>Api Lấy danh sách nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-staff",
    "title": "Cập nhật nhân viên",
    "name": "update_staff",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>SĐT</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": "<p>Email</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/update-staff-type",
    "title": "Cập nhật loại nhân viên",
    "name": "update_staff_type",
    "group": "Account",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "permissions[]",
            "description": "<p>Danh sách quyền. Chú ý để dạng tên, ví dụ view-statistic</p>"
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật loại nhân viên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/AccountController.php",
    "groupTitle": "Account"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Thêm lịch sử sửa chữa",
    "name": "create",
    "group": "Break",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>0 là chưa làm, 1 là đang làm, 2 là đã hoàn thành</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "images",
            "description": "<p>mảng nhiều file ảnh</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "user_repair",
            "description": "<p>Người sửa chữa</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "day_repair",
            "description": "<p>Ngày sửa chữa, dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "cost",
            "description": "<p>Chi phí</p>"
          }
        ]
      }
    },
    "description": "<p>Thêm lịch sử sửa chữa</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/BreakHistoryController.php",
    "groupTitle": "Break"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa lịch sử sửa chữa",
    "name": "delete",
    "group": "Break",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa lịch sử sửa chữa</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/BreakHistoryController.php",
    "groupTitle": "Break"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy danh sách lịch sử sửa chữa",
    "name": "list",
    "group": "Break",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/BreakHistoryController.php",
    "groupTitle": "Break"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật lịch sử sửa chữa",
    "name": "update",
    "group": "Break",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>0 là chưa làm, 1 là đang làm, 2 là đã hoàn thành</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deleted_images",
            "description": "<p>Mảng id các ảnh bị xóa</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "images",
            "description": "<p>mảng nhiều file ảnh</p>"
          }
        ]
      }
    },
    "description": "<p>Thêm lịch sử sửa chữa</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/BreakHistoryController.php",
    "groupTitle": "Break"
  },
  {
    "type": "post",
    "url": "/add-user-conversation",
    "title": "Thêm người vào cuộc hội thoại",
    "name": "add_user_conversation",
    "group": "Chat",
    "description": "<p>Api Thêm người vào cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "integer",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_ids",
            "description": "<p>dạng user_ids[]</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/count-unread-conversation",
    "title": "Đếm số hội thoại chưa đọc",
    "name": "count_unread_conversation",
    "group": "Chat",
    "description": "<p>Api Đếm số hội thoại chưa đọc</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Tạo cuộc hội thoại",
    "name": "create",
    "group": "Chat",
    "description": "<p>Api tạo cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_ids",
            "description": "<p>dạng user_ids[] = 1</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/delete-message",
    "title": "Xóa tin nhắn",
    "name": "delete_message",
    "group": "Chat",
    "description": "<p>Api Xóa tin nhắn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "get",
    "url": "/get-conversation",
    "title": "Lấy chi tiết hội thoại",
    "name": "get_conversation",
    "group": "Chat",
    "description": "<p>Api Lấy chi tiết hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "get",
    "url": "/get-conversations",
    "title": "Lấy danh sách hội thoại",
    "name": "get_conversations",
    "group": "Chat",
    "description": "<p>Api Lấy danh sách hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/get-message",
    "title": "Lấy tin nhắn",
    "name": "get_message",
    "group": "Chat",
    "description": "<p>Api Lấy tin nhắn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "integer",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "last_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/leave-conversation",
    "title": "Rời cuộc hội thoại",
    "name": "leave_conversation",
    "group": "Chat",
    "description": "<p>Api rời cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "integer",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/remove-admin",
    "title": "Xóa admin conversation",
    "name": "remove_admin",
    "group": "Chat",
    "description": "<p>Api Xóa admin conversation</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/remove-user-conversation",
    "title": "Xóa người khỏi cuộc hội thoại",
    "name": "remove_user_conversation",
    "group": "Chat",
    "description": "<p>Api Xóa người khỏi cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "integer",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_ids",
            "description": "<p>dạng user_ids[]</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/send-message",
    "title": "Gửi tin nhắn",
    "name": "send_message",
    "group": "Chat",
    "description": "<p>Api gửi tin nhắn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/set-admin",
    "title": "Set admin conversation",
    "name": "set_admin",
    "group": "Chat",
    "description": "<p>Api Set admin conversation</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/update-conversation",
    "title": "Cập nhật cuộc hội thoại",
    "name": "update_conversation",
    "group": "Chat",
    "description": "<p>Api Cập nhật cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "integer",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/update-conversation-setting",
    "title": "Cập nhật thông số cuộc hội thoại",
    "name": "update_conversation_setting",
    "group": "Chat",
    "description": "<p>Api  Cập nhật thông số cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_visible",
            "description": "<p>Có được hiển thị hay ko (chỉ khóa với renter)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "allow_chat",
            "description": "<p>Có cho chat hay ko (khóa với cả admin) 1 là tất cả mn, 2 là chỉ admin</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Chat"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa HĐ",
    "name": "delete",
    "group": "Contract",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa HĐ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Contract"
  },
  {
    "type": "post",
    "url": "/delete-attachment",
    "title": "Xóa file đính kèm khỏi HĐ",
    "name": "delete_attachment",
    "group": "Contract",
    "description": "<p>Api Xóa file đính kèm khỏi HĐ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "attachment_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ContractController.php",
    "groupTitle": "Contract"
  },
  {
    "type": "get",
    "url": "/preview-contract",
    "title": "Preview HD",
    "name": "preview_contract",
    "group": "Contract",
    "description": "<p>Api Preview HD</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ContractController.php",
    "groupTitle": "Contract"
  },
  {
    "type": "get",
    "url": "/view-contract",
    "title": "Xem hợp đồng HTML / Tải HĐ",
    "name": "view_contract",
    "group": "Contract",
    "description": "<p>Xem hợp đồng HTML</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>Nếu type là download data sẽ là url để truy cập vào đó sẽ tải xuống HĐ. Nếu ko data sẽ là HTML hợp đồng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ContractController.php",
    "groupTitle": "Contract"
  },
  {
    "type": "get",
    "url": "/filter-payment",
    "title": "Lấy thông tin hoa don chua thanh toan - da thanh toan",
    "name": "filter_payment",
    "group": "Dashboard",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>(Truong hop tat ca thi ko gui len)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>(paid la da tra, not-paid la chua tra, ko gui la tat ca)</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy thông tin thống kê</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Dashboard"
  },
  {
    "type": "get",
    "url": "/stat-2",
    "title": "Lấy thông tin thống kê",
    "name": "stat_2",
    "group": "Dashboard",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>(Truong hop tat ca thi ko gui len)</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy thông tin thống kê</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Dashboard"
  },
  {
    "type": "get",
    "url": "/stat-ew",
    "title": "Lấy thông tin thống kê về điện nước",
    "name": "stat_ew",
    "group": "Dashboard",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy thông tin thống kê về điện nước</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Dashboard"
  },
  {
    "type": "get",
    "url": "/stat-hostel",
    "title": "Lấy thông tin thống kê về nhà trọ",
    "name": "stat_hostel",
    "group": "Dashboard",
    "description": "<p>Api Lấy thông tin thống kê về nhà trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Dashboard"
  },
  {
    "type": "get",
    "url": "/stat-payment",
    "title": "Lấy thông tin thống kê về thanh toán",
    "name": "stat_payment",
    "group": "Dashboard",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy thông tin thống kê về thanh toán</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Dashboard"
  },
  {
    "type": "get",
    "url": "/stat-room",
    "title": "Lấy thông tin thống kê về phòng",
    "name": "stat_room",
    "group": "Dashboard",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy thông tin thống kê về thanh toán</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Dashboard"
  },
  {
    "type": "get",
    "url": "/check",
    "title": "Kiểm tra HĐ có thiếu điện nước không",
    "name": "check",
    "group": "ElectricWater",
    "description": "<p>Api Kiểm tra HĐ có thiếu điện nước không</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "ElectricWater"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa điện nước",
    "name": "delete",
    "group": "ElectricWater",
    "description": "<p>Api Xóa điện nước</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "ElectricWater"
  },
  {
    "type": "post",
    "url": "/detail",
    "title": "Lấy chi tiet chốt điện nước",
    "name": "detail",
    "group": "ElectricWater",
    "description": "<p>Lấy chi tiet chốt điện nước</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "ElectricWater"
  },
  {
    "type": "post",
    "url": "/items",
    "title": "Lấy danh sách chốt điện nước",
    "name": "items",
    "group": "ElectricWater",
    "description": "<p>Lấy danh sách chốt điện nước.</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>Dạng m/Y</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "ElectricWater"
  },
  {
    "type": "post",
    "url": "/items-for-renter",
    "title": "Lấy danh sách chốt điện nước cho người thuê",
    "name": "items_for_renter",
    "group": "ElectricWater",
    "description": "<p>Lấy danh sách chốt điện nước cho người thuê</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "ElectricWater"
  },
  {
    "type": "post",
    "url": "v2/hostel-post-crawl/active",
    "title": "Ẩn hiện tin đăng",
    "name": "_active",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>(ID của nhà trọ trên hệ thống)</p>"
          }
        ]
      }
    },
    "description": "<p>Api Ẩn hiện tin đăng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "post",
    "url": "v2/hostel-post-crawl/create",
    "title": "Thêm thông tin crawl",
    "name": "_create",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_post",
            "description": "<p>Tên người đăng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_post_image",
            "description": "<p>Ảnh người đăng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_post_phone",
            "description": "<p>SĐT người đăng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": "<p>nội dung</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "source_link",
            "description": "<p>Link nguồn</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province",
            "description": "<p>Tỉnh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district",
            "description": "<p>Quận</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward",
            "description": "<p>Xã</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>Địa chỉ</p>"
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "medias",
            "description": "<p>Ảnh / video</p>"
          }
        ]
      }
    },
    "description": "<p>Api Thêm thông tin crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "post",
    "url": "v2/hostel-post-crawl/create-vip",
    "title": "Thêm vip",
    "name": "_create_vip",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": "<p>Số tiền</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>id nhà trọ đẩy vip</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "customer_number",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "number_days",
            "description": "<p>số ngày đẩy vip</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "started_at",
            "description": "<p>thời điểm tính vip dạng Y-m-d H:i:s</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ended_at",
            "description": "<p>thời điểm dừng vip dạng Y-m-d H:i:s</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_ref_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_trans_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "medias",
            "description": "<p>Ảnh / video</p>"
          }
        ]
      }
    },
    "description": "<p>Api Thêm vip</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "post",
    "url": "v2/hostel-post-crawl/delete",
    "title": "Xóa thông tin crawl",
    "name": "_delete",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa thông tin crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "get",
    "url": "v2/hostel-post-crawl/detail",
    "title": "Chi tiet thông tin crawl",
    "name": "_detail",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Chi tiet thông tin crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "get",
    "url": "v2/hostel-post-crawl/list",
    "title": "Danh sách crawl",
    "name": "_list",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "q",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Danh sách crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "post",
    "url": "v2/hostel-post-crawl/update",
    "title": "Cập nhật thông tin crawl",
    "name": "_update",
    "group": "HostelPostCrawl",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_post",
            "description": "<p>Tên người đăng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_post_image",
            "description": "<p>Ảnh người đăng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_post_phone",
            "description": "<p>SĐT người đăng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": "<p>nội dung</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "source_link",
            "description": "<p>Link nguồn</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province",
            "description": "<p>Tỉnh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district",
            "description": "<p>Quận</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward",
            "description": "<p>Xã</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>Địa chỉ</p>"
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật thông tin crawl</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "post",
    "url": "/report",
    "title": "Báo cáo",
    "name": "report",
    "group": "HostelPostCrawl",
    "description": "<p>Báo cáo</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "post_crawl_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "types",
            "description": "<p>Các loại</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/HostelPostCrawlController.php",
    "groupTitle": "HostelPostCrawl"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Tạo khuyến mại nhà trọ",
    "name": "create",
    "group": "HostelPromotion",
    "description": "<p>Api Tạo khuyến mại nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelPromotionController.php",
    "groupTitle": "HostelPromotion"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa khuyến mại nhà trọ",
    "name": "delete",
    "group": "HostelPromotion",
    "description": "<p>Api Xóa khuyến mại nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelPromotionController.php",
    "groupTitle": "HostelPromotion"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Danh sách khuyến mại nhà trọ",
    "name": "list",
    "group": "HostelPromotion",
    "description": "<p>Api Danh sách khuyến mại nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelPromotionController.php",
    "groupTitle": "HostelPromotion"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật khuyến mại nhà trọ",
    "name": "update",
    "group": "HostelPromotion",
    "description": "<p>Api Tạo khuyến mại nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelPromotionController.php",
    "groupTitle": "HostelPromotion"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Lưu nhà trọ",
    "name": "_create",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amenities",
            "description": "<p>Mảng id các tiện ích. Kiểu amenities[] = 1, amenities[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "policies",
            "description": "<p>Mảng id các quy định. Kiểu policies[] = 1, policies[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Mảng các ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "types",
            "description": "<p>Mảng các loại ảnh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_ew",
            "description": "<p>Ngày check điện nước.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_money",
            "description": "<p>Ngày thu tiền.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>Loại nhà trọ. 2 là nhà tầng, 3 là chung cư mini, 4 là dãy trọ, 5 là nhà cấp 4</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_rent",
            "description": "<p>Hình thức thuê. 1 là bao phòng, 0 là từng người</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_name",
            "description": "<p>Tên chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_id_number",
            "description": "<p>CMND chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_phone",
            "description": "<p>SĐT chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_email",
            "description": "<p>Email chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lng",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "electric_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "water_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "min_price",
            "description": "<p>Giá tối thiểu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_price",
            "description": "<p>Giá tối đa</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_amenities",
            "description": "<p>Mảng tên các tiện ích do user thêm</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_policies",
            "description": "<p>Mảng tên các quy định do user thêm</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lưu nhà trọ.  Loại ảnh: 1 là phòng khách, 2 là phòng ngủ, 3 là bếp, 4 là khác</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/create-by-renter",
    "title": "Khai báo nhà trọ cho người trọ",
    "name": "_create_by_renter",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amenities",
            "description": "<p>Mảng id các tiện ích. Kiểu amenities[] = 1, amenities[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "policies",
            "description": "<p>Mảng id các quy định. Kiểu policies[] = 1, policies[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Mảng các ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "types",
            "description": "<p>Mảng các loại ảnh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_ew",
            "description": "<p>Ngày check điện nước.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_money",
            "description": "<p>Ngày thu tiền.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>Loại nhà trọ. 2 là nhà tầng, 3 là chung cư mini, 4 là dãy trọ, 5 là nhà cấp 4</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_rent",
            "description": "<p>Hình thức thuê. 1 là bao phòng, 0 là từng người</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_name",
            "description": "<p>Tên chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_id_number",
            "description": "<p>CMND chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_phone",
            "description": "<p>SĐT chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_email",
            "description": "<p>Email chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lng",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "electric_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "water_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "min_price",
            "description": "<p>Giá tối thiểu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_price",
            "description": "<p>Giá tối đa</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_amenities",
            "description": "<p>Mảng tên các tiện ích do user thêm</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_policies",
            "description": "<p>Mảng tên các quy định do user thêm</p>"
          }
        ]
      }
    },
    "description": "<p>Api Khai báo nhà trọ cho người trọ.  Loại ảnh: 1 là phòng khách, 2 là phòng ngủ, 3 là bếp, 4 là khác</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/create-rating",
    "title": "Đánh giá nhà trọ",
    "name": "_create_rating",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "rating",
            "description": "<p>Điểm. Cho phép điểm lẻ dạng 4.5</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "comment",
            "description": "<p>Nội dung</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Danh sách ảnh</p>"
          }
        ]
      }
    },
    "description": "<p>Đánh giá nhà trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/ratings",
    "title": "Danh sách đánh giá nhà trọ",
    "name": "_ratings",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": "<p>Nội dung</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Danh sách đánh giá nhà trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật nhà",
    "name": "_update",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>id của nhà trọ cần cập nhật</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amenities",
            "description": "<p>Mảng id các tiện ích. Kiểu amenities[] = 1, amenities[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "policies",
            "description": "<p>Mảng id các quy định. Kiểu policies[] = 1, policies[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Mảng các ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "videos",
            "description": "<p>Mảng các video.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "types",
            "description": "<p>Mảng các loại ảnh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_ew",
            "description": "<p>Ngày check điện nước.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_money",
            "description": "<p>Ngày thu tiền.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>Loại nhà trọ. 2 là nhà tầng, 3 là chung cư mini, 4 là dãy trọ, 5 là nhà cấp 4</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_rent",
            "description": "<p>Hình thức thuê. 1 là bao phòng, 0 là từng người</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_name",
            "description": "<p>Tên chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_id_number",
            "description": "<p>CMND chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_phone",
            "description": "<p>SĐT chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_email",
            "description": "<p>Email chủ sở hữu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lng",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "min_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_amenities",
            "description": "<p>Mảng tên các tiện ích do user thêm</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_policies",
            "description": "<p>Mảng tên các quy định do user thêm</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lưu nhà trọ.  Loại ảnh: 1 là phòng khách, 2 là phòng ngủ, 3 là bếp, 4 là khác</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/contracts",
    "title": "Lấy danh sách HĐ",
    "name": "contracts",
    "group": "Hostel",
    "description": "<p>Lấy danh sách HĐ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Gửi lên dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Gửi lên dạng m/Y</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/create-discount",
    "title": "Tạo giảm giá",
    "name": "create_discount",
    "group": "Hostel",
    "description": "<p>Api Tạo giảm giá</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_ids[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "discount",
            "description": "<p>Số tiền giảm giá</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/create-fee",
    "title": "Tạo phí dịch vụ",
    "name": "create_fee",
    "group": "Hostel",
    "description": "<p>Api Tạo phí dịch vụ.</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee",
            "description": "<p>Số tiền dịch vụ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/create-fee-multiple-hostel",
    "title": "Tạo phí dịch vụ nhiều nhà trọ cùng lúc",
    "name": "create_fee_multiple_hostel",
    "group": "Hostel",
    "description": "<p>Api Tạo phí dịch vụ.</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee",
            "description": "<p>Số tiền dịch vụ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_ids[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/create-schedule-meeting",
    "title": "tạo lịch hẹn",
    "name": "create_schedule_meeting",
    "group": "Hostel",
    "description": "<p>Api tạo lịch hẹn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "schedule",
            "description": "<p>Dạng Y-m-d H:i. Ví dụ 2020-01-19 15:12</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/current-hostel",
    "title": "Lấy thông tin nhà trọ đang ở",
    "name": "current_hostel",
    "group": "Hostel",
    "description": "<p>Api Lấy thông tin nhà trọ đang ở</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/dashboard-data",
    "title": "Lấy thông tin thống kê dashboard",
    "name": "dashboard_data",
    "group": "Hostel",
    "description": "<p>Api Lấy thông tin thống kê dashboard</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/DashboardController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa nhà trọ",
    "name": "delete",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa nhà trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/delete-discount",
    "title": "Xóa giảm giá",
    "name": "delete_discount",
    "group": "Hostel",
    "description": "<p>Api Xóa giảm giá</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/delete-fee",
    "title": "Xóa dịch vụ",
    "name": "delete_fee",
    "group": "Hostel",
    "description": "<p>Api Xóa dịch vụ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/detail",
    "title": "Lấy chi tiết nhà trọ",
    "name": "detail",
    "group": "Hostel",
    "description": "<p>Api Lấy chi tiết nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/detail-schedule-meeting",
    "title": "chi tiết lịch hẹn",
    "name": "detail_schedule_meeting",
    "group": "Hostel",
    "description": "<p>Api chi tiết lịch hẹn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/empty-bed",
    "title": "Lấy so giuong trong cua nha tro",
    "name": "empty_bed",
    "group": "Hostel",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy so giuong trong cua nha tro</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/empty-recently",
    "title": "Nha tro trong gan day",
    "name": "empty_recently",
    "group": "Hostel",
    "description": "<p>Api Nha tro trong gan day</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/fees",
    "title": "Lấy phí nhà trọ",
    "name": "fees",
    "group": "Hostel",
    "description": "<p>Lấy danh sách phí nhà trọ. Các loại type: 1 là điện, 2 là nước, 3 là phương tiện, 4 là vệ sinh, 5 là quản lý, 6 là khác, 7 là biến động</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/gen-invoice-all",
    "title": "Sinh hóa đơn",
    "name": "gen_invoice_all",
    "group": "Hostel",
    "description": "<p>Sinh hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/get-discount",
    "title": "Lấy danh sách giảm giá",
    "name": "get_discount",
    "group": "Hostel",
    "description": "<p>Api Lấy danh sách giảm giá</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/get-fee-quota",
    "title": "Lấy cấu hình điện nước",
    "name": "get_fee_quota",
    "group": "Hostel",
    "description": "<p>Api Lấy cấu hình điện nước</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 là điện 2 là nước</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/near",
    "title": "Nha tro gan ban",
    "name": "near",
    "group": "Hostel",
    "description": "<p>Api Nha tro gan ban</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lng",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "provinceId",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/outstand",
    "title": "Nha tro nổi bật",
    "name": "outstand",
    "group": "Hostel",
    "description": "<p>Api Nha tro nổi bật</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/outstanding",
    "title": "Nha tro noi bat",
    "name": "outstanding",
    "group": "Hostel",
    "description": "<p>Api Nha tro noi bat</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/room-by-block",
    "title": "Lấy phòng theo block",
    "name": "room_by_block",
    "group": "Hostel",
    "description": "<p>Lấy phòng theo block</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/room-near-empty",
    "title": "Lấy phòng sắp trống",
    "name": "room_near_empty",
    "group": "Hostel",
    "description": "<p>Lấy phòng sắp trống</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/room-not-ew",
    "title": "Lấy phòng chưa chốt điện nước",
    "name": "room_not_ew",
    "group": "Hostel",
    "description": "<p>Lấy phòng chưa chốt điện nước</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/room-not-payment",
    "title": "Lấy phòng chưa thanh toán hết",
    "name": "room_not_payment",
    "group": "Hostel",
    "description": "<p>Lấy phòng chưa thanh toán hết</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/room-not-voucher",
    "title": "Lấy phòng chưa lập hóa đơn dịch vụ",
    "name": "room_not_voucher",
    "group": "Hostel",
    "description": "<p>Lấy phòng chưa lập hóa đơn dịch vụ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/room-types",
    "title": "Lấy loại phòng nhà trọ",
    "name": "room_types",
    "group": "Hostel",
    "description": "<p>Lấy loại phòng nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/store-fee-quota",
    "title": "Tạo / Cập nhật cấu hình điện nước",
    "name": "store_fee_quota",
    "group": "Hostel",
    "description": "<p>Api Tạo / cập nhật cấu hình điện nước. Gửi lên hostel_id và các params. Nếu chưa có hệ thống sẽ tự động tạo</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 là điện 2 là nước</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "quota_1",
            "description": "<p>quota_1 đến quota_7 là các mức</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price_quota_1",
            "description": "<p>price_quota_1 đến price_quota_1 là giá các mức</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/term",
    "title": "Nha tro theo tim kiem",
    "name": "term",
    "group": "Hostel",
    "description": "<p>Api Nha tro theo tim kiem</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "term",
            "description": "<p>noi dung tim kiem</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/type",
    "title": "Lấy loại nhà trọ",
    "name": "type",
    "group": "Hostel",
    "description": "<p>Lấy loại nhà trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/update-discount",
    "title": "Cập nhật giảm giá",
    "name": "update_discount",
    "group": "Hostel",
    "description": "<p>Api Cập nhật giảm giá</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_ids[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "discount",
            "description": "<p>Số tiền giảm giá</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/update-fee",
    "title": "Cập nhật phí dịch vụ",
    "name": "update_fee",
    "group": "Hostel",
    "description": "<p>Api Cập nhật phí dịch vụ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee",
            "description": "<p>Số tiền dịch vụ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "post",
    "url": "/update-schedule-meeting",
    "title": "cập nhật lịch hẹn",
    "name": "update_schedule_meeting",
    "group": "Hostel",
    "description": "<p>Api cập nhật lịch hẹn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "schedule",
            "description": "<p>Dạng Y-m-d H:i. Ví dụ 2020-01-19 15:12</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/HostelController.php",
    "groupTitle": "Hostel"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy danh sách list",
    "name": "list",
    "group": "Lead",
    "description": "<p>Api Lấy danh sách list</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/LeadController.php",
    "groupTitle": "Lead"
  },
  {
    "type": "get",
    "url": "/contacts",
    "title": "Lấy danh bạ",
    "name": "contacts",
    "group": "Message",
    "description": "<p>Api Lấy danh bạ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MessageController.php",
    "groupTitle": "Message"
  },
  {
    "type": "get",
    "url": "/calculate-ew",
    "title": "Tính tiền điện nước",
    "name": "_calculate_ew",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "delta",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 là điện 2 là nước</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy các dịch vụ phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/collect",
    "title": "Tạo phiếu thu",
    "name": "_collect",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Ngày thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payer",
            "description": "<p>Người nộp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Lý do thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "receiver",
            "description": "<p>Người thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_collect_id",
            "description": "<p>Loại thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>Phương thức thanh toán. 1 là tiền mặt 2 là chuyển khoản</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú</p>"
          }
        ]
      }
    },
    "description": "<p>Api Tạo phiếu thu. Không có thì gửi các key rỗng lên</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/contract-deposit",
    "title": "Lấy danh sách đặt cọc",
    "name": "_contract_deposit",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>0-tat ca, 1- da tra coc, 2-chua tra coc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng m/Y</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách đặt cọc</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/current-deposit",
    "title": "Lấy danh sách đặt cọc đang giữ",
    "name": "_current_deposit",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 la coc giu cho, 2 la coc hop dong</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng m/Y</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách đặt cọc đang giữ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/detail-voucher",
    "title": "Chi tiết voucher",
    "name": "_detail_voucher",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy Chi tiết voucher</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/edit-spend",
    "title": "Cập nhật phiếu chi",
    "name": "_edit_spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Lý do chi</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Ngày chi Gửi lên dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "receiver",
            "description": "<p>Người nhận</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>1 là tiền mặt, 2 là chuyển khoản</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>ghi chú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>Id của phiếu chi</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "repeat_every",
            "description": "<p>Lặp lại theo chu kỳ định sẵn. Nếu field này rỗng tức là ko áp dụng lặp lại</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "repeat_every_custom",
            "description": "<p>Lặp lại theo chu kỳ custom. Field này là số</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "repeat_type_custom",
            "description": "<p>Loại của chu kỳ custom. 1,2,3,4 tương ứng là ngày, tuần tháng năm</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cycles",
            "description": "<p>Số lần lặp lại, dạng số</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "unlimited_cycles",
            "description": "<p>Lặp vô hạn. Truyền lên true false. Nếu trường này là true thì backend tự động bỏ qua field cycles kia.</p>"
          }
        ]
      }
    },
    "description": "<p>Api  Cập nhật phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/get-collect",
    "title": "Danh sách phiếu thu",
    "name": "_get_collect",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "en",
            "description": "<p>đ_date m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Danh sách thu tiền phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/get-detail-collect-spend",
    "title": "Chi tiết thu chi",
    "name": "_get_detail_collect_spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Chi tiết thu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/get-spend",
    "title": "Danh sách phiếu chi",
    "name": "_get_spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "en",
            "description": "<p>đ_date m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Danh sách thu tiền phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/room-fee",
    "title": "Lấy các dịch vụ phòng",
    "name": "_room_fee",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy các dịch vụ phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/create-payment",
    "title": "Tạo 1 thanh toán",
    "name": "create_payment",
    "group": "Money",
    "description": "<p>Tạo 1 thanh toán</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": "<p>Mã hóa đơn thanh toán</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payer",
            "description": "<p>Người thanh toán</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>Phương thức thanh toán. 1 là tiền mặt 2 là chuyển khoản</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>d/m/Y Ngày lập phiếu thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/create-payment-multiple",
    "title": "Tạo thanh toán cho nhóm hóa đơn",
    "name": "create_payment_multiple",
    "group": "Money",
    "description": "<p>Tạo thanh toán cho nhóm hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "money_info_ids[]",
            "description": "<p>Các mã hóa đơn thanh toán</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payer",
            "description": "<p>Người thanh toán</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>Phương thức thanh toán. 1 là tiền mặt 2 là chuyển khoản</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>d/m/Y Ngày lập phiếu thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/create-type-collect",
    "title": "Thêm loại phiếu thu",
    "name": "create_type_collect",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          }
        ]
      }
    },
    "description": "<p>Api Thêm loại phiếu thu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/create-type-spend",
    "title": "Thêm loại phiếu chi",
    "name": "create_type_spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          }
        ]
      }
    },
    "description": "<p>Api Thêm loại phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/voucher-config",
    "title": "cai dat chan trang",
    "name": "create_voucher_config",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api cai dat chan trang</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/current-money-info",
    "title": "Danh sách hóa đơn hiện tại",
    "name": "current_money_info",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 là các hóa đơn chưa thanh toán hết, 0 là tất cả hóa đơn, 2 là hóa đơn đã thanh toán hết</p>"
          }
        ]
      }
    },
    "description": "<p>Api Danh sách hóa đơn hiện tại</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa phiếu thu chi bất kỳ",
    "name": "delete",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa phiếu thu chi bất kỳ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/delete-type-collect",
    "title": "Xoa loại phiếu thu",
    "name": "delete_type_collect",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Thêm loại phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/delete-type-spend",
    "title": "Xoa loại phiếu chi",
    "name": "delete_type_spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Thêm loại phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/delete-voucher",
    "title": "Xóa hóa đơn bất kỳ",
    "name": "delete_voucher",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Xóa hóa đơn bất kỳ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/detail-money-info",
    "title": "Chi tiết hóa đơn",
    "name": "detail_money_info",
    "group": "Money",
    "description": "<p>Api Chi tiết hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/detail-money-info-month",
    "title": "Chi tiết hóa đơn theo tháng",
    "name": "detail_money_info_month",
    "group": "Money",
    "description": "<p>Api Chi tiết hóa đơn theo tháng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/detail-money-info-room-service",
    "title": "Chi tiết hóa đơn tiền nhà và dịch vụ",
    "name": "detail_money_info_room_service",
    "group": "Money",
    "description": "<p>Api CChi tiết hóa đơn tiền nhà và dịch vụ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/detail-money-info-room-unpaid",
    "title": "Chi tiết hóa đơn chưa thanh toán hết của 1 phòng",
    "name": "detail_money_info_room_unpaid",
    "group": "Money",
    "description": "<p>Api Chi tiết hóa đơn chưa thanh toán hết của 1 phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/edit-payment",
    "title": "Cập nhật payment",
    "name": "edit_payment",
    "group": "Money",
    "description": "<p>Api Cập nhật payment</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "transaction_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/edit-type-collect",
    "title": "Sua loại phiếu thu",
    "name": "edit_type_collect",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Thêm loại phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/edit-type-spend",
    "title": "Sua loại phiếu chi",
    "name": "edit_type_spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Thêm loại phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/get-type-collect",
    "title": "Lấy danh sách các loại thu",
    "name": "get_type_collect",
    "group": "Money",
    "description": "<p>Api Lấy danh sách các loại thu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy danh sách các hóa đơn",
    "name": "list",
    "group": "Money",
    "description": "<p>Api Lấy danh sách các hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/list-before",
    "title": "Lấy danh sách các hóa đơn tiền nhà tháng này, dịch vụ tháng trc",
    "name": "list_before",
    "group": "Money",
    "description": "<p>Lấy danh sách các hóa đơn tiền nhà tháng này, dịch vụ tháng trc</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/list-type-spend",
    "title": "Lấy danh sách loại phiếu chi",
    "name": "list_type_spend",
    "group": "Money",
    "description": "<p>Api Lấy danh sách loại phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/paid-full",
    "title": "Đánh dấu đã thanh toán đủ",
    "name": "paid_ful",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "id[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Ngày thanh toán. Dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payer",
            "description": "<p>Người thu tiền</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>Phương thức thanh toán. 1 là tiền mặt 2 là chuyển khoản</p>"
          }
        ]
      }
    },
    "description": "<p>Api đánh dấu nhiều hóa đơn đã thanh toán</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/paid-history",
    "title": "Lấy lịch sử thanh toán",
    "name": "paid_history",
    "group": "Money",
    "description": "<p>Api Lấy lịch sử thanh toán</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/paid-history-2",
    "title": "Lấy lịch sử thanh toán",
    "name": "paid_history_2",
    "group": "Money",
    "description": "<p>Api Lấy lịch sử thanh toán</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/paid-room",
    "title": "Danh sách thu tiền phòng",
    "name": "paid_room",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Dạng m/Y</p>"
          }
        ]
      }
    },
    "description": "<p>Api Danh sách thu tiền phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/print-all-unpaid-contract-by-hostel",
    "title": "In tất cả hóa đơn chưa thanh toán của nhà trọ",
    "name": "print_all_unpaid_contract_by_hostel",
    "group": "Money",
    "description": "<p>Api In danh sách chưa thanh toán của nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/print-end-contract",
    "title": "Print hoa don thanh ly HD",
    "name": "print_end_contract",
    "group": "Money",
    "description": "<p>Api Print hoa don thanh ly HD</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/print-money-info",
    "title": "Download pdf hóa đơn",
    "name": "print_money_info",
    "group": "Money",
    "description": "<p>Api Download pdf hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/print-money-info-month",
    "title": "Download pdf hóa đơn theo tháng",
    "name": "print_money_info_month",
    "group": "Money",
    "description": "<p>Api Download pdf hóa đơn theo tháng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/print-money-info-room-service",
    "title": "Download pdf hóa đơn theo tháng phòng và dịch vụ",
    "name": "print_money_info_room_service",
    "group": "Money",
    "description": "<p>Api Download pdf hóa đơn theo tháng phòng và dịch vụ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/remain-contract",
    "title": "Lấy danh sách các hóa đơn chưa thanh toán hết của hợp đồng",
    "name": "remain_contract",
    "group": "Money",
    "description": "<p>Api Lấy danh sách các hóa đơn chưa thanh toán hết của hợp đồng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_contract_date",
            "description": "<p>Dạng d/m/Y</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/send-all-unpaid-by-hostel",
    "title": "Gửi tin nhắn thông báo hóa đơn chưa thanh toán cho phòng/giường",
    "name": "send_all_unpaid_by_hostel",
    "group": "Money",
    "description": "<p>Api Gửi hóa đơn chưa thanh toán cho phòng/giường theo Nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/send-zalo-unpaid",
    "title": "Gửi zalo hóa đơn chưa thanh toán",
    "name": "send_zalo_unpaid",
    "group": "Money",
    "description": "<p>Api Gửi zalo hóa đơn chưa thanh toán</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/spend",
    "title": "Tạo phiếu chi",
    "name": "spend",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Lý do chi</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Ngày chi Gửi lên dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_purpose",
            "description": "<p>Loại chi. id loại phiếu chi</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "receiver",
            "description": "<p>Người nhận</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>1 là tiền mặt, 2 là chuyển khoản</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>ghi chú</p>"
          }
        ]
      }
    },
    "description": "<p>Api Tạo phiếu chi</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/stat",
    "title": "Lấy thông tin tkkd",
    "name": "stat",
    "group": "Money",
    "description": "<p>Api Lấy thông tin tkkd</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_spend",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_collect[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/stat-2",
    "title": "Lấy thông tin tkkd cho bản mới",
    "name": "stat_2",
    "group": "Money",
    "description": "<p>Api Lấy thông tin tkkd</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_spend",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_collect[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/store-voucher",
    "title": "Tạo hóa đơn dịch vụ",
    "name": "store_voucher",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "qty",
            "description": "<p>Số lượng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee-contracts",
            "description": "<p>Danh sách id các loại phí được lựa chọn</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee-dynamics",
            "description": "<p>Dạng mảng có id là key của phí biến động, value là giá trị</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ew-start",
            "description": "<p>Dạng mảng có key là id của điện hoặc nước, value là giá trị đầu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ew-end",
            "description": "<p>Dạng mảng có key là id của điện hoặc nước, value là giá trị cuối</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "discount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "auto_send_invoice",
            "description": "<p>Có tự động gửi thông báo invoice hay ko</p>"
          }
        ]
      }
    },
    "description": "<p>Api Tạo hóa đơn dịch vụ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/update-collect",
    "title": "Cập nhật phiếu thu",
    "name": "update_collect",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "amount",
            "description": "<p>Số tiền</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Ngày thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>Id phiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên phiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "receiver",
            "description": "<p>Người thu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payer",
            "description": "<p>Người nộp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_method",
            "description": "<p>Hình thức</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_collect_id",
            "description": "<p>Loại phiếu thu</p>"
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật phiếu thu</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "get",
    "url": "/voucher-config",
    "title": "Lay cai dat chan trang",
    "name": "voucher_config",
    "group": "Money",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lay cai dat chan trang</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/MoneyController.php",
    "groupTitle": "Money"
  },
  {
    "type": "post",
    "url": "/code",
    "title": "Lấy mã khuyến mại",
    "name": "_code",
    "group": "Partner",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "event_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reference_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy mã khuyến mại</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PartnerController.php",
    "groupTitle": "Partner"
  },
  {
    "type": "get",
    "url": "/contact",
    "title": "Lấy contact",
    "name": "_contact",
    "group": "Partner",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy contact</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PartnerController.php",
    "groupTitle": "Partner"
  },
  {
    "type": "get",
    "url": "/events",
    "title": "Lấy danh sách event",
    "name": "_events",
    "group": "Partner",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_active",
            "description": "<p>gửi 0 nếu lấy tất cả, mặc định chỉ lấy các coupon còn hạn</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách event</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PartnerController.php",
    "groupTitle": "Partner"
  },
  {
    "type": "get",
    "url": "/history",
    "title": "Lấy lịch sử",
    "name": "_history",
    "group": "Partner",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "coupon_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy lịch sử</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PartnerController.php",
    "groupTitle": "Partner"
  },
  {
    "type": "get",
    "url": "/owner-partner",
    "title": "Lấy danh sách partner là owner",
    "name": "_owner_partner",
    "group": "Partner",
    "description": "<p>Api Lấy danh sách partner là owner</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PartnerController.php",
    "groupTitle": "Partner"
  },
  {
    "type": "post",
    "url": "/redeem",
    "title": "Dùng mã coupon",
    "name": "_redeem",
    "group": "Partner",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Dùng mã coupon</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PartnerController.php",
    "groupTitle": "Partner"
  },
  {
    "type": "get",
    "url": "/packages",
    "title": "Lấy thông tin các gói cước",
    "name": "packages",
    "group": "Payment",
    "description": "<p>Lấy thông tin các gói cước</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PaymentController.php",
    "groupTitle": "Payment"
  },
  {
    "type": "get",
    "url": "/payment-info",
    "title": "Lấy thông tin khi thanh toán",
    "name": "payment_info",
    "group": "Payment",
    "description": "<p>Lấy thông tin khi thanh toán</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "coupon_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "package_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>số tháng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room",
            "description": "<p>số phòng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PaymentController.php",
    "groupTitle": "Payment"
  },
  {
    "type": "post",
    "url": "/process-order",
    "title": "Tạo đơn hàng",
    "name": "process_order",
    "group": "Payment",
    "description": "<p>Xử lý đơn hàng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "coupon_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "package_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>số tháng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "rooms",
            "description": "<p>số phòng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "payment_type",
            "description": "<p>loại thanh toán, 0 là chuyển khoản, 1 là vnpay</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PaymentController.php",
    "groupTitle": "Payment"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy danh sách popup",
    "name": "_list",
    "group": "Popup",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>1 là ios, 2 là android, 3 là web</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách popup</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PopupController.php",
    "groupTitle": "Popup"
  },
  {
    "type": "post",
    "url": "/post-news/",
    "title": "Create tạo tin đăng",
    "name": "_post_news_create",
    "group": "PostNews",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api tạo tin đăng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PostNewsController.php",
    "groupTitle": "PostNews"
  },
  {
    "type": "get",
    "url": "/post-news/",
    "title": "detail Chi tiết tin",
    "name": "_post_news_detail",
    "group": "PostNews",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api chi tiết tin</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PostNewsController.php",
    "groupTitle": "PostNews"
  },
  {
    "type": "get",
    "url": "/post-news/",
    "title": "data Danhh sách filter",
    "name": "_post_news_filter",
    "group": "PostNews",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "search",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sort",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amenities",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "page",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pagesize",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Danh sách dữ liệu lọc theo các trường</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/PostNewsController.php",
    "groupTitle": "PostNews"
  },
  {
    "type": "get",
    "url": "/rent-status",
    "title": "Tong hop hien trang thue",
    "name": "rent_status",
    "group": "Report",
    "description": "<p>Api Tong hop hien trang thue</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ReportController.php",
    "groupTitle": "Report"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Lưu phòng trọ",
    "name": "_create",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amenities",
            "description": "<p>Mảng id các tiện ích. Kiểu amenities[] = 1, amenities[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_amenities",
            "description": "<p>Mảng tên các tiện ích của user.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Mảng các ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "types",
            "description": "<p>Mảng các type ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "block_name",
            "description": "<p>Tầng / khu /dãy</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>Id nhà trọ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "size",
            "description": "<p>Diện tích</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_renters",
            "description": "<p>Số người phù hợp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_available",
            "description": "<p>Ngày trống phòng dạng d/m/Y</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lưu phòng trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/amenities",
    "title": "Lấy danh sách tiện ích phòng",
    "name": "amenities",
    "group": "Room",
    "description": "<p>Lấy danh sách tiện ích phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/bike-type",
    "title": "Danh sách loại phương tiện",
    "name": "bike_type",
    "group": "Room",
    "description": "<p>Danh sách loại phương tiện</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/bikes",
    "title": "Danh sách phương tiện",
    "name": "bikes",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Danh sách phương tiện</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/calculate-update-money-info",
    "title": "Lấy thông tin số tiền cập nhật hóa đơn",
    "name": "calculate_update_money_info",
    "group": "Room",
    "description": "<p>Api Lấy thông tin số tiền cập nhật hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "discount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "value_money_info",
            "description": "<p>đơn giá</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/change-contract",
    "title": "Chuyển HĐ",
    "name": "change_contract",
    "group": "Room",
    "description": "<p>Api Chuyển HĐ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_id",
            "description": "<p>ID của người thuê</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/contract-attach",
    "title": "Thêm file vào HĐ",
    "name": "contract_attach",
    "group": "Room",
    "description": "<p>Api Thêm file vào HĐ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Files",
            "optional": false,
            "field": "files",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/contract-end-by-day",
    "title": "Lấy danh sách HD sap het theo ngay",
    "name": "contract_end_by_day",
    "group": "Room",
    "description": "<p>Lấy danh sách HD sap het theo ngay</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "number_day",
            "description": "<p>30-60-90</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-bike",
    "title": "Thêm phương tiện",
    "name": "create_bike",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bike_names",
            "description": "<p>Danh sách tên xe dạng mảng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bike_types",
            "description": "<p>Danh sách loại xe dạng mảng. 0 là xe đạp, 1 là xe máy, 2 là xe điện, 3 là ô tô</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bike_bks",
            "description": "<p>Danh sách biển số xe dạng mảng</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "bike_image",
            "description": "<p>Hình ảnh xe dạng mảng file</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Thêm phương tiện vào phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-contract",
    "title": "Tạo hợp đồng",
    "name": "create_contract",
    "group": "Room",
    "description": "<p>Tạo hợp đồng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_contract",
            "description": "<p>Ngày hợp đồng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_enable",
            "description": "<p>Ngày hiệu lực</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Thuê từ ngày (dạng d/m/Y)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Thuê đến ngày (dạng d/m/Y)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_price",
            "description": "<p>Tiền phòng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": "<p>Đặt cọc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "period",
            "description": "<p>Chu kỳ trả (truyền 1 2 3 6 12)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type_rent",
            "description": "<p>Hình thức thuê (1 là đầu kỳ 2 là cuối kỳ)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_collected",
            "description": "<p>Đã thu tiền phòng hay chưa ('on' là có)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "collect_to",
            "description": "<p>Đã thu tiền đến tháng (dạng 'm/Y')</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú khách hàng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>SĐT khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên khách</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "image",
            "description": "<p>Ảnh khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": "<p>Email khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>Địa chỉ khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": "<p>CMND khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_join",
            "description": "<p>Ngày vào (dạng 'd/m/Y')</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_status",
            "description": "<p>Trạng thái tạm trú (0 là chưa khai báo, 1 là có thời hạn, 2 là không thời hạn)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_end_residence",
            "description": "<p>Hạn tạm trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_contracts",
            "description": "<p>Id của cái fee [&quot;10&quot;, &quot;11&quot;]</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "qty",
            "description": "<p>Số lượng hoặc chỉ số đầu của fee</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-contract-2",
    "title": "Tạo hợp đồng moi",
    "name": "create_contract",
    "group": "Room",
    "description": "<p>Tạo hợp đồng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_contract",
            "description": "<p>Thuê từ ngày</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Thuê đến ngày (dạng d/m/Y)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_price",
            "description": "<p>Tiền phòng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": "<p>Đặt cọc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "period",
            "description": "<p>Chu kỳ trả (truyền 1 2 3 6 12)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_collected",
            "description": "<p>Đã thu tiền phòng hay chưa ('on' là có)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "collect_to",
            "description": "<p>Đã thu tiền đến tháng (dạng 'd/m/Y')</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú khách hàng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>SĐT khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên khách</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "image",
            "description": "<p>Ảnh khách</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "renter_signature",
            "description": "<p>Ảnh chữ ký khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": "<p>Email khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>Địa chỉ khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": "<p>CMND khách</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number_date",
            "description": "<p>ngày cấp cmnd</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number_location",
            "description": "<p>nơi cấp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_status",
            "description": "<p>Trạng thái tạm trú (0 là chưa khai báo, 1 là có thời hạn, 2 là không thời hạn)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_end_residence",
            "description": "<p>Hạn tạm trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_contracts",
            "description": "<p>Id của cái fee [&quot;10&quot;, &quot;11&quot;]</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "qty",
            "description": "<p>Số lượng hoặc chỉ số đầu của fee</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reserve_id",
            "description": "<p>Id cua giu cho</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "day_collect",
            "description": "<p>Ngay thu (tu 1 den 31)</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "bed_id",
            "description": "<p>id giường</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-renter",
    "title": "Lưu người phụ thuộc (hoặc thêm người ở trọ)",
    "name": "create_renter",
    "group": "Room",
    "description": "<p>Lưu người phụ thuộc (hoặc thêm người ở trọ)</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_status",
            "description": "<p>Trạng thái khai báo tạm trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_end_residence",
            "description": "<p>Thời hạn tạm trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú khách hàng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-report-break",
    "title": "Tạo một yêu cầu báo hỏng",
    "name": "create_report_break",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Tạo một yêu cầu báo hỏng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-room-note",
    "title": "Tạo ghi chú phòng",
    "name": "create_room_note",
    "group": "Room",
    "description": "<p>Api Tạo ghi chú phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/create-room-type",
    "title": "Tạo loại phòng",
    "name": "create_room_type",
    "group": "Room",
    "description": "<p>Api Tạo loại phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "size",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_peoples",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete",
    "title": "Xóa phòng",
    "name": "delete",
    "group": "Room",
    "description": "<p>Xóa phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete-bike",
    "title": "Xóa phương tiện",
    "name": "delete_bike",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa phương tiện</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete-report-break",
    "title": "Xoa báo hỏng",
    "name": "delete_report_break",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xoa báo hỏng.</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete-reserve",
    "title": "Xóa giữ chỗ",
    "name": "delete_reserve",
    "group": "Room",
    "description": "<p>Xóa Giữ chố.</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "back_deposit",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete-room-bed",
    "title": "Xoa giuong",
    "name": "delete_room_bed",
    "group": "Room",
    "description": "<p>Api Xoa giuong</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete-room-note",
    "title": "Xóa ghi chú phòng",
    "name": "delete_room_note",
    "group": "Room",
    "description": "<p>Api Xóa ghi chú phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/delete-room-type",
    "title": "Xóa loại phòng",
    "name": "delete_room_type",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa loại phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/detail-contract",
    "title": "Chi tiết hợp đồng",
    "name": "detail_contract",
    "group": "Room",
    "description": "<p>Chi tiết hợp đồng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/detail-report-break",
    "title": "Lấy chi tiet báo hỏng",
    "name": "detail_report_break",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy chi tiet báo hỏng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/edit-renter",
    "title": "Cập nhật người phụ thuộc (hoặc người ở trọ)",
    "name": "edit_renter",
    "group": "Room",
    "description": "<p>Cập nhật người phụ thuộc (hoặc thêm người ở trọ)</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_status",
            "description": "<p>Trạng thái khai báo tạm trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_end_residence",
            "description": "<p>Thời hạn tạm trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_id",
            "description": "<p>id của người muốn được cập nhật</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "image",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/edit-room-bed",
    "title": "Cập nhật giường",
    "name": "edit_room_bed",
    "group": "Room",
    "description": "<p>Api Cập nhật giường mô hình ktx</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bed_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bed_name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bed_available",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/empty-recently",
    "title": "Phong trong gan day",
    "name": "empty_recently",
    "group": "Room",
    "description": "<p>Api Phong trong gan day</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/end-contract",
    "title": "Kết thúc hợp đồng",
    "name": "end_contract",
    "group": "Room",
    "description": "<p>Kết thúc hợp đồng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_end_contract",
            "description": "<p>dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_return_deposit",
            "description": "<p>1 là có, 0 là không trả lại nợ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_return_money_info",
            "description": "<p>1 là có, 0 là không trả lại số tiền thừa tiền phòng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/extend-contract",
    "title": "Gia han HD",
    "name": "extend_contract",
    "group": "Room",
    "description": "<p>Api Gia han HD</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>dang d/m/Y</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/gen-next-invoice",
    "title": "Sinh hóa đơn kỳ tiếp theo",
    "name": "gen_next_invoice",
    "group": "Room",
    "description": "<p>Api Sinh hóa đơn kỳ tiếp theo</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/get-contract-attach",
    "title": "Lấy file HĐ",
    "name": "get_contract_attach",
    "group": "Room",
    "description": "<p>Api Lấy file HĐ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/get-list-room-bed",
    "title": "Danh sách giường",
    "name": "get_list_room_bed",
    "group": "Room",
    "description": "<p>Api Danh sách giường</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>0 Trống, 1 Đang cọc, 2 Đang ở</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/get-renter-by-code",
    "title": "Tìm thông tin khách thuê theo sđt",
    "name": "get_renter_by_code",
    "group": "Room",
    "description": "<p>Tìm thông tin khách thuê theo sđt</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/get-report-break",
    "title": "Lấy danh sách báo hỏng",
    "name": "get_report_break",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>Status 0 la chua xu ly, 1 la dang xu ly, 2 la da xu ly</p>"
          }
        ]
      }
    },
    "description": "<p>Lấy danh sách báo hỏng. Status 0 la chua xu ly, 1 la dang xu ly, 2 la da xu ly</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/get-reserve",
    "title": "Lấy danh sách giữ chỗ",
    "name": "get_reserve",
    "group": "Room",
    "description": "<p>Lấy danh sách giữ chỗ.</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/get-room-note",
    "title": "Danh sách ghi chú phòng",
    "name": "get_room_note",
    "group": "Room",
    "description": "<p>Api Danh sách ghi chú phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/history-contract",
    "title": "Lấy danh sách lịch sử HĐ của 1 phòng",
    "name": "history_contract",
    "group": "Room",
    "description": "<p>Lấy danh sách lịch sử HĐ của 1 phòng. Status 0 là còn hiệu lực, 2 là đã thanh lý,1  là đã hết hạn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>Gửi lên dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Gửi lên dạng m/Y</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "get",
    "url": "/info",
    "title": "Chi tiết thông tin phòng trọ",
    "name": "info",
    "group": "Room",
    "description": "<p>Chi tiết thông tin phòng trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/leave",
    "title": "Rời phòng",
    "name": "leave",
    "group": "Room",
    "description": "<p>Rời phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/rate-report-break",
    "title": "Đánh giá báo hỏng",
    "name": "rate_report_break",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "report_break_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "rate",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Đánh giá báo hỏng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/reserve",
    "title": "Giữ chỗ cho phòng",
    "name": "reserve",
    "group": "Room",
    "description": "<p>Giữ chố cho phòng.</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bed_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_join",
            "description": "<p>date_join để dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/send-custom-mail-contract",
    "title": "Gửi HĐ đến mail",
    "name": "send_custom_mail_contract",
    "group": "Room",
    "description": "<p>Api Gửi HĐ đến mail</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật phòng trọ",
    "name": "update",
    "group": "Room",
    "description": "<p>Api Cập nhật phòng trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amenities",
            "description": "<p>Mảng id các tiện ích. Kiểu amenities[] = 1, amenities[] = 2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_amenities",
            "description": "<p>Mảng tên các tiện ích của user.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Mảng các ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deleted_images",
            "description": "<p>Mảng id các ảnh xóa đi. Dạng json [1,2,3]</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "types",
            "description": "<p>Mảng các type ảnh.</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "block_name",
            "description": "<p>Tầng / khu /dãy</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": "<p>Id nhà trọ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "size",
            "description": "<p>Diện tích</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_renters",
            "description": "<p>Số người phù hợp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_available",
            "description": "<p>Ngày trống phòng dạng d/m/Y</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-bike",
    "title": "Cập nhật phương tiện",
    "name": "update_bike",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bike_name",
            "description": "<p>Tên xe</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bike_type",
            "description": "<p>Loại xe. 0 là xe đạp, 1 là xe máy, 2 là xe điện, 3 là ô tô</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bike_bks",
            "description": "<p>Biển số xe</p>"
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "bike_image",
            "description": "<p>Hình ảnh xe</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "renter_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "delete_vehicle_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Cập nhật phương tiện</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-contract",
    "title": "Cập nhật hợp đồng",
    "name": "update_contract",
    "group": "Room",
    "description": "<p>Cập nhật hợp đồng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>id của hợp đồng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_price",
            "description": "<p>Tiền phòng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": "<p>Đặt cọc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "period",
            "description": "<p>Chu kỳ trả (truyền 1 2 3 6 12)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reference",
            "description": "<p>Mã HĐ tham chiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>Ngày kết thúc HĐ. Format d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": "<p>Ghi chú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "fee_contracts",
            "description": "<p>Id của cái fee dạng fee_contracts[]</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "qty",
            "description": "<p>Số lượng. Gửi lên dưới dạng qty[{fee_id}][]. Ví dụ qty[11][]</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-money-info",
    "title": "Cập nhật hóa đơn",
    "name": "update_money_info",
    "group": "Room",
    "description": "<p>Api Cập nhật hóa đơn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "discount",
            "description": "<p>giảm giá</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "value_money_info",
            "description": "<p>Đơn giá nhà mới</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-report-break",
    "title": "Cập nhật báo hỏng",
    "name": "update_report_break",
    "group": "Room",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "response_content",
            "description": "<p>phản hồi của người sửa</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>Status 0 la chua xu ly, 1 la dang xu ly, 2 la da xu ly</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images-fixed",
            "description": "<p>Anh ket qua</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images",
            "description": "<p>Anh bo sung tu nguoi tro</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "images-deleted",
            "description": "<p>Anh xoa</p>"
          }
        ]
      }
    },
    "description": "<p>Cập nhật báo hỏng. Status 0 la chua xu ly, 1 la dang xu ly, 2 la da xu ly</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-reserve",
    "title": "Cập nhật giữ chỗ",
    "name": "update_reserve",
    "group": "Room",
    "description": "<p>Cập nhật giữ chỗ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "email",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "deposit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bed_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_join",
            "description": "<p>date_join để dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-room-note",
    "title": "Cập nhật ghi chú phòng",
    "name": "update_room_note",
    "group": "Room",
    "description": "<p>Api Cập nhật ghi chú phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "/update-room-type",
    "title": "Cập nhật loại phòng",
    "name": "update_room_type",
    "group": "Room",
    "description": "<p>Api Cập nhật loại phòng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "size",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_peoples",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/RoomController.php",
    "groupTitle": "Room"
  },
  {
    "type": "post",
    "url": "v2/search/cancel",
    "title": "Hủy phiên tìm kiếm",
    "name": "_cancel",
    "group": "Search",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Hủy phiên tìm kiếm</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/SearchController.php",
    "groupTitle": "Search"
  },
  {
    "type": "get",
    "url": "v2/search/customer",
    "title": "Các phiên tìm kiếm phù hợp với chủ trọ",
    "name": "_customer",
    "group": "Search",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Các phiên tìm kiếm phù hợp với chủ trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/SearchController.php",
    "groupTitle": "Search"
  },
  {
    "type": "get",
    "url": "v2/search/district",
    "title": "Cac quan search chinh",
    "name": "_district",
    "group": "Search",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cac quan search chinh</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/SearchController.php",
    "groupTitle": "Search"
  },
  {
    "type": "get",
    "url": "v2/search/hostel",
    "title": "Tìm kiếm nhà trọ",
    "name": "_hostel",
    "group": "Search",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "min_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "type_rent",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Tìm kiếm nhà trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/SearchController.php",
    "groupTitle": "Search"
  },
  {
    "type": "get",
    "url": "v2/search/province",
    "title": "Cac tinh search chinh",
    "name": "_province",
    "group": "Search",
    "description": "<p>Api Cac tinh search chinh</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/SearchController.php",
    "groupTitle": "Search"
  },
  {
    "type": "post",
    "url": "v2/search/update",
    "title": "Cập nhật tìm kiếm",
    "name": "_update",
    "group": "Search",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>id phiên tìm kiếm</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "province_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "district_id[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ward_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "min_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "max_price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "note",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "type_rent",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật tìm kiếm</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/SearchController.php",
    "groupTitle": "Search"
  },
  {
    "type": "get",
    "url": "/comments",
    "title": "Lấy comments 1 post",
    "name": "comments",
    "group": "Social",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "post_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "last_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy comments 1 post</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/SocialController.php",
    "groupTitle": "Social"
  },
  {
    "type": "post",
    "url": "/create-comment",
    "title": "Tạo comment",
    "name": "create_comment",
    "group": "Social",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "images",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "post_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy comments 1 post</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/SocialController.php",
    "groupTitle": "Social"
  },
  {
    "type": "get",
    "url": "/post",
    "title": "Chi tiết post_id",
    "name": "post",
    "group": "Social",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "post_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lấy chi tiết post cộng đồng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/SocialController.php",
    "groupTitle": "Social"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Tạo kho",
    "name": "create",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Tạo kho</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/create-item",
    "title": "Tạo tài sản",
    "name": "create_item",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_type_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "warehouse_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reference",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>kiểu chuỗi</p>"
          }
        ]
      }
    },
    "description": "<p>Tạo tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/create-item-room",
    "title": "Thêm tài sản vào phòng",
    "name": "create_item_room",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "warehouse_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "receiver",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mover",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy danh sách tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/create-item-type",
    "title": "Tạo loại tài sản",
    "name": "create_item_type",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reference",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Tạo loại tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/delete-item",
    "title": "Xóa tài sản",
    "name": "delete_item",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/delete-item-room",
    "title": "Xóa tài sản khỏi phòng",
    "name": "delete_item_room",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>id này là id của bảng item_rooms, ko phải item_id hay room_id</p>"
          }
        ]
      }
    },
    "description": "<p>Xóa tài sản khỏi phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/delete-item-type",
    "title": "Xóa loại tài sản",
    "name": "delete_item_type",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa loại tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/delete-warehouse",
    "title": "Xóa kho",
    "name": "delete_warehouse",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Xóa kho</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "get",
    "url": "/detail-history",
    "title": "Lấy danh sách tài sản trong lần nhập xuất",
    "name": "detail_history",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy danh sách tài sản trong lần nhập xuất</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "get",
    "url": "/history",
    "title": "Lấy lịch sử nhập xuất",
    "name": "history",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_date",
            "description": "<p>gửi lên dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_date",
            "description": "<p>gửi lên dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy lịch sử nhập xuất</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "get",
    "url": "/item",
    "title": "Lấy danh sách tài sản",
    "name": "item",
    "group": "Warehouse",
    "description": "<p>Lấy danh sách tài sản</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_type_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "warehouse_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "is_available",
            "description": "<p>1 nếu muốn lấy các tài sản chưa bị thêm</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "get",
    "url": "/item-type",
    "title": "Lấy danh sách loại tài sản",
    "name": "item_type",
    "group": "Warehouse",
    "description": "<p>Lấy danh sách loại tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy danh sách kho",
    "name": "list",
    "group": "Warehouse",
    "description": "<p>Lấy danh sách kho</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/move-item",
    "title": "Chuyển tài sản",
    "name": "move_item",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": "<p>Phong nhan vao</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_export_id",
            "description": "<p>Phong xuat ra</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "receiver",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mover",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy danh sách tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "get",
    "url": "/remain-detail",
    "title": "Lấy chi tiết tồn kho",
    "name": "remain_detail",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "warehouse_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy chi tiết tồn kho</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/room-item",
    "title": "Lấy tài sản của phòng",
    "name": "room_item",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy tài sản của phòng</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật kho",
    "name": "update",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Cập nhật kho</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/update-item",
    "title": "Cập nhật tài sản",
    "name": "update_item",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reference",
            "description": "<p>Mã tham chiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "item_type_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy danh sách tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "/update-item-type",
    "title": "Cập nhật loại tài sản",
    "name": "update_item_type",
    "group": "Warehouse",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "reference",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Cập nhật loại tài sản</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/WarehouseController.php",
    "groupTitle": "Warehouse"
  },
  {
    "type": "post",
    "url": "v2/achievement/list",
    "title": "Danh sách các nhiệm vụ",
    "name": "_list",
    "group": "achievement",
    "description": "<p>Api Danh sách các nhiệm vụ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/AchievementController.php",
    "groupTitle": "achievement"
  },
  {
    "type": "get",
    "url": "/discount",
    "title": "Lấy blog discount",
    "name": "discount",
    "group": "blog",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy blog discount</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/BlogController.php",
    "groupTitle": "blog"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy blog",
    "name": "list",
    "group": "blog",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Lấy blog</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/BlogController.php",
    "groupTitle": "blog"
  },
  {
    "type": "post",
    "url": "/archive",
    "title": "Archive cuộc hội thoại",
    "name": "archive",
    "group": "conversation",
    "description": "<p>Archive cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/confirm",
    "title": "Xác nhận",
    "name": "confirm",
    "group": "conversation",
    "description": "<p>Api Xác nhận</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "request_confirm_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "find_session_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "accepts",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "get",
    "url": "/count-unread-message",
    "title": "Đếm số tin nhắn chưa đọc",
    "name": "count_unread_message",
    "group": "conversation",
    "description": "<p>Đếm số tin nhắn chưa đọc</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Tạo cuộc hội thoại",
    "name": "create",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "find_session_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Tạo cuộc hội thoại</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/create-by-renter",
    "title": "Tạo cuộc hội thoại bới người trọ",
    "name": "create_by_renter",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "users",
            "description": "<p>Mảng user tham gia (bao gồm cả người tạo - 2 phần tử)</p>"
          }
        ]
      }
    },
    "description": "<p>Api Tạo cuộc hội thoại bới người trọ</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/create-by-users",
    "title": "Tạo cuộc hội thoại theo users",
    "name": "create_by_users",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "user_ids",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Tạo cuộc hội thoại theo users</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "get",
    "url": "/detail",
    "title": "Chi tiết cuộc hội thoại",
    "name": "detail",
    "group": "conversation",
    "description": "<p>Api Chi tiết cuộc hội thoại</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/get-by-users",
    "title": "Lay cuoc hoi thoai",
    "name": "get_by_users",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "user_ids",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Lay cuoc hoi thoai</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Danh sách hội thoại",
    "name": "list",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "find_session_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "is_archived",
            "description": "<p>1 hoặc 0. 1 là lấy các cuộc hội thoại đã bị archive. 0 là ko. Mặc định là 0</p>"
          }
        ]
      }
    },
    "description": "<p>Api Danh sách hội thoại</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "get",
    "url": "/messages",
    "title": "Danh sách tin nhắn",
    "name": "messages",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "offset",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Danh sách tin nhắn</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/report-sale",
    "title": "Báo cáo môi giới",
    "name": "report_sale",
    "group": "conversation",
    "description": "<p>Báo cáo môi giới</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "post_crawl_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "types",
            "description": "<p>Các loại</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/send-confirm",
    "title": "Gửi xác nhận",
    "name": "send_confirm",
    "group": "conversation",
    "description": "<p>Api Gửi xác nhận</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "accepts",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/send-message",
    "title": "Gửi tin nhắn",
    "name": "send_message",
    "group": "conversation",
    "description": "<p>Api gửi tin nhắn</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ui_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lat",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "lng",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "attachments[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "thumbnails[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "meta_attachments[]",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "hostels[]",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/update-allow-tenant-reply",
    "title": "Cập nhật cho phép khách thuê rep",
    "name": "update_allow_tenant_reply",
    "group": "conversation",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "conversation_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "allow_tenant_reply",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật cho phép khách thuê rep</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/ConversationController.php",
    "groupTitle": "conversation"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Tạo điện nước",
    "name": "create",
    "group": "electric_water",
    "description": "<p>Api Tạo điện nước</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Chốt cho tháng, gửi lên dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_execution",
            "description": "<p>Ngày chốt, gửi lên dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_electric",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_electric",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_water",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_water",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "start_water_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "end_water_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "start_electric_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "end_electric_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": "<p>Mã hợp đồng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "electric_water"
  },
  {
    "type": "get",
    "url": "/item-hostel",
    "title": "Lấy thông tin điện nước theo nhà trọ",
    "name": "item_hostel",
    "group": "electric_water",
    "description": "<p>Api Lấy thông tin điện nước theo nhà trọ</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "electric_water"
  },
  {
    "type": "get",
    "url": "/item-month",
    "title": "Lấy thông tin điện nước theo tháng",
    "name": "item_month",
    "group": "electric_water",
    "description": "<p>Api Lấy thông tin điện nước theo tháng</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>Dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "electric_water"
  },
  {
    "type": "post",
    "url": "/update",
    "title": "Cập nhật điện nước",
    "name": "update",
    "group": "electric_water",
    "description": "<p>Api cập nhật điện nước</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hostel_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "room_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_action",
            "description": "<p>Chốt cho tháng, gửi lên dạng m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date_execution",
            "description": "<p>Ngày chốt, gửi lên dạng d/m/Y</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_electric",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_electric",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "start_water",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "end_water",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "start_water_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "end_water_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "start_electric_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "File",
            "optional": false,
            "field": "end_electric_image",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "contract_id",
            "description": "<p>Mã hợp đồng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ElectricWaterController.php",
    "groupTitle": "electric_water"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Api lấy log",
    "name": "list",
    "group": "log",
    "description": "<p>Api lấy log</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/LogController.php",
    "groupTitle": "log"
  },
  {
    "type": "get",
    "url": "/count-unread-notification",
    "title": "Đếm thông báo chưa đọc",
    "name": "count_unread_notification",
    "group": "notification",
    "description": "<p>Api Đếm thông báo chưa đọc</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/NotificationController.php",
    "groupTitle": "notification"
  },
  {
    "type": "get",
    "url": "/list",
    "title": "Lấy danh sách thông báo của user đang đăng nhập",
    "name": "list",
    "group": "notification",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "limit",
            "description": "<p>Mặc định 10</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "offset",
            "description": "<p>Mặc định 0</p>"
          }
        ]
      }
    },
    "description": "<p>Api Lấy danh sách thông báo của user đang đăng nhập</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/NotificationController.php",
    "groupTitle": "notification"
  },
  {
    "type": "get",
    "url": "/mark-read-notification",
    "title": "Đánh dấu thông báo là đã đọc",
    "name": "mark_read_notification",
    "group": "notification",
    "description": "<p>Api Đánh dấu thông báo là đã đọc</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>Nếu không gửi lên hoặc gửi rỗng lên có nghĩa đánh dấu tất cả là đã đọc</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/NotificationController.php",
    "groupTitle": "notification"
  },
  {
    "type": "post",
    "url": "/update-status",
    "title": "Cập nhật status",
    "name": "update_status",
    "group": "notification",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>2 là bỏ qua. 1 là tạo hội thoại</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Cập nhật status</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/NotificationController.php",
    "groupTitle": "notification"
  },
  {
    "type": "get",
    "url": "v2/package/list",
    "title": "Lấy danh sách package",
    "name": "_list",
    "group": "package",
    "description": "<p>Api Lấy danh sách tk bằng SĐT</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/PackageController.php",
    "groupTitle": "package"
  },
  {
    "type": "post",
    "url": "v2/payment/momo/create-app-pay-request",
    "title": "Tạo yêu cầu thanh toán momo",
    "name": "_create_app_pay_request",
    "group": "payment",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_ref_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_trans_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "amount",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "customer_number",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Tạo yêu cầu thanh toán momo</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/PaymentController.php",
    "groupTitle": "payment"
  },
  {
    "type": "post",
    "url": "v2/payment/zalopay/create-order",
    "title": "Tạo đơn hàng zalopay",
    "name": "_create_order",
    "group": "payment",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": ""
          }
        ]
      }
    },
    "description": "<p>Api Tạo yêu cầu thanh toán momo</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/PaymentController.php",
    "groupTitle": "payment"
  },
  {
    "type": "post",
    "url": "v2/payment/momo/create-money-info-request",
    "title": "Tạo thanh toán hóa đơn",
    "name": "create_money_info_request",
    "group": "payment",
    "description": "<p>Tạo thanh toán hóa đơn momo</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_ref_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_trans_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_id",
            "description": "<p>id hóa đơn</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount",
            "description": "<p>số tiền</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/PaymentController.php",
    "groupTitle": "payment"
  },
  {
    "type": "post",
    "url": "v2/payment/momo/create-money-infos-request",
    "title": "Tạo thanh toán nhiều hóa đơn",
    "name": "create_money_infos_request",
    "group": "payment",
    "description": "<p>Tạo thanh toán nhiều hóa đơn momo</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_ref_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_trans_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "money_info_ids",
            "description": "<p>id các hóa đơn</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/PaymentController.php",
    "groupTitle": "payment"
  },
  {
    "type": "post",
    "url": "v2/payment/momo/create-order-request",
    "title": "Tạo đơn hàng",
    "name": "create_order_request",
    "group": "payment",
    "description": "<p>Tạo đơn hàng momo</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_ref_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "partner_trans_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "coupon_code",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "package_id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month",
            "description": "<p>số tháng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "rooms",
            "description": "<p>số phòng</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/PaymentController.php",
    "groupTitle": "payment"
  },
  {
    "type": "post",
    "url": "/create",
    "title": "Lưu thông tin tạm trú",
    "name": "_create",
    "group": "residence",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": "<p>id khách trọ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "other_name",
            "description": "<p>Tên khác</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "day_birth",
            "description": "<p>ngày sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "month_birth",
            "description": "<p>tháng sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "year_birth",
            "description": "<p>năm sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "gender",
            "description": "<p>Giới tính. Free text</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birth_location",
            "description": "<p>Nơi sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hometown",
            "description": "<p>Nguyên quán</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "folk",
            "description": "<p>Dân tộc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "religion",
            "description": "<p>Tôn giáo</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "nationality",
            "description": "<p>Quốc tịch</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": "<p>Số CMND</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "passport_number",
            "description": "<p>Số hộ chiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_location",
            "description": "<p>Nơi thường trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "current_address",
            "description": "<p>Địa chỉ hiện tại</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "learning",
            "description": "<p>Trình độ học vấn</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "skill",
            "description": "<p>Trình độ chuyên môn</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "folk_lang",
            "description": "<p>Biết tiếng dân tộc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "foreign_lang",
            "description": "<p>Ngoại ngữ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "job",
            "description": "<p>Nghề nghiệp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_yourself[]",
            "description": "<p>Tóm tắt bản thân. Gửi lên dạng json dạng mảng bao gồm 3 truờng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_yourself.date",
            "description": "<p>Thông tin ngày tháng</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_yourself.location",
            "description": "<p>Chỗ ở</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_yourself.job",
            "description": "<p>Nghề nghiệp, nơi làm việc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "criminal",
            "description": "<p>Thông tin tiền án tiền sự</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family[]",
            "description": "<p>Tóm tắt gia đình</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family.name",
            "description": "<p>Họ tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family.birthday",
            "description": "<p>Ngày tháng năm sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family.gender",
            "description": "<p>Giới tính</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family.relation",
            "description": "<p>Quan hệ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family.job",
            "description": "<p>Nghề nghiệp</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "summarize_family.current_location",
            "description": "<p>Chỗ ở hiện nay</p>"
          }
        ]
      }
    },
    "description": "<p>Api lưu thông tin tạm trú</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ResidenceController.php",
    "groupTitle": "residence"
  },
  {
    "type": "post",
    "url": "/create-change",
    "title": "Lưu kê khai thay đổi nhân khẩu",
    "name": "_create_change",
    "group": "residence",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": "<p>id khách trọ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_name",
            "description": "<p>họ tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_gender",
            "description": "<p>giới tính</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_id_number",
            "description": "<p>CMND</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_passport_number",
            "description": "<p>Hộ chiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_residence_location",
            "description": "<p>Nơi thường trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_current_address",
            "description": "<p>Địa chỉ chỗ ở hiện nay</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_create_phone",
            "description": "<p>Số điện thoại liên hệ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>Họ và tên</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "gender",
            "description": "<p>Giới tính</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birthday",
            "description": "<p>Ngày, tháng, năm sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "folk",
            "description": "<p>Dân tộc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "nationality",
            "description": "<p>Quốc tịch</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number",
            "description": "<p>Số CMND</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "passport_number",
            "description": "<p>Số hộ chiếu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "birth_location",
            "description": "<p>Nơi sinh</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "hometown",
            "description": "<p>Nguyên quán</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "job",
            "description": "<p>Nghề nghiệp, nơi làm việc</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence_location",
            "description": "<p>Nơi thường trú</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "current_address",
            "description": "<p>Địa chỉ chỗ ở hiện nay</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>Số điện thoại liên hệ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_name",
            "description": "<p>Họ và tên chủ hộ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "owner_relation",
            "description": "<p>Quan hệ với chủ hộ</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "change_content",
            "description": "<p>Nội dung thay đổi hộ khẩu nhân khẩu</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users[]",
            "description": "<p>Những người cùng khai</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.name",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.birthday",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.gender",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.birth_location",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.job",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.folk",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.nationality",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.id_number",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "users.relation",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_name",
            "description": "<p>1</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_birthday",
            "description": "<p>2</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_blood_type",
            "description": "<p>3</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_gender",
            "description": "<p>4 (1 là nam, 0 là nữ)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "marriage_status",
            "description": "<p>5 (1 chưa, 2 là đã, 3 là ly)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "location_birthday",
            "description": "<p>6</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "religion",
            "description": "<p>10</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "residence",
            "description": "<p>12</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "current_location",
            "description": "<p>13</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name_father",
            "description": "<p>14</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "nationality_father",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number_father",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_identity_father",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name_mother",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "nationality_mother",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number_mother",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_identity_mother",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name_wife",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "nationality_wife",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_number_wife",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id_identity_wife",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "collect_owner_name",
            "description": "<p>15</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "collect_owner_relation",
            "description": "<p>16</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "number_residence",
            "description": "<p>17</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": "<p>18</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>0 là cái tờ 2. 1 là tờ 3</p>"
          }
        ]
      }
    },
    "description": "<p>Api lưu thông tin tạm trú / thu thập thông tin</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ResidenceController.php",
    "groupTitle": "residence"
  },
  {
    "type": "get",
    "url": "/item",
    "title": "Xem thông tin tạm trú",
    "name": "_item",
    "group": "residence",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": "<p>id khách trọ</p>"
          }
        ]
      }
    },
    "description": "<p>Api xem thông tin tạm trú</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ResidenceController.php",
    "groupTitle": "residence"
  },
  {
    "type": "get",
    "url": "/item-change",
    "title": "Xem thông tin kê khai",
    "name": "_item_change",
    "group": "residence",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": "<p>id khách trọ</p>"
          }
        ]
      }
    },
    "description": "<p>Api Xem thông tin kê khai</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ResidenceController.php",
    "groupTitle": "residence"
  },
  {
    "type": "get",
    "url": "/print",
    "title": "In thông tin tạm trú",
    "name": "_print",
    "group": "residence",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": "<p>id khách trọ</p>"
          }
        ]
      }
    },
    "description": "<p>Api In thông tin tạm trú</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ResidenceController.php",
    "groupTitle": "residence"
  },
  {
    "type": "get",
    "url": "/print-change",
    "title": "In bản kê khai",
    "name": "_print_change",
    "group": "residence",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "user_id",
            "description": "<p>id khách trọ</p>"
          }
        ]
      }
    },
    "description": "<p>Api In bản kê khai</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v1/ResidenceController.php",
    "groupTitle": "residence"
  },
  {
    "type": "post",
    "url": "/history",
    "title": "Lịch sử giao dịch",
    "name": "history",
    "group": "transaction",
    "description": "<p>Lịch sử giao dịch</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "limit",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "offset",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/TransactionController.php",
    "groupTitle": "transaction"
  },
  {
    "type": "post",
    "url": "/update-status",
    "title": "Cập nhật trạng thái transaction",
    "name": "update_status",
    "group": "transaction",
    "description": "<p>Cập nhật trạng thái transaction</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": ""
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": ""
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>1 hoặc 0. 1 là thành công, 0 là không thành công.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>Tin nhắn hệ thống.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": ""
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "/home/itro.vn/public_html/app/Http/Controllers/Api/v2/TransactionController.php",
    "groupTitle": "transaction"
  }
]
