insureMO batch API

Batch is a basic module which allows certain sets of system programs to run at scheduled times. It aims to help automate the running of some system programs or withstand the pressure of system performance in an asynchronous way. It is actually a scheduling component that can help users automatically or manually schedule batch programs with a set of SDKs based on the Spring Batch framework,...

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /batch-v2/batchExecutionWatch/v2/getJobExecution Get Job Execution By ExecutionId #
GET /batch-v2/batchExecutionWatch/v2/getSpringBatchJobExecution Get SpringBatch Execution By ExecutionId #
GET /batch-v2/batchExecutionWatch/v2/queryJobExecutionByBusinessKey Query Job Execution By BusinessKey #
POST /batch-v2/batchRuntime/v2/submitJob Submit Job With Parameters #
POST /batch-v2/batchRuntime/v2/submitJobWithBusinessKey Submit Job With BusinessKey And Parameters #

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/insuremo-com:insuremo-batch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

insuremo-com-batch-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: API
  description: Batch is a basic module which allows certain sets of system programs to run at scheduled times. It aims to help automate the running of some system programs or withstand the pressure of system
    performance in an asynchronous way. It is actually a scheduling component that can help users automatically or manually schedule batch programs with a set of SDKs based on the Spring Batch framework,
    streamlining the development of batch programs.
  version: 1.0/batch-v2
  x-mo-original-description: API Documentation
  x-mo-overwrite-description: Batch is a basic module which allows certain sets of system programs to run at scheduled times. It aims to help automate the running of some system programs or withstand the
    pressure of system performance in an asynchronous way. It is actually a scheduling component that can help users automatically or manually schedule batch programs with a set of SDKs based on the Spring
    Batch framework, streamlining the development of batch programs.
servers:
- url: http://batch-v2.platform
paths:
  /batch-v2/batchExecutionWatch/v2/getJobExecution:
    get:
      tags:
      - BatchExecutionWatch
      summary: Get Job Execution By ExecutionId
      operationId: getJobExecution
      parameters:
      - name: jobExecutionId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BatchExecutionBase'
      x-mo-since-at:
        serviceVersion: '2025.03'
  /batch-v2/batchExecutionWatch/v2/getSpringBatchJobExecution:
    get:
      tags:
      - BatchExecutionWatch
      summary: Get SpringBatch Execution By ExecutionId
      operationId: getBatchJobExecution
      parameters:
      - name: jobExecutionId
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SpringBatchJobExecutionVO'
      x-mo-since-at:
        serviceVersion: '2025.03'
  /batch-v2/batchExecutionWatch/v2/queryJobExecutionByBusinessKey:
    get:
      tags:
      - BatchExecutionWatch
      summary: Query Job Execution By BusinessKey
      operationId: queryJobExecutionByBusinessKey
      parameters:
      - name: jobBindBusinessKey
        in: query
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: jobStatus
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
        x-mo-overwrite-x-mo-codetable: Batch_v2_JobStatus
        x-mo-codetable: Batch_v2_JobStatus
      - name: jobName
        in: query
        required: false
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BatchExecutionBase'
      x-mo-since-at:
        serviceVersion: '2025.03'
  /batch-v2/batchRuntime/v2/submitJob:
    post:
      tags:
      - BatchRuntime
      summary: Submit Job With Parameters
      description: Submit Job With Parameters
      operationId: submitJob
      parameters:
      - name: jobName
        in: query
        description: Job Name
        required: true
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        description: JobParameters With Map
        content:
          application/json:
            schema:
              type: object
              additionalProperties: {}
        required: true
        x-codegen-request-body-name: jobParameters
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BatchExecutionBase'
      x-mo-since-at:
        serviceVersion: '2025.03'
  /batch-v2/batchRuntime/v2/submitJobWithBusinessKey:
    post:
      tags:
      - BatchRuntime
      summary: Submit Job With BusinessKey And Parameters
      description: Submit Job With BusinessKey And Parameters
      operationId: submitJobWithBusinessKey
      parameters:
      - name: jobName
        in: query
        description: Job Name
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: jobBindBusinessKey
        in: query
        description: Job Bind BusinessKey
        required: true
        style: form
        explode: true
        schema:
          type: string
      requestBody:
        description: JobParameters With Map
        content:
          application/json:
            schema:
              type: object
              additionalProperties: {}
        required: true
        x-codegen-request-body-name: jobParameters
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BatchExecutionBase'
      x-mo-since-at:
        serviceVersion: '2025.03'
components:
  schemas:
    BatchExecutionBase:
      type: object
      properties:
        '@pk':
          type: integer
          format: int64
        Application:
          type: string
        CreateTime:
          type: string
          format: date-time
        CreateTimeUtc:
          type: string
          format: date-time
        DepenWaitTimeoutWarningTime:
          type: string
          format: date-time
        DependJobNames:
          type: string
        DueTime:
          type: string
          format: date-time
        ErrMessage:
          type: string
        ExecClientHost:
          type: string
        ExecClientIp:
          type: string
        ExecConsuming:
          type: string
        ExecMinutes:
          type: integer
          format: int32
        ExecPrecent:
          type: integer
          format: int32
        FinishTime:
          type: string
          format: date-time
        FireTime:
          type: string
          format: date-time
        HasFailure:
          type: string
        IsDepenWaitTimeOut:
          type: string
        IsDepenWaitTimeOutReported:
          type: string
        IsStatSyncSuccess:
          type: string
        IsTimeOut:
          type: string
        IsTimeOutReported:
          type: string
        JobBindBusinessKey:
          type: string
        JobExecutionId:
          type: integer
          format: int64
        JobFrequencyType:
          type: string
        JobId:
          type: integer
          format: int64
        JobName:
          type: string
        JobParams:
          type: string
        JobStatus:
          type: string
          x-mo-overwrite-x-mo-codetable: Batch_v2_JobStatus
          x-mo-codetable: Batch_v2_JobStatus
        LastStatSyncTime:
          type: string
          format: date-time
        NextDueTime:
          type: string
          format: date-time
        OldPrimaryKey:
          type: integer
          format: int64
        RealDueTimeList:
          type: string
        SpringBatchJobExecutionId:
          type: integer
          format: int64
        SpringBatchStatus:
          type: string
        SpringBatchTotalCommit:
          type: integer
          format: int32
        SpringBatchTotalRead:
          type: integer
          format: int32
        SpringBatchTotalRollback:
          type: integer
          format: int32
        SpringBatchTotalWrite:
          type: integer
          format: int32
        SpringBatchTotalWriteSkip:
          type: integer
          format: int32
        SpringExitCode:
          type: string
        SpringExitMessage:
          type: string
        StatSyncFailedTimes:
          type: integer
          format: int32
        StatusTrace:
          type: string
        StopType:
          type: string
        TempData:
          type: object
          additionalProperties:
            type: object
        TimeoutStopTime:
          type: string
          format: date-time
        TimeoutWarningTime:
          type: string
          format: date-time
        TraceId:
          type: string
        TriggerType:
          type: string
        UserName:
          type: string
    ExitStatus:
      type: object
      properties:
        ExitCode:
          type: string
        ExitDescription:
          type: string
    JobParameter:
      type: object
      properties:
        Identifying:
          type: boolean
        Parameter:
          type: object
        ParameterType:
          type: object
    JobParameters:
      type: object
      properties:
        Parameters:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/JobParameter'
    SpringBatchJobExecutionVO:
      type: object
      properties:
        Abandonable:
          type: boolean
        CreateDate:
          type: string
          format: date-time
        EndTime:
          type: string
          format: date-time
        ExecutionContext:
          type: object
          additionalProperties:
            type: object
        ExecutionId:
          type: integer
          format: int64
        ExitStatus:
          $ref: '#/components/schemas/ExitStatus'
        FailureExceptions:
          type: array
          items:
            type: object
            properties:
              StackTrace:
                type: array
                items:
                  type: object
                  properties:
                    ClassLoaderName:
                      type: string
                    FileName:
                      type: string
                    LineNumber:
                      type: integer
                      format: int32
                    MethodName:
                      type: string
                    ModuleName:
                      type: string
                    ModuleVersion:
                      type: string
        JobId:
          type: integer
          format: int64
        JobParameters:
          $ref: '#/components/schemas/JobParameters'
        LastUpdated:
          type: string
          format: date-time
        Restartable:
          type: boolean
        StartTime:
          type: string
          format: date-time
        Status:
          type: string
          enum:
          - COMPLETED
          - STARTING
          - STARTED
          - STOPPING
          - STOPPED
          - FAILED
          - ABANDONED
          - UNKNOWN
        StepExecutionCount:
          type: integer
          format: int32
        StepExecutions:
          type: array
          items:
            $ref: '#/components/schemas/SpringBatchStepExecutionVO'
        Stoppable:
          type: boolean
        Version:
          type: integer
          format: int32
        name:
          type: string
    SpringBatchStepExecutionVO:
      type: object
      properties:
        CommitCount:
          type: integer
          format: int64
        EndTime:
          type: string
          format: date-time
        ExecutionContext:
          type: object
          additionalProperties:
            type: object
        ExecutionId:
          type: integer
          format: int64
        ExitStatus:
          $ref: '#/components/schemas/ExitStatus'
        FailureExceptions:
          type: array
          items:
            type: object
            properties:
              StackTrace:
                type: array
                items:
                  type: object
                  properties:
                    ClassLoaderName:
                      type: string
                    FileName:
                      type: string
                    LineNumber:
                      type: integer
                      format: int32
                    MethodName:
                      type: string
                    ModuleName:
                      type: string
                    ModuleVersion:
                      type: string
        FilterCount:
          type: integer
          format: int64
        JobExecutionId:
          type: integer
          format: int64
        LastUpdated:
          type: string
          format: date-time
        ProcessSkipCount:
          type: integer
          format: int64
        ReadCount:
          type: integer
          format: int64
        ReadSkipCount:
          type: integer
          format: int64
        RollbackCount:
          type: integer
          format: int64
        StartTime:
          type: string
          format: date-time
        Status:
          type: string
          enum:
          - COMPLETED
          - STARTING
          - STARTED
          - STOPPING
          - STOPPED
          - FAILED
          - ABANDONED
          - UNKNOWN
        StepName:
          type: string
        StepType:
          type: string
        TerminateOnly:
          type: boolean
        Version:
          type: integer
          format: int32
        WriteCount:
          type: integer
          format: int64
        WriteSkipCount:
          type: integer
          format: int64
x-mo-gateway-auth-enabled: true
x-mo-gateway-cors-enabled: false