PUT api/country/UpdateCountry?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Country
NameDescriptionTypeAdditional information
CountryID

integer

None.

CountryName

string

Required

String length: inclusive between 0 and 50

UserName

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "CountryID": 1,
  "CountryName": "sample string 2",
  "UserName": "sample string 3"
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDMWebAPI.Models">
  <CountryID>1</CountryID>
  <CountryName>sample string 2</CountryName>
  <UserName>sample string 3</UserName>
</Country>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.