---
openapi: 3.0.1
info:
  title: mt-group-view-services
  version: "1.0"
paths:
  /api/group-view/address/getGroupAddressList:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupAddressListRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/data/getListComplex:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupListComplexRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/member/getGroupMember/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupMemberRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/member/getGroupPropertyMember/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupPropertyMemberRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getClusterValidationName:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClusterValidationNameRequest'
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClusterValidationNameResponse'
  /api/group-view/profile/getGroupCctv:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupCctvRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupCctvByUser:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonObject'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupDetail:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupDetailRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupFacility:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupFacilityRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupList:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonObject'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupListByUser/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupListByUserRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupListWorker:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonObject'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupLocationMap:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupLocationMapRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupManager:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupManagerRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupManagerAccBank:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagerAccBankRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupManagerAccBankHis:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupManagerAccBankHisRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupManagerHis/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupManagerHisRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupProperty/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupPropertyRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupPropertyBiz:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonObject'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupPropertyByUser/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupPropertyComplex:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupPropertyComplexRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupPropertyList/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonObject'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupWorker:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupWorkerRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getGroupWorkerHis:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupWorkerHisRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/group-view/profile/getLocationPreview:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        "200":
          description: OK
  /api/group-view/profile/getMemberComplex/{page}:
    post:
      parameters:
      - name: page
        in: path
        required: true
        schema:
          format: int32
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupListMemberComplexRequest'
      responses:
        "200":
          description: OK
          content:
            application/json: {}
  /api/security/getUserId:
    get:
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneralResponse'
  /api/security/getUserinfo:
    get:
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneralResponse'
  /api/security/getUsername:
    get:
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneralResponse'
components:
  schemas:
    GeneralResponse:
      type: object
      properties:
        data:
          type: string
        message:
          type: string
        status:
          type: string
    GroupLocationMapRequest:
      type: object
      properties:
        idCluster:
          format: int32
          type: integer
    GroupAddressListRequest:
      type: object
      properties:
        idCluster:
          type: string
    GroupCctvRequest:
      type: object
      properties:
        idCluster:
          type: string
        idClusterProperty:
          type: string
    GroupDetailRequest:
      type: object
      properties:
        idCluster:
          type: string
    GroupFacilityRequest:
      type: object
      properties:
        idCluster:
          type: string
    GroupListComplexRequest:
      type: object
      properties:
        clusterTitle:
          type: string
        idCity:
          type: string
        idDistrict:
          type: string
        idProvince:
          type: string
        idSubDistrict:
          type: string
        zipCode:
          type: string
    GroupManagerRequest:
      type: object
      properties:
        idCluster:
          type: string
    GroupManagerAccBankHisRequest:
      type: object
      properties:
        idCluster:
          type: string
        periodMonth:
          format: int32
          type: integer
        periodYear:
          format: int32
          type: integer
    GroupWorkerRequest:
      type: object
      properties:
        idCluster:
          type: string
    GroupWorkerHisRequest:
      type: object
      properties:
        idCluster:
          type: string
    ManagerAccBankRequest:
      type: object
      properties:
        idCluster:
          type: string
    ClusterValidationNameRequest:
      type: object
      properties:
        clusterName:
          type: string
    Data:
      type: object
      properties:
        result:
          type: boolean
        this$0:
          $ref: '#/components/schemas/ClusterValidationNameResponse'
    ClusterValidationNameResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Data'
        status:
          type: string
    JsonObject:
      type: array
    GroupListByUserRequest:
      type: object
      properties:
        clusterTitle:
          type: string
    GroupListMemberComplexRequest:
      type: object
      properties:
        idClusterComplex:
          format: int32
          type: integer
    GroupManagerHisRequest:
      type: object
      properties:
        idCluster:
          type: string
        periodMonth:
          format: int32
          type: integer
        periodYear:
          format: int32
          type: integer
    GroupPropertyRequest:
      type: object
      properties:
        idCluster:
          type: string
    GroupPropertyComplexRequest:
      type: object
      properties:
        idCity:
          type: string
        idDistrict:
          type: string
        idSubDistrict:
          type: string
    GroupMemberRequest:
      type: object
      properties:
        idCluster:
          format: int32
          type: integer
    GroupPropertyMemberRequest:
      type: object
      properties:
        idClusterProperty:
          format: int32
          type: integer
