GET api/Accounts/AddTraitPerItem?pItemMainCode={pItemMainCode}&pTraitTypeCode={pTraitTypeCode}&pTraitCode={pTraitCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pItemMainCode

integer

Required

pTraitTypeCode

integer

Required

pTraitCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

TraitsPerItem
NameDescriptionTypeAdditional information
item_code

integer

Required

trait_type_code

integer

Required

trait_code

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "item_code": 1,
  "trait_type_code": 2,
  "trait_code": 3
}

application/xml, text/xml

Sample:
<TraitsPerItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <item_code>1</item_code>
  <trait_code>3</trait_code>
  <trait_type_code>2</trait_type_code>
</TraitsPerItem>

application/bson

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