PUT Brands/{brandID}/Countries/{countryID}/Cultures

Updated information related to a BrandCountryCulture

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

integer

Required

countryID

integer

Required

Body Parameters

UpdateBrandCountryCultureModel
NameDescriptionTypeAdditional information
CultureID

integer

Required

IsNewUserRegistrationAllowed

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "CultureID": 1,
  "IsNewUserRegistrationAllowed": true
}

text/html

Sample:
{"CultureID":1,"IsNewUserRegistrationAllowed":true}

application/xml, text/xml

Sample:
<UpdateBrandCountryCultureModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.Culture">
  <CultureID>1</CultureID>
  <IsNewUserRegistrationAllowed>true</IsNewUserRegistrationAllowed>
</UpdateBrandCountryCultureModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateBrandCountryCultureModel'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

BrandStoreResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Errors

Collection of string

None.

ErrorCode

APIErrorCodes

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 0,
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"ErrorCode":0,"Succeeded":true,"Errors":["sample string 1","sample string 2"]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.