openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ESS_USERS_OF_ROLE_GET:
    post:
      tags:
      - SHSS
      operationId: /rfc/ESS_USERS_OF_ROLE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ROLE:
                  type: string
                  maxLength: 30
                  description: Role Name
                ROLE_USERS:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                        enum:
                        - C
                        - ''
                        - E
                        - X
              required:
              - ROLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ROLE_USERS:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                          enum:
                          - C
                          - ''
                          - E
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
