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": "784e5d85-08d5-40eb-a3a5-2e59fecbdaaf",
      "Created": "2024-11-20T16:30:55.0749691+00:00",
      "Modified": "2024-11-20T16:30:55.0749691+00:00",
      "Deleted": "2024-11-20T16:30:55.0749691+00:00",
      "ErrorMessages": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "IsValid": false
    },
    {
      "Name": "sample string 1",
      "Guid": "784e5d85-08d5-40eb-a3a5-2e59fecbdaaf",
      "Created": "2024-11-20T16:30:55.0749691+00:00",
      "Modified": "2024-11-20T16:30:55.0749691+00:00",
      "Deleted": "2024-11-20T16:30:55.0749691+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":"784e5d85-08d5-40eb-a3a5-2e59fecbdaaf","Created":"2024-11-20T16:30:55.0749691+00:00","Modified":"2024-11-20T16:30:55.0749691+00:00","Deleted":"2024-11-20T16:30:55.0749691+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false},{"Name":"sample string 1","Guid":"784e5d85-08d5-40eb-a3a5-2e59fecbdaaf","Created":"2024-11-20T16:30:55.0749691+00:00","Modified":"2024-11-20T16:30:55.0749691+00:00","Deleted":"2024-11-20T16:30:55.0749691+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">2024-11-20T16:30:55.0749691+00:00</Created>
      <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T16:30:55.0749691+00:00</Deleted>
      <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">784e5d85-08d5-40eb-a3a5-2e59fecbdaaf</Guid>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T16:30:55.0749691+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">2024-11-20T16:30:55.0749691+00:00</Created>
      <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T16:30:55.0749691+00:00</Deleted>
      <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">784e5d85-08d5-40eb-a3a5-2e59fecbdaaf</Guid>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T16:30:55.0749691+00:00</Modified>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:DayPartViewModel>
  </Items>
</DayPartListViewModel>