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": "8e0f680a-490e-456c-a35f-d02014443f74",
      "Name": "sample string 2"
    },
    {
      "Guid": "8e0f680a-490e-456c-a35f-d02014443f74",
      "Name": "sample string 2"
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"8e0f680a-490e-456c-a35f-d02014443f74","Name":"sample string 2"},{"Guid":"8e0f680a-490e-456c-a35f-d02014443f74","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>8e0f680a-490e-456c-a35f-d02014443f74</Guid>
      <Name>sample string 2</Name>
    </TrainingLocationListItemViewModel>
    <TrainingLocationListItemViewModel>
      <Guid>8e0f680a-490e-456c-a35f-d02014443f74</Guid>
      <Name>sample string 2</Name>
    </TrainingLocationListItemViewModel>
  </Items>
</TrainingLocationListViewModel>