GET v1/TrainingSchedule/List?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

TrainingScheduleListViewModel
NameDescriptionTypeAdditional information
Items

Collection of TrainingScheduleListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "05fb20b4-6a68-463d-be17-beeddc767072",
      "ScheduleDT": "2019-10-22T07:22:16.6344606+00:00",
      "TrainingLocationGuid": "0ab62b85-ba01-4718-aca2-53f489c81af0",
      "TrainingLocationStreet": "sample string 3",
      "TrainingLocationHouseNumber": "sample string 4",
      "TrainingLocationPostcode": "sample string 5",
      "TrainingLocationCity": "sample string 6",
      "TrainingLocationName": "sample string 7",
      "PublicationDT": "2019-10-22T07:22:16.6344606+00:00",
      "TrainingScheduleStatus": 0,
      "AzavistaLink": "sample string 9",
      "TrainingScheduleDates": [
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        },
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        }
      ],
      "AllTrainingScheduleDates": [
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        },
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        }
      ]
    },
    {
      "Guid": "05fb20b4-6a68-463d-be17-beeddc767072",
      "ScheduleDT": "2019-10-22T07:22:16.6344606+00:00",
      "TrainingLocationGuid": "0ab62b85-ba01-4718-aca2-53f489c81af0",
      "TrainingLocationStreet": "sample string 3",
      "TrainingLocationHouseNumber": "sample string 4",
      "TrainingLocationPostcode": "sample string 5",
      "TrainingLocationCity": "sample string 6",
      "TrainingLocationName": "sample string 7",
      "PublicationDT": "2019-10-22T07:22:16.6344606+00:00",
      "TrainingScheduleStatus": 0,
      "AzavistaLink": "sample string 9",
      "TrainingScheduleDates": [
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        },
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        }
      ],
      "AllTrainingScheduleDates": [
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        },
        {
          "Guid": "cd7abfc4-d063-46b4-8196-7ca6379b7c89",
          "Date": "2019-10-22T07:22:16.6344606+00:00",
          "TrainingScheduleGuid": "d93e3d3a-7fef-4ea8-888b-41a5ee794470",
          "Daypart": "sample string 4",
          "Created": "2019-10-22T07:22:16.6344606+00:00",
          "Modified": "2019-10-22T07:22:16.6344606+00:00",
          "Deleted": "2019-10-22T07:22:16.6344606+00:00"
        }
      ]
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"05fb20b4-6a68-463d-be17-beeddc767072","ScheduleDT":"2019-10-22T07:22:16.6344606+00:00","TrainingLocationGuid":"0ab62b85-ba01-4718-aca2-53f489c81af0","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","PublicationDT":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 9","TrainingScheduleDates":[{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"},{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"}],"AllTrainingScheduleDates":[{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"},{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"}]},{"Guid":"05fb20b4-6a68-463d-be17-beeddc767072","ScheduleDT":"2019-10-22T07:22:16.6344606+00:00","TrainingLocationGuid":"0ab62b85-ba01-4718-aca2-53f489c81af0","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","PublicationDT":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 9","TrainingScheduleDates":[{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"},{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"}],"AllTrainingScheduleDates":[{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"},{"Guid":"cd7abfc4-d063-46b4-8196-7ca6379b7c89","Date":"2019-10-22T07:22:16.6344606+00:00","TrainingScheduleGuid":"d93e3d3a-7fef-4ea8-888b-41a5ee794470","Daypart":"sample string 4","Created":"2019-10-22T07:22:16.6344606+00:00","Modified":"2019-10-22T07:22:16.6344606+00:00","Deleted":"2019-10-22T07:22:16.6344606+00:00"}]}]}

application/xml, text/xml

Sample:
<TrainingScheduleListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items>
    <TrainingScheduleListItemViewModel>
      <AllTrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </AllTrainingScheduleDates>
      <AzavistaLink>sample string 9</AzavistaLink>
      <Guid>05fb20b4-6a68-463d-be17-beeddc767072</Guid>
      <PublicationDT>2019-10-22T07:22:16.6344606+00:00</PublicationDT>
      <ScheduleDT>2019-10-22T07:22:16.6344606+00:00</ScheduleDT>
      <TrainingLocationCity>sample string 6</TrainingLocationCity>
      <TrainingLocationGuid>0ab62b85-ba01-4718-aca2-53f489c81af0</TrainingLocationGuid>
      <TrainingLocationHouseNumber>sample string 4</TrainingLocationHouseNumber>
      <TrainingLocationName>sample string 7</TrainingLocationName>
      <TrainingLocationPostcode>sample string 5</TrainingLocationPostcode>
      <TrainingLocationStreet>sample string 3</TrainingLocationStreet>
      <TrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </TrainingScheduleDates>
      <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus>
    </TrainingScheduleListItemViewModel>
    <TrainingScheduleListItemViewModel>
      <AllTrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </AllTrainingScheduleDates>
      <AzavistaLink>sample string 9</AzavistaLink>
      <Guid>05fb20b4-6a68-463d-be17-beeddc767072</Guid>
      <PublicationDT>2019-10-22T07:22:16.6344606+00:00</PublicationDT>
      <ScheduleDT>2019-10-22T07:22:16.6344606+00:00</ScheduleDT>
      <TrainingLocationCity>sample string 6</TrainingLocationCity>
      <TrainingLocationGuid>0ab62b85-ba01-4718-aca2-53f489c81af0</TrainingLocationGuid>
      <TrainingLocationHouseNumber>sample string 4</TrainingLocationHouseNumber>
      <TrainingLocationName>sample string 7</TrainingLocationName>
      <TrainingLocationPostcode>sample string 5</TrainingLocationPostcode>
      <TrainingLocationStreet>sample string 3</TrainingLocationStreet>
      <TrainingScheduleDates>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
        <TrainingScheduleDateListItemViewModel>
          <Created>2019-10-22T07:22:16.6344606+00:00</Created>
          <Date>2019-10-22T07:22:16.6344606+00:00</Date>
          <Daypart>sample string 4</Daypart>
          <Deleted>2019-10-22T07:22:16.6344606+00:00</Deleted>
          <Guid>cd7abfc4-d063-46b4-8196-7ca6379b7c89</Guid>
          <Modified>2019-10-22T07:22:16.6344606+00:00</Modified>
          <TrainingScheduleGuid>d93e3d3a-7fef-4ea8-888b-41a5ee794470</TrainingScheduleGuid>
        </TrainingScheduleDateListItemViewModel>
      </TrainingScheduleDates>
      <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus>
    </TrainingScheduleListItemViewModel>
  </Items>
</TrainingScheduleListViewModel>