PUT api/pushnotifications/registerdevice
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.PushNotifications.RegisterDeviceForPushNotificationsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| Pns | string |
None. |
|
| UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"pns": "sample string 2",
"userId": "56a920c9-a192-456b-a964-3fe53d49f3ef"
}
text/html
Sample:
{"token":"sample string 1","pns":"sample string 2","userId":"56a920c9-a192-456b-a964-3fe53d49f3ef"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.