openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_USER_LPORDER_GET:
    post:
      tags:
      - WP_PERS
      operationId: /rfc/WP_USER_LPORDER_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPLETE:
                  type: string
                  default: X
                  maxLength: 1
                  description: General Flag
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Language ID (ISO Standard)
                USER_NAME:
                  type: string
                  maxLength: 12
                  description: SAP System, User Logon Name
                LPORDER_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      AGR_TEXT:
                        type: string
                        maxLength: 80
                        description: Role name
                      AGR_ORDER:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FAVORITES_ONLY:
                    type: string
                    maxLength: 1
                    description: General Flag
                  LPORDER_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        AGR_TEXT:
                          type: string
                          maxLength: 80
                          description: Role name
                        AGR_ORDER:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
