POST api/admintasks/addnote?UserId={UserId}&UserRole={UserRole}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| UserRole | integer |
Required |
Body Parameters
NotesViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SubscriberId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| Title | string |
None. |
|
| Note | string |
None. |
|
| CreatedOn | date |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"SubscriberId": 1,
"CreatedBy": 1,
"Title": "sample string 2",
"Note": "sample string 3",
"CreatedOn": "2026-04-15T18:47:26.1861633+00:00",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<NotesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.ViewModels.Admin"> <CreatedBy>1</CreatedBy> <CreatedOn>2026-04-15T18:47:26.1861633+00:00</CreatedOn> <Id>1</Id> <IsDeleted>true</IsDeleted> <Note>sample string 3</Note> <SubscriberId>1</SubscriberId> <Title>sample string 2</Title> </NotesViewModel>
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.