openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_SUBSTITUTION_SELECT_OLD:
    post:
      tags:
      - RHW2
      operationId: /rfc/RH_SUBSTITUTION_SELECT_OLD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                US_NAME:
                  type: string
                  maxLength: 12
                US_TYPE:
                  type: string
                  maxLength: 2
                SELECTED_SUBST_VIEW:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 12
                        description: Agent ID in Organizational Management
                      REPPR:
                        type: string
                        maxLength: 12
                        description: Substitute Profile
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Substitution Active  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELECTED_SUBST_VIEW:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 12
                          description: Agent ID in Organizational Management
                        REPPR:
                          type: string
                          maxLength: 12
                          description: Substitute Profile
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Substitution Active  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
