openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EDI_CHECK_IDOC_RELEASE:
    post:
      tags:
      - EDIF
      operationId: /rfc/EDI_CHECK_IDOC_RELEASE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT:
                  type: string
                  maxLength: 30
                  description: Name of development object
                OBJECT_TYPE:
                  type: string
                  default: ORG
                  maxLength: 3
                  description: 'Type of development object: ORG/EXT/IDC'
                SEGAPPLREL:
                  type: string
                  default: ' '
                  maxLength: 10
                  description: Application Release in which IDoc Segment Released
                SEGREL:
                  type: string
                  default: SY-SAPRL
                  maxLength: 4
                  description: Release of segment definitions to be checked
              required:
              - OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RC:
                    type: integer
                    format: int32
                    description: 'Return code: 0: OK, <>0: incorrect release'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
