GET v1/TrainingSchedule/List2?trainingId={trainingId}&active={active}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
trainingId

globally unique identifier

Required

active

boolean

Required

Body Parameters

None.

Response Information

Resource Description

TrainingScheduleListViewModel2
NameDescriptionTypeAdditional information
Items

Collection of TrainingScheduleListItemViewModel2

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "e2a17475-2007-4b91-8900-c41e19319696",
      "ScheduleDT": "2020-09-16T15:06:15.4548452+00:00",
      "TrainingLocationGuid": "e2b9da09-cec0-457b-ad2f-840b65b6e8b5",
      "TrainingLocationStreet": "sample string 3",
      "TrainingLocationHouseNumber": "sample string 4",
      "TrainingLocationPostcode": "sample string 5",
      "TrainingLocationCity": "sample string 6",
      "TrainingLocationName": "sample string 7",
      "Price": 8.0,
      "PublicationDT": "2020-09-16T15:06:15.4548452+00:00",
      "TrainingScheduleStatus": 0,
      "AzavistaLink": "sample string 10",
      "TrainingScheduleDates": [
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        },
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        }
      ],
      "AllTrainingScheduleDates": [
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        },
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        }
      ]
    },
    {
      "Guid": "e2a17475-2007-4b91-8900-c41e19319696",
      "ScheduleDT": "2020-09-16T15:06:15.4548452+00:00",
      "TrainingLocationGuid": "e2b9da09-cec0-457b-ad2f-840b65b6e8b5",
      "TrainingLocationStreet": "sample string 3",
      "TrainingLocationHouseNumber": "sample string 4",
      "TrainingLocationPostcode": "sample string 5",
      "TrainingLocationCity": "sample string 6",
      "TrainingLocationName": "sample string 7",
      "Price": 8.0,
      "PublicationDT": "2020-09-16T15:06:15.4548452+00:00",
      "TrainingScheduleStatus": 0,
      "AzavistaLink": "sample string 10",
      "TrainingScheduleDates": [
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        },
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        }
      ],
      "AllTrainingScheduleDates": [
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        },
        {
          "Guid": "8148d246-f0ae-40a4-aef8-5493021f7a93",
          "Date": "2020-09-16T15:06:15.4548452+00:00",
          "TrainingScheduleGuid": "c0eb617a-38c5-41d3-b918-936b6f487348",
          "Daypart": "sample string 4",
          "Created": "2020-09-16T15:06:15.4704719+00:00",
          "Modified": "2020-09-16T15:06:15.4704719+00:00",
          "Deleted": "2020-09-16T15:06:15.4704719+00:00"
        }
      ]
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"e2a17475-2007-4b91-8900-c41e19319696","ScheduleDT":"2020-09-16T15:06:15.4548452+00:00","TrainingLocationGuid":"e2b9da09-cec0-457b-ad2f-840b65b6e8b5","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","Price":8.0,"PublicationDT":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 10","TrainingScheduleDates":[{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"},{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"}],"AllTrainingScheduleDates":[{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"},{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"}]},{"Guid":"e2a17475-2007-4b91-8900-c41e19319696","ScheduleDT":"2020-09-16T15:06:15.4548452+00:00","TrainingLocationGuid":"e2b9da09-cec0-457b-ad2f-840b65b6e8b5","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","Price":8.0,"PublicationDT":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 10","TrainingScheduleDates":[{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"},{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"}],"AllTrainingScheduleDates":[{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"},{"Guid":"8148d246-f0ae-40a4-aef8-5493021f7a93","Date":"2020-09-16T15:06:15.4548452+00:00","TrainingScheduleGuid":"c0eb617a-38c5-41d3-b918-936b6f487348","Daypart":"sample string 4","Created":"2020-09-16T15:06:15.4704719+00:00","Modified":"2020-09-16T15:06:15.4704719+00:00","Deleted":"2020-09-16T15:06:15.4704719+00:00"}]}]}

application/xml, text/xml

Sample:
<TrainingScheduleListViewModel2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items>
    <TrainingScheduleListItemViewModel2>
      <AllTrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </AllTrainingScheduleDates>
      <AzavistaLink>sample string 10</AzavistaLink>
      <Guid>e2a17475-2007-4b91-8900-c41e19319696</Guid>
      <Price>8</Price>
      <PublicationDT>2020-09-16T15:06:15.4548452+00:00</PublicationDT>
      <ScheduleDT>2020-09-16T15:06:15.4548452+00:00</ScheduleDT>
      <TrainingLocationCity>sample string 6</TrainingLocationCity>
      <TrainingLocationGuid>e2b9da09-cec0-457b-ad2f-840b65b6e8b5</TrainingLocationGuid>
      <TrainingLocationHouseNumber>sample string 4</TrainingLocationHouseNumber>
      <TrainingLocationName>sample string 7</TrainingLocationName>
      <TrainingLocationPostcode>sample string 5</TrainingLocationPostcode>
      <TrainingLocationStreet>sample string 3</TrainingLocationStreet>
      <TrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </TrainingScheduleDates>
      <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus>
    </TrainingScheduleListItemViewModel2>
    <TrainingScheduleListItemViewModel2>
      <AllTrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </AllTrainingScheduleDates>
      <AzavistaLink>sample string 10</AzavistaLink>
      <Guid>e2a17475-2007-4b91-8900-c41e19319696</Guid>
      <Price>8</Price>
      <PublicationDT>2020-09-16T15:06:15.4548452+00:00</PublicationDT>
      <ScheduleDT>2020-09-16T15:06:15.4548452+00:00</ScheduleDT>
      <TrainingLocationCity>sample string 6</TrainingLocationCity>
      <TrainingLocationGuid>e2b9da09-cec0-457b-ad2f-840b65b6e8b5</TrainingLocationGuid>
      <TrainingLocationHouseNumber>sample string 4</TrainingLocationHouseNumber>
      <TrainingLocationName>sample string 7</TrainingLocationName>
      <TrainingLocationPostcode>sample string 5</TrainingLocationPostcode>
      <TrainingLocationStreet>sample string 3</TrainingLocationStreet>
      <TrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-09-16T15:06:15.4704719+00:00</Created>
          <Date>2020-09-16T15:06:15.4548452+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-09-16T15:06:15.4704719+00:00</Deleted>
          <Guid>8148d246-f0ae-40a4-aef8-5493021f7a93</Guid>
          <Modified>2020-09-16T15:06:15.4704719+00:00</Modified>
          <TrainingScheduleGuid>c0eb617a-38c5-41d3-b918-936b6f487348</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </TrainingScheduleDates>
      <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus>
    </TrainingScheduleListItemViewModel2>
  </Items>
</TrainingScheduleListViewModel2>