openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_FAVOURITE_UPDATE_SU:
    post:
      tags:
      - WP_PERS_WRITE
      summary: WP_FAVOURITE_UPD for sy-uname
      operationId: /rfc/WP_FAVOURITE_UPDATE_SU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  maxLength: 2
                  description: Language ID (ISO Standard)
                FAVOTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NODE_ID:
                        type: integer
                        format: int64
                        description: Number of a Node in the Workplace LaunchPad
                      NODE_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of node ( U = URL, F = folder, T = transaction)
                      TARGET_ID:
                        type: integer
                        format: int64
                        description: Number of a Node in the Workplace LaunchPad
                      CHANGE_TID:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Number of a Node in the Workplace LaunchPad
                      CHANGE_PID:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      CHANGE_TXT:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction Code
                      URL:
                        type: string
                        maxLength: 2000
                        description: URL for SAP Portal
                      CHANGE_URL:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TARGET_SYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      START_MINI:
                        type: string
                        maxLength: 1
                        description: 'Minimalized Start  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      NEW_WINDOW:
                        type: string
                        maxLength: 1
                        description: 'Start in New Window  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      CHANGE_PER:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      STATE:
                        type: string
                        maxLength: 2
                        description: 'Node Status  enumValues: A=Added,AM=Inserted and changed,M=Changed,D=Deleted,""=Unchanged'
                        enum:
                        - A
                        - AM
                        - M
                        - D
                        - ''
                NEW_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      TEMP_ID:
                        type: integer
                        format: int64
                        description: Number of a Node in the Workplace LaunchPad
                      NEW_ID:
                        type: integer
                        format: int64
                        description: Number of a Node in the Workplace LaunchPad
              required:
              - LANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FAVOTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_ID:
                          type: integer
                          format: int64
                          description: Number of a Node in the Workplace LaunchPad
                        NODE_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of node ( U = URL, F = folder, T = transaction)
                        TARGET_ID:
                          type: integer
                          format: int64
                          description: Number of a Node in the Workplace LaunchPad
                        CHANGE_TID:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Number of a Node in the Workplace LaunchPad
                        CHANGE_PID:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        CHANGE_TXT:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction Code
                        URL:
                          type: string
                          maxLength: 2000
                          description: URL for SAP Portal
                        CHANGE_URL:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TARGET_SYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        START_MINI:
                          type: string
                          maxLength: 1
                          description: 'Minimalized Start  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        NEW_WINDOW:
                          type: string
                          maxLength: 1
                          description: 'Start in New Window  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        CHANGE_PER:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        STATE:
                          type: string
                          maxLength: 2
                          description: 'Node Status  enumValues: A=Added,AM=Inserted and changed,M=Changed,D=Deleted,""=Unchanged'
                          enum:
                          - A
                          - AM
                          - M
                          - D
                          - ''
                  NEW_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        TEMP_ID:
                          type: integer
                          format: int64
                          description: Number of a Node in the Workplace LaunchPad
                        NEW_ID:
                          type: integer
                          format: int64
                          description: Number of a Node in the Workplace LaunchPad
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
