PUT api/persons/{id}/profile/preferences

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

PersonPreferences
NameDescriptionTypeAdditional information
PreferredClientTerritoryID

integer

None.

PreferredLanguageID

integer

None.

TermsOfServiceKeywords

Collection of KeywordSelection

None.

LegalConsentKeywords

Collection of KeywordSelection

None.

MarketingKeywords

Collection of KeywordSelection

None.

Request Formats

application/json, text/json

Sample:
{
  "PreferredClientTerritoryID": 1,
  "PreferredLanguageID": 1,
  "TermsOfServiceKeywords": [
    {
      "KeywordID": 1,
      "Choice": 0
    },
    {
      "KeywordID": 1,
      "Choice": 0
    }
  ],
  "LegalConsentKeywords": [
    {
      "KeywordID": 1,
      "Choice": 0
    },
    {
      "KeywordID": 1,
      "Choice": 0
    }
  ],
  "MarketingKeywords": [
    {
      "KeywordID": 1,
      "Choice": 0
    },
    {
      "KeywordID": 1,
      "Choice": 0
    }
  ]
}

application/xml, text/xml

Sample:
<PersonPreferences xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <LegalConsentKeywords>
    <KeywordSelection>
      <Choice>Unknown</Choice>
      <KeywordID>1</KeywordID>
    </KeywordSelection>
    <KeywordSelection>
      <Choice>Unknown</Choice>
      <KeywordID>1</KeywordID>
    </KeywordSelection>
  </LegalConsentKeywords>
  <MarketingKeywords>
    <KeywordSelection>
      <Choice>Unknown</Choice>
      <KeywordID>1</KeywordID>
    </KeywordSelection>
    <KeywordSelection>
      <Choice>Unknown</Choice>
      <KeywordID>1</KeywordID>
    </KeywordSelection>
  </MarketingKeywords>
  <PreferredClientTerritoryID>1</PreferredClientTerritoryID>
  <PreferredLanguageID>1</PreferredLanguageID>
  <TermsOfServiceKeywords>
    <KeywordSelection>
      <Choice>Unknown</Choice>
      <KeywordID>1</KeywordID>
    </KeywordSelection>
    <KeywordSelection>
      <Choice>Unknown</Choice>
      <KeywordID>1</KeywordID>
    </KeywordSelection>
  </TermsOfServiceKeywords>
</PersonPreferences>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.