openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SIW_CONTEXT_DIALOG:
    post:
      tags:
      - SI17
      operationId: /rfc/SIW_CONTEXT_DIALOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADD_SYSTEM_CONTEXT_AS_DEFAULT:
                  type: string
                  maxLength: 1
                AREA:
                  type: string
                  maxLength: 10
                  description: Area
                CLASS:
                  type: string
                  maxLength: 10
                DISPLAY_COUNTRY:
                  type: string
                  default: ' '
                  maxLength: 1
                DISPLAY_COUNTRY_BUTTON:
                  type: string
                  default: ' '
                  maxLength: 1
                DISPLAY_EXTENSION:
                  type: string
                  default: ' '
                  maxLength: 1
                DISPLAY_EXTENSION_BUTTON:
                  type: string
                  default: ' '
                  maxLength: 1
                DISPLAY_MODE_BUTTON:
                  type: string
                  default: ' '
                  maxLength: 1
                TASK:
                  type: string
                  default: EDIT
                  maxLength: 10
                WORKING_MODE:
                  type: string
                  default: DOCU
                  maxLength: 4
                CONTEXT_VALUES:
                  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
                DEFAULT_VALUES:
                  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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTION:
                    type: string
                    maxLength: 70
                  ERROR_MSG:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  E_WORKING_MODE:
                    type: string
                    maxLength: 4
                  CONTEXT_VALUES:
                    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
                  DEFAULT_VALUES:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
