openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP3_GET_ROLES:
    post:
      tags:
      - WP3ROLE
      operationId: /rfc/WP3_GET_ROLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ROLEDEFLONGS:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLENAME:
                        type: string
                        maxLength: 132
                        description: Portal role name
                      REMAINING_LEN:
                        type: integer
                        format: int64
                        description: Remaining string length for long name
                      LINE:
                        type: string
                        maxLength: 132
                        description: Fragment of a long text string
                ROLEDEFS:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLENAME:
                        type: string
                        maxLength: 132
                        description: Portal role name
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: Timestamp of portal role (format YYYYMMDDHHMMSS)
                      ROLENAME_LONG:
                        type: string
                        maxLength: 1
                        description: 'Portal role uses long data field  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ROLEDEFLONGS:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLENAME:
                          type: string
                          maxLength: 132
                          description: Portal role name
                        REMAINING_LEN:
                          type: integer
                          format: int64
                          description: Remaining string length for long name
                        LINE:
                          type: string
                          maxLength: 132
                          description: Fragment of a long text string
                  ROLEDEFS:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLENAME:
                          type: string
                          maxLength: 132
                          description: Portal role name
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: Timestamp of portal role (format YYYYMMDDHHMMSS)
                        ROLENAME_LONG:
                          type: string
                          maxLength: 1
                          description: 'Portal role uses long data field  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
