PUT v1/user/{id}
Update user profile
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
User id |
decimal number |
Required |
Body Parameters
User detail object
AppUserMasterModelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
User ID |
decimal number |
None. |
| Name |
User's full name |
string |
Required |
|
User email address |
string |
None. |
|
| ProfilePicture |
Profile picture detail |
AppAttachmentRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1.0,
"Name": "sample string 2",
"EMail": "sample string 3",
"ProfilePicture": {
"FileName": "sample string 1",
"ContentType": "sample string 2",
"FileContents": "sample string 3",
"ImageType": "sample string 4"
}
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponseOfAppUserMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | AppUserMaster |
None. |
|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Errors |
Errors occures while processing request |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"Id": 1.0,
"Name": "sample string 2",
"UserName": "sample string 3",
"Email": "sample string 4",
"UserType": 0,
"ParentUserId": 5.0,
"ParentUserName": "sample string 6",
"PracticeId": 7.0,
"PracticeName": "sample string 8",
"PracticeType": "sample string 9",
"PictureUrl": "http://127.0.0.1:10000/devstoreaccount1/sample string 10",
"PictureThumbUrl": "http://127.0.0.1:10000/devstoreaccount1/sample string 11",
"Companies": [
{
"Id": 3.0,
"Name": "sample string 4",
"CompanyType": "sample string 5"
},
{
"Id": 3.0,
"Name": "sample string 4",
"CompanyType": "sample string 5"
}
],
"IsAppAccess": true,
"IsActive": true,
"IsDelete": 64
},
"Status": true,
"Message": "sample string 2",
"Errors": [
{
"Number": 1,
"Message": "sample string 2",
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
},
{
"Number": 1,
"Message": "sample string 2",
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}
]
}