Add Device

This call associates the specified subscription with the specified device. The subscription can be associated with multiple devices, but the device can have only one subscription associated. If the device is already associated with a subscription, an error is returned. When a device is added to a subscription, an MtxSubscriberAddDeviceEvent is generated.

REST Example

URL
PUT
http://host:port/rsgateway/data/v3/subscription/12345/device/59999
Request XML None
Response
<MtxResponse>
    <RouteId>1</RouteId>
    <Result>0</Result>
    <ResultText>OK</ResultText>
</MtxResponse>