POST api/notification/sendnotification
Request Information
URI Parameters
None.
Body Parameters
notification| Name | Description | Type | Additional information |
|---|---|---|---|
| notification_id | integer |
Required |
|
| title_vi | string |
Max length: 100 |
|
| title_en | string |
Max length: 100 |
|
| content_vi | string |
Max length: 5000 |
|
| content_en | string |
Max length: 5000 |
|
| content_url | string |
Max length: 500 |
|
| type | integer |
None. |
|
| notification_type | string |
Max length: 100 |
|
| notification_code | string |
Max length: 100 |
|
| createdate | date |
None. |
|
| notification_date | date |
None. |
|
| province_id | string |
Max length: 50 |
|
| district_id | string |
Max length: 50 |
Request Formats
application/json, text/json
Sample:
{
"notification_id": 1,
"title_vi": "sample string 2",
"title_en": "sample string 3",
"content_vi": "sample string 4",
"content_en": "sample string 5",
"content_url": "sample string 6",
"type": 7,
"notification_type": "sample string 8",
"notification_code": "sample string 9",
"createdate": "2026-04-18T19:02:49.0610429+07:00",
"notification_date": "2026-04-18T19:02:49.0610429+07:00",
"province_id": "sample string 12",
"district_id": "sample string 13"
}
application/xml, text/xml
Sample:
<notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Repositories.Models.Notification"> <content_en>sample string 5</content_en> <content_url>sample string 6</content_url> <content_vi>sample string 4</content_vi> <createdate>2026-04-18T19:02:49.0610429+07:00</createdate> <district_id>sample string 13</district_id> <notification_code>sample string 9</notification_code> <notification_date>2026-04-18T19:02:49.0610429+07:00</notification_date> <notification_id>1</notification_id> <notification_type>sample string 8</notification_type> <province_id>sample string 12</province_id> <title_en>sample string 3</title_en> <title_vi>sample string 2</title_vi> <type>7</type> </notification>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
[
{},
{}
]
application/xml, text/xml
Sample:
<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <anyType /> <anyType /> </ArrayOfanyType>