PUT v1/Event/{id}/DayPart

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

EventDayPartToggleViewModel
NameDescriptionTypeAdditional information
DayPartGuid

globally unique identifier

None.

Toggle

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DayPartGuid": "db1ec434-4db1-4534-9e3c-685af9b03799",
  "Toggle": true
}

application/octet-stream

Sample:
{"DayPartGuid":"db1ec434-4db1-4534-9e3c-685af9b03799","Toggle":true}

application/xml, text/xml

Sample:
<EventDayPartToggleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Models">
  <DayPartGuid>db1ec434-4db1-4534-9e3c-685af9b03799</DayPartGuid>
  <Toggle>true</Toggle>
</EventDayPartToggleViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.