GET v1/Event/{id}/DayPartList

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

DayPartListViewModel
NameDescriptionTypeAdditional information
Items

Collection of DayPartViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Name": "sample string 1",
      "Guid": "3ee2599a-7ddf-4494-a7c1-48caf6b024c7",
      "Created": "2019-10-18T22:28:46.5229589+00:00",
      "Modified": "2019-10-18T22:28:46.5229589+00:00",
      "Deleted": "2019-10-18T22:28:46.5229589+00:00",
      "ErrorMessages": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "IsValid": false
    },
    {
      "Name": "sample string 1",
      "Guid": "3ee2599a-7ddf-4494-a7c1-48caf6b024c7",
      "Created": "2019-10-18T22:28:46.5229589+00:00",
      "Modified": "2019-10-18T22:28:46.5229589+00:00",
      "Deleted": "2019-10-18T22:28:46.5229589+00:00",
      "ErrorMessages": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "IsValid": false
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Name":"sample string 1","Guid":"3ee2599a-7ddf-4494-a7c1-48caf6b024c7","Created":"2019-10-18T22:28:46.5229589+00:00","Modified":"2019-10-18T22:28:46.5229589+00:00","Deleted":"2019-10-18T22:28:46.5229589+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false},{"Name":"sample string 1","Guid":"3ee2599a-7ddf-4494-a7c1-48caf6b024c7","Created":"2019-10-18T22:28:46.5229589+00:00","Modified":"2019-10-18T22:28:46.5229589+00:00","Deleted":"2019-10-18T22:28:46.5229589+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}]}

application/xml, text/xml

Sample:
<DayPartListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity">
    <d2p1:DayPartViewModel>
      <ErrorMessages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </ErrorMessages>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T22:28:46.5229589+00:00</Created>
      <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T22:28:46.5229589+00:00</Deleted>
      <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">3ee2599a-7ddf-4494-a7c1-48caf6b024c7</Guid>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T22:28:46.5229589+00:00</Modified>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:DayPartViewModel>
    <d2p1:DayPartViewModel>
      <ErrorMessages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </ErrorMessages>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T22:28:46.5229589+00:00</Created>
      <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T22:28:46.5229589+00:00</Deleted>
      <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">3ee2599a-7ddf-4494-a7c1-48caf6b024c7</Guid>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T22:28:46.5229589+00:00</Modified>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:DayPartViewModel>
  </Items>
</DayPartListViewModel>