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": "8bc785d6-a5e3-4b73-9e8a-1f7723096377",
  "Toggle": true
}

application/octet-stream

Sample:
{"DayPartGuid":"8bc785d6-a5e3-4b73-9e8a-1f7723096377","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>8bc785d6-a5e3-4b73-9e8a-1f7723096377</DayPartGuid>
  <Toggle>true</Toggle>
</EventDayPartToggleViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.