POST api/adminevent/manageeventtype?UserId={UserId}&UserRole={UserRole}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| UserRole | integer |
Required |
Body Parameters
AdminEventTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EventTypeId | integer |
None. |
|
| EventTypeName | string |
None. |
|
| EventTypeCreatedBy | integer |
None. |
|
| EventTypeCreatedOn | date |
None. |
|
| EventTypeDate | date |
None. |
|
| EventTypeModifiedBy | integer |
None. |
|
| EventTypeModifiedOn | date |
None. |
|
| IsEventTypeActive | boolean |
None. |
|
| IsEventTypeDeleted | boolean |
None. |
|
| EventGroup | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventTypeId": 1,
"EventTypeName": "sample string 2",
"EventTypeCreatedBy": 3,
"EventTypeCreatedOn": "2026-04-15T18:51:06.8797626+00:00",
"EventTypeDate": "2026-04-15T18:51:06.8797626+00:00",
"EventTypeModifiedBy": 4,
"EventTypeModifiedOn": "2026-04-15T18:51:06.8797626+00:00",
"IsEventTypeActive": true,
"IsEventTypeDeleted": true,
"EventGroup": 7
}
application/xml, text/xml
Sample:
<AdminEventTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.ViewModels.Admin"> <EventGroup>7</EventGroup> <EventTypeCreatedBy>3</EventTypeCreatedBy> <EventTypeCreatedOn>2026-04-15T18:51:06.8797626+00:00</EventTypeCreatedOn> <EventTypeDate>2026-04-15T18:51:06.8797626+00:00</EventTypeDate> <EventTypeId>1</EventTypeId> <EventTypeModifiedBy>4</EventTypeModifiedBy> <EventTypeModifiedOn>2026-04-15T18:51:06.8797626+00:00</EventTypeModifiedOn> <EventTypeName>sample string 2</EventTypeName> <IsEventTypeActive>true</IsEventTypeActive> <IsEventTypeDeleted>true</IsEventTypeDeleted> </AdminEventTypeViewModel>
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.