PUT BrandGroups/{brandGroupID}/MemberDeduplicationCriteria

Updates Member Deduplication Criteria for a brand group.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandGroupID

Brand Group ID

integer

Required

Body Parameters

UpdateBrandGroupDeduplicationCriteriaModel
NameDescriptionTypeAdditional information
BrandGroupDeduplicationCriteriaID

integer

Required

DeduplicationCriteriaAssociationType

DeduplicationCriteriaAssociationType

Required

QuestionIDs

Collection of integer

Required

CountryIDs

Collection of integer

None.

BrandIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandGroupDeduplicationCriteriaID": 1,
  "DeduplicationCriteriaAssociationType": 1,
  "QuestionIDs": [
    1,
    2
  ],
  "CountryIDs": [
    1,
    2
  ],
  "BrandIDs": [
    1,
    2
  ]
}

text/html

Sample:
{"BrandGroupDeduplicationCriteriaID":1,"DeduplicationCriteriaAssociationType":1,"QuestionIDs":[1,2],"CountryIDs":[1,2],"BrandIDs":[1,2]}

application/xml, text/xml

Sample:
<UpdateBrandGroupDeduplicationCriteriaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.BrandGroup">
  <BrandIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </BrandIDs>
  <CountryIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CountryIDs>
  <DeduplicationCriteriaAssociationType>INCLUDE</DeduplicationCriteriaAssociationType>
  <QuestionIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </QuestionIDs>
  <BrandGroupDeduplicationCriteriaID>1</BrandGroupDeduplicationCriteriaID>
</UpdateBrandGroupDeduplicationCriteriaModel>

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 'UpdateBrandGroupDeduplicationCriteriaModel'.

application/bson

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

Response Information

Resource Description

BrandStoreResult

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.