openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDL_READ_JOB_STATUS:
    post:
      tags:
      - BDL3
      summary: Read job status via job name and job number
      operationId: /rfc/BDL_READ_JOB_STATUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTENSION:
                  type: string
                  default: '000'
                  maxLength: 3
                  description: SDCC session number extension
                JOBNAME:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Background job name
                JOBNUMBER:
                  type: string
                  default: '00000000'
                  maxLength: 8
                  description: Background job number
                SESSIONNR:
                  type: string
                  default: '0000000000'
                  maxLength: 10
                  description: SDCC session number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOBNAME_OUT:
                    type: string
                    maxLength: 32
                    description: Name of job where status is given
                  JOBNUMBER_OUT:
                    type: string
                    maxLength: 8
                    description: Number of job where status is given
                  JOBSTATUS:
                    type: string
                    maxLength: 1
                    description: Status of background job
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
