POST api/users/me/lists/{listId}/properties
This method will add a new user property to an existing list
Requires Authorization!
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| listId | integer |
Required |
Body Parameters
Instance of
AddUserPropertyToListBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Properties | Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"properties": [
1,
2
]
}
text/html
Sample:
{"properties":[1,2]}
application/xml, text/xml
Sample:
<AddUserPropertyToListBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.PropertyBinding">
<Properties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Properties>
</AddUserPropertyToListBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Instance of
UserPropertyList| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| CreatedDate | date |
None. |
|
| UserId | integer |
None. |
|
| User | AspNetUser |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"createdDate": "2025-12-15T09:28:57.9461884-06:00",
"userId": 5,
"user": {
"id": 1,
"accessFailedCount": 2,
"email": "sample string 3",
"emailConfirmed": true,
"lockoutEnabled": true,
"lockoutEndDateUtc": "2025-12-15T09:28:57.9542881-06:00",
"passwordHash": "sample string 6",
"phoneNumberConfirmed": true,
"securityStamp": "sample string 8",
"twoFactorEnabled": true,
"userName": "sample string 10",
"joinDate": "2025-12-15T09:28:57.9563117-06:00",
"firstName": "sample string 12",
"lastName": "sample string 13",
"isSystemUser": true,
"accountVerified": true,
"acceptedTermsAndConditionsDate": "2025-12-15T09:28:57.9563117-06:00",
"phoneNumber": "sample string 15",
"roles": [],
"claims": [],
"logins": []
}
}
text/html
Sample:
{"id":1,"name":"sample string 2","description":"sample string 3","createdDate":"2025-12-15T09:28:57.9461884-06:00","userId":5,"user":{"id":1,"accessFailedCount":2,"email":"sample string 3","emailConfirmed":true,"lockoutEnabled":true,"lockoutEndDateUtc":"2025-12-15T09:28:57.9542881-06:00","passwordHash":"sample string 6","phoneNumberConfirmed":true,"securityStamp":"sample string 8","twoFactorEnabled":true,"userName":"sample string 10","joinDate":"2025-12-15T09:28:57.9563117-06:00","firstName":"sample string 12","lastName":"sample string 13","isSystemUser":true,"accountVerified":true,"acceptedTermsAndConditionsDate":"2025-12-15T09:28:57.9563117-06:00","phoneNumber":"sample string 15","roles":[],"claims":[],"logins":[]}}
application/xml, text/xml
Sample:
<UserPropertyList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities">
<Id xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.Core">1</Id>
<CreatedDate>2025-12-15T09:28:57.9461884-06:00</CreatedDate>
<Description>sample string 3</Description>
<Name>sample string 2</Name>
<User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ptd.Model.Entities.AuthEntities">
<AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2</AccessFailedCount>
<Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 3</Email>
<EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
<Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">1</Id>
<LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
<LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2025-12-15T09:28:57.9542881-06:00</LockoutEndDateUtc>
<PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 6</PasswordHash>
<PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 15</PhoneNumber>
<PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
<SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 8</SecurityStamp>
<TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</UserName>
<d2p1:AcceptedTermsAndConditionsDate>2025-12-15T09:28:57.9563117-06:00</d2p1:AcceptedTermsAndConditionsDate>
<d2p1:AccountVerified>true</d2p1:AccountVerified>
<d2p1:FirstName>sample string 12</d2p1:FirstName>
<d2p1:IsSystemUser>true</d2p1:IsSystemUser>
<d2p1:JoinDate>2025-12-15T09:28:57.9563117-06:00</d2p1:JoinDate>
<d2p1:LastName>sample string 13</d2p1:LastName>
</User>
<UserId>5</UserId>
</UserPropertyList>