openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWLWP_HANDLER_UPDATE:
    post:
      tags:
      - SWLWP_CENTRAL_CUST
      operationId: /rfc/SWLWP_HANDLER_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_HANDLER:
                  type: object
                  properties:
                    HANDKIND:
                      type: string
                      maxLength: 1
                      description: 'Type of Handler (callback or Launch)  enumValues: C=Callback Handler,L=Launch Handler (Local),R=Launch Handler (Remote)'
                      enum:
                      - C
                      - L
                      - R
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                    MANDANT:
                      type: string
                      maxLength: 3
                      description: Client ID of Current User
                    PROTCL:
                      type: string
                      maxLength: 5
                      description: 'Log  enumValues: https=HTTPS,http=HTTP'
                      enum:
                      - https
                      - http
                    SERVER:
                      type: string
                      maxLength: 255
                      description: Server Names
                    PORTNUM:
                      type: integer
                      format: int64
                      description: Port Number
                    PATH:
                      type: string
                      maxLength: 255
                      description: Service path
                    HANDNAME:
                      type: string
                      maxLength: 255
                      description: Handler
                    WPURLTYPE:
                      type: string
                      maxLength: 20
                      description: 'URL Type in the Workplace Server  enumValues: ""=Undefined,BSP=Business Server Page'
                      enum:
                      - ''
                      - BSP
                    CHANGED_TS:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    CHANGED_RL:
                      type: string
                      maxLength: 4
                      description: SAP Release
                    ACTION:
                      type: string
                      maxLength: 1
                      description: 'Update Action  enumValues: C=Create/Update Handler,D=Delete Handler'
                      enum:
                      - C
                      - D
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                ET_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Message Text When Distributing Handler Entries
              required:
              - IM_HANDLER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Message Text When Distributing Handler Entries
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
