POST api/people/sendnotification
Sends a user notification to the specified user
Request Information
URI Parameters
None.
Body Parameters
SendNotificationToPersonCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationTitle | string |
None. |
|
| MessageContent | string |
None. |
|
| AssociatedLinks | Collection of SecurityAwareLink |
None. |
|
| Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"NotificationTitle": "sample string 1",
"MessageContent": "sample string 2",
"AssociatedLinks": [
{
"LinkText": "sample string 1",
"LinkAddress": "sample string 2",
"RequiresAuthentication": true,
"OpenInNewTab": true
},
{
"LinkText": "sample string 1",
"LinkAddress": "sample string 2",
"RequiresAuthentication": true,
"OpenInNewTab": true
}
],
"Id": 3
}
Response Information
Resource Description
No Content
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |