POST api/users/me/lists

This method will create a new user property list for user based on the provided information

Requires Authorization!

Request Information

URI Parameters

None.

Body Parameters

Instance of

CreateUserPropertyListBindingModel
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "description": "sample string 2"
}

text/html

Sample:
{"name":"sample string 1","description":"sample string 2"}

application/xml, text/xml

Sample:
<CreateUserPropertyListBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.PropertyBinding">
  <Description>sample string 2</Description>
  <Name>sample string 1</Name>
</CreateUserPropertyListBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateUserPropertyListBindingModel'.

Response Information

Resource Description

Instance of

UserPropertyList
NameDescriptionTypeAdditional 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-05-20T14:56:21.4366965-05:00",
  "userId": 5,
  "user": {
    "id": 1,
    "accessFailedCount": 2,
    "email": "sample string 3",
    "emailConfirmed": true,
    "lockoutEnabled": true,
    "lockoutEndDateUtc": "2025-05-20T14:56:21.4366965-05:00",
    "passwordHash": "sample string 6",
    "phoneNumberConfirmed": true,
    "securityStamp": "sample string 8",
    "twoFactorEnabled": true,
    "userName": "sample string 10",
    "joinDate": "2025-05-20T14:56:21.4366965-05:00",
    "firstName": "sample string 12",
    "lastName": "sample string 13",
    "isSystemUser": true,
    "accountVerified": true,
    "acceptedTermsAndConditionsDate": "2025-05-20T14:56:21.4366965-05:00",
    "phoneNumber": "sample string 15",
    "roles": [],
    "claims": [],
    "logins": []
  }
}

text/html

Sample:
{"id":1,"name":"sample string 2","description":"sample string 3","createdDate":"2025-05-20T14:56:21.4366965-05:00","userId":5,"user":{"id":1,"accessFailedCount":2,"email":"sample string 3","emailConfirmed":true,"lockoutEnabled":true,"lockoutEndDateUtc":"2025-05-20T14:56:21.4366965-05:00","passwordHash":"sample string 6","phoneNumberConfirmed":true,"securityStamp":"sample string 8","twoFactorEnabled":true,"userName":"sample string 10","joinDate":"2025-05-20T14:56:21.4366965-05:00","firstName":"sample string 12","lastName":"sample string 13","isSystemUser":true,"accountVerified":true,"acceptedTermsAndConditionsDate":"2025-05-20T14:56:21.4366965-05: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-05-20T14:56:21.4366965-05: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-05-20T14:56:21.4366965-05: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-05-20T14:56:21.4366965-05:00</d2p1:AcceptedTermsAndConditionsDate>
    <d2p1:AccountVerified>true</d2p1:AccountVerified>
    <d2p1:FirstName>sample string 12</d2p1:FirstName>
    <d2p1:IsSystemUser>true</d2p1:IsSystemUser>
    <d2p1:JoinDate>2025-05-20T14:56:21.4366965-05:00</d2p1:JoinDate>
    <d2p1:LastName>sample string 13</d2p1:LastName>
  </User>
  <UserId>5</UserId>
</UserPropertyList>