POST v1/Training/CountList2
Request Information
URI Parameters
None.
Body Parameters
TrainingListFilterViewModelName | 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. |
Request Formats
application/json, text/json
Sample:
{ "Active": true, "Continuous": true, "TrainingTags": null, "TargetAudiences": null, "TrainingThemes": null, "TrainingTypes": null, "ExcludeTrainingTypes": null, "Months": null, "FromScheduleDT": "2024-10-04T07:35:46.0216045+00:00", "OnScheduleDT": "2024-10-04T07:35:46.0216045+00:00", "HasExperiences": true, "WebSiteStatusNames": null, "TrainingGuid": "3dee15de-e256-4ef8-a08c-d246fa73d83c", "OnlyPublished": true, "Skip": 1, "Take": 1, "SearchString": "sample string 3", "SortDirection": 0, "SortName": 0 }
application/octet-stream
Sample:
{"Active":true,"Continuous":true,"TrainingTags":null,"TargetAudiences":null,"TrainingThemes":null,"TrainingTypes":null,"ExcludeTrainingTypes":null,"Months":null,"FromScheduleDT":"2024-10-04T07:35:46.0216045+00:00","OnScheduleDT":"2024-10-04T07:35:46.0216045+00:00","HasExperiences":true,"WebSiteStatusNames":null,"TrainingGuid":"3dee15de-e256-4ef8-a08c-d246fa73d83c","OnlyPublished":true,"Skip":1,"Take":1,"SearchString":"sample string 3","SortDirection":0,"SortName":0}
application/xml, text/xml
Sample:
<TrainingListFilterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Filter"> <SearchString>sample string 3</SearchString> <Skip>1</Skip> <SortDirection>Unassigned</SortDirection> <SortName>Unassigned</SortName> <Take>1</Take> <Active>true</Active> <Continuous>true</Continuous> <ExcludeTrainingTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <FromScheduleDT>2024-10-04T07:35:46.0216045+00:00</FromScheduleDT> <HasExperiences>true</HasExperiences> <Months xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <OnScheduleDT>2024-10-04T07:35:46.0216045+00:00</OnScheduleDT> <OnlyPublished>true</OnlyPublished> <TargetAudiences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <TrainingGuid>3dee15de-e256-4ef8-a08c-d246fa73d83c</TrainingGuid> <TrainingTags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <TrainingThemes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <TrainingTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <WebSiteStatusNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> </TrainingListFilterViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json, application/octet-stream
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>