POST api/companyevents/edit
Request Information
URI Parameters
None.
Body Parameters
CreateCompanyEventRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| event_id | integer |
None. |
|
| event_title | string |
None. |
|
| event_content | string |
None. |
|
| event_date | date |
None. |
|
| event_location | string |
None. |
|
| event_dress_code | string |
None. |
|
| event_allow_additional_guests | boolean |
None. |
|
| event_reponse_until | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"event_id": 1,
"event_title": "sample string 1",
"event_content": "sample string 2",
"event_date": "2025-12-15T17:05:32.3274793+01:00",
"event_location": "sample string 4",
"event_dress_code": "sample string 5",
"event_allow_additional_guests": true,
"event_reponse_until": "2025-12-15T17:05:32.3274793+01:00"
}
application/xml, text/xml
Sample:
<CreateCompanyEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models"> <event_allow_additional_guests>true</event_allow_additional_guests> <event_content>sample string 2</event_content> <event_date>2025-12-15T17:05:32.3274793+01:00</event_date> <event_dress_code>sample string 5</event_dress_code> <event_id>1</event_id> <event_location>sample string 4</event_location> <event_reponse_until>2025-12-15T17:05:32.3274793+01:00</event_reponse_until> <event_title>sample string 1</event_title> </CreateCompanyEventRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.