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": "a360fd52-4117-4984-9c93-47b77005dd46",
  "Toggle": true
}

application/octet-stream

Sample:
{"DayPartGuid":"a360fd52-4117-4984-9c93-47b77005dd46","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>a360fd52-4117-4984-9c93-47b77005dd46</DayPartGuid>
  <Toggle>true</Toggle>
</EventDayPartToggleViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.