openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_IF_USER_CONTEXT_SET:
    post:
      tags:
      - SI19
      operationId: /rfc/IWB_IF_USER_CONTEXT_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  default: IWBTRAIN
                  maxLength: 10
                COUNTRY:
                  type: string
                  maxLength: 3
                ENTRY_OBJECT:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                EXTENSION:
                  type: string
                  maxLength: 10
                MODE:
                  type: string
                  default: DOCU
                  maxLength: 4
                  description: Processing mode (doc/translation)
                REL:
                  type: string
                  default: SY-SAPRL
                  maxLength: 12
                SRC_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 2
                SUBAREA:
                  type: string
                  default: IOM
                  maxLength: 70
                TRG_LANGUAGE:
                  type: string
                  maxLength: 2
                USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                FOLDER_FAVORITES_TO_DELETE:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                FOLDER_FAVORITES_TO_INSERT:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FOLDER_FAVORITES_TO_DELETE:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  FOLDER_FAVORITES_TO_INSERT:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
