GET v1/TrainingType/ListWithTrainingCount
Request Information
URI Parameters
Name | Description | Type | Additional 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
TrainingTypeListViewModelName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of TrainingTypeListItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Guid": "8b2b7549-6330-400c-808d-433e8ac6fb1f", "Name": "sample string 2", "NumberOfTrainings": 3 }, { "Guid": "8b2b7549-6330-400c-808d-433e8ac6fb1f", "Name": "sample string 2", "NumberOfTrainings": 3 } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"8b2b7549-6330-400c-808d-433e8ac6fb1f","Name":"sample string 2","NumberOfTrainings":3},{"Guid":"8b2b7549-6330-400c-808d-433e8ac6fb1f","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>8b2b7549-6330-400c-808d-433e8ac6fb1f</Guid> <Name>sample string 2</Name> <NumberOfTrainings>3</NumberOfTrainings> </TrainingTypeListItemViewModel> <TrainingTypeListItemViewModel> <Guid>8b2b7549-6330-400c-808d-433e8ac6fb1f</Guid> <Name>sample string 2</Name> <NumberOfTrainings>3</NumberOfTrainings> </TrainingTypeListItemViewModel> </Items> </TrainingTypeListViewModel>