POST api/Notification/send
Request Information
URI Parameters
None.
Body Parameters
NotificationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| fcmToken | string |
None. |
|
| isAndroiodDevice | boolean |
None. |
|
| title | string |
None. |
|
| body | string |
None. |
|
| supportTicketId | integer |
None. |
|
| isOpenTicket | boolean |
None. |
|
| isClosedTicket | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"fcmToken": "sample string 1",
"isAndroiodDevice": true,
"title": "sample string 3",
"body": "sample string 4",
"supportTicketId": 5,
"isOpenTicket": true,
"isClosedTicket": true
}
application/xml, text/xml
Sample:
<NotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <Body>sample string 4</Body> <FcmToken>sample string 1</FcmToken> <IsAndroiodDevice>true</IsAndroiodDevice> <IsClosedTicket>true</IsClosedTicket> <IsOpenTicket>true</IsOpenTicket> <SupportTicketId>5</SupportTicketId> <Title>sample string 3</Title> </NotificationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |