POST api/languages
Request Information
URI Parameters
None.
Body Parameters
Cyberlogic.eTourism.Mappings.Operations.Dto.Shared.Language.LanguageCreateDTOName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
InternetCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "InternetCode": "sample string 2" }
text/html
Sample:
{"Name":"sample string 1","InternetCode":"sample string 2"}
application/xml, text/xml
Sample:
<LanguageCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Shared.Language"> <InternetCode>sample string 2</InternetCode> <Name>sample string 1</Name> </LanguageCreateDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |