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": "d8922570-7dda-45dd-836d-0a96759b0139", "ScheduleDT": "2024-10-03T17:39:59.9911894+00:00", "TrainingLocationGuid": "2c6bebc0-903d-4a92-8764-7cbaea84cc2f", "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-10-03T17:39:59.9911894+00:00", "TrainingScheduleStatus": 0, "AzavistaLink": "sample string 10", "TrainingScheduleDates": [ { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" }, { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" } ], "AllTrainingScheduleDates": [ { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" }, { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" } ] }, { "Guid": "d8922570-7dda-45dd-836d-0a96759b0139", "ScheduleDT": "2024-10-03T17:39:59.9911894+00:00", "TrainingLocationGuid": "2c6bebc0-903d-4a92-8764-7cbaea84cc2f", "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-10-03T17:39:59.9911894+00:00", "TrainingScheduleStatus": 0, "AzavistaLink": "sample string 10", "TrainingScheduleDates": [ { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" }, { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" } ], "AllTrainingScheduleDates": [ { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" }, { "Guid": "95317837-6209-4996-9724-a01617d15ae7", "Date": "2024-10-03T17:39:59.9911894+00:00", "TrainingScheduleGuid": "c1730648-ef11-451f-9be2-9cdfee39b3c7", "Daypart": "sample string 4", "Created": "2024-10-03T17:39:59.9911894+00:00", "Modified": "2024-10-03T17:39:59.9911894+00:00", "Deleted": "2024-10-03T17:39:59.9911894+00:00" } ] } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"d8922570-7dda-45dd-836d-0a96759b0139","ScheduleDT":"2024-10-03T17:39:59.9911894+00:00","TrainingLocationGuid":"2c6bebc0-903d-4a92-8764-7cbaea84cc2f","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-10-03T17:39:59.9911894+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 10","TrainingScheduleDates":[{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"},{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"}],"AllTrainingScheduleDates":[{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"},{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"}]},{"Guid":"d8922570-7dda-45dd-836d-0a96759b0139","ScheduleDT":"2024-10-03T17:39:59.9911894+00:00","TrainingLocationGuid":"2c6bebc0-903d-4a92-8764-7cbaea84cc2f","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-10-03T17:39:59.9911894+00:00","TrainingScheduleStatus":0,"AzavistaLink":"sample string 10","TrainingScheduleDates":[{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"},{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"}],"AllTrainingScheduleDates":[{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+00:00"},{"Guid":"95317837-6209-4996-9724-a01617d15ae7","Date":"2024-10-03T17:39:59.9911894+00:00","TrainingScheduleGuid":"c1730648-ef11-451f-9be2-9cdfee39b3c7","Daypart":"sample string 4","Created":"2024-10-03T17:39:59.9911894+00:00","Modified":"2024-10-03T17:39:59.9911894+00:00","Deleted":"2024-10-03T17:39:59.9911894+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-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </AllTrainingScheduleDates> <AzavistaLink>sample string 10</AzavistaLink> <Guid>d8922570-7dda-45dd-836d-0a96759b0139</Guid> <Price>8</Price> <PublicationDT>2024-10-03T17:39:59.9911894+00:00</PublicationDT> <ScheduleDT>2024-10-03T17:39:59.9911894+00:00</ScheduleDT> <TrainingLocationCity>sample string 6</TrainingLocationCity> <TrainingLocationGuid>2c6bebc0-903d-4a92-8764-7cbaea84cc2f</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-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </TrainingScheduleDates> <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus> </TrainingScheduleListItemViewModel2> <TrainingScheduleListItemViewModel2> <AllTrainingScheduleDates> <TrainingScheduleDateListItemViewModel> <Created>2024-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </AllTrainingScheduleDates> <AzavistaLink>sample string 10</AzavistaLink> <Guid>d8922570-7dda-45dd-836d-0a96759b0139</Guid> <Price>8</Price> <PublicationDT>2024-10-03T17:39:59.9911894+00:00</PublicationDT> <ScheduleDT>2024-10-03T17:39:59.9911894+00:00</ScheduleDT> <TrainingLocationCity>sample string 6</TrainingLocationCity> <TrainingLocationGuid>2c6bebc0-903d-4a92-8764-7cbaea84cc2f</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-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> <TrainingScheduleDateListItemViewModel> <Created>2024-10-03T17:39:59.9911894+00:00</Created> <Date>2024-10-03T17:39:59.9911894+00:00</Date> <Daypart>sample string 4</Daypart> <Deleted>2024-10-03T17:39:59.9911894+00:00</Deleted> <Guid>95317837-6209-4996-9724-a01617d15ae7</Guid> <Modified>2024-10-03T17:39:59.9911894+00:00</Modified> <TrainingScheduleGuid>c1730648-ef11-451f-9be2-9cdfee39b3c7</TrainingScheduleGuid> </TrainingScheduleDateListItemViewModel> </TrainingScheduleDates> <TrainingScheduleStatus>Unassigned</TrainingScheduleStatus> </TrainingScheduleListItemViewModel2> </Items> </TrainingScheduleListViewModel2>