openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAL_CSM_REGISTER_SYSTEM:
    post:
      tags:
      - SALRECVR
      operationId: /rfc/SAL_CSM_REGISTER_SYSTEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEST_SERVER:
                  type: string
                  maxLength: 1024
                  description: Name of target host
                REGISTERED_SYSTEM:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                DATA_TRANSFER:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD_NAME:
                        type: string
                        maxLength: 30
                        description: Component name
                      FIELD_VAL:
                        type: string
                        maxLength: 255
                        description: Char255
              required:
              - DEST_SERVER
              - REGISTERED_SYSTEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATA_TRANSFER:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD_NAME:
                          type: string
                          maxLength: 30
                          description: Component name
                        FIELD_VAL:
                          type: string
                          maxLength: 255
                          description: Char255
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
