PUT api/Country?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Country| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | globally unique identifier |
None. |
|
| Nome | string |
None. |
|
| Pattern | string |
None. |
|
| FlagImage | string |
None. |
|
| Activo | boolean |
None. |
|
| Indicativo | string |
None. |
|
| DateAdd | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CountryId": "59039d7c-2d02-46cd-8247-a7e2e4f66ab0",
"Nome": "sample string 2",
"Pattern": "sample string 3",
"FlagImage": "sample string 4",
"Activo": true,
"Indicativo": "sample string 6",
"DateAdd": "2025-12-10T12:01:56.389288+00:00"
}
text/xml
Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiApp.Models"> <Activo>true</Activo> <CountryId>59039d7c-2d02-46cd-8247-a7e2e4f66ab0</CountryId> <DateAdd>2025-12-10T12:01:56.389288+00:00</DateAdd> <FlagImage>sample string 4</FlagImage> <Indicativo>sample string 6</Indicativo> <Nome>sample string 2</Nome> <Pattern>sample string 3</Pattern> </Country>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.