openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TH_VB_FUNCTION:
    post:
      tags:
      - THFB
      operationId: /rfc/TH_VB_FUNCTION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OPCODE:
                  type: integer
                  format: int32
                VBKEY:
                  type: string
                  maxLength: 32
                VBPARAM:
                  type: object
                  properties:
                    VBKEY:
                      type: string
                      maxLength: 32
                      description: Key for Update and Enqueue/Dequeue
                    VBMODCNT:
                      type: integer
                      format: int64
                      description: Update module ID in network configuration
                    VBFUNC:
                      type: string
                      maxLength: 30
                      description: Update function module
                    VBUSR:
                      type: string
                      maxLength: 12
                      description: User name
                    VBMANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    VBMODE:
                      type: integer
                      format: int32
                      description: Global update status
                    VBPHASE:
                      type: integer
                      format: int32
                      description: Update phase
                    VBDEBUG:
                      type: integer
                      format: int32
                      description: Display whether update is in debugging mode
                    VBDATANF:
                      type: string
                      format: date
                      description: Date in selection template of SM13
                    VBZEITANF:
                      type: string
                      maxLength: 6
                      description: Time in selection template of SM13
                    VBDATEND:
                      type: string
                      format: date
                      description: Date in selection template of SM13
                    VBZEITEND:
                      type: string
                      maxLength: 6
                      description: Time in selection template of SM13
                    VBERRONLY:
                      type: string
                      maxLength: 1
                      description: 'Status selection in SM13  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    VBV2START:
                      type: integer
                      format: int32
                      description: Start session for V2 update
                    VBDELETE:
                      type: integer
                      format: int32
                      description: Delete mode for update requests
                    VBWRKID:
                      type: string
                      maxLength: 64
                      description: Enqueue Key 64 (future extensions)
              required:
              - OPCODE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
