openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRM_PATHROOTS_MANAGER:
    post:
      tags:
      - GRM_REMOTE_ACCESS
      operationId: /rfc/GRM_PATHROOTS_MANAGER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA_IN:
                  type: string
                  format: date
                  description: Start Date
                ENDDA_IN:
                  type: string
                  format: date
                  description: End Date
                USER:
                  type: string
                  maxLength: 12
                  description: SAP System, User Logon Name
                PATHROOTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
              required:
              - BEGDA_IN
              - ENDDA_IN
              - USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BEGDA_OUT:
                    type: string
                    format: date
                    description: Start Date
                  ENDDA_OUT:
                    type: string
                    format: date
                    description: End Date
                  PLVAR:
                    type: string
                    maxLength: 2
                    description: Plan Version
                  PATHROOTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
