GET v1/TrainingContent/List?trainingId={trainingId}&searchString={searchString}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
trainingId | globally unique identifier |
Required |
|
searchString | string |
None. |
Body Parameters
None.
Response Information
Resource Description
TrainingContentListViewModelName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of TrainingContentListItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Guid": "1ba640ba-7ac0-49c4-b7ba-ebb2c69356c3", "Title": "sample string 2", "TrainingContentType": 0, "Nr": 3, "Contents": "sample string 4", "Hide": true }, { "Guid": "1ba640ba-7ac0-49c4-b7ba-ebb2c69356c3", "Title": "sample string 2", "TrainingContentType": 0, "Nr": 3, "Contents": "sample string 4", "Hide": true } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"1ba640ba-7ac0-49c4-b7ba-ebb2c69356c3","Title":"sample string 2","TrainingContentType":0,"Nr":3,"Contents":"sample string 4","Hide":true},{"Guid":"1ba640ba-7ac0-49c4-b7ba-ebb2c69356c3","Title":"sample string 2","TrainingContentType":0,"Nr":3,"Contents":"sample string 4","Hide":true}]}
application/xml, text/xml
Sample:
<TrainingContentListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List"> <Items> <TrainingContentListItemViewModel> <Contents>sample string 4</Contents> <Guid>1ba640ba-7ac0-49c4-b7ba-ebb2c69356c3</Guid> <Hide>true</Hide> <Nr>3</Nr> <Title>sample string 2</Title> <TrainingContentType>Unassigned</TrainingContentType> </TrainingContentListItemViewModel> <TrainingContentListItemViewModel> <Contents>sample string 4</Contents> <Guid>1ba640ba-7ac0-49c4-b7ba-ebb2c69356c3</Guid> <Hide>true</Hide> <Nr>3</Nr> <Title>sample string 2</Title> <TrainingContentType>Unassigned</TrainingContentType> </TrainingContentListItemViewModel> </Items> </TrainingContentListViewModel>