openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWPN_GET_AV_ROLES:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWPN_GET_AV_ROLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                NO_DERIVED:
                  type: string
                  default: ' '
                  maxLength: 1
                ROLE_RANGE:
                  type: string
                  maxLength: 30
                ROLES:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLENAME:
                        type: string
                        maxLength: 60
                        description: Role name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      TITLE:
                        type: string
                        maxLength: 80
                        description: Role title
                      COMPOSITE:
                        type: string
                        maxLength: 1
                        description: Role is a composite role
                      DERIVED:
                        type: string
                        maxLength: 1
                        description: Role is derived
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ROLES:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLENAME:
                          type: string
                          maxLength: 60
                          description: Role name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        TITLE:
                          type: string
                          maxLength: 80
                          description: Role title
                        COMPOSITE:
                          type: string
                          maxLength: 1
                          description: Role is a composite role
                        DERIVED:
                          type: string
                          maxLength: 1
                          description: Role is derived
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
