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": "cc4f0e92-8b8c-4f48-bcf3-dbac1cd4cd0a", "Name": "sample string 2" }, { "Guid": "cc4f0e92-8b8c-4f48-bcf3-dbac1cd4cd0a", "Name": "sample string 2" } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"cc4f0e92-8b8c-4f48-bcf3-dbac1cd4cd0a","Name":"sample string 2"},{"Guid":"cc4f0e92-8b8c-4f48-bcf3-dbac1cd4cd0a","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>cc4f0e92-8b8c-4f48-bcf3-dbac1cd4cd0a</Guid> <Name>sample string 2</Name> </TrainingLocationListItemViewModel> <TrainingLocationListItemViewModel> <Guid>cc4f0e92-8b8c-4f48-bcf3-dbac1cd4cd0a</Guid> <Name>sample string 2</Name> </TrainingLocationListItemViewModel> </Items> </TrainingLocationListViewModel>