PUT Api/Countries/{id}
Edytuje obiekt Country
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
identyfikator modyfikowanego obiektu |
integer |
Required |
Body Parameters
obiekt wraz ze wszystkimi wartoĊciami
CountryDtoName | Description | Type | Additional information |
---|---|---|---|
CountryId | integer |
Required |
|
Name | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "countryId": 1, "name": "sample string 2" }
multipart/form-data
Sample:
{"countryId":1,"name":"sample string 2"}
application/xml, text/xml
Sample:
<CountryDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CountryId>1</CountryId> <Name>sample string 2</Name> </CountryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.