openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWK_HANDT_UPDATE:
    post:
      tags:
      - SWK4
      operationId: /rfc/SWK_HANDT_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IM_UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                HANDLER_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      HANDKIND:
                        type: string
                        maxLength: 1
                        description: 'Type of Handler (Callback or Launch)  enumValues: C=Callback Handler,L=Launch Handler'
                        enum:
                        - C
                        - L
                      HANDCAT:
                        type: string
                        maxLength: 1
                        description: 'Handler Category  enumValues: S=Simple Parametrization (Name-Value)'
                        enum:
                        - S
                      PROTCL:
                        type: string
                        maxLength: 5
                        description: 'Log  enumValues: https=HTTPS,""=No schema (relative URI),http=HTTP'
                        enum:
                        - https
                        - ''
                        - http
                      SERVER:
                        type: string
                        maxLength: 255
                        description: Server
                      PORTNUM:
                        type: string
                        maxLength: 16
                        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 on Workplace Server  enumValues: ""=Undefined,BSP=Business Server Page'
                        enum:
                        - ''
                        - BSP
                      ACTION:
                        type: string
                        maxLength: 1
                        description: 'Action  enumValues: C=Create/Update Handler,D=Delete Handler'
                        enum:
                        - C
                        - D
                MESSAGE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: integer
                        format: int32
                        description: Error Code
                      TEXT:
                        type: string
                        maxLength: 120
                        description: Language-Dependent Message
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MESSAGE:
                    type: string
                    maxLength: 120
                  E_RETCODE:
                    type: integer
                    format: int32
                  HANDLER_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        HANDKIND:
                          type: string
                          maxLength: 1
                          description: 'Type of Handler (Callback or Launch)  enumValues: C=Callback Handler,L=Launch Handler'
                          enum:
                          - C
                          - L
                        HANDCAT:
                          type: string
                          maxLength: 1
                          description: 'Handler Category  enumValues: S=Simple Parametrization (Name-Value)'
                          enum:
                          - S
                        PROTCL:
                          type: string
                          maxLength: 5
                          description: 'Log  enumValues: https=HTTPS,""=No schema (relative URI),http=HTTP'
                          enum:
                          - https
                          - ''
                          - http
                        SERVER:
                          type: string
                          maxLength: 255
                          description: Server
                        PORTNUM:
                          type: string
                          maxLength: 16
                          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 on Workplace Server  enumValues: ""=Undefined,BSP=Business Server Page'
                          enum:
                          - ''
                          - BSP
                        ACTION:
                          type: string
                          maxLength: 1
                          description: 'Action  enumValues: C=Create/Update Handler,D=Delete Handler'
                          enum:
                          - C
                          - D
                  MESSAGE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: integer
                          format: int32
                          description: Error Code
                        TEXT:
                          type: string
                          maxLength: 120
                          description: Language-Dependent Message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
