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": "f07ed4ff-4280-4952-9b17-5e1ece024ae9",
      "ScheduleDT": "2020-05-28T12:39:55.75665+00:00",
      "TrainingLocationGuid": "7486493f-9964-4626-b203-85419c3f2181",
      "TrainingLocationStreet": "sample string 3",
      "TrainingLocationHouseNumber": "sample string 4",
      "TrainingLocationPostcode": "sample string 5",
      "TrainingLocationCity": "sample string 6",
      "TrainingLocationName": "sample string 7",
      "PublicationDT": "2020-05-28T12:39:55.75665+00:00",
      "TrainingScheduleStatus": 0,
      "AzavistaLink": "sample string 9",
      "TrainingScheduleDates": [
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        },
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        }
      ],
      "AllTrainingScheduleDates": [
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        },
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        }
      ]
    },
    {
      "Guid": "f07ed4ff-4280-4952-9b17-5e1ece024ae9",
      "ScheduleDT": "2020-05-28T12:39:55.75665+00:00",
      "TrainingLocationGuid": "7486493f-9964-4626-b203-85419c3f2181",
      "TrainingLocationStreet": "sample string 3",
      "TrainingLocationHouseNumber": "sample string 4",
      "TrainingLocationPostcode": "sample string 5",
      "TrainingLocationCity": "sample string 6",
      "TrainingLocationName": "sample string 7",
      "PublicationDT": "2020-05-28T12:39:55.75665+00:00",
      "TrainingScheduleStatus": 0,
      "AzavistaLink": "sample string 9",
      "TrainingScheduleDates": [
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        },
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        }
      ],
      "AllTrainingScheduleDates": [
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        },
        {
          "Guid": "0a266460-377c-4207-83ed-1b096b2809db",
          "Date": "2020-05-28T12:39:55.75665+00:00",
          "TrainingScheduleGuid": "37e22895-9f85-42df-80fe-d22f74697776",
          "Daypart": "sample string 4",
          "Created": "2020-05-28T12:39:55.75665+00:00",
          "Modified": "2020-05-28T12:39:55.75665+00:00",
          "Deleted": "2020-05-28T12:39:55.75665+00:00"
        }
      ]
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"f07ed4ff-4280-4952-9b17-5e1ece024ae9","ScheduleDT":"2020-05-28T12:39:55.75665+00:00","TrainingLocationGuid":"7486493f-9964-4626-b203-85419c3f2181","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","PublicationDT":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 9","TrainingScheduleDates":[{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"},{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"}],"AllTrainingScheduleDates":[{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"},{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"}]},{"Guid":"f07ed4ff-4280-4952-9b17-5e1ece024ae9","ScheduleDT":"2020-05-28T12:39:55.75665+00:00","TrainingLocationGuid":"7486493f-9964-4626-b203-85419c3f2181","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","PublicationDT":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 9","TrainingScheduleDates":[{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"},{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"}],"AllTrainingScheduleDates":[{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+00:00"},{"Guid":"0a266460-377c-4207-83ed-1b096b2809db","Date":"2020-05-28T12:39:55.75665+00:00","TrainingScheduleGuid":"37e22895-9f85-42df-80fe-d22f74697776","Daypart":"sample string 4","Created":"2020-05-28T12:39:55.75665+00:00","Modified":"2020-05-28T12:39:55.75665+00:00","Deleted":"2020-05-28T12:39:55.75665+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-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </AllTrainingScheduleDates>
      <AzavistaLink>sample string 9</AzavistaLink>
      <Guid>f07ed4ff-4280-4952-9b17-5e1ece024ae9</Guid>
      <PublicationDT>2020-05-28T12:39:55.75665+00:00</PublicationDT>
      <ScheduleDT>2020-05-28T12:39:55.75665+00:00</ScheduleDT>
      <TrainingLocationCity>sample string 6</TrainingLocationCity>
      <TrainingLocationGuid>7486493f-9964-4626-b203-85419c3f2181</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-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </TrainingScheduleDates>
      <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus>
    </TrainingScheduleListItemViewModel2>
    <TrainingScheduleListItemViewModel2>
      <AllTrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </AllTrainingScheduleDates>
      <AzavistaLink>sample string 9</AzavistaLink>
      <Guid>f07ed4ff-4280-4952-9b17-5e1ece024ae9</Guid>
      <PublicationDT>2020-05-28T12:39:55.75665+00:00</PublicationDT>
      <ScheduleDT>2020-05-28T12:39:55.75665+00:00</ScheduleDT>
      <TrainingLocationCity>sample string 6</TrainingLocationCity>
      <TrainingLocationGuid>7486493f-9964-4626-b203-85419c3f2181</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-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2020-05-28T12:39:55.75665+00:00</Created>
          <Date>2020-05-28T12:39:55.75665+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2020-05-28T12:39:55.75665+00:00</Deleted>
          <Guid>0a266460-377c-4207-83ed-1b096b2809db</Guid>
          <Modified>2020-05-28T12:39:55.75665+00:00</Modified>
          <TrainingScheduleGuid>37e22895-9f85-42df-80fe-d22f74697776</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </TrainingScheduleDates>
      <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus>
    </TrainingScheduleListItemViewModel2>
  </Items>
</TrainingScheduleListViewModel2>