openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_XBP_RESOURCES_ON_DATE_GET:
    post:
      tags:
      - SXJI
      summary: 'Obsolete: Use BAPI_XBP_GET_BP_RESRC_ON_DATE'
      operationId: /rfc/SXMI_XBP_RESOURCES_ON_DATE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  format: date
                  description: Date
                EXTERNAL_USER_NAME:
                  type: string
                  maxLength: 16
                  description: External User Name
                TIME:
                  type: string
                  maxLength: 6
                  description: Time
                RESOURCE_INFO_TBL:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER:
                        type: string
                        maxLength: 20
                        description: SAP instance name
                      HOST:
                        type: string
                        maxLength: 40
                        description: Host name
                      BTCWPTOTAL:
                        type: string
                        maxLength: 3
                        description: No. background work processes for instance
                      BTCWPCLSSA:
                        type: string
                        maxLength: 3
                        description: No. background work processes for instance
              required:
              - DATE
              - EXTERNAL_USER_NAME
              - TIME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESOURCE_INFO_TBL:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER:
                          type: string
                          maxLength: 20
                          description: SAP instance name
                        HOST:
                          type: string
                          maxLength: 40
                          description: Host name
                        BTCWPTOTAL:
                          type: string
                          maxLength: 3
                          description: No. background work processes for instance
                        BTCWPCLSSA:
                          type: string
                          maxLength: 3
                          description: No. background work processes for instance
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
