openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HLP_CONTEXT_SAVE:
    post:
      tags:
      - SH05
      summary: 'Online help: Callback for saving call context'
      operationId: /rfc/HLP_CONTEXT_SAVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTEXT:
                  type: string
                  maxLength: 2048
                DISPLAY_MODE:
                  type: string
                  maxLength: 10
                HELP_TYPE:
                  type: string
                  maxLength: 10
                REFRESH:
                  type: string
                  default: ' '
                  maxLength: 1
                WINDOW_TITLE:
                  type: string
                  maxLength: 80
                CAPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
                      TAG:
                        type: string
                        maxLength: 32
                        description: Character field, length 32
                      TEXT:
                        type: string
                        maxLength: 73
                        description: Message Text
                      ACTION:
                        type: string
                        maxLength: 4
                        description: Character field, length 4
                      VISIBLE:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                      CHECKED:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                EXTENSION:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 134
                        description: Character field, length 134
                ITF:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                RTF:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: 'Online help: RTF lines'
              required:
              - CONTEXT
              - DISPLAY_MODE
              - HELP_TYPE
              - WINDOW_TITLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CAPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 6
                          description: Character field of length 6
                        TAG:
                          type: string
                          maxLength: 32
                          description: Character field, length 32
                        TEXT:
                          type: string
                          maxLength: 73
                          description: Message Text
                        ACTION:
                          type: string
                          maxLength: 4
                          description: Character field, length 4
                        VISIBLE:
                          type: string
                          maxLength: 1
                          description: Character field of length 1
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Character field of length 1
                        CHECKED:
                          type: string
                          maxLength: 1
                          description: Character field of length 1
                  EXTENSION:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 134
                          description: Character field, length 134
                  ITF:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  RTF:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: 'Online help: RTF lines'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
