openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_UPDATE_SUBST_LIST_SERVER:
    post:
      tags:
      - RH_WORKLIST_SERVER
      operationId: /rfc/RH_UPDATE_SUBST_LIST_SERVER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ERR_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      REP_NAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      REPPR:
                        type: string
                        maxLength: 12
                        description: Substitute Profile
                      REP_ERR:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      PROF_ERR:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                SUBST_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      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:
                  ERR_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        REP_NAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        REPPR:
                          type: string
                          maxLength: 12
                          description: Substitute Profile
                        REP_ERR:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        PROF_ERR:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  SUBST_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        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.
