openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_BSP_GRANT_GET_EP_INFO:
    post:
      tags:
      - CRM_BSP_SESSION_MANAGEMENT
      summary: Returns EP base URL and EP version.
      operationId: /rfc/CRM_BSP_GRANT_GET_EP_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_APPLICATION:
                  type: string
                  maxLength: 20
                  description: Application Scenario
                IV_BLVIEW:
                  type: string
                  maxLength: 10
                  description: View for UI Display
                IV_OBJECT_ID:
                  type: string
                  maxLength: 100
                  description: Object Key
                IV_USER_ID:
                  type: string
                  maxLength: 12
                  description: User Name
                IV_VERSION:
                  type: integer
                  format: int64
                  description: Version of BSP Application
                IV_WINDOW_ID:
                  type: string
                  maxLength: 64
                  description: Unique ID of a web browser window.
              required:
              - IV_APPLICATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_EP_BASE_URL:
                    type: string
                    description: EP base URL
                  EV_EP_VERSION:
                    type: string
                    description: EP version
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
