openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_USER_WP_PERS_DATA_READ:
    post:
      tags:
      - WP_EXCHANGE
      summary: Reading the WP Personalization Data for a User
      operationId: /rfc/BAPI_USER_WP_PERS_DATA_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ID:
                  type: string
                  maxLength: 12
                  description: User Name
                CHANNEL_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      CHAN_INFO:
                        type: string
                        maxLength: 255
                        description: Serialized Information
                FAVO_TABC:
                  type: array
                  items:
                    type: object
                    properties:
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended Program Name
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      BOOK_INFO:
                        type: string
                        maxLength: 12
                        description: 'Structures: name of the structure'
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      X_POS:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      Y_POS:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      TEXT:
                        type: string
                        maxLength: 100
                        description: Character 100
                      TARGET_SYS:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                FAVO_TABI:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      LINK_TYPE:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      URL:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                      PERS_MINI:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      PERS_WIN:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                GEN_PERS_TBL:
                  type: array
                  items:
                    type: object
                    properties:
                      GROUPID:
                        type: string
                        maxLength: 10
                        description: Group Name for System Settings
                      ITEMID:
                        type: string
                        maxLength: 10
                        description: Entry ID for System Settings
                      ITEMVALUE:
                        type: string
                        maxLength: 255
                        description: Workplace Parameter Value (System Settings)
                      ITEMDESCR:
                        type: string
                        maxLength: 80
                        description: Description of Workplace System Settings
                LANG_DEFLT:
                  type: array
                  items:
                    type: object
                    properties:
                      LOG_SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Logon Language for the Component System
                LPORDER_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLE_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      ROLE_ORDER:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                MINIPERS_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MAPPKEY:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                      MAVERSION:
                        type: string
                        maxLength: 1
                        description: 'MiniApp Version  enumValues: R=MiniApp stored directly in the role,C=MiniApp from catalog with link to role,M=MiniApp inserted manually'
                        enum:
                        - R
                        - C
                        - M
                      ROLENAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      MAMINIMIZD:
                        type: string
                        maxLength: 1
                        description: 'Minimalized Start  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      MASELECTED:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      USERORDER:
                        type: integer
                        format: int64
                        description: Number
                      USERTEXT:
                        type: string
                        maxLength: 75
                        description: MiniApp Short Description
                      USERHEIGHT:
                        type: string
                        maxLength: 10
                        description: Height of the MiniApp
              required:
              - ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COUNTRY:
                    type: string
                    maxLength: 3
                    description: Country Key
                  DRDIALOG:
                    type: string
                    maxLength: 1
                    description: 'Drag&Relate: Dialog for Relate'
                  CHANNEL_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAN_INFO:
                          type: string
                          maxLength: 255
                          description: Serialized Information
                  FAVO_TABC:
                    type: array
                    items:
                      type: object
                      properties:
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended Program Name
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        BOOK_INFO:
                          type: string
                          maxLength: 12
                          description: 'Structures: name of the structure'
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        X_POS:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        Y_POS:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        TEXT:
                          type: string
                          maxLength: 100
                          description: Character 100
                        TARGET_SYS:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                  FAVO_TABI:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        LINK_TYPE:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        URL:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                        PERS_MINI:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        PERS_WIN:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  GEN_PERS_TBL:
                    type: array
                    items:
                      type: object
                      properties:
                        GROUPID:
                          type: string
                          maxLength: 10
                          description: Group Name for System Settings
                        ITEMID:
                          type: string
                          maxLength: 10
                          description: Entry ID for System Settings
                        ITEMVALUE:
                          type: string
                          maxLength: 255
                          description: Workplace Parameter Value (System Settings)
                        ITEMDESCR:
                          type: string
                          maxLength: 80
                          description: Description of Workplace System Settings
                  LANG_DEFLT:
                    type: array
                    items:
                      type: object
                      properties:
                        LOG_SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Logon Language for the Component System
                  LPORDER_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLE_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        ROLE_ORDER:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                  MINIPERS_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MAPPKEY:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                        MAVERSION:
                          type: string
                          maxLength: 1
                          description: 'MiniApp Version  enumValues: R=MiniApp stored directly in the role,C=MiniApp from catalog with link to role,M=MiniApp inserted manually'
                          enum:
                          - R
                          - C
                          - M
                        ROLENAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        MAMINIMIZD:
                          type: string
                          maxLength: 1
                          description: 'Minimalized Start  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        MASELECTED:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        USERORDER:
                          type: integer
                          format: int64
                          description: Number
                        USERTEXT:
                          type: string
                          maxLength: 75
                          description: MiniApp Short Description
                        USERHEIGHT:
                          type: string
                          maxLength: 10
                          description: Height of the MiniApp
                  RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
