openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_NAMESPACE_READ_RESERVATION:
    post:
      tags:
      - HRBAS00NAMESPACE
      operationId: /rfc/RH_NAMESPACE_READ_RESERVATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT:
                  type: string
                  maxLength: 30
                  description: Table Name
                COMPONENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of R/3 System
                      SYCLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      COMP_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      ORIGINAL:
                        type: string
                        maxLength: 1
                        description: 'Original  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                RESERVATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of R/3 System
                      SYCLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      SYUNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      KEYFIELD:
                        type: string
                        maxLength: 50
                        description: Key for Reserved Entry
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      TEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
              required:
              - OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMPONENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of R/3 System
                        SYCLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        COMP_REL:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        ORIGINAL:
                          type: string
                          maxLength: 1
                          description: 'Original  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  RESERVATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of R/3 System
                        SYCLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        SYUNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        KEYFIELD:
                          type: string
                          maxLength: 50
                          description: Key for Reserved Entry
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        TEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: Last Changed by
                        AS4DATE:
                          type: string
                          format: date
                          description: Date of Last Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
