Skip to main content

Create subscription endpoint

Request

The endpoint allows users to define and create a new streaming subscription for a given organization.

Security
BearerAuth
Bodyapplication/json
messageTypeobject(MessageType)

Message type for a given subscription

channelobject(Channel)

Subscription can be created using one channel.

Payload
{ "messageType": { "asset": [ … ], "environmental": [ … ], "power": [ … ], "meteredPower": [ … ], "systemAlert": [ … ], "customAlert": [ … ] }, "channel": { "channelType": "AWS_IOT_CORE", "awsIotCoreChannelConfiguration": { … }, "webhookChannelConfiguration": { … }, "azureChannelConfiguration": { … } } }

Responses

Created

Headers
Locationstring

Location of created subscription. For Example - /smartview/v2/streaming/subscriptions/607460b4e4a78360425bca56

Response
No content
Was this page helpful?