GET v1/Training/{name}/Details?onlypublished={onlypublished}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

onlypublished

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

TrainingDetailsViewModel
NameDescriptionTypeAdditional information
Guid

globally unique identifier

None.

Name

string

None.

Subtitle

string

None.

Price

decimal number

None.

PriceOnRequest

boolean

None.

AzavistaLink

string

None.

TrainingTags

Collection of GuidName

None.

TargetAudiences

Collection of GuidName

None.

TrainingThemes

Collection of TrainingThemeDetailsViewModel

None.

TrainingLocations

Collection of GuidName

None.

WebsiteStatuses

Collection of GuidName

None.

TrainingTypes

Collection of GuidName

None.

MaxNumberOfRegistrations

integer

None.

NumberOfDays

string

None.

TrainingPicture

FileMetaDataViewModel

None.

TrainingBrochure

FileMetaDataViewModel

None.

Continuous

boolean

None.

OpenGraphTitle

string

None.

OpenGraphDescription

string

None.

OpenGraphPictureGuid

globally unique identifier

None.

VNGThemes

Collection of GuidName

None.

Publish

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "e5a0f552-f72d-44c0-a85a-613cf2bd8016",
  "Name": "sample string 2",
  "Subtitle": "sample string 3",
  "Price": 4.0,
  "PriceOnRequest": true,
  "AzavistaLink": "sample string 6",
  "TrainingTags": [
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    },
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    }
  ],
  "TargetAudiences": [
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    },
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    }
  ],
  "TrainingThemes": [
    {
      "Guid": "97a89f6a-d3ef-4290-94cf-b48dd9d05744",
      "Name": "sample string 2",
      "Color": "sample string 3"
    },
    {
      "Guid": "97a89f6a-d3ef-4290-94cf-b48dd9d05744",
      "Name": "sample string 2",
      "Color": "sample string 3"
    }
  ],
  "TrainingLocations": [
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    },
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    }
  ],
  "WebsiteStatuses": [
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    },
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    }
  ],
  "TrainingTypes": [
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    },
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    }
  ],
  "MaxNumberOfRegistrations": 7,
  "NumberOfDays": "sample string 8",
  "TrainingPicture": {
    "Guid": "b2d4b93d-f2fb-491e-99ff-ce5a9744911e",
    "ContentType": "sample string 2",
    "FileName": "sample string 3",
    "FileSize": 4,
    "FileType": 0,
    "SizeName": "sample string 5"
  },
  "TrainingBrochure": {
    "Guid": "b2d4b93d-f2fb-491e-99ff-ce5a9744911e",
    "ContentType": "sample string 2",
    "FileName": "sample string 3",
    "FileSize": 4,
    "FileType": 0,
    "SizeName": "sample string 5"
  },
  "Continuous": true,
  "OpenGraphTitle": "sample string 10",
  "OpenGraphDescription": "sample string 11",
  "OpenGraphPictureGuid": "cb0d3fc3-0eac-4db9-88e1-9676bdf68bbb",
  "VNGThemes": [
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    },
    {
      "Guid": "2c7141fc-3675-4934-ab39-95f2876496d9",
      "Name": "sample string 2"
    }
  ],
  "Publish": true
}

application/octet-stream

Sample:
{"Guid":"e5a0f552-f72d-44c0-a85a-613cf2bd8016","Name":"sample string 2","Subtitle":"sample string 3","Price":4.0,"PriceOnRequest":true,"AzavistaLink":"sample string 6","TrainingTags":[{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"},{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"}],"TargetAudiences":[{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"},{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"}],"TrainingThemes":[{"Guid":"97a89f6a-d3ef-4290-94cf-b48dd9d05744","Name":"sample string 2","Color":"sample string 3"},{"Guid":"97a89f6a-d3ef-4290-94cf-b48dd9d05744","Name":"sample string 2","Color":"sample string 3"}],"TrainingLocations":[{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"},{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"}],"WebsiteStatuses":[{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"},{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"}],"TrainingTypes":[{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"},{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"}],"MaxNumberOfRegistrations":7,"NumberOfDays":"sample string 8","TrainingPicture":{"Guid":"b2d4b93d-f2fb-491e-99ff-ce5a9744911e","ContentType":"sample string 2","FileName":"sample string 3","FileSize":4,"FileType":0,"SizeName":"sample string 5"},"TrainingBrochure":{"Guid":"b2d4b93d-f2fb-491e-99ff-ce5a9744911e","ContentType":"sample string 2","FileName":"sample string 3","FileSize":4,"FileType":0,"SizeName":"sample string 5"},"Continuous":true,"OpenGraphTitle":"sample string 10","OpenGraphDescription":"sample string 11","OpenGraphPictureGuid":"cb0d3fc3-0eac-4db9-88e1-9676bdf68bbb","VNGThemes":[{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"},{"Guid":"2c7141fc-3675-4934-ab39-95f2876496d9","Name":"sample string 2"}],"Publish":true}

application/xml, text/xml

Sample:
<TrainingDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Details">
  <AzavistaLink>sample string 6</AzavistaLink>
  <Continuous>true</Continuous>
  <Guid>e5a0f552-f72d-44c0-a85a-613cf2bd8016</Guid>
  <MaxNumberOfRegistrations>7</MaxNumberOfRegistrations>
  <Name>sample string 2</Name>
  <NumberOfDays>sample string 8</NumberOfDays>
  <OpenGraphDescription>sample string 11</OpenGraphDescription>
  <OpenGraphPictureGuid>cb0d3fc3-0eac-4db9-88e1-9676bdf68bbb</OpenGraphPictureGuid>
  <OpenGraphTitle>sample string 10</OpenGraphTitle>
  <Price>4</Price>
  <PriceOnRequest>true</PriceOnRequest>
  <Publish>true</Publish>
  <Subtitle>sample string 3</Subtitle>
  <TargetAudiences xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
  </TargetAudiences>
  <TrainingBrochure>
    <ContentType>sample string 2</ContentType>
    <FileName>sample string 3</FileName>
    <FileSize>4</FileSize>
    <FileType>Unassigned</FileType>
    <Guid>b2d4b93d-f2fb-491e-99ff-ce5a9744911e</Guid>
    <SizeName>sample string 5</SizeName>
  </TrainingBrochure>
  <TrainingLocations xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
  </TrainingLocations>
  <TrainingPicture>
    <ContentType>sample string 2</ContentType>
    <FileName>sample string 3</FileName>
    <FileSize>4</FileSize>
    <FileType>Unassigned</FileType>
    <Guid>b2d4b93d-f2fb-491e-99ff-ce5a9744911e</Guid>
    <SizeName>sample string 5</SizeName>
  </TrainingPicture>
  <TrainingTags xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
  </TrainingTags>
  <TrainingThemes>
    <TrainingThemeDetailsViewModel>
      <Color>sample string 3</Color>
      <Guid>97a89f6a-d3ef-4290-94cf-b48dd9d05744</Guid>
      <Name>sample string 2</Name>
    </TrainingThemeDetailsViewModel>
    <TrainingThemeDetailsViewModel>
      <Color>sample string 3</Color>
      <Guid>97a89f6a-d3ef-4290-94cf-b48dd9d05744</Guid>
      <Name>sample string 2</Name>
    </TrainingThemeDetailsViewModel>
  </TrainingThemes>
  <TrainingTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
  </TrainingTypes>
  <VNGThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
  </VNGThemes>
  <WebsiteStatuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>2c7141fc-3675-4934-ab39-95f2876496d9</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
  </WebsiteStatuses>
</TrainingDetailsViewModel>