openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDS_BUSINESSDOCUMENT_DEL_RELAS:
    post:
      tags:
      - BDS_BAPI
      operationId: /rfc/BDS_BUSINESSDOCUMENT_DEL_RELAS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASSNAME:
                  type: string
                  maxLength: 30
                CLASSTYPE:
                  type: string
                  maxLength: 2
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                LOGICAL_SYSTEM:
                  type: string
                  maxLength: 10
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_COUNT:
                        type: integer
                        format: int64
                        description: 'Business Document Service: Document counter'
                      RELA_ID:
                        type: string
                        maxLength: 32
                        description: 'Business Document Service: Relationship ID'
              required:
              - CLASSNAME
              - CLASSTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_COUNT:
                          type: integer
                          format: int64
                          description: 'Business Document Service: Document counter'
                        RELA_ID:
                          type: string
                          maxLength: 32
                          description: 'Business Document Service: Relationship ID'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
