openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_URL_GEN:
    post:
      tags:
      - SAIO
      summary: mySAP.com Workplace, URL Generation for Component Systems
      operationId: /rfc/INST_URL_GEN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CCLNT:
                  type: string
                  maxLength: 3
                  description: Client
                I_CSID:
                  type: string
                  maxLength: 3
                  description: System ID
                I_HWEB:
                  type: string
                  maxLength: 64
                  description: Character field, length 64
                I_PORT:
                  type: string
                  maxLength: 32
                  description: Character field, length 32
                I_SSL:
                  type: string
                  maxLength: 8
                  description: CHAR08
                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
              required:
              - I_CCLNT
              - I_CSID
              - I_HWEB
              - I_PORT
              - I_SSL
      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'
                  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.
