PUT api/country/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
CountryPutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| coun_Id | string |
None. |
|
| coun_Name | string |
None. |
|
| coun_OfficialName | string |
None. |
|
| coun_ISO2 | string |
None. |
|
| coun_ISO3 | string |
None. |
|
| coun_ISON | string |
None. |
|
| coun_Enabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"coun_Id": "sample string 1",
"coun_Name": "sample string 2",
"coun_OfficialName": "sample string 3",
"coun_ISO2": "sample string 4",
"coun_ISO3": "sample string 5",
"coun_ISON": "sample string 6",
"coun_Enabled": true
}
application/xml, text/xml
Sample:
<CountryPutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pico_wapi.Models.Postal.Country"> <coun_Enabled>true</coun_Enabled> <coun_ISO2>sample string 4</coun_ISO2> <coun_ISO3>sample string 5</coun_ISO3> <coun_ISON>sample string 6</coun_ISON> <coun_Name>sample string 2</coun_Name> <coun_OfficialName>sample string 3</coun_OfficialName> <coun_Id>sample string 1</coun_Id> </CountryPutRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CountryGetResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| coun_Id | string |
None. |
|
| coun_Code | string |
None. |
|
| coun_Flag | Collection of byte |
None. |
|
| coun_Name | string |
None. |
|
| coun_OfficialName | string |
None. |
|
| coun_ISO2 | string |
None. |
|
| coun_ISO3 | string |
None. |
|
| coun_ISON | string |
None. |
|
| coun_Enabled | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"coun_Id": "sample string 1",
"coun_Code": "sample string 2",
"coun_Flag": "QEA=",
"coun_Name": "sample string 3",
"coun_OfficialName": "sample string 4",
"coun_ISO2": "sample string 5",
"coun_ISO3": "sample string 6",
"coun_ISON": "sample string 7",
"coun_Enabled": true
}
application/xml, text/xml
Sample:
<CountryGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pico_wapi.Models.Postal.Country"> <coun_Enabled>true</coun_Enabled> <coun_ISO2>sample string 5</coun_ISO2> <coun_ISO3>sample string 6</coun_ISO3> <coun_ISON>sample string 7</coun_ISON> <coun_Name>sample string 3</coun_Name> <coun_OfficialName>sample string 4</coun_OfficialName> <coun_Code>sample string 2</coun_Code> <coun_Flag>QEA=</coun_Flag> <coun_Id>sample string 1</coun_Id> </CountryGetResponse>