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": "011eb6a8-0b51-4355-87c8-50025a2e0253",
  "Toggle": true
}

application/octet-stream

Sample:
{"DayPartGuid":"011eb6a8-0b51-4355-87c8-50025a2e0253","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>011eb6a8-0b51-4355-87c8-50025a2e0253</DayPartGuid>
  <Toggle>true</Toggle>
</EventDayPartToggleViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.