POST address/updatecountry

Request Information

URI Parameters

None.

Body Parameters

CountryViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Flag

string

None.

AreaId

integer

None.

CountryTax

decimal number

None.

CurrencySymbol

string

None.

SupportMail

string

None.

StateCount

integer

None.

States

Collection of State

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 1",
  "name": "sample string 2",
  "flag": "sample string 3",
  "areaId": 1,
  "countryTax": 1.0,
  "currencySymbol": "sample string 4",
  "supportMail": "sample string 5",
  "stateCount": 6,
  "states": [
    {
      "id": 1,
      "code": "sample string 1",
      "name": "sample string 2",
      "countryTax": 3.0,
      "currencySymbol": "sample string 4",
      "parent": 1,
      "supportMail": "sample string 5"
    },
    {
      "id": 1,
      "code": "sample string 1",
      "name": "sample string 2",
      "countryTax": 3.0,
      "currencySymbol": "sample string 4",
      "parent": 1,
      "supportMail": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<CountryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clickoapp2.Domain.Models">
  <AreaId>1</AreaId>
  <Code>sample string 1</Code>
  <CountryTax>1</CountryTax>
  <CurrencySymbol>sample string 4</CurrencySymbol>
  <Flag>sample string 3</Flag>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <StateCount>6</StateCount>
  <States>
    <State>
      <Code>sample string 1</Code>
      <CountryTax>3</CountryTax>
      <CurrencySymbol>sample string 4</CurrencySymbol>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Parent>1</Parent>
      <SupportMail>sample string 5</SupportMail>
    </State>
    <State>
      <Code>sample string 1</Code>
      <CountryTax>3</CountryTax>
      <CurrencySymbol>sample string 4</CurrencySymbol>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Parent>1</Parent>
      <SupportMail>sample string 5</SupportMail>
    </State>
  </States>
  <SupportMail>sample string 5</SupportMail>
</CountryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CountryWithStatesGroupped
NameDescriptionTypeAdditional information
States

Collection of Country

None.

Id

integer

None.

Code

string

None.

Name

string

None.

Flag

Collection of byte

None.

AreaId

integer

None.

CountryTax

decimal number

None.

Parent

integer

None.

CurrencySymbol

string

None.

SupportMail

string

None.

Addresses

Collection of Address

None.

Area

Area

None.

isInsertMode

boolean

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.