PUT api/countries/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CountryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| AuthorId | integer |
None. |
|
| Author | string |
None. |
|
| Created | date |
None. |
|
| EditorId | integer |
None. |
|
| Editor | string |
None. |
|
| Modified | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"AuthorId": 3,
"Author": "sample string 4",
"Created": "2026-03-09T17:07:41.0578781-03:00",
"EditorId": 5,
"Editor": "sample string 6",
"Modified": "2026-03-09T17:07:41.0578781-03:00"
}
application/xml, text/xml
Sample:
<CountryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inpartec.Vale.AgendaDE.Model"> <Author>sample string 4</Author> <AuthorId>3</AuthorId> <Created>2026-03-09T17:07:41.0578781-03:00</Created> <Editor>sample string 6</Editor> <EditorId>5</EditorId> <Modified>2026-03-09T17:07:41.0578781-03:00</Modified> <Id>1</Id> <Name>sample string 2</Name> </CountryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.