PUT api/{database}/Country/{countryId}

Updates the specified Country



Request Information

Parameters

NameDescriptionAdditional information
countryId The countryId.

Define this parameter in the request URI.

value The updated values for Country.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "cbsCountry": "sample string 3",
  "countryId": "sample string 4",
  "description": "sample string 5",
  "ecMemberId": "sample string 6",
  "isoCode": "sample string 7",
  "isSepa": true
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CbsCountry>sample string 3</CbsCountry>
  <CountryId>sample string 4</CountryId>
  <Description>sample string 5</Description>
  <ECMemberId>sample string 6</ECMemberId>
  <IsSepa>true</IsSepa>
  <IsoCode>sample string 7</IsoCode>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
</Country>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "cbsCountry": "sample string 3",
  "countryId": "sample string 4",
  "description": "sample string 5",
  "ecMemberId": "sample string 6",
  "isoCode": "sample string 7",
  "isSepa": true
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CbsCountry>sample string 3</CbsCountry>
  <CountryId>sample string 4</CountryId>
  <Description>sample string 5</Description>
  <ECMemberId>sample string 6</ECMemberId>
  <IsSepa>true</IsSepa>
  <IsoCode>sample string 7</IsoCode>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
</Country>