POST api/descriptionDictionary/SubCategory/{type}/{name}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
type | string |
Required |
|
name | string |
Required |
Body Parameters
Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries.InsertDescriptionDictionaryItemViewModelName | Description | Type | Additional information |
---|---|---|---|
CyberId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CyberId": "sample string 1" }
text/html
Sample:
{"CyberId":"sample string 1"}
application/xml, text/xml
Sample:
<InsertDescriptionDictionaryItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries"> <CyberId>sample string 1</CyberId> </InsertDescriptionDictionaryItemViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Cyberlogic.eTourism.Domain.ViewModels.DescriptionDictionaries.DescriptionDictionaryItemViewModelName | Description | Type | Additional 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>