POST Countries/UpdateCountry

Request Information

URI Parameters

None.

Body Parameters

CountriesDataContext
NameDescriptionTypeAdditional information
filterStatus

boolean

None.

textSearch

string

None.

language

string

None.

statusWithAll

boolean

None.

pageSize

integer

None.

page

integer

None.

sortToken

string

None.

countryToken

string

None.

countryNameAr

string

None.

countryNameEn

string

None.

nationalityAr

string

None.

nationalityEn

string

None.

alpha2Code

string

None.

alpha3Code

string

None.

countryArchiveStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "filterStatus": true,
  "textSearch": "sample string 2",
  "language": "sample string 3",
  "statusWithAll": true,
  "pageSize": 5,
  "page": 6,
  "sortToken": "sample string 7",
  "countryToken": "sample string 8",
  "countryNameAr": "sample string 9",
  "countryNameEn": "sample string 10",
  "nationalityAr": "sample string 11",
  "nationalityEn": "sample string 12",
  "alpha2Code": "sample string 13",
  "alpha3Code": "sample string 14",
  "countryArchiveStatus": true
}

application/xml, text/xml

Sample:
<CountriesDataContext xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelUI.AdditionalSettings.Countries">
  <alpha2Code xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 13</alpha2Code>
  <alpha3Code xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 14</alpha3Code>
  <countryArchiveStatus xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">true</countryArchiveStatus>
  <countryNameAr xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 9</countryNameAr>
  <countryNameEn xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 10</countryNameEn>
  <countryToken xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 8</countryToken>
  <nationalityAr xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 11</nationalityAr>
  <nationalityEn xmlns="http://schemas.datacontract.org/2004/07/SmartClub.Src.Data.Model.ModelDB.AdditionalSettings.Countries">sample string 12</nationalityEn>
  <filterStatus>true</filterStatus>
  <language>sample string 3</language>
  <page>6</page>
  <pageSize>5</pageSize>
  <sortToken>sample string 7</sortToken>
  <statusWithAll>true</statusWithAll>
  <textSearch>sample string 2</textSearch>
</CountriesDataContext>

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.