openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IWB_IF_USER_CONTEXT_GET:
    post:
      tags:
      - SI19
      operationId: /rfc/IWB_IF_USER_CONTEXT_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  default: IWBTRAIN
                  maxLength: 10
                SUBAREA:
                  type: string
                  default: IOM
                  maxLength: 70
                USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                CONTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                FOLDER_FAVORITES:
                  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:
                  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
                    maxLength: 4
                  REL:
                    type: string
                    maxLength: 12
                  SRC_LANGUAGE:
                    type: string
                    maxLength: 2
                  TRG_LANGUAGE:
                    type: string
                    maxLength: 2
                  CONTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  FOLDER_FAVORITES:
                    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.
