PUT api/user/update
Request Information
URI Parameters
None.
Body Parameters
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
Login | string |
None. |
|
Password | string |
None. |
|
string |
None. |
||
Name | string |
None. |
|
FirstLastName | string |
None. |
|
SecondLastName | string |
None. |
|
Photo | string |
None. |
|
RolId | integer |
None. |
|
Roles | Role |
None. |
|
CorrectorActorId | integer |
None. |
|
CorrectorActors | CorrectorActor |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "Login": "sample string 2", "Password": "sample string 3", "Email": "sample string 4", "Name": "sample string 5", "FirstLastName": "sample string 6", "SecondLastName": "sample string 7", "Photo": "sample string 8", "RolId": 9, "Roles": { "RolId": 1, "RolName": "sample string 2" }, "CorrectorActorId": 10, "CorrectorActors": { "ActorCorrectorId": 1, "Name": "sample string 2" } }
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MesaGrande.Common.Models"> <CorrectorActorId>10</CorrectorActorId> <CorrectorActors> <ActorCorrectorId>1</ActorCorrectorId> <Name>sample string 2</Name> </CorrectorActors> <Email>sample string 4</Email> <FirstLastName>sample string 6</FirstLastName> <Login>sample string 2</Login> <Name>sample string 5</Name> <Password>sample string 3</Password> <Photo>sample string 8</Photo> <RolId>9</RolId> <Roles> <RolId>1</RolId> <RolName>sample string 2</RolName> </Roles> <SecondLastName>sample string 7</SecondLastName> <UserId>1</UserId> </User>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.