{
  "openapi": "3.0.1",
  "info": {
    "title": "BedTimeStories API",
    "version": "v1"
  },
  "paths": {
    "/api/Account": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Account/{id}": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Account/save": {
      "post": {
        "tags": [
          "Account"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AccountActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Auth/login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Auth/logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Bank": {
      "get": {
        "tags": [
          "Bank"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Bank/{id}": {
      "get": {
        "tags": [
          "Bank"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Bank"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Bank/save": {
      "post": {
        "tags": [
          "Bank"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BankActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BankActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BankActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/time": {
      "get": {
        "tags": [
          "BedTimeStoriesAPI"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Category": {
      "get": {
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Category/{id}": {
      "get": {
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Category/save": {
      "post": {
        "tags": [
          "Category"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/MenuRights": {
      "get": {
        "tags": [
          "MenuRights"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/MenuRights/save": {
      "post": {
        "tags": [
          "MenuRights"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MenuRightsSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MenuRightsSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MenuRightsSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Migration/status": {
      "get": {
        "tags": [
          "Migration"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Migration/apply": {
      "post": {
        "tags": [
          "Migration"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentApproval/{id}": {
      "get": {
        "tags": [
          "PaymentApproval"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentApproval/approve": {
      "post": {
        "tags": [
          "PaymentApproval"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentApprovalRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentApproval/reject": {
      "post": {
        "tags": [
          "PaymentApproval"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentApprovalRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentApprovedRequest": {
      "get": {
        "tags": [
          "PaymentApprovedRequest"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nProjectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentRequest": {
      "get": {
        "tags": [
          "PaymentRequest"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nProjectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusFilter",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "cStatus",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "Requested"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentRequest/{id}": {
      "get": {
        "tags": [
          "PaymentRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "PaymentRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentRequest/save": {
      "post": {
        "tags": [
          "PaymentRequest"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentRequestActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentRequestActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentRequestActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentRequest/upload": {
      "post": {
        "tags": [
          "PaymentRequest"
        ],
        "parameters": [
          {
            "name": "companyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "projectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentRequest/bulk-upload": {
      "post": {
        "tags": [
          "PaymentRequest"
        ],
        "parameters": [
          {
            "name": "cProjectName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentRequestReport/get": {
      "post": {
        "tags": [
          "PaymentRequestReport"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentRequestReportFilter"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentRequestReportFilter"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentRequestReportFilter"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher": {
      "get": {
        "tags": [
          "PaymentVoucher"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nProjectId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusFilter",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher/by-request/{payReqId}": {
      "get": {
        "tags": [
          "PaymentVoucher"
        ],
        "parameters": [
          {
            "name": "payReqId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher/save": {
      "post": {
        "tags": [
          "PaymentVoucher"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentVoucherSaveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentVoucherSaveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentVoucherSaveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher/{payReqId}": {
      "delete": {
        "tags": [
          "PaymentVoucher"
        ],
        "parameters": [
          {
            "name": "payReqId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher/pdf/{nPayReqId}": {
      "get": {
        "tags": [
          "PaymentVoucher"
        ],
        "parameters": [
          {
            "name": "nPayReqId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher/html/{nPayReqId}": {
      "get": {
        "tags": [
          "PaymentVoucher"
        ],
        "parameters": [
          {
            "name": "nPayReqId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/PaymentVoucher/send-mail": {
      "post": {
        "tags": [
          "PaymentVoucher"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareMailRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareMailRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ShareMailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Projects": {
      "get": {
        "tags": [
          "Projects"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nUserId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Projects/{id}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Projects"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Projects/save": {
      "post": {
        "tags": [
          "Projects"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Section": {
      "get": {
        "tags": [
          "Section"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Section/{id}": {
      "get": {
        "tags": [
          "Section"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Section"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Section/save": {
      "post": {
        "tags": [
          "Section"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SectionActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SectionActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SectionActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Tax": {
      "get": {
        "tags": [
          "Tax"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Tax/{id}": {
      "get": {
        "tags": [
          "Tax"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Tax"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Tax/save": {
      "post": {
        "tags": [
          "Tax"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaxActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TaxActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TaxActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Users": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bCancelled",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Users/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "nCompanyId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nUserActionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/Users/save": {
      "post": {
        "tags": [
          "Users"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UserActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UserActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/VoucherReport/get": {
      "post": {
        "tags": [
          "VoucherReport"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoucherReportFilter"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VoucherReportFilter"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VoucherReportFilter"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nAccountId": {
            "type": "integer",
            "format": "int64"
          },
          "cAccountName": {
            "type": "string",
            "nullable": true
          },
          "cAccountShName": {
            "type": "string",
            "nullable": true
          },
          "cPAN": {
            "type": "string",
            "nullable": true
          },
          "cGST": {
            "type": "string",
            "nullable": true
          },
          "bTDS": {
            "type": "boolean"
          },
          "nTDSPercent": {
            "type": "number",
            "format": "double"
          },
          "bTaxable": {
            "type": "boolean"
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "taxDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountTaxDtlDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountTaxDtlDto": {
        "type": "object",
        "properties": {
          "nAccountTaxDtlId": {
            "type": "integer",
            "format": "int64"
          },
          "nTaxId": {
            "type": "integer",
            "format": "int32"
          },
          "cTaxName": {
            "type": "string",
            "nullable": true
          },
          "nTaxRate": {
            "type": "number",
            "format": "double"
          },
          "bCancelled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BankActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nBankId": {
            "type": "integer",
            "format": "int64"
          },
          "cBankName": {
            "type": "string",
            "nullable": true
          },
          "cBankShName": {
            "type": "string",
            "nullable": true
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CategoryActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nCategoryId": {
            "type": "integer",
            "format": "int64"
          },
          "cCategoryName": {
            "type": "string",
            "nullable": true
          },
          "cCategoryShName": {
            "type": "string",
            "nullable": true
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "search": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoginRequest": {
        "type": "object",
        "properties": {
          "cUsername": {
            "type": "string",
            "nullable": true
          },
          "cPassword": {
            "type": "string",
            "nullable": true
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "cFcmDeviceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LogoutRequest": {
        "type": "object",
        "properties": {
          "nUserId": {
            "type": "integer",
            "format": "int64"
          },
          "cFcmDeviceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MenuRightsSaveRequest": {
        "type": "object",
        "properties": {
          "nUserId": {
            "type": "integer",
            "format": "int64"
          },
          "cModule": {
            "type": "string",
            "nullable": true
          },
          "menuIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "cAction": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentApprovalRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nPayReqId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "cApprovalComment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentReqTaxRow": {
        "type": "object",
        "properties": {
          "nTaxId": {
            "type": "integer",
            "format": "int64"
          },
          "nTaxRate": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PaymentRequestActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nPayReqId": {
            "type": "integer",
            "format": "int64"
          },
          "nAccountId": {
            "type": "integer",
            "format": "int64"
          },
          "nCategoryId": {
            "type": "integer",
            "format": "int64"
          },
          "nSectionId": {
            "type": "integer",
            "format": "int64"
          },
          "nRequestedAmount": {
            "type": "number",
            "format": "double"
          },
          "bTDS": {
            "type": "boolean"
          },
          "nTDSPercent": {
            "type": "number",
            "format": "double"
          },
          "bTaxable": {
            "type": "boolean"
          },
          "taxDtl": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentReqTaxRow"
            },
            "nullable": true
          },
          "cComment": {
            "type": "string",
            "nullable": true
          },
          "cAttachment": {
            "type": "string",
            "nullable": true
          },
          "cStatus": {
            "type": "string",
            "nullable": true
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "statusFilter": {
            "type": "string",
            "nullable": true
          },
          "dFrom": {
            "type": "string",
            "nullable": true
          },
          "dTo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentRequestReportFilter": {
        "type": "object",
        "properties": {
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nProjectIds": {
            "type": "string",
            "nullable": true
          },
          "cStatus": {
            "type": "string",
            "nullable": true
          },
          "dFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nAccountIds": {
            "type": "string",
            "nullable": true
          },
          "nCategoryIds": {
            "type": "string",
            "nullable": true
          },
          "nSectionIds": {
            "type": "string",
            "nullable": true
          },
          "nUserIds": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentVoucherSaveRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nPayVoucherId": {
            "type": "integer",
            "format": "int64"
          },
          "nPayReqId": {
            "type": "integer",
            "format": "int64"
          },
          "cPayMode": {
            "type": "string",
            "nullable": true
          },
          "dVoucherDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cChequeNo": {
            "type": "string",
            "nullable": true
          },
          "dChequeDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nBankId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "cUPIRefNo": {
            "type": "string",
            "nullable": true
          },
          "cComment": {
            "type": "string",
            "nullable": true
          },
          "cUPIApp": {
            "type": "string",
            "nullable": true
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          },
          "statusFilter": {
            "type": "string",
            "nullable": true
          },
          "dFrom": {
            "type": "string",
            "nullable": true
          },
          "dTo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProjectActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nProjectId": {
            "type": "integer",
            "format": "int64"
          },
          "cProjectName": {
            "type": "string",
            "nullable": true
          },
          "cProjectShName": {
            "type": "string",
            "nullable": true
          },
          "userIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SectionActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nSectionId": {
            "type": "integer",
            "format": "int64"
          },
          "cSectionName": {
            "type": "string",
            "nullable": true
          },
          "cSectionShName": {
            "type": "string",
            "nullable": true
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShareMailRequest": {
        "type": "object",
        "properties": {
          "toEmails": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "nPayReqId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "TaxActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nTaxId": {
            "type": "integer",
            "format": "int64"
          },
          "cTaxName": {
            "type": "string",
            "nullable": true
          },
          "cTaxShName": {
            "type": "string",
            "nullable": true
          },
          "nProjectId": {
            "type": "integer",
            "format": "int32"
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserActionRequest": {
        "type": "object",
        "properties": {
          "cAction": {
            "type": "string",
            "nullable": true
          },
          "nUserId": {
            "type": "integer",
            "format": "int64"
          },
          "cCusername": {
            "type": "string",
            "nullable": true
          },
          "cEmail": {
            "type": "string",
            "nullable": true
          },
          "cMobile": {
            "type": "string",
            "nullable": true
          },
          "cPassword": {
            "type": "string",
            "nullable": true
          },
          "nUserActionId": {
            "type": "integer",
            "format": "int64"
          },
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "bActive": {
            "type": "boolean"
          },
          "search": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VoucherReportFilter": {
        "type": "object",
        "properties": {
          "nCompanyId": {
            "type": "integer",
            "format": "int32"
          },
          "nProjectIds": {
            "type": "string",
            "nullable": true
          },
          "dFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nAccountIds": {
            "type": "string",
            "nullable": true
          },
          "nCategoryIds": {
            "type": "string",
            "nullable": true
          },
          "nSectionIds": {
            "type": "string",
            "nullable": true
          },
          "nUserIds": {
            "type": "string",
            "nullable": true
          },
          "cPayModes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}