openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TMS_ALT_LOG_ENTRY_IN_DIA:
    post:
      tags:
      - TMSA
      summary: 'Internal: log of a TMS exception'
      operationId: /rfc/TMS_ALT_LOG_ENTRY_IN_DIA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_EXCEPTION:
                  type: object
                  properties:
                    ID:
                      type: string
                      maxLength: 32
                      description: 'CI: alert ID'
                    DOMNAM:
                      type: string
                      maxLength: 10
                      description: 'TMS: Transport Domain'
                    SYSNAM:
                      type: string
                      maxLength: 10
                      description: 'TMS: System Name'
                    CLIENT:
                      type: string
                      maxLength: 3
                      description: 'TMS: Client'
                    SERVICE:
                      type: string
                      maxLength: 10
                      description: 'CI: Service'
                    FUNCTION:
                      type: string
                      maxLength: 30
                      description: 'CI: Function'
                    ERROR:
                      type: string
                      maxLength: 30
                      description: 'CI: error'
                    SEVERITY:
                      type: string
                      maxLength: 1
                      description: 'CI: Error Type'
                    TEXT:
                      type: string
                      maxLength: 100
                      description: 'CI: Error Text'
                    MSGID:
                      type: string
                      maxLength: 20
                      description: Message Class
                    MSGTY:
                      type: string
                      maxLength: 1
                      description: Message Type
                    MSGNO:
                      type: integer
                      format: int64
                      description: Message Number
                    MSGV1:
                      type: string
                      maxLength: 50
                      description: 'CI: Buffer for Message Variables'
                    MSGV2:
                      type: string
                      maxLength: 50
                      description: 'CI: Buffer for Message Variables'
                    MSGV3:
                      type: string
                      maxLength: 50
                      description: 'CI: Buffer for Message Variables'
                    MSGV4:
                      type: string
                      maxLength: 50
                      description: 'CI: Buffer for Message Variables'
                    METHODPTR:
                      type: string
                      maxLength: 32
                      description: 'TMS: Method Pointer for Troubleshooting'
                IV_ADMUSER:
                  type: string
                  maxLength: 12
                  description: Text, 255 Characters
                IV_CONTEXT:
                  type: string
                  maxLength: 30
                IV_CURUSER:
                  type: string
                  maxLength: 12
                IV_EXECMODE:
                  type: string
                  maxLength: 3
                  description: Text, 255 Characters
                IV_LOG_RECORD:
                  type: string
                  default: ' '
                  maxLength: 1
                IV_SUPPLY_ALERT:
                  type: string
                  default: X
                  maxLength: 1
                  description: General Flag
                IV_TEXT:
                  type: string
                  maxLength: 255
                  description: Text, 255 Characters
              required:
              - IS_EXCEPTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_ALERTID:
                    type: string
                    maxLength: 32
                    description: 'CI: alert ID'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
