PUT NotificationsSubscription/{id}
Updates the UsersAtionetNotificationsSubscriptionDto.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
this value is optional. Send Guid Empty for default |
globally unique identifier |
Required |
Body Parameters
The new data of the UsersAtionetNotificationsSubscriptionDto.
UsersAtionetNotificationsSubscriptionDtoName | Description | Type | Additional information |
---|---|---|---|
NotificationSuscriptionDto | Collection of NotificationSubscriptionDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "NotificationSuscriptionDto": [ { "AlertType": 1, "AlertTypeName": "sample string 2", "CategoryType": 3, "CategoryTypeName": "sample string 4", "Channels": [ { "ChannelName": "sample string 1", "Channel": 64, "Suscribed": true }, { "ChannelName": "sample string 1", "Channel": 64, "Suscribed": true } ], "Configuration": "sample string 5" }, { "AlertType": 1, "AlertTypeName": "sample string 2", "CategoryType": 3, "CategoryTypeName": "sample string 4", "Channels": [ { "ChannelName": "sample string 1", "Channel": 64, "Suscribed": true }, { "ChannelName": "sample string 1", "Channel": 64, "Suscribed": true } ], "Configuration": "sample string 5" } ] }
application/xml, text/xml
Sample:
<UsersAtionetNotificationsSubscriptionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <NotificationSuscriptionDto> <NotificationSubscriptionDto> <AlertType>1</AlertType> <AlertTypeName>sample string 2</AlertTypeName> <CategoryType>3</CategoryType> <CategoryTypeName>sample string 4</CategoryTypeName> <Channels> <NotificationChannelDto> <Channel>64</Channel> <ChannelName>sample string 1</ChannelName> <Suscribed>true</Suscribed> </NotificationChannelDto> <NotificationChannelDto> <Channel>64</Channel> <ChannelName>sample string 1</ChannelName> <Suscribed>true</Suscribed> </NotificationChannelDto> </Channels> <Configuration>sample string 5</Configuration> </NotificationSubscriptionDto> <NotificationSubscriptionDto> <AlertType>1</AlertType> <AlertTypeName>sample string 2</AlertTypeName> <CategoryType>3</CategoryType> <CategoryTypeName>sample string 4</CategoryTypeName> <Channels> <NotificationChannelDto> <Channel>64</Channel> <ChannelName>sample string 1</ChannelName> <Suscribed>true</Suscribed> </NotificationChannelDto> <NotificationChannelDto> <Channel>64</Channel> <ChannelName>sample string 1</ChannelName> <Suscribed>true</Suscribed> </NotificationChannelDto> </Channels> <Configuration>sample string 5</Configuration> </NotificationSubscriptionDto> </NotificationSuscriptionDto> </UsersAtionetNotificationsSubscriptionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.