openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_GET_USERS_FOR_APP_SERVER:
    post:
      tags:
      - PRGN_TREE
      operationId: /rfc/PRGN_GET_USERS_FOR_APP_SERVER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AGR_USERS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      EXCLUDE:
                        type: string
                        maxLength: 1
                        description: Exclusive
                      CHANGE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      CHANGE_TST:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Assignment Comes From HR Organization Management'
                      COL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Assignment from composite role  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  I_AGR_USERS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        EXCLUDE:
                          type: string
                          maxLength: 1
                          description: Exclusive
                        CHANGE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        CHANGE_TST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag: Assignment Comes From HR Organization Management'
                        COL_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag: Assignment from composite role  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
