GET v1/Training/{id}/Details?onlypublished={onlypublished}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
onlypublished | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
TrainingDetailsViewModelName | Description | Type | Additional 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": "e076f3b0-107b-45d5-a26b-f7391619eac8", "Name": "sample string 2", "Subtitle": "sample string 3", "Price": 4.0, "PriceOnRequest": true, "AzavistaLink": "sample string 6", "TrainingTags": [ { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" }, { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" } ], "TargetAudiences": [ { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" }, { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" } ], "TrainingThemes": [ { "Guid": "632d7f43-9743-472a-9a37-f4cffd048aa8", "Name": "sample string 2", "Color": "sample string 3" }, { "Guid": "632d7f43-9743-472a-9a37-f4cffd048aa8", "Name": "sample string 2", "Color": "sample string 3" } ], "TrainingLocations": [ { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" }, { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" } ], "WebsiteStatuses": [ { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" }, { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" } ], "TrainingTypes": [ { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" }, { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" } ], "MaxNumberOfRegistrations": 7, "NumberOfDays": "sample string 8", "TrainingPicture": { "Guid": "6e784363-31b8-42bf-a473-0248fc49b06c", "ContentType": "sample string 2", "FileName": "sample string 3", "FileSize": 4, "FileType": 0, "SizeName": "sample string 5" }, "TrainingBrochure": { "Guid": "6e784363-31b8-42bf-a473-0248fc49b06c", "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": "fc407152-2c77-497f-b3c1-e39d16c1f812", "VNGThemes": [ { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" }, { "Guid": "251bb888-926f-4656-a47a-065b623a9ebd", "Name": "sample string 2" } ], "Publish": true }
application/octet-stream
Sample:
{"Guid":"e076f3b0-107b-45d5-a26b-f7391619eac8","Name":"sample string 2","Subtitle":"sample string 3","Price":4.0,"PriceOnRequest":true,"AzavistaLink":"sample string 6","TrainingTags":[{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"},{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"}],"TargetAudiences":[{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"},{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"}],"TrainingThemes":[{"Guid":"632d7f43-9743-472a-9a37-f4cffd048aa8","Name":"sample string 2","Color":"sample string 3"},{"Guid":"632d7f43-9743-472a-9a37-f4cffd048aa8","Name":"sample string 2","Color":"sample string 3"}],"TrainingLocations":[{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"},{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"}],"WebsiteStatuses":[{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"},{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"}],"TrainingTypes":[{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"},{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"}],"MaxNumberOfRegistrations":7,"NumberOfDays":"sample string 8","TrainingPicture":{"Guid":"6e784363-31b8-42bf-a473-0248fc49b06c","ContentType":"sample string 2","FileName":"sample string 3","FileSize":4,"FileType":0,"SizeName":"sample string 5"},"TrainingBrochure":{"Guid":"6e784363-31b8-42bf-a473-0248fc49b06c","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":"fc407152-2c77-497f-b3c1-e39d16c1f812","VNGThemes":[{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","Name":"sample string 2"},{"Guid":"251bb888-926f-4656-a47a-065b623a9ebd","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>e076f3b0-107b-45d5-a26b-f7391619eac8</Guid> <MaxNumberOfRegistrations>7</MaxNumberOfRegistrations> <Name>sample string 2</Name> <NumberOfDays>sample string 8</NumberOfDays> <OpenGraphDescription>sample string 11</OpenGraphDescription> <OpenGraphPictureGuid>fc407152-2c77-497f-b3c1-e39d16c1f812</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>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>251bb888-926f-4656-a47a-065b623a9ebd</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>6e784363-31b8-42bf-a473-0248fc49b06c</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>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>251bb888-926f-4656-a47a-065b623a9ebd</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>6e784363-31b8-42bf-a473-0248fc49b06c</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>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> </TrainingTags> <TrainingThemes> <TrainingThemeDetailsViewModel> <Color>sample string 3</Color> <Guid>632d7f43-9743-472a-9a37-f4cffd048aa8</Guid> <Name>sample string 2</Name> </TrainingThemeDetailsViewModel> <TrainingThemeDetailsViewModel> <Color>sample string 3</Color> <Guid>632d7f43-9743-472a-9a37-f4cffd048aa8</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>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>251bb888-926f-4656-a47a-065b623a9ebd</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>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>251bb888-926f-4656-a47a-065b623a9ebd</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>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>251bb888-926f-4656-a47a-065b623a9ebd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> </WebsiteStatuses> </TrainingDetailsViewModel>