PUT api/country/update-from-api
Request Information
URI Parameters
None.
Body Parameters
Collection of CountryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| CountryCode | string |
None. |
|
| Alpha2Code | string |
None. |
|
| CountryName | string |
None. |
|
| DefaultRegion | string |
None. |
|
| SubRegion | string |
None. |
|
| DefaultCurrency | string |
None. |
|
| CurrencyCode | string |
None. |
|
| Flag | string |
None. |
|
| Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CountryId": 1,
"CountryCode": "sample string 2",
"Alpha2Code": "sample string 3",
"CountryName": "sample string 4",
"DefaultRegion": "sample string 5",
"SubRegion": "sample string 6",
"DefaultCurrency": "sample string 7",
"CurrencyCode": "sample string 8",
"Flag": "sample string 9",
"Active": true
},
{
"CountryId": 1,
"CountryCode": "sample string 2",
"Alpha2Code": "sample string 3",
"CountryName": "sample string 4",
"DefaultRegion": "sample string 5",
"SubRegion": "sample string 6",
"DefaultCurrency": "sample string 7",
"CurrencyCode": "sample string 8",
"Flag": "sample string 9",
"Active": true
}
]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.