POST Notification/Add
Request Information
URI Parameters
None.
Body Parameters
NOTIFICATION| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| UserID | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| Body | string |
None. |
|
| NavigatePath | string |
None. |
|
| DataId | globally unique identifier |
None. |
|
| DeliveryStatus | string |
None. |
|
| Purpose | string |
None. |
|
| TYPE | string |
None. |
|
| IsRead | boolean |
None. |
|
| IsFollowing | boolean |
None. |
|
| Campaign | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Times | string |
None. |
|
| Channel | string |
None. |
|
| Remark | string |
None. |
|
| Budget | decimal number |
None. |
|
| NumOfSend | integer |
None. |
|
| NumOfReader | integer |
None. |
|
| NumOfClicked | integer |
None. |
|
| CostPerClick | decimal number |
None. |
|
| Note | string |
None. |
|
| Pin | integer |
None. |
|
| IsUse | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | string |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| DeletedDate | date |
None. |
|
| DeletedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "fc7f05fa-5db2-4887-b56b-817280ccde4e",
"UserID": "f9c2084f-f942-4d4c-9c1a-9742ef56db97",
"Title": "sample string 3",
"Body": "sample string 4",
"NavigatePath": "sample string 5",
"DataId": "a5e91103-7d33-4b78-8625-2f53974c514a",
"DeliveryStatus": "sample string 7",
"Purpose": "sample string 8",
"TYPE": "sample string 9",
"IsRead": true,
"IsFollowing": true,
"Campaign": "sample string 10",
"StartDate": "2025-12-06T12:08:28.7968043+07:00",
"EndDate": "2025-12-06T12:08:28.7968043+07:00",
"Times": "sample string 11",
"Channel": "sample string 12",
"Remark": "sample string 13",
"Budget": 14.0,
"NumOfSend": 15,
"NumOfReader": 16,
"NumOfClicked": 17,
"CostPerClick": 18.0,
"Note": "sample string 19",
"Pin": 20,
"IsUse": true,
"CreatedDate": "2025-12-06T12:08:28.7968043+07:00",
"CreatedBy": "sample string 22",
"ModifiedDate": "2025-12-06T12:08:28.7968043+07:00",
"ModifiedBy": "sample string 23",
"DeletedDate": "2025-12-06T12:08:28.7968043+07:00",
"DeletedBy": "sample string 24"
}
application/xml, text/xml
Sample:
<NOTIFICATION xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Models"> <Body>sample string 4</Body> <Budget>14</Budget> <Campaign>sample string 10</Campaign> <Channel>sample string 12</Channel> <CostPerClick>18</CostPerClick> <CreatedBy>sample string 22</CreatedBy> <CreatedDate>2025-12-06T12:08:28.7968043+07:00</CreatedDate> <DataId>a5e91103-7d33-4b78-8625-2f53974c514a</DataId> <DeletedBy>sample string 24</DeletedBy> <DeletedDate>2025-12-06T12:08:28.7968043+07:00</DeletedDate> <DeliveryStatus>sample string 7</DeliveryStatus> <EndDate>2025-12-06T12:08:28.7968043+07:00</EndDate> <Id>fc7f05fa-5db2-4887-b56b-817280ccde4e</Id> <IsFollowing>true</IsFollowing> <IsRead>true</IsRead> <IsUse>true</IsUse> <ModifiedBy>sample string 23</ModifiedBy> <ModifiedDate>2025-12-06T12:08:28.7968043+07:00</ModifiedDate> <NavigatePath>sample string 5</NavigatePath> <Note>sample string 19</Note> <NumOfClicked>17</NumOfClicked> <NumOfReader>16</NumOfReader> <NumOfSend>15</NumOfSend> <Pin>20</Pin> <Purpose>sample string 8</Purpose> <Remark>sample string 13</Remark> <StartDate>2025-12-06T12:08:28.7968043+07:00</StartDate> <TYPE>sample string 9</TYPE> <Times>sample string 11</Times> <Title>sample string 3</Title> <UserID>f9c2084f-f942-4d4c-9c1a-9742ef56db97</UserID> </NOTIFICATION>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.