openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRM_OBJECT_REMOTE:
    post:
      tags:
      - GRM_REMOTE_ACCESS
      operationId: /rfc/GRM_OBJECT_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHY:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Indicator: Authorization'
                BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date and Time, Current (Application Server) Date
                ENDDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date and Time, Current (Application Server) Date
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                IN_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                OUT_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      REALO:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                SPECIAL_ICONS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABIX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IN_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                  OUT_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        REALO:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                  SPECIAL_ICONS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABIX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
