GET api/descriptionDictionary/Category/{type}/{name}/{id}

Gets a description dictionary category item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

A string.

string

Required

name

A string.

string

Required

id

integer

Required

Body Parameters

None.

Response Information

Resource Description

A DescriptionDictionaryCategoryViewModel object.

Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries.DescriptionDictionaryItemViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

CyberId

string

None.

Overview

Collection of Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries.DescriptionDictionaryTranslations

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CyberId": "sample string 2",
  "Overview": [
    {
      "Language": {
        "Id": 1,
        "Name": "sample string 2",
        "InternetCode": "sample string 3"
      },
      "Name": "sample string 1"
    },
    {
      "Language": {
        "Id": 1,
        "Name": "sample string 2",
        "InternetCode": "sample string 3"
      },
      "Name": "sample string 1"
    }
  ]
}

text/html

Sample:
{"Id":1,"CyberId":"sample string 2","Overview":[{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Name":"sample string 1"},{"Language":{"Id":1,"Name":"sample string 2","InternetCode":"sample string 3"},"Name":"sample string 1"}]}

application/xml, text/xml

Sample:
<DescriptionDictionaryItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries">
  <CyberId>sample string 2</CyberId>
  <Id>1</Id>
  <Overview>
    <DescriptionDictionaryTranslations>
      <Language xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:InternetCode>sample string 3</d4p1:InternetCode>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Language>
      <Name>sample string 1</Name>
    </DescriptionDictionaryTranslations>
    <DescriptionDictionaryTranslations>
      <Language xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Shared">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:InternetCode>sample string 3</d4p1:InternetCode>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Language>
      <Name>sample string 1</Name>
    </DescriptionDictionaryTranslations>
  </Overview>
</DescriptionDictionaryItemViewModel>