{
  "openapi": "3.0.1",
  "info": {
    "title": "Helpdesk API",
    "version": "v1"
  },
  "paths": {
    "/vinfo": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "cs",
            "in": "query",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/DynamicAppController/ApplicationSetup": {
      "post": {
        "tags": [
          "DynamicAppConfig"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BasicVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BasicVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BasicVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetAllServiceLevelsByServiceId/{serviceId}": {
      "post": {
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "serviceId",
            "in": "path",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetAllServiceLevels": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServicesLevel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServicesLevel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServicesLevel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetAllServiceUnits": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServicesUnit"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServicesUnit"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServicesUnit"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetAllOptionType": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OptionTypes"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OptionTypes"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OptionTypes"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetAllOptions": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OptionVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OptionVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OptionVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetAllServices": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Services"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Services"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Services"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetDocumentByType": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetCiationByType": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Ciation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Ciation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Ciation"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetSubjectByType": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Subject"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Subject"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Subject"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetPriceByPageAndLevel": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Pricing"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Pricing"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Pricing"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/AddServiceOrder": {
      "post": {
        "tags": [
          "Services"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceOrders"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceOrders"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ServiceOrders"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/GetOrderById/{orderId}": {
      "post": {
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Services/UpdatePaymentStatus/{orderId}": {
      "post": {
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetCompanySettingsForAgent": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetTicketsByAgent": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetTicketsByCustomer": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/CreateTicketSettings": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/AddTicket": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicket"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicket"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicket"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/AddNewContact": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/AddLead": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLead"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLead"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddLead"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetAgentDashboard": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/AddTicketAgent": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicket"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicket"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicket"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetContentUrl": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/UpdateStatus": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetTicketById": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetAgentByAppUserId": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataReq"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DataReq"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DataReq"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetImage": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/UpdateMsgSeen": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TicketsRequestVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/AddReply": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicketReply"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicketReply"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddTicketReply"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetAgentTicketFiltered": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilterTickets"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FilterTickets"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FilterTickets"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/HelpDesk/Tickets/GetCustomerTicketFiltered": {
      "post": {
        "tags": [
          "Tickets"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilterTickets"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FilterTickets"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FilterTickets"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/WeatherForecast": {
      "get": {
        "tags": [
          "WeatherForecast"
        ],
        "operationId": "GetWeatherForecast",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeatherForecast"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeatherForecast"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeatherForecast"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/GetCompanyInfo": {
      "post": {
        "tags": [
          "Website"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/GetCountryCodes": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateSecretKey"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateSecretKey"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateSecretKey"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/GetAuthPortalUrl": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateSecretKey"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateSecretKey"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateSecretKey"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/ValidateMobile": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/ValidateOTP": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/ValidatePassword": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/GetUserRoles": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRolesVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRolesVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserRolesVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/RegenerateTokenWithRole": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleVM"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleVM"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RoleVM"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/GetUserMainInfo": {
      "post": {
        "tags": [
          "Website"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/ValidateUserAndRolesFromMobile": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateLoginVm"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/ValidateMobileByOTP": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateMobileOTP"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateMobileOTP"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateMobileOTP"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Account/AuthorizeAndLogin/VerifyOTP": {
      "post": {
        "tags": [
          "Website"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateMobileOTP"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateMobileOTP"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateMobileOTP"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddLead": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "contactCategoryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "mobileCountryCodeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "mobile": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddTicket": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ticketTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "contactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "agentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isAnswered": {
            "type": "boolean"
          },
          "isOpened": {
            "type": "boolean"
          },
          "customerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "driverId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ticketNo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "referId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "referType": {
            "type": "string",
            "nullable": true
          },
          "serviceRequestId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ticketTypeId2": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "rideId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "createdByIP": {
            "type": "string",
            "nullable": true
          },
          "modifiedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modifiedByIP": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddTicketReply": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ticketId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "userType": {
            "type": "string",
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HFileContent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BasicVM": {
        "type": "object",
        "properties": {
          "secretKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Ciation": {
        "type": "object",
        "properties": {
          "optionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ContactRequestVM": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DataReq": {
        "type": "object",
        "properties": {
          "appUserId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DateOnly": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "format": "int32"
          },
          "month": {
            "type": "integer",
            "format": "int32"
          },
          "day": {
            "type": "integer",
            "format": "int32"
          },
          "dayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "dayOfYear": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "dayNumber": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DayOfWeek": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "Documents": {
        "type": "object",
        "properties": {
          "optionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionTypeName": {
            "type": "string",
            "nullable": true
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FilterTickets": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "ticketStatuses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "replyStatuses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HFileContent": {
        "type": "object",
        "properties": {
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "docType": {
            "type": "string",
            "nullable": true
          },
          "exten": {
            "type": "string",
            "nullable": true
          },
          "sizeinmb": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "OptionTypes": {
        "type": "object",
        "properties": {
          "optionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionTypeName": {
            "type": "string",
            "nullable": true
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OptionVM": {
        "type": "object",
        "properties": {
          "optionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "optionTypeName": {
            "type": "string",
            "nullable": true
          },
          "optionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Pricing": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceLevelId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceUnitId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "servicePricingId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "minQty": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxQty": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ratePerUnit": {
            "type": "number",
            "format": "double"
          },
          "step": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hours": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deadline": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RoleVM": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceOrders": {
        "type": "object",
        "properties": {
          "serviceOrderID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceLevelID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceUnitID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deadline": {
            "type": "string",
            "format": "date-time"
          },
          "time": {
            "$ref": "#/components/schemas/TimeSpan"
          },
          "leadContactID": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "serviceUnitName": {
            "type": "string",
            "nullable": true
          },
          "serviceLevelName": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "numberOfResources": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "maxQty": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Services": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceName": {
            "type": "string",
            "nullable": true
          },
          "serviceDisplayName": {
            "type": "string",
            "nullable": true
          },
          "serviceLevelName": {
            "type": "string",
            "nullable": true
          },
          "serviceLevelId": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "branchId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServicesLevel": {
        "type": "object",
        "properties": {
          "serviceLevelId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceLevelName": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "branchId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServicesUnit": {
        "type": "object",
        "properties": {
          "serviceUnitId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "serviceUnitName": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "unitCode": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "branchId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Subject": {
        "type": "object",
        "properties": {
          "optionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "optionValue": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TicketsRequestVM": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isOpened": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ticketId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TimeSpan": {
        "type": "object",
        "properties": {
          "ticks": {
            "type": "integer",
            "format": "int64"
          },
          "days": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "hours": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "milliseconds": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "microseconds": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "nanoseconds": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "minutes": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "seconds": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "totalDays": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalHours": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalMilliseconds": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalMicroseconds": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalNanoseconds": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalMinutes": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "totalSeconds": {
            "type": "number",
            "format": "double",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UserRolesVM": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "integer",
            "format": "int32"
          },
          "applicationId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ValidateLoginVm": {
        "type": "object",
        "properties": {
          "mobileNo": {
            "type": "string",
            "nullable": true
          },
          "secretKey": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "otp": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateMobileOTP": {
        "type": "object",
        "properties": {
          "mobileNumber": {
            "type": "string",
            "nullable": true
          },
          "deviceInfo": {
            "type": "string",
            "nullable": true
          },
          "otpReferenceNumber": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "otp": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateSecretKey": {
        "type": "object",
        "properties": {
          "secretKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WeatherForecast": {
        "type": "object",
        "properties": {
          "date": {
            "$ref": "#/components/schemas/DateOnly"
          },
          "temperatureC": {
            "type": "integer",
            "format": "int32"
          },
          "temperatureF": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "summary": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}