openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_GET_SUBST_FROM_COMPONENT:
    post:
      tags:
      - RH_WORKLIST_SERVER
      operationId: /rfc/RH_GET_SUBST_FROM_COMPONENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SUBST_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      US_NAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      REP_NAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      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:
                  SUBST_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        US_NAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        REP_NAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        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.
