PUT country/update
Updates an existing country
Request Information
URI Parameters
None.
Body Parameters
CountryUpdateRequest object contains the fields to be updated
CountryUpdateRequestName | Description | Type | Additional information |
---|---|---|---|
CountryId | integer |
None. |
|
Name | string |
None. |
|
Abbreviation | string |
None. |
|
RegionId | integer |
None. |
|
CountryManagerUserId | integer |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CountryId": 1, "Name": "sample string 2", "Abbreviation": "sample string 3", "RegionId": 4, "CountryManagerUserId": 1, "IsActive": true }
application/xml, text/xml
Sample:
<CountryUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.OrganizationObjects"> <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive> <Abbreviation>sample string 3</Abbreviation> <CountryManagerUserId>1</CountryManagerUserId> <Name>sample string 2</Name> <RegionId>4</RegionId> <CountryId>1</CountryId> </CountryUpdateRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CountryUpdateResponse
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.