GET api/NotificationSetting/{tokenEndpoint}?userId={userId}&platform={platform}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
|
platform | string |
Required |
|
tokenEndpoint | string |
None. |
Body Parameters
None.
Response Information
Resource Description
NotificationSettingViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserProfileName | string |
None. |
|
NotificationType | Collection of NotificationTypeSimpleViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "UserProfileName": "sample string 2", "NotificationType": [ { "Name": "sample string 1", "Info": "sample string 2" }, { "Name": "sample string 1", "Info": "sample string 2" } ] }
application/xml, text/xml
Sample:
<NotificationSettingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <Id>1</Id> <NotificationType> <NotificationTypeSimpleViewModel> <Info>sample string 2</Info> <Name>sample string 1</Name> </NotificationTypeSimpleViewModel> <NotificationTypeSimpleViewModel> <Info>sample string 2</Info> <Name>sample string 1</Name> </NotificationTypeSimpleViewModel> </NotificationType> <UserProfileName>sample string 2</UserProfileName> </NotificationSettingViewModel>