openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TR_EXT_ADD_REQ_ATTR:
    post:
      tags:
      - TRWB_REQUESTS
      summary: Add attributes to given request
      operationId: /rfc/TR_EXT_ADD_REQ_ATTR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ATTR_REF:
                  type: string
                  maxLength: 32
                  description: Attribute value
                IV_REQ_ATTR:
                  type: string
                  maxLength: 30
                  description: Request attribute
                IV_REQ_ID:
                  type: string
                  maxLength: 20
                  description: Request/task
              required:
              - IV_ATTR_REF
              - IV_REQ_ATTR
              - IV_REQ_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_MSG:
                    type: string
                    maxLength: 200
                    description: Log line
                  EV_EXCEPTION:
                    type: string
                    maxLength: 50
                    description: Name of exception
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
