GET v1/TrainingType/ListWithTrainingCount

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Active

boolean

None.

Continuous

boolean

None.

TrainingTags

Collection of globally unique identifier

None.

TargetAudiences

Collection of globally unique identifier

None.

TrainingThemes

Collection of globally unique identifier

None.

TrainingTypes

Collection of globally unique identifier

None.

ExcludeTrainingTypes

Collection of globally unique identifier

None.

Months

Collection of integer

None.

FromScheduleDT

date

None.

OnScheduleDT

date

None.

HasExperiences

boolean

None.

WebSiteStatusNames

Collection of string

None.

TrainingGuid

globally unique identifier

None.

OnlyPublished

boolean

None.

Skip

integer

None.

Take

integer

None.

SearchString

string

None.

SortDirection

SortDirection

None.

SortName

ListSortName

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": "e5ecea20-72cb-43c2-8446-a9702dfd6ce7",
      "Name": "sample string 2",
      "NumberOfTrainings": 3
    },
    {
      "Guid": "e5ecea20-72cb-43c2-8446-a9702dfd6ce7",
      "Name": "sample string 2",
      "NumberOfTrainings": 3
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"e5ecea20-72cb-43c2-8446-a9702dfd6ce7","Name":"sample string 2","NumberOfTrainings":3},{"Guid":"e5ecea20-72cb-43c2-8446-a9702dfd6ce7","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>e5ecea20-72cb-43c2-8446-a9702dfd6ce7</Guid>
      <Name>sample string 2</Name>
      <NumberOfTrainings>3</NumberOfTrainings>
    </TrainingTypeListItemViewModel>
    <TrainingTypeListItemViewModel>
      <Guid>e5ecea20-72cb-43c2-8446-a9702dfd6ce7</Guid>
      <Name>sample string 2</Name>
      <NumberOfTrainings>3</NumberOfTrainings>
    </TrainingTypeListItemViewModel>
  </Items>
</TrainingTypeListViewModel>