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.

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": "2019-10-18T15:16:58.3738775+00:00",
  "OnScheduleDT": "2019-10-18T15:16:58.3738775+00:00",
  "HasExperiences": true,
  "WebSiteStatusNames": null,
  "TrainingGuid": "77d0f8b1-e4c1-4e9d-af4c-248f4bf264e1",
  "Skip": 1,
  "Take": 1,
  "SearchString": "sample string 2",
  "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":"2019-10-18T15:16:58.3738775+00:00","OnScheduleDT":"2019-10-18T15:16:58.3738775+00:00","HasExperiences":true,"WebSiteStatusNames":null,"TrainingGuid":"77d0f8b1-e4c1-4e9d-af4c-248f4bf264e1","Skip":1,"Take":1,"SearchString":"sample string 2","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 2</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>2019-10-18T15:16:58.3738775+00:00</FromScheduleDT>
  <HasExperiences>true</HasExperiences>
  <Months xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <OnScheduleDT>2019-10-18T15:16:58.3738775+00:00</OnScheduleDT>
  <TargetAudiences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <TrainingGuid>77d0f8b1-e4c1-4e9d-af4c-248f4bf264e1</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>