openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_APPL_GET:
    post:
      tags:
      - SKWF_APPLICATION
      operationId: /rfc/SKWF_APPL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPL:
                  type: string
                  maxLength: 15
                  description: 'KW Framework: Application'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                CSPCS:
                  type: array
                  items:
                    type: object
                    properties:
                      CSPC:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                CXCLS:
                  type: array
                  items:
                    type: object
                    properties:
                      CXCL:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
              required:
              - APPL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AUTH_HNDLR:
                    type: string
                    maxLength: 30
                  AUTH_KEY:
                    type: string
                    maxLength: 40
                    description: Authorization key
                  DESCRIPT:
                    type: string
                    maxLength: 64
                    description: Short Description
                  ERROR:
                    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
                  ORDER_TYPE:
                    type: string
                    maxLength: 1
                    description: 'KW Framework: Sort Sequence'
                  CSPCS:
                    type: array
                    items:
                      type: object
                      properties:
                        CSPC:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                  CXCLS:
                    type: array
                    items:
                      type: object
                      properties:
                        CXCL:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
