Create a Stream
Use the following API to create (or update) one or more streams. The request payload can include a single stream or multiple streams. Multiple streams must be wrapped in an array for JSON and a element for XML. The response always returns the streams as a list.
Request
`POST /ws/v1/streams/inventory
Payload
{
"description": "test stream",
"id": "MyNewStream",
"type": "LONG"
}
Response
{
"count": 1,
"list": [
{
"description": "test stream",
"id": "MyNewStream",
"type": "LONG"
}
]
}