Geniemode Factory Controller API

Factory Controller

Operations 7

POST /api/factory/Create create #
GET /api/factory/all_enums getAllEnums #
DELETE /api/factory/delete deleteFactory #
GET /api/factory/get getFactory #
GET /api/factory/get_all index #
POST /api/factory/send-mail sendMail #
PUT /api/factory/update updateFactory #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/geniemode-factory-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

geniemode-factory-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cataloguing API.
  version: API V
  title: Cataloguing Factory Controller API
  termsOfService: Terms of service
  contact:
    name: Mani Bhushan
    url: www.geniemode.com
    email: mani.kumar@geniemode.com
  license:
    name: License of API
    url: API license URL
servers:
- url: https://portal.geniemode.com
tags:
- name: factory-controller
  description: Factory Controller
paths:
  /api/factory/Create:
    post:
      tags:
      - factory-controller
      summary: create
      operationId: createUsingPOST_3
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: integer
                format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FactoryCreateRequestPayload'
        description: factoryCreateRequestPayload
        required: true
  /api/factory/all_enums:
    get:
      tags:
      - factory-controller
      summary: getAllEnums
      operationId: getAllEnumsUsingGET
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/GetAllEnumsResponse'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/factory/delete:
    delete:
      tags:
      - factory-controller
      summary: deleteFactory
      operationId: deleteFactoryUsingDELETE
      parameters:
      - name: id
        in: query
        description: id
        required: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/GetFactoryResponsePayload'
  /api/factory/get:
    get:
      tags:
      - factory-controller
      summary: getFactory
      operationId: getFactoryUsingGET
      parameters:
      - name: id
        in: query
        description: id
        required: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/GetFactoryResponsePayload'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/factory/get_all:
    get:
      tags:
      - factory-controller
      summary: index
      operationId: indexUsingGET_7
      parameters:
      - name: agentUserId
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: factoryId
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: search
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/factory/send-mail:
    post:
      tags:
      - factory-controller
      summary: sendMail
      operationId: sendMailUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendEmailRequest'
        description: sendEmailRequest
        required: true
  /api/factory/update:
    put:
      tags:
      - factory-controller
      summary: updateFactory
      operationId: updateFactoryUsingPUT
      parameters:
      - name: id
        in: query
        description: id
        required: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/GetFactoryResponsePayload'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FactoryCreateRequestPayload'
        description: factoryCreateRequestPayload
        required: true
components:
  schemas:
    UMSUserResponsePayload:
      type: object
      properties:
        country_code:
          type: string
        created_by:
          type: string
        first_name:
          type: string
        group_ids:
          type: array
          items:
            type: integer
            format: int64
        id:
          type: integer
          format: int64
        last_name:
          type: string
        manager:
          $ref: '#/components/schemas/UMSUserResponsePayload'
        phone_number:
          type: string
        roles:
          type: array
          items:
            type: string
        username:
          type: string
        whatsapp_opt_in:
          type: boolean
      title: UMSUserResponsePayload
    DocDetailsDto:
      type: object
      properties:
        doc_display_name:
          type: string
        id:
          type: integer
          format: int64
        order_id:
          type: integer
          format: int64
        s3_path:
          type: string
        s3_version:
          type: integer
          format: int64
        step_name:
          type: string
      title: DocDetailsDto
    GetAllEnumsResponse:
      type: object
      properties:
        factory_business_types:
          type: array
          items:
            type: string
            enum:
            - MANUFACTURING
            - OTHER
            - SERVICES
            - TRADING
        factory_doc_types:
          type: object
          additionalProperties:
            type: string
        factory_nature_types:
          type: array
          items:
            type: string
            enum:
            - OTHER
            - PARTNERSHIP
            - PRIVATELTD
            - PROPRIETORSHIP
        loan_types:
          type: array
          items:
            type: string
            enum:
            - Term_Loan
            - Working_Capital_Loan
      title: GetAllEnumsResponse
    FactoryCreateRequestPayload:
      type: object
      properties:
        agent_user_id:
          type: integer
          format: int64
        business_type:
          type: string
        doc_id:
          type: integer
          format: int64
        factory_agent_user_id:
          type: integer
          format: int64
        factory_name:
          type: string
        factory_nature:
          type: string
        factory_poc_address:
          type: string
        factory_poc_email:
          type: string
        factory_poc_name:
          type: string
        factory_poc_phone:
          type: string
        factory_poc_pincode:
          type: string
        finance_raw_material_interest:
          type: boolean
        finance_support_interest:
          type: boolean
        operation_years:
          type: integer
          format: int64
        profit_last_year:
          type: integer
          format: int64
        revenue_current_year:
          type: integer
          format: int64
        revenue_last_year:
          type: integer
          format: int64
      title: FactoryCreateRequestPayload
    SendEmailRequest:
      type: object
      properties:
        doc_id:
          type: integer
          format: int64
        factory_id:
          type: integer
          format: int64
      title: SendEmailRequest
    GetFactoryResponsePayload:
      type: object
      properties:
        agent_user_data:
          $ref: '#/components/schemas/UMSUserResponsePayload'
        agent_user_id:
          type: integer
          format: int64
        business_type:
          type: string
        doc_data:
          $ref: '#/components/schemas/DocDetailsDto'
        factory_agent_user_id:
          type: integer
          format: int64
        factory_name:
          type: string
        factory_nature:
          type: string
        factory_poc_address:
          type: string
        factory_poc_email:
          type: string
        factory_poc_name:
          type: string
        factory_poc_phone:
          type: string
        factory_poc_pincode:
          type: string
        finance_raw_material_interest:
          type: boolean
        finance_support_interest:
          type: boolean
        id:
          type: integer
          format: int64
        operation_years:
          type: integer
          format: int64
        profit_last_year:
          type: integer
          format: int64
        revenue_current_year:
          type: integer
          format: int64
        revenue_last_year:
          type: integer
          format: int64
      title: GetFactoryResponsePayload