GET api/descriptionDictionary/CategoryTypes
Gets the description dictionary category types.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A DescriptionDictionaryCategoryTypesViewModel object.
Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries.DescriptionDictionaryCategoryTypesViewModelName | Description | Type | Additional information |
---|---|---|---|
Types | Collection of Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries.DescriptionDictionaryCategoryTypeViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Types": [ { "Name": "sample string 1", "Categories": [ "sample string 1", "sample string 2" ] }, { "Name": "sample string 1", "Categories": [ "sample string 1", "sample string 2" ] } ] }
text/html
Sample:
{"Types":[{"Name":"sample string 1","Categories":["sample string 1","sample string 2"]},{"Name":"sample string 1","Categories":["sample string 1","sample string 2"]}]}
application/xml, text/xml
Sample:
<DescriptionDictionaryCategoryTypesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries"> <Types> <DescriptionDictionaryCategoryTypeViewModel> <Categories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Categories> <Name>sample string 1</Name> </DescriptionDictionaryCategoryTypeViewModel> <DescriptionDictionaryCategoryTypeViewModel> <Categories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Categories> <Name>sample string 1</Name> </DescriptionDictionaryCategoryTypeViewModel> </Types> </DescriptionDictionaryCategoryTypesViewModel>