openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_EMAIL_LINK:
    post:
      tags:
      - CRM_IC_AC_EMAIL_DRAFT
      summary: Create/Delete Link to SAP Office E-Mail
      operationId: /rfc/CRM_IC_EMAIL_LINK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_BCI_KEY:
                  type: object
                  properties:
                    OBJTP:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    OBJYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    OBJNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                IS_BO:
                  type: object
                  properties:
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Object key
                    OBJTYPE:
                      type: string
                      maxLength: 10
                      description: Object Type
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                IV_DELETE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X''=Delete this Link, otherwise Create'
              required:
              - IS_BCI_KEY
              - IS_BO
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
