openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCHEDULE_ERROR_TEXT_GET:
    post:
      tags:
      - SSC6
      operationId: /rfc/SCHEDULE_ERROR_TEXT_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ERROR_MESSAGE:
                  type: object
                  properties:
                    MSG_ID:
                      type: string
                      maxLength: 2
                      description: Message ID
                    MSG_TYPE:
                      type: string
                      maxLength: 1
                      description: Message Type
                    MSG_NUMBER:
                      type: integer
                      format: int64
                      description: Message Number
                    MSG_VAR1:
                      type: string
                      maxLength: 50
                      description: Message variable
                    MSG_VAR2:
                      type: string
                      maxLength: 50
                      description: Message variable
                    MSG_VAR3:
                      type: string
                      maxLength: 50
                      description: Message variable
                    MSG_VAR4:
                      type: string
                      maxLength: 50
                      description: Message variable
                    FIELDNAME:
                      type: string
                      maxLength: 30
                      description: Field Name
                    TABLEINDEX:
                      type: integer
                      format: int64
                      description: Incorrect table entry
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                ERROR_LONG_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
              required:
              - ERROR_MESSAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_SHORT_TEXT:
                    type: string
                    maxLength: 280
                    description: Error message short text
                  ERROR_LONG_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
