POST v1/Training/CountList2

Request Information

URI Parameters

None.

Body Parameters

TrainingListFilterViewModel
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.

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-11-20T13:33:50.3986586+00:00",
  "OnScheduleDT": "2024-11-20T13:33:50.3986586+00:00",
  "HasExperiences": true,
  "WebSiteStatusNames": null,
  "TrainingGuid": "e6a728d4-873e-4074-9286-75cd8c2bf34f",
  "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-11-20T13:33:50.3986586+00:00","OnScheduleDT":"2024-11-20T13:33:50.3986586+00:00","HasExperiences":true,"WebSiteStatusNames":null,"TrainingGuid":"e6a728d4-873e-4074-9286-75cd8c2bf34f","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-11-20T13:33:50.3986586+00:00</FromScheduleDT>
  <HasExperiences>true</HasExperiences>
  <Months xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <OnScheduleDT>2024-11-20T13:33:50.3986586+00:00</OnScheduleDT>
  <OnlyPublished>true</OnlyPublished>
  <TargetAudiences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <TrainingGuid>e6a728d4-873e-4074-9286-75cd8c2bf34f</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

integer

Response 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>