openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_RFC_URL_MULTIPLE:
    post:
      tags:
      - SAIO
      summary: Create multiple LS and RFC Dest
      operationId: /rfc/INST_RFC_URL_MULTIPLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_RFC_URL:
                  type: array
                  items:
                    type: object
                    properties:
                      LOAD_BAL:
                        type: string
                        maxLength: 1
                        description: RFC Using Load Balancing Procedure
                      HOST:
                        type: string
                        maxLength: 100
                        description: Name of target host
                      SID:
                        type: string
                        maxLength: 3
                        description: System ID
                      SYS_NUM:
                        type: string
                        maxLength: 2
                        description: Service used (TCP service, SAP System number)
                      LOGON_GR:
                        type: string
                        maxLength: 20
                        description: SAP Logon Group Name
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Explicit language
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Explicit logon client
                      USER:
                        type: string
                        maxLength: 12
                        description: Explicit user ID
                      PASSWORD:
                        type: string
                        maxLength: 40
                        description: Explicit password
                      TEXT:
                        type: string
                        maxLength: 72
                        description: Description of RFC connection
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTRESULT:
                        type: string
                        maxLength: 1
                        description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                        enum:
                        - E
                        - W
                        - S
                      INSTRESTXT:
                        type: string
                        maxLength: 128
                        description: 'SAP Installation: Result Text'
                      INSTRESPRG:
                        type: string
                        maxLength: 40
                        description: 'SAP Installation: Result Program Name'
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Background job name
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT_RC:
                    type: string
                    maxLength: 1
                    description: 'SAP Installation: Result Value'
                  RESULT_TEXT:
                    type: string
                    maxLength: 128
                    description: 'SAP Installation: Result Text'
                  IT_RFC_URL:
                    type: array
                    items:
                      type: object
                      properties:
                        LOAD_BAL:
                          type: string
                          maxLength: 1
                          description: RFC Using Load Balancing Procedure
                        HOST:
                          type: string
                          maxLength: 100
                          description: Name of target host
                        SID:
                          type: string
                          maxLength: 3
                          description: System ID
                        SYS_NUM:
                          type: string
                          maxLength: 2
                          description: Service used (TCP service, SAP System number)
                        LOGON_GR:
                          type: string
                          maxLength: 20
                          description: SAP Logon Group Name
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Explicit language
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Explicit logon client
                        USER:
                          type: string
                          maxLength: 12
                          description: Explicit user ID
                        PASSWORD:
                          type: string
                          maxLength: 40
                          description: Explicit password
                        TEXT:
                          type: string
                          maxLength: 72
                          description: Description of RFC connection
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTRESULT:
                          type: string
                          maxLength: 1
                          description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                          enum:
                          - E
                          - W
                          - S
                        INSTRESTXT:
                          type: string
                          maxLength: 128
                          description: 'SAP Installation: Result Text'
                        INSTRESPRG:
                          type: string
                          maxLength: 40
                          description: 'SAP Installation: Result Program Name'
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Background job name
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
