GET v1/TrainerTraining/List?TrainingGuid={TrainingGuid}&Skip={Skip}&Take={Take}&SearchString={SearchString}&SortDirection={SortDirection}&SortName={SortName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TrainingGuid

globally unique identifier

None.

Skip

integer

None.

Take

integer

None.

SearchString

string

None.

SortDirection

SortDirection

None.

SortName

ListSortName

None.

Body Parameters

None.

Response Information

Resource Description

PersonListViewModel
NameDescriptionTypeAdditional information
Items

Collection of PersonListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "ee2214c6-2c37-4795-9753-648b4ed04543",
      "Url": "sample string 2",
      "Title": "sample string 3",
      "FullName": "sample string 4",
      "Text": "sample string 5",
      "Visible": true,
      "Anonymize": true,
      "SpeakerType": 0,
      "PictureGuidDate": {
        "Guid": "7cec7e1e-fd75-40f9-9698-ce601d4d6825",
        "Name": "sample string 2",
        "OriginalName": "sample string 1",
        "DateTime": "2024-10-03T15:59:22.1083019+00:00",
        "ContentType": "sample string 3"
      },
      "FollowingNumber": 8
    },
    {
      "Guid": "ee2214c6-2c37-4795-9753-648b4ed04543",
      "Url": "sample string 2",
      "Title": "sample string 3",
      "FullName": "sample string 4",
      "Text": "sample string 5",
      "Visible": true,
      "Anonymize": true,
      "SpeakerType": 0,
      "PictureGuidDate": {
        "Guid": "7cec7e1e-fd75-40f9-9698-ce601d4d6825",
        "Name": "sample string 2",
        "OriginalName": "sample string 1",
        "DateTime": "2024-10-03T15:59:22.1083019+00:00",
        "ContentType": "sample string 3"
      },
      "FollowingNumber": 8
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"ee2214c6-2c37-4795-9753-648b4ed04543","Url":"sample string 2","Title":"sample string 3","FullName":"sample string 4","Text":"sample string 5","Visible":true,"Anonymize":true,"SpeakerType":0,"PictureGuidDate":{"Guid":"7cec7e1e-fd75-40f9-9698-ce601d4d6825","Name":"sample string 2","OriginalName":"sample string 1","DateTime":"2024-10-03T15:59:22.1083019+00:00","ContentType":"sample string 3"},"FollowingNumber":8},{"Guid":"ee2214c6-2c37-4795-9753-648b4ed04543","Url":"sample string 2","Title":"sample string 3","FullName":"sample string 4","Text":"sample string 5","Visible":true,"Anonymize":true,"SpeakerType":0,"PictureGuidDate":{"Guid":"7cec7e1e-fd75-40f9-9698-ce601d4d6825","Name":"sample string 2","OriginalName":"sample string 1","DateTime":"2024-10-03T15:59:22.1083019+00:00","ContentType":"sample string 3"},"FollowingNumber":8}]}

application/xml, text/xml

Sample:
<PersonListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items>
    <PersonListItemViewModel>
      <Anonymize>true</Anonymize>
      <FollowingNumber>8</FollowingNumber>
      <FullName>sample string 4</FullName>
      <Guid>ee2214c6-2c37-4795-9753-648b4ed04543</Guid>
      <PictureGuidDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
        <d4p1:Guid>7cec7e1e-fd75-40f9-9698-ce601d4d6825</d4p1:Guid>
        <d4p1:Name>sample string 2</d4p1:Name>
        <d4p1:ContentType>sample string 3</d4p1:ContentType>
        <d4p1:DateTime>2024-10-03T15:59:22.1083019+00:00</d4p1:DateTime>
        <d4p1:OriginalName>sample string 1</d4p1:OriginalName>
      </PictureGuidDate>
      <SpeakerType>Unassigned</SpeakerType>
      <Text>sample string 5</Text>
      <Title>sample string 3</Title>
      <Url>sample string 2</Url>
      <Visible>true</Visible>
    </PersonListItemViewModel>
    <PersonListItemViewModel>
      <Anonymize>true</Anonymize>
      <FollowingNumber>8</FollowingNumber>
      <FullName>sample string 4</FullName>
      <Guid>ee2214c6-2c37-4795-9753-648b4ed04543</Guid>
      <PictureGuidDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
        <d4p1:Guid>7cec7e1e-fd75-40f9-9698-ce601d4d6825</d4p1:Guid>
        <d4p1:Name>sample string 2</d4p1:Name>
        <d4p1:ContentType>sample string 3</d4p1:ContentType>
        <d4p1:DateTime>2024-10-03T15:59:22.1083019+00:00</d4p1:DateTime>
        <d4p1:OriginalName>sample string 1</d4p1:OriginalName>
      </PictureGuidDate>
      <SpeakerType>Unassigned</SpeakerType>
      <Text>sample string 5</Text>
      <Title>sample string 3</Title>
      <Url>sample string 2</Url>
      <Visible>true</Visible>
    </PersonListItemViewModel>
  </Items>
</PersonListViewModel>