openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SA_KW_RFC_LOIO_GET_INDUSTRIES:
    post:
      tags:
      - SA_KW_RFC
      operationId: /rfc/SA_KW_RFC_LOIO_GET_INDUSTRIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  default: IWBSOLAR
                  maxLength: 10
                  description: Area
                INFO_OBJECT:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                INDUSTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      EXT_ID:
                        type: string
                        maxLength: 10
                        description: Enhancement
                      RELEASE:
                        type: string
                        maxLength: 12
                        description: Release of SAP System
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: Country Key
              required:
              - INFO_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  INDUSTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        EXT_ID:
                          type: string
                          maxLength: 10
                          description: Enhancement
                        RELEASE:
                          type: string
                          maxLength: 12
                          description: Release of SAP System
                        COUNTRY:
                          type: string
                          maxLength: 3
                          description: Country Key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
