openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRMG_BROWSER_INTERFACE:
    post:
      tags:
      - GRMG
      summary: Datenaustausch mit einem eingebetteten Browser
      operationId: /rfc/GRMG_BROWSER_INTERFACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GRMG_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROP_NAME:
                        type: string
                        maxLength: 40
                        description: 'GRMG: Type for property name'
                      PROP_TYPE:
                        type: string
                        maxLength: 3
                        description: 'GRMG: Type for property type'
                      PROP_VALUE:
                        type: string
                        maxLength: 250
                        description: 'GRMG: Type for property value'
                GRMG_SCENARIO:
                  type: object
                  properties:
                    SCEN_NAME:
                      type: string
                      maxLength: 8
                      description: 'GRMG: Type for names'
                    SCEN_VERSION:
                      type: integer
                      format: int64
                      description: 'GRMG: Type for version'
                    SCEN_INST:
                      type: integer
                      format: int64
                      description: 'GRMG: Type for version'
                    SCEN_TYPE:
                      type: string
                      maxLength: 10
                      description: 'GRMG: Type for type'
                    SCEN_START_URL:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    SCEN_START_MOD:
                      type: string
                      maxLength: 50
                      description: 'GRMG: Type for modularisation unit'
                    SCEN_OWNER:
                      type: string
                      maxLength: 12
                      description: User Name in User Master Record
                    SCEN_COMP:
                      type: string
                      maxLength: 40
                      description: 'Alert: Short Name of Monitoring Type'
                    SCEN_AGENT:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    SCEN_FILENM:
                      type: string
                      maxLength: 240
                      description: Text field of length 240
                    FILE_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    FILE_TIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    LOAD_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    LOAD_TIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    SCEN_STOP:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    SCEN_DOWNTIME:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    URL_EXTEND1:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND2:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND3:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND4:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND5:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND6:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND7:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                    URL_EXTEND8:
                      type: string
                      maxLength: 250
                      description: 'GRMG: Type for URL'
                URL:
                  type: string
                  maxLength: 2083
                  description: Vollständiges URL
              required:
              - GRMG_PROPERTIES
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  GRMG_HTTP_STATUS_CODE:
                    type: string
                    description: 'GRMG: Tabellentyp für Antworttabelle'
                  GRMG_RESPONSE_HEADERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          description: HTTP Framework (iHTTP) HTTP Name
                        VALUE:
                          type: string
                          description: HTTP Framework (iHTTP) HTTP Value
                  GRMG_RESPONSE_STRING:
                    type: string
                    description: 'GRMG: Tabellentyp für Antworttabelle'
                  GRMG_RESPONSE_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 120
                          description: char120
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
