openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LWE_SET_ITEM_COMPLETED_BPML:
    post:
      tags:
      - LWE_RUNTIME
      operationId: /rfc/LWE_SET_ITEM_COMPLETED_BPML
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FORMAT:
                  type: string
                  maxLength: 10
                  description: 'Workflow: Conversion Format'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                WF_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
                WORKITEM_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
                MESSAGE_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
              required:
              - FORMAT
              - LANGUAGE
              - WF_ID
              - WORKITEM_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  XML_STREAM:
                    type: string
                    format: byte
                    description: XML Description of a Life and Work Event
                  MESSAGE_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
