POST v1/Training/List2

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-22T07:20:11.0088995+00:00",
  "OnScheduleDT": "2019-10-22T07:20:11.0088995+00:00",
  "HasExperiences": true,
  "WebSiteStatusNames": null,
  "TrainingGuid": "1e923873-ee20-4f1e-9d23-31a40ab6d232",
  "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-22T07:20:11.0088995+00:00","OnScheduleDT":"2019-10-22T07:20:11.0088995+00:00","HasExperiences":true,"WebSiteStatusNames":null,"TrainingGuid":"1e923873-ee20-4f1e-9d23-31a40ab6d232","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-22T07:20:11.0088995+00:00</FromScheduleDT>
  <HasExperiences>true</HasExperiences>
  <Months xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <OnScheduleDT>2019-10-22T07:20:11.0088995+00:00</OnScheduleDT>
  <TargetAudiences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <TrainingGuid>1e923873-ee20-4f1e-9d23-31a40ab6d232</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

Collection of TrainingListItemViewModel2
NameDescriptionTypeAdditional information
Guid

globally unique identifier

None.

Name

string

None.

StartDT

date

None.

AllStartDTs

Collection of date

None.

TargetAudiences

Collection of GuidName

None.

Continuous

boolean

None.

ParentGuid

globally unique identifier

None.

Children

Collection of TrainingListItemViewModel2

None.

Themes

Collection of TrainingThemeDetailsViewModel

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/octet-stream

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.