POST api/pushnotifications/custom
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.PushNotifications.SendPushNotificationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
Required |
|
| Data | Dictionary of string [key] and string [value] |
Required |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "9598aefe-203d-4b2e-a435-2f4115908e96",
"data": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"message": "sample string 1"
}
text/html
Sample:
{"userId":"9598aefe-203d-4b2e-a435-2f4115908e96","data":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"message":"sample string 1"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.