PUT api/profilepropertytypes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
ProfilePropertyTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| CreatorUserId | globally unique identifier |
None. |
|
| CreationDate | date |
Required |
|
| Description | string |
None. |
|
| DefaultValue | string |
None. |
|
| DataType | ProfilePropertyDataTypeDto |
None. |
|
| IsRequired | boolean |
None. |
|
| MinimumValueExpression | string |
String length: inclusive between 0 and 50 |
|
| MaximumValueExpression | string |
String length: inclusive between 0 and 50 |
|
| SortIndex | integer |
None. |
|
| SecurityMode | ProfilePropertySecurityModeDto |
None. |
|
| SecurityGroupId | globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
|
| Options | Collection of ProfilePropertyOptionDto |
None. |
|
| TenantIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "cc8be0a3-6c63-4de1-9d83-68ea1d772c38",
"Name": "sample string 2",
"CreatorUserId": "af3259b7-a96a-4778-af9e-0203f50e25f1",
"CreationDate": "2026-01-10T00:47:32.4966729+00:00",
"Description": "sample string 5",
"DefaultValue": "sample string 6",
"DataType": 0,
"IsRequired": true,
"MinimumValueExpression": "sample string 8",
"MaximumValueExpression": "sample string 9",
"SortIndex": 10,
"SecurityMode": 0,
"SecurityGroupId": "cc4446b5-723c-4635-ade3-c0a67f7174cd",
"IsDeleted": true,
"Options": [
{
"Id": "fcf946e6-e289-41f9-8e9e-b0feba4ead8c",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:47:32.4966729+00:00",
"ProfilePropertyTypeId": "1bbf3322-0396-45d1-8b01-2b8485abc938"
},
{
"Id": "fcf946e6-e289-41f9-8e9e-b0feba4ead8c",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T00:47:32.4966729+00:00",
"ProfilePropertyTypeId": "1bbf3322-0396-45d1-8b01-2b8485abc938"
}
],
"TenantIds": [
"98e66457-8c55-4744-9958-0f01bd58a01f",
"a1797b86-3813-4265-9f11-f7b9500a35ef"
]
}
application/xml, text/xml
Sample:
<ProfilePropertyTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Profile.Models">
<CreationDate>2026-01-10T00:47:32.4966729+00:00</CreationDate>
<CreatorUserId>af3259b7-a96a-4778-af9e-0203f50e25f1</CreatorUserId>
<DataType>Bool</DataType>
<DefaultValue>sample string 6</DefaultValue>
<Description>sample string 5</Description>
<Id>cc8be0a3-6c63-4de1-9d83-68ea1d772c38</Id>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<MaximumValueExpression>sample string 9</MaximumValueExpression>
<MinimumValueExpression>sample string 8</MinimumValueExpression>
<Name>sample string 2</Name>
<Options>
<ProfilePropertyOptionDto>
<CreationDate>2026-01-10T00:47:32.4966729+00:00</CreationDate>
<Id>fcf946e6-e289-41f9-8e9e-b0feba4ead8c</Id>
<Name>sample string 2</Name>
<ProfilePropertyTypeId>1bbf3322-0396-45d1-8b01-2b8485abc938</ProfilePropertyTypeId>
<Value>sample string 3</Value>
</ProfilePropertyOptionDto>
<ProfilePropertyOptionDto>
<CreationDate>2026-01-10T00:47:32.4966729+00:00</CreationDate>
<Id>fcf946e6-e289-41f9-8e9e-b0feba4ead8c</Id>
<Name>sample string 2</Name>
<ProfilePropertyTypeId>1bbf3322-0396-45d1-8b01-2b8485abc938</ProfilePropertyTypeId>
<Value>sample string 3</Value>
</ProfilePropertyOptionDto>
</Options>
<SecurityGroupId>cc4446b5-723c-4635-ade3-c0a67f7174cd</SecurityGroupId>
<SecurityMode>None</SecurityMode>
<SortIndex>10</SortIndex>
<TenantIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>98e66457-8c55-4744-9958-0f01bd58a01f</d2p1:guid>
<d2p1:guid>a1797b86-3813-4265-9f11-f7b9500a35ef</d2p1:guid>
</TenantIds>
</ProfilePropertyTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.