openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FAX_MESSAGE_RECEIVE:
    post:
      tags:
      - SO26
      operationId: /rfc/FAX_MESSAGE_RECEIVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENT_NAME:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Name of the fax
                DOCUMENT_TITLE:
                  type: string
                  default: ' '
                  maxLength: 50
                  description: Title of fax
                ERROR_MSGID:
                  type: string
                  default: SK
                  maxLength: 20
                  description: 'Error in receiving: message ID'
                ERROR_MSGNR:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: 'Error in receiving: message number (T100)'
                FAX_NR:
                  type: string
                  maxLength: 20
                FAX_TYPE:
                  type: string
                  default: ' '
                  maxLength: 10
                INFO_TYPE:
                  type: string
                  default: ' '
                  maxLength: 8
                INFO_VALUE:
                  type: string
                  default: ' '
                  maxLength: 60
                MSG_FILE:
                  type: string
                  maxLength: 70
                ORG_ID:
                  type: string
                  default: ' '
                  maxLength: 20
                ORIGINAL_ERROR:
                  type: string
                  default: ' '
                  maxLength: 73
                  description: 'Error in receiving: hardware error message'
                PAGES:
                  type: string
                  maxLength: 4
                REC_DATE:
                  type: string
                  format: date
                  default: SPACE
                REC_TIME:
                  type: string
                  default: ' '
                  maxLength: 6
                SERVER:
                  type: string
                  default: ' '
                  maxLength: 10
              required:
              - FAX_NR
              - MSG_FILE
              - PAGES
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
