PUT api/persons/{id}/profile
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
PersonProfileUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Names | Collection of PersonNameUpdateRequest |
None. |
|
| Gender | Gender |
None. |
|
| dtBirthday | date |
None. |
|
| Preferences | PersonPreferences |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Names": [
{
"Type": 0,
"LocaleID": 1,
"EntityContextID": 1,
"Name": "sample string 3",
"SortOrder": 4
},
{
"Type": 0,
"LocaleID": 1,
"EntityContextID": 1,
"Name": "sample string 3",
"SortOrder": 4
}
],
"Gender": 0,
"dtBirthday": "2025-12-06T13:29:19.2658799+00:00",
"Preferences": {
"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:
<PersonProfileUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<FirstName>sample string 1</FirstName>
<Gender>Undefined</Gender>
<LastName>sample string 2</LastName>
<Names>
<PersonNameUpdateRequest>
<EntityContextID>1</EntityContextID>
<LocaleID>1</LocaleID>
<Name>sample string 3</Name>
<SortOrder>4</SortOrder>
<Type>Unknown</Type>
</PersonNameUpdateRequest>
<PersonNameUpdateRequest>
<EntityContextID>1</EntityContextID>
<LocaleID>1</LocaleID>
<Name>sample string 3</Name>
<SortOrder>4</SortOrder>
<Type>Unknown</Type>
</PersonNameUpdateRequest>
</Names>
<Preferences>
<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>
</Preferences>
<dtBirthday>2025-12-06T13:29:19.2658799+00:00</dtBirthday>
</PersonProfileUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.