POST api/UserProfile/Update
Update User Details using UserProfile Model
Request Information
URI Parameters
None.
Body Parameters
User Profile Model
mlUserProfileName | description | Type | Additional information |
---|---|---|---|
UserSysId | integer |
None. |
|
UserId | string |
None. |
|
UserName | string |
None. |
|
FullName | string |
None. |
|
Password | string |
None. |
|
Gender | string |
None. |
|
DOB | string |
None. |
|
Salary | decimal number |
None. |
|
JoinDate | string |
None. |
|
RoleSysId | integer |
None. |
|
BranchSysId | integer |
None. |
|
Contact | mlCommunicationDetails |
None. |
|
Locked | mlLockedDetails |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | string |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | string |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CreatedBy": "sample string 12", "CreatedDate": "sample string 13", "IsDeleted": true, "UpdatedBy": "sample string 14", "UpdatedDate": "sample string 15", "BranchSysId": 11, "Contact": { "Address1": "sample string 1", "Address2": "sample string 2", "AlternateMobile": "sample string 10", "City": "sample string 3", "Country": "sample string 4", "District": "sample string 6", "Email": "sample string 11", "Mobile": "sample string 9", "Phone": "sample string 8", "Pincode": "sample string 7", "State": "sample string 5" }, "DOB": "sample string 7", "FullName": "sample string 4", "Gender": "sample string 6", "JoinDate": "sample string 9", "Locked": { "IsLocked": true, "LockedBy": "sample string 1", "LockedDate": "sample string 2", "LockedReason": "sample string 3" }, "Password": "sample string 5", "RoleSysId": 10, "Salary": 8, "UserId": "sample string 2", "UserName": "sample string 3", "UserSysId": 1 }
application/xml, text/xml
Sample:
<mlUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Admin"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 12</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 13</CreatedDate> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">true</IsDeleted> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 14</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common">sample string 15</UpdatedDate> <BranchSysId>11</BranchSysId> <Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common"> <d2p1:Address1>sample string 1</d2p1:Address1> <d2p1:Address2>sample string 2</d2p1:Address2> <d2p1:AlternateMobile>sample string 10</d2p1:AlternateMobile> <d2p1:City>sample string 3</d2p1:City> <d2p1:Country>sample string 4</d2p1:Country> <d2p1:District>sample string 6</d2p1:District> <d2p1:Email>sample string 11</d2p1:Email> <d2p1:Mobile>sample string 9</d2p1:Mobile> <d2p1:Phone>sample string 8</d2p1:Phone> <d2p1:Pincode>sample string 7</d2p1:Pincode> <d2p1:State>sample string 5</d2p1:State> </Contact> <DOB>sample string 7</DOB> <FullName>sample string 4</FullName> <Gender>sample string 6</Gender> <JoinDate>sample string 9</JoinDate> <Locked xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Common"> <d2p1:IsLocked>true</d2p1:IsLocked> <d2p1:LockedBy>sample string 1</d2p1:LockedBy> <d2p1:LockedDate>sample string 2</d2p1:LockedDate> <d2p1:LockedReason>sample string 3</d2p1:LockedReason> </Locked> <Password>sample string 5</Password> <RoleSysId>10</RoleSysId> <Salary>8</Salary> <UserId>sample string 2</UserId> <UserName>sample string 3</UserName> <UserSysId>1</UserSysId> </mlUserProfile>
response Information
Resource description
"User Profile Updated Successfully
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |