GET v1/TrainingType/ListInActiveTrainings

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TrainingTypeListViewModel
NameDescriptionTypeAdditional information
Items

Collection of TrainingTypeListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "ea15b7d4-01f1-43dd-bde8-d6f0358fba27",
      "Name": "sample string 2",
      "NumberOfTrainings": 3
    },
    {
      "Guid": "ea15b7d4-01f1-43dd-bde8-d6f0358fba27",
      "Name": "sample string 2",
      "NumberOfTrainings": 3
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"ea15b7d4-01f1-43dd-bde8-d6f0358fba27","Name":"sample string 2","NumberOfTrainings":3},{"Guid":"ea15b7d4-01f1-43dd-bde8-d6f0358fba27","Name":"sample string 2","NumberOfTrainings":3}]}

application/xml, text/xml

Sample:
<TrainingTypeListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items>
    <TrainingTypeListItemViewModel>
      <Guid>ea15b7d4-01f1-43dd-bde8-d6f0358fba27</Guid>
      <Name>sample string 2</Name>
      <NumberOfTrainings>3</NumberOfTrainings>
    </TrainingTypeListItemViewModel>
    <TrainingTypeListItemViewModel>
      <Guid>ea15b7d4-01f1-43dd-bde8-d6f0358fba27</Guid>
      <Name>sample string 2</Name>
      <NumberOfTrainings>3</NumberOfTrainings>
    </TrainingTypeListItemViewModel>
  </Items>
</TrainingTypeListViewModel>