PUT v2/events/{eventName}/eventLocations/{eventLocationId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventLocationId | integer |
Required |
|
| eventName | string |
Required |
Body Parameters
UpdateEventLocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EventLocationId | integer |
None. |
|
| DisplayEventLocation | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventLocationId": 1,
"DisplayEventLocation": true
}
application/xml, text/xml
Sample:
<UpdateEventLocationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Event"> <DisplayEventLocation>true</DisplayEventLocation> <EventLocationId>1</EventLocationId> </UpdateEventLocationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EventLocation2Controller| Name | Description | Type | Additional information |
|---|---|---|---|
| Configuration | HttpConfiguration |
None. |
|
| ControllerContext | HttpControllerContext |
None. |
|
| ActionContext | HttpActionContext |
None. |
|
| ModelState | Collection of Object |
None. |
|
| Request | HttpRequestMessage |
None. |
|
| RequestContext | HttpRequestContext |
None. |
|
| Url | UrlHelper |
None. |
|
| User | IPrincipal |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.