PUT api/Events
Request Information
URI Parameters
None.
Body Parameters
Event| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| Name | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| EventTypeId | integer |
None. |
|
| MarketingDocumentId | integer |
None. |
|
| ReferralSourceId | integer |
None. |
|
| ZoneId | integer |
None. |
|
| ClinicId | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| AlertDaysPriorToEvent | integer |
None. |
|
| PermitNumber | string |
None. |
|
| PermitStartDate | date |
None. |
|
| PermitExpirationDate | date |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"eventId": 1,
"name": "sample string 2",
"startDate": "2026-05-06T00:15:55.8180754+02:00",
"endDate": "2026-05-06T00:15:55.8180754+02:00",
"eventTypeId": 1,
"marketingDocumentId": 1,
"referralSourceId": 1,
"zoneId": 1,
"clinicId": 1,
"employeeId": 1,
"alertDaysPriorToEvent": 5,
"permitNumber": "sample string 6",
"permitStartDate": "2026-05-06T00:15:55.8180754+02:00",
"permitExpirationDate": "2026-05-06T00:15:55.8180754+02:00",
"isActive": true
}
text/html
Sample:
{"eventId":1,"name":"sample string 2","startDate":"2026-05-06T00:15:55.8180754+02:00","endDate":"2026-05-06T00:15:55.8180754+02:00","eventTypeId":1,"marketingDocumentId":1,"referralSourceId":1,"zoneId":1,"clinicId":1,"employeeId":1,"alertDaysPriorToEvent":5,"permitNumber":"sample string 6","permitStartDate":"2026-05-06T00:15:55.8180754+02:00","permitExpirationDate":"2026-05-06T00:15:55.8180754+02:00","isActive":true}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.