PUT api/user

Request Information

URI Parameters

None.

Body Parameters

UserJson
NameDescriptionTypeAdditional information
name

string

None.

email

string

None.

rg

string

None.

cpf

string

None.

dateBirth

date

None.

isAdmin

boolean

None.

phoneNumber

string

None.

company

string

None.

activity

string

None.

source

integer

None.

sourceText

string

None.

parentUserId

integer

None.

avatarBase64

string

None.

password

string

None.

confirmPassword

string

None.

remarks

string

None.

foreignIdentity

string

None.

countryId

integer

None.

state

string

None.

city

string

None.

comment

string

None.

postId

integer

None.

id

integer

None.

active

boolean

None.

userIns

string

None.

dateUtcIns

date

None.

userUpd

string

None.

dateUtcUpd

date

None.

dateUtcUpdIso8601

string

None.

dateUtcInsIso8601

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "email": "sample string 2",
  "rg": "sample string 3",
  "cpf": "sample string 4",
  "dateBirth": "2024-11-08T07:22:34.6587895+00:00",
  "isAdmin": true,
  "phoneNumber": "sample string 6",
  "company": "sample string 7",
  "activity": "sample string 8",
  "source": 1,
  "sourceText": "sample string 9",
  "parentUserId": 1,
  "avatarBase64": "sample string 10",
  "password": "sample string 11",
  "confirmPassword": "sample string 12",
  "remarks": "sample string 13",
  "foreignIdentity": "sample string 14",
  "countryId": 1,
  "state": "sample string 15",
  "city": "sample string 16",
  "comment": "sample string 17",
  "postId": 18,
  "id": 22,
  "active": true,
  "userIns": "sample string 24",
  "dateUtcIns": "2024-11-08T07:22:34.6587895+00:00",
  "userUpd": "sample string 25",
  "dateUtcUpd": "2024-11-08T07:22:34.6587895+00:00",
  "dateUtcUpdIso8601": "2024-11-08T07:22:34Z",
  "dateUtcInsIso8601": "2024-11-08T07:22:34Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.