openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDL_CREATE_SESSION:
    post:
      tags:
      - BDL3
      summary: Create a session for service data collection and transfer (in SDCC)
      operationId: /rfc/BDL_CREATE_SESSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTRACT:
                  type: string
                  maxLength: 8
                  description: contract type name
                DESCR:
                  type: string
                  maxLength: 8
                  description: description name for session type
                EXTENSION:
                  type: string
                  maxLength: 3
                  description: session number extension (usually client)
                PERIODE:
                  type: integer
                  format: int64
                  description: period of session repetition
                SESSDATE:
                  type: string
                  format: date
                  description: session date
                SESSNO:
                  type: string
                  maxLength: 10
                  description: session number
              required:
              - CONTRACT
              - DESCR
              - EXTENSION
              - PERIODE
              - SESSDATE
              - SESSNO
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
