GET v1/TargetAudience/List

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TargetAudienceListViewModel
NameDescriptionTypeAdditional information
Items

Collection of TargetAudienceListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "9d45f311-b638-461a-adff-a0b7bb0b6a5e",
      "Name": "sample string 2",
      "NumberOfTrainings": 3
    },
    {
      "Guid": "9d45f311-b638-461a-adff-a0b7bb0b6a5e",
      "Name": "sample string 2",
      "NumberOfTrainings": 3
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"9d45f311-b638-461a-adff-a0b7bb0b6a5e","Name":"sample string 2","NumberOfTrainings":3},{"Guid":"9d45f311-b638-461a-adff-a0b7bb0b6a5e","Name":"sample string 2","NumberOfTrainings":3}]}

application/xml, text/xml

Sample:
<TargetAudienceListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <Items>
    <TargetAudienceListItemViewModel>
      <Guid>9d45f311-b638-461a-adff-a0b7bb0b6a5e</Guid>
      <Name>sample string 2</Name>
      <NumberOfTrainings>3</NumberOfTrainings>
    </TargetAudienceListItemViewModel>
    <TargetAudienceListItemViewModel>
      <Guid>9d45f311-b638-461a-adff-a0b7bb0b6a5e</Guid>
      <Name>sample string 2</Name>
      <NumberOfTrainings>3</NumberOfTrainings>
    </TargetAudienceListItemViewModel>
  </Items>
</TargetAudienceListViewModel>