GET v1/TargetAudience/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
TargetAudienceListViewModelName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of TargetAudienceListItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Guid": "b335e987-bc5b-4517-9de3-eff1a2c610df", "Name": "sample string 2", "NumberOfTrainings": 3 }, { "Guid": "b335e987-bc5b-4517-9de3-eff1a2c610df", "Name": "sample string 2", "NumberOfTrainings": 3 } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"b335e987-bc5b-4517-9de3-eff1a2c610df","Name":"sample string 2","NumberOfTrainings":3},{"Guid":"b335e987-bc5b-4517-9de3-eff1a2c610df","Name":"sample string 2","NumberOfTrainings":3}]}
application/xml, text/xml
Sample:
<TargetAudienceListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List"> <Items> <TargetAudienceListItemViewModel> <Guid>b335e987-bc5b-4517-9de3-eff1a2c610df</Guid> <Name>sample string 2</Name> <NumberOfTrainings>3</NumberOfTrainings> </TargetAudienceListItemViewModel> <TargetAudienceListItemViewModel> <Guid>b335e987-bc5b-4517-9de3-eff1a2c610df</Guid> <Name>sample string 2</Name> <NumberOfTrainings>3</NumberOfTrainings> </TargetAudienceListItemViewModel> </Items> </TargetAudienceListViewModel>