POST api/Country/CountryDetails
Request Information
URI Parameters
None.
Body Parameters
CountryDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Action | string |
None. |
|
| CountryID | integer |
None. |
|
| CountryName | string |
None. |
|
| CountryCode | string |
None. |
|
| DialingCode | string |
None. |
|
| CustomField1 | string |
None. |
|
| CustomField2 | string |
None. |
|
| CustomField3 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Action": "sample string 1",
"CountryID": 2,
"CountryName": "sample string 3",
"CountryCode": "sample string 4",
"DialingCode": "sample string 5",
"CustomField1": "sample string 6",
"CustomField2": "sample string 7",
"CustomField3": "sample string 8"
}
application/xml, text/xml
Sample:
<CountryDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Model"> <Action>sample string 1</Action> <CountryCode>sample string 4</CountryCode> <CountryID>2</CountryID> <CountryName>sample string 3</CountryName> <CustomField1>sample string 6</CustomField1> <CustomField2>sample string 7</CustomField2> <CustomField3>sample string 8</CustomField3> <DialingCode>sample string 5</DialingCode> </CountryDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |