POST api/countries/spokenLanguages/add
Request Information
URI Parameters
None.
Body Parameters
Cyberlogic.eTourism.Mappings.Operations.Dto.Shared.Country.SpokenLanguageDTOName | Description | Type | Additional information |
---|---|---|---|
CountryId | integer |
None. |
|
LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CountryId": 1, "LanguageId": 2 }
text/html
Sample:
{"CountryId":1,"LanguageId":2}
application/xml, text/xml
Sample:
<SpokenLanguageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Shared.Country"> <CountryId>1</CountryId> <LanguageId>2</LanguageId> </SpokenLanguageDTO>
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. |