GET v1/TrainingSchedule/List2?trainingId={trainingId}&active={active}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
trainingId | globally unique identifier |
Required |
|
active | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
TrainingScheduleListViewModel2Name | Description | Type | Additional information |
---|---|---|---|
Items | Collection of TrainingScheduleListItemViewModel2 |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Guid": "5ba58671-1f3b-4915-a573-69bb07a8fa44", "ScheduleDT": "2024-11-21T06:22:19.9586977+00:00", "TrainingLocationGuid": "315e200a-db67-4b24-ad4d-0749eb0b7a2b", "TrainingLocationStreet": "sample string 3", "TrainingLocationHouseNumber": "sample string 4", "TrainingLocationPostcode": "sample string 5", "TrainingLocationCity": "sample string 6", "TrainingLocationName": "sample string 7", "Price": 8.0, "PublicationDT": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleStatus": 0, "AzavistaLink": "sample string 10", "TrainingScheduleDates": [ { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" }, { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" } ], "AllTrainingScheduleDates": [ { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" }, { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" } ] }, { "Guid": "5ba58671-1f3b-4915-a573-69bb07a8fa44", "ScheduleDT": "2024-11-21T06:22:19.9586977+00:00", "TrainingLocationGuid": "315e200a-db67-4b24-ad4d-0749eb0b7a2b", "TrainingLocationStreet": "sample string 3", "TrainingLocationHouseNumber": "sample string 4", "TrainingLocationPostcode": "sample string 5", "TrainingLocationCity": "sample string 6", "TrainingLocationName": "sample string 7", "Price": 8.0, "PublicationDT": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleStatus": 0, "AzavistaLink": "sample string 10", "TrainingScheduleDates": [ { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" }, { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" } ], "AllTrainingScheduleDates": [ { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" }, { "Guid": "e877899f-04b0-459a-8c13-2a9ccd4aacf7", "Date": "2024-11-21T06:22:19.9586977+00:00", "TrainingScheduleGuid": "550d60bb-2988-417c-b902-0d6fa3dd26d4", "Daypart": "sample string 4", "Created": "2024-11-21T06:22:19.9586977+00:00", "Modified": "2024-11-21T06:22:19.9586977+00:00", "Deleted": "2024-11-21T06:22:19.9586977+00:00" } ] } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"5ba58671-1f3b-4915-a573-69bb07a8fa44","ScheduleDT":"2024-11-21T06:22:19.9586977+00:00","TrainingLocationGuid":"315e200a-db67-4b24-ad4d-0749eb0b7a2b","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","Price":8.0,"PublicationDT":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 10","TrainingScheduleDates":[{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"},{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"}],"AllTrainingScheduleDates":[{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"},{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"}]},{"Guid":"5ba58671-1f3b-4915-a573-69bb07a8fa44","ScheduleDT":"2024-11-21T06:22:19.9586977+00:00","TrainingLocationGuid":"315e200a-db67-4b24-ad4d-0749eb0b7a2b","TrainingLocationStreet":"sample string 3","TrainingLocationHouseNumber":"sample string 4","TrainingLocationPostcode":"sample string 5","TrainingLocationCity":"sample string 6","TrainingLocationName":"sample string 7","Price":8.0,"PublicationDT":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 10","TrainingScheduleDates":[{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"},{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"}],"AllTrainingScheduleDates":[{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+00:00"},{"Guid":"e877899f-04b0-459a-8c13-2a9ccd4aacf7","Date":"2024-11-21T06:22:19.9586977+00:00","TrainingScheduleGuid":"550d60bb-2988-417c-b902-0d6fa3dd26d4","Daypart":"sample string 4","Created":"2024-11-21T06:22:19.9586977+00:00","Modified":"2024-11-21T06:22:19.9586977+00:00","Deleted":"2024-11-21T06:22:19.9586977+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>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </AllTrainingScheduleDates> <AzavistaLink>sample string 10</AzavistaLink> <Guid>5ba58671-1f3b-4915-a573-69bb07a8fa44</Guid> <Price>8</Price> <PublicationDT>2024-11-21T06:22:19.9586977+00:00</PublicationDT> <ScheduleDT>2024-11-21T06:22:19.9586977+00:00</ScheduleDT> <TrainingLocationCity>sample string 6</TrainingLocationCity> <TrainingLocationGuid>315e200a-db67-4b24-ad4d-0749eb0b7a2b</TrainingLocationGuid> <TrainingLocationHouseNumber>sample string 4</TrainingLocationHouseNumber> <TrainingLocationName>sample string 7</TrainingLocationName> <TrainingLocationPostcode>sample string 5</TrainingLocationPostcode> <TrainingLocationStreet>sample string 3</TrainingLocationStreet> <TrainingScheduleDates> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </TrainingScheduleDates> <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus> </TrainingScheduleListItemViewModel2> <TrainingScheduleListItemViewModel2> <AllTrainingScheduleDates> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </AllTrainingScheduleDates> <AzavistaLink>sample string 10</AzavistaLink> <Guid>5ba58671-1f3b-4915-a573-69bb07a8fa44</Guid> <Price>8</Price> <PublicationDT>2024-11-21T06:22:19.9586977+00:00</PublicationDT> <ScheduleDT>2024-11-21T06:22:19.9586977+00:00</ScheduleDT> <TrainingLocationCity>sample string 6</TrainingLocationCity> <TrainingLocationGuid>315e200a-db67-4b24-ad4d-0749eb0b7a2b</TrainingLocationGuid> <TrainingLocationHouseNumber>sample string 4</TrainingLocationHouseNumber> <TrainingLocationName>sample string 7</TrainingLocationName> <TrainingLocationPostcode>sample string 5</TrainingLocationPostcode> <TrainingLocationStreet>sample string 3</TrainingLocationStreet> <TrainingScheduleDates> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-11-21T06:22:19.9586977+00:00</Created> <Date>2024-11-21T06:22:19.9586977+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-11-21T06:22:19.9586977+00:00</Deleted> <Guid>e877899f-04b0-459a-8c13-2a9ccd4aacf7</Guid> <Modified>2024-11-21T06:22:19.9586977+00:00</Modified> <TrainingScheduleGuid>550d60bb-2988-417c-b902-0d6fa3dd26d4</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </TrainingScheduleDates> <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus> </TrainingScheduleListItemViewModel2> </Items> </TrainingScheduleListViewModel2>