PUT api/users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

UserVM
NameDescriptionTypeAdditional information
Address

string

None.

BirthDate

date

None.

Circle

Circle

None.

CircleId

integer

None.

Email

string

None.

FirstName

string

None.

Id

string

None.

IsActive

boolean

None.

IsAdmin

boolean

None.

IsApproved

boolean

None.

IsDeleted

boolean

None.

LastName

string

None.

MobileNo

string

None.

PhoneNo

string

None.

ProfileImage

string

None.

State

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Address": "sample string 1",
  "BirthDate": "2024-10-10T05:42:31.2625282+05:30",
  "Circle": {
    "Title": "sample string 1",
    "Email": "sample string 2",
    "Description": "sample string 3",
    "IsHeadOffice": true,
    "Users": [
      {
        "FirstName": "sample string 1",
        "LastName": "sample string 2",
        "PhoneNo": "sample string 3",
        "MobileNo": "sample string 4",
        "State": "sample string 5",
        "PFNo": "sample string 6",
        "Address": "sample string 7",
        "ProfileImage": "sample string 8",
        "BirthDate": "2024-10-10T05:42:31.2625282+05:30",
        "CreatedDate": "2024-10-10T05:42:31.2625282+05:30",
        "ModifiedDate": "2024-10-10T05:42:31.2625282+05:30",
        "IsDeleted": true,
        "IsActive": true,
        "IsApproved": true,
        "IsAdmin": true,
        "CircleId": 1,
        "Email": "sample string 15",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 17",
        "SecurityStamp": "sample string 18",
        "PhoneNumber": "sample string 19",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-10-10T05:42:31.2625282+05:30",
        "LockoutEnabled": true,
        "AccessFailedCount": 23,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 24",
        "UserName": "sample string 25"
      },
      {
        "FirstName": "sample string 1",
        "LastName": "sample string 2",
        "PhoneNo": "sample string 3",
        "MobileNo": "sample string 4",
        "State": "sample string 5",
        "PFNo": "sample string 6",
        "Address": "sample string 7",
        "ProfileImage": "sample string 8",
        "BirthDate": "2024-10-10T05:42:31.2625282+05:30",
        "CreatedDate": "2024-10-10T05:42:31.2625282+05:30",
        "ModifiedDate": "2024-10-10T05:42:31.2625282+05:30",
        "IsDeleted": true,
        "IsActive": true,
        "IsApproved": true,
        "IsAdmin": true,
        "CircleId": 1,
        "Email": "sample string 15",
        "EmailConfirmed": true,
        "PasswordHash": "sample string 17",
        "SecurityStamp": "sample string 18",
        "PhoneNumber": "sample string 19",
        "PhoneNumberConfirmed": true,
        "TwoFactorEnabled": true,
        "LockoutEndDateUtc": "2024-10-10T05:42:31.2625282+05:30",
        "LockoutEnabled": true,
        "AccessFailedCount": 23,
        "Roles": [],
        "Claims": [],
        "Logins": [],
        "Id": "sample string 24",
        "UserName": "sample string 25"
      }
    ],
    "Id": 5,
    "IsActive": true,
    "CreatedDate": "2024-10-10T05:42:31.2625282+05:30",
    "ModifiedDate": "2024-10-10T05:42:31.2625282+05:30",
    "CreatedById": "sample string 7",
    "ModifiedById": "sample string 8"
  },
  "CircleId": 1,
  "Email": "sample string 3",
  "FirstName": "sample string 4",
  "Id": "sample string 5",
  "IsActive": true,
  "IsAdmin": true,
  "IsApproved": true,
  "IsDeleted": true,
  "LastName": "sample string 10",
  "MobileNo": "sample string 11",
  "PhoneNo": "sample string 12",
  "ProfileImage": "sample string 13",
  "State": "sample string 14",
  "UserName": "sample string 15"
}

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 'UserVM'.

Response Information

Resource Description

None.