POST api/user/update

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Name

string

None.

Username

string

None.

Password

string

None.

Email

string

None.

IsVerified

boolean

None.

Status

boolean

None.

email_otp

integer

None.

email_otp_timestamp

date

None.

RoleId

integer

None.

ParentId

integer

None.

CreatedAt

date

None.

UpdatedAt

date

None.

IsLogin

boolean

None.

LoginTimestamp

date

None.

FcmToken

string

None.

WatchlistCount

integer

None.

ApiUser

boolean

None.

Platform

string

None.

Token

string

None.

mobilenumber

string

None.

CountryId

integer

None.

StateId

integer

None.

CityId

integer

None.

mobile_otp

integer

None.

mobile_otp_timestamp

date

None.

CountryCode

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "Email": "sample string 4",
  "IsVerified": true,
  "Status": true,
  "email_otp": 1,
  "email_otp_timestamp": "2026-01-07T12:08:22.6433294+05:30",
  "RoleId": 7,
  "ParentId": 1,
  "CreatedAt": "2026-01-07T12:08:22.6433294+05:30",
  "UpdatedAt": "2026-01-07T12:08:22.6433294+05:30",
  "IsLogin": true,
  "LoginTimestamp": "2026-01-07T12:08:22.6433294+05:30",
  "FcmToken": "sample string 11",
  "WatchlistCount": 1,
  "ApiUser": true,
  "Platform": "sample string 13",
  "Token": "sample string 14",
  "mobilenumber": "sample string 15",
  "CountryId": 1,
  "StateId": 1,
  "CityId": 1,
  "mobile_otp": 1,
  "mobile_otp_timestamp": "2026-01-07T12:08:22.6433294+05:30",
  "CountryCode": "sample string 16",
  "UserId": 1
}

application/xml, text/xml

Sample:
<Api.UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyGroupAPI.Models">
  <ApiUser>true</ApiUser>
  <CityId>1</CityId>
  <CountryCode>sample string 16</CountryCode>
  <CountryId>1</CountryId>
  <CreatedAt>2026-01-07T12:08:22.6433294+05:30</CreatedAt>
  <Email>sample string 4</Email>
  <FcmToken>sample string 11</FcmToken>
  <IsLogin>true</IsLogin>
  <IsVerified>true</IsVerified>
  <LoginTimestamp>2026-01-07T12:08:22.6433294+05:30</LoginTimestamp>
  <Name>sample string 1</Name>
  <ParentId>1</ParentId>
  <Password>sample string 3</Password>
  <Platform>sample string 13</Platform>
  <RoleId>7</RoleId>
  <StateId>1</StateId>
  <Status>true</Status>
  <Token>sample string 14</Token>
  <UpdatedAt>2026-01-07T12:08:22.6433294+05:30</UpdatedAt>
  <UserId>1</UserId>
  <Username>sample string 2</Username>
  <WatchlistCount>1</WatchlistCount>
  <email_otp>1</email_otp>
  <email_otp_timestamp>2026-01-07T12:08:22.6433294+05:30</email_otp_timestamp>
  <mobile_otp>1</mobile_otp>
  <mobile_otp_timestamp>2026-01-07T12:08:22.6433294+05:30</mobile_otp_timestamp>
  <mobilenumber>sample string 15</mobilenumber>
</Api.UserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.