POST api/ThongBao/reg
Request Information
URI Parameters
None.
Body Parameters
clsInputThongBaoName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
tieu_de | string |
None. |
|
noi_dung | string |
None. |
|
data | Object |
None. |
|
is_read | integer |
None. |
|
ten_dang_nhap | string |
None. |
|
ngay_tao | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "tieu_de": "sample string 2", "noi_dung": "sample string 3", "data": {}, "is_read": 5, "ten_dang_nhap": "sample string 6", "ngay_tao": "2025-07-23T02:38:04.0832372+07:00" }
application/xml, text/xml
Sample:
<clsInputThongBao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pfcExtraClass.API.thongBao"> <data /> <id>1</id> <is_read>5</is_read> <ngay_tao>2025-07-23T02:38:04.0832372+07:00</ngay_tao> <noi_dung>sample string 3</noi_dung> <ten_dang_nhap>sample string 6</ten_dang_nhap> <tieu_de>sample string 2</tieu_de> </clsInputThongBao>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response Formats
application/json, text/json
Sample:
{ "sample string 1": {}, "sample string 3": {} }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringanyType> <Key>sample string 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 3</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType>