POST api/event/type
Request Information
URI Parameters
None.
Body Parameters
EventTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| type | string |
Required |
|
| event_name_id | integer |
None. |
|
| event_part_id | integer |
None. |
|
| event_name | EventNameModel |
None. |
|
| event_part | EventPartModel |
None. |
|
| created_by | string |
None. |
|
| updated_by | string |
None. |
|
| created_date | date |
None. |
|
| updated_date | date |
None. |
|
| is_active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"type": "sample string 1",
"event_name_id": 1,
"event_part_id": 1,
"event_name": {
"id": 1,
"name": "sample string 1"
},
"event_part": {
"id": 1,
"part": "sample string 1"
},
"created_by": "sample string 2",
"updated_by": "sample string 3",
"created_date": "2026-05-01T21:09:10.6456506+00:00",
"updated_date": "2026-05-01T21:09:10.6456506+00:00",
"is_active": true
}
text/html
Sample:
{"id":1,"type":"sample string 1","event_name_id":1,"event_part_id":1,"event_name":{"id":1,"name":"sample string 1"},"event_part":{"id":1,"part":"sample string 1"},"created_by":"sample string 2","updated_by":"sample string 3","created_date":"2026-05-01T21:09:10.6456506+00:00","updated_date":"2026-05-01T21:09:10.6456506+00:00","is_active":true}
application/xml, text/xml
Sample:
<EventTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">
<created_by>sample string 2</created_by>
<created_date>2026-05-01T21:09:10.6456506+00:00</created_date>
<is_active>true</is_active>
<updated_by>sample string 3</updated_by>
<updated_date>2026-05-01T21:09:10.6456506+00:00</updated_date>
<event_name>
<id>1</id>
<name>sample string 1</name>
</event_name>
<event_name_id>1</event_name_id>
<event_part>
<id>1</id>
<part>sample string 1</part>
</event_part>
<event_part_id>1</event_part_id>
<id>1</id>
<type>sample string 1</type>
</EventTypeModel>
multipart/form-data
Sample:
<EventTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><created_by>sample string 2</created_by><created_date>2026-05-01T21:09:10.6456506+00:00</created_date><is_active>true</is_active><updated_by>sample string 3</updated_by><updated_date>2026-05-01T21:09:10.6456506+00:00</updated_date><event_name><id>1</id><name>sample string 1</name></event_name><event_name_id>1</event_name_id><event_part><id>1</id><part>sample string 1</part></event_part><event_part_id>1</event_part_id><id>1</id><type>sample string 1</type></EventTypeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |