openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWP_GET_ROLE_USER_ASSIGNMENT:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWP_GET_ROLE_USER_ASSIGNMENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NO_USERS_FROM_COMPOSITE_ROLES:
                  type: string
                  maxLength: 1
                ROLE_NAME:
                  type: string
                  maxLength: 30
                ROLE_USER_ASSIGNMENT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      TO_DAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      EXCLUDE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      CHANGE_DAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      CHANGE_TST:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      COL_FLAG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - NO_USERS_FROM_COMPOSITE_ROLES
              - ROLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ROLE_USER_ASSIGNMENT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        TO_DAT:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        EXCLUDE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        CHANGE_DAT:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        CHANGE_TST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        COL_FLAG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
