If you want to send data from an external system to VBU, you can do so by using HTTP POST.
Events can either be single record events, or datasets with multiple records.
To call the REST API, use the following path, where 123
is the id of your duty that should handle the incoming event
POST <https://vbuserver>:port/vb-host/api/duty/123
Headers:
=======
Authorization: Basic {base64 encoded user:pass}
Content-Type: application/xml
Body:
====
<body>
<queue>true</queue>
<data>
<myRoot>
<myRecord>
<id>123</id>
<someValue>ABC</someValue>
</myRecord>
<myRecord>
<id>222</id>
<someValue>BBB</someValue>
</myRecord>
</myRoot>
</data>
</body>
Please note! VBU will pass the /body/data
contents to the duty, meaning the root element of the event will be /myRoot
when reaching the duty.
API
Define a statistics definition to receive the event record
Configure a duty to receive the event and map each field
/myRoot/myRecord
/myRoot
id
and someValue