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