GET v1/TrainingLocation/List?trainingId={trainingId}&skip={skip}&take={take}&searchString={searchString}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
trainingId | globally unique identifier |
Required |
|
skip | integer |
Required |
|
take | integer |
Required |
|
searchString | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TrainingLocationListViewModelName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of TrainingLocationListItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Guid": "e6deb49d-5225-45c3-86e0-559d71a50ff4", "Name": "sample string 2" }, { "Guid": "e6deb49d-5225-45c3-86e0-559d71a50ff4", "Name": "sample string 2" } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"e6deb49d-5225-45c3-86e0-559d71a50ff4","Name":"sample string 2"},{"Guid":"e6deb49d-5225-45c3-86e0-559d71a50ff4","Name":"sample string 2"}]}
application/xml, text/xml
Sample:
<TrainingLocationListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List"> <Items> <TrainingLocationListItemViewModel> <Guid>e6deb49d-5225-45c3-86e0-559d71a50ff4</Guid> <Name>sample string 2</Name> </TrainingLocationListItemViewModel> <TrainingLocationListItemViewModel> <Guid>e6deb49d-5225-45c3-86e0-559d71a50ff4</Guid> <Name>sample string 2</Name> </TrainingLocationListItemViewModel> </Items> </TrainingLocationListViewModel>