openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TR40_ORDER_ADD_DOCU:
    post:
      tags:
      - STRQ
      summary: Add Request Documentation to Request; No Dialog
      operationId: /rfc/TR40_ORDER_ADD_DOCU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_REFERENCE:
                  type: string
                  maxLength: 70
                IV_TRKORR:
                  type: string
                  maxLength: 20
                  description: Request number
                TT_DOCUMENTATION:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Format
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
              required:
              - IV_TRKORR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_MSG:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message type (E, I, W,...)
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message number
                      MSGTEXT:
                        type: string
                        maxLength: 200
                        description: Log line
                  EV_EXCEPTION:
                    type: string
                    maxLength: 50
                  TT_DOCUMENTATION:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Format
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
