POST api/Notification/SendNotification
Request Information
URI Parameters
None.
Body Parameters
SendNotificationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| JobId | integer |
None. |
|
| JobNo | string |
None. |
|
| Couriers | Collection of integer |
None. |
|
| Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"JobId": 1,
"JobNo": "sample string 2",
"Couriers": [
1,
2
],
"Type": 3
}
text/html
Sample:
{"JobId":1,"JobNo":"sample string 2","Couriers":[1,2],"Type":3}
application/xml, text/xml
Sample:
<SendNotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.NotificationQueue">
<Couriers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Couriers>
<JobId>1</JobId>
<JobNo>sample string 2</JobNo>
<Type>3</Type>
</SendNotificationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.