POST api/messaging/notifications/send-to-user
Request Information
URI Parameters
None.
Body Parameters
UserNotificationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PUMUSR | string |
Required String length: inclusive between 0 and 50 |
|
| Title | string |
String length: inclusive between 0 and 100 |
|
| Message | string |
String length: inclusive between 0 and 500 |
|
| Url | string |
String length: inclusive between 0 and 1000 |
|
| BadgeCount | integer |
Range: inclusive between 0 and 9999 |
|
| AppName | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"PUMUSR": "sample string 1",
"Title": "sample string 2",
"Message": "sample string 3",
"Url": "sample string 4",
"BadgeCount": 1,
"AppName": "sample string 5"
}
application/xml, text/xml
Sample:
<UserNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.Messaging.Models.Request"> <AppName>sample string 5</AppName> <BadgeCount>1</BadgeCount> <Message>sample string 3</Message> <PUMUSR>sample string 1</PUMUSR> <Title>sample string 2</Title> <Url>sample string 4</Url> </UserNotificationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.