GET v1/TrainingLocation/List?trainingId={trainingId}&skip={skip}&take={take}&searchString={searchString}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
trainingId

globally unique identifier

Required

skip

integer

Required

take

integer

Required

searchString

string

Required

Body Parameters

None.

Response Information

Resource Description

TrainingLocationListViewModel
NameDescriptionTypeAdditional information
Items

Collection of TrainingLocationListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "a05c7638-9006-49b1-9391-ea5060cf17c3",
      "Name": "sample string 2"
    },
    {
      "Guid": "a05c7638-9006-49b1-9391-ea5060cf17c3",
      "Name": "sample string 2"
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"a05c7638-9006-49b1-9391-ea5060cf17c3","Name":"sample string 2"},{"Guid":"a05c7638-9006-49b1-9391-ea5060cf17c3","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>a05c7638-9006-49b1-9391-ea5060cf17c3</Guid>
      <Name>sample string 2</Name>
    </TrainingLocationListItemViewModel>
    <TrainingLocationListItemViewModel>
      <Guid>a05c7638-9006-49b1-9391-ea5060cf17c3</Guid>
      <Name>sample string 2</Name>
    </TrainingLocationListItemViewModel>
  </Items>
</TrainingLocationListViewModel>