openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_CREATE_USAGE_FOR_OBJECT:
    post:
      tags:
      - ECATT_SERVICES
      operationId: /rfc/ECATT_CREATE_USAGE_FOR_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_OBJ_NAME:
                  type: string
                  maxLength: 30
                IM_OBJ_TYPE:
                  type: string
                  maxLength: 4
                IM_OBJ_VERSION:
                  type: integer
                  format: int64
                IM_SAVE_DATA_TO_DB:
                  type: string
                  default: ' '
                  maxLength: 1
              required:
              - IM_OBJ_NAME
              - IM_OBJ_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_EXCEPTION_MSGSTR:
                    type: string
                  EX_EXCEPTION_OCCURED:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
