POST api/User/Edit
Request Information
URI Parameters
None.
Body Parameters
UserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserObj | Users |
None. |
|
| UserDetails | Collection of UserDetail |
None. |
|
| response | Response |
None. |
|
| UserPermissions | Collection of UserPermission |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserObj": {
"UserId": "e8e96072-fe31-4985-82d1-eb7711dff81c",
"Email": "sample string 2",
"Password": "sample string 3",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"CreatedBy": "9b59999d-dcfd-4df8-bde0-25dcc934f9ca",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "a4c0347d-5072-49d9-9fb9-fbd093774dc7",
"IsActive": true,
"IsDelete": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
}
},
"UserDetails": [
{
"UserDetailId": "576be93d-d5b8-4243-992e-67c8c11d9099",
"UserId": "7a2c8acb-2d18-4bce-8f8c-ebe571c6fe97",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "46f1d2ca-8f4b-42c8-91aa-7935d2e7fcde",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "7a5d7d19-5791-4af9-af3b-c55397c0ef93",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"IsActive": true,
"IsDelete": true
},
{
"UserDetailId": "576be93d-d5b8-4243-992e-67c8c11d9099",
"UserId": "7a2c8acb-2d18-4bce-8f8c-ebe571c6fe97",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "46f1d2ca-8f4b-42c8-91aa-7935d2e7fcde",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "7a5d7d19-5791-4af9-af3b-c55397c0ef93",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"IsActive": true,
"IsDelete": true
}
],
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"UserPermissions": [
{
"UserPermissionId": "94bee28c-ea5f-4910-97a7-62ebec687c53",
"RoleId": 2,
"UserId": "208cee6c-452d-4750-9a47-1ad967bb84c5",
"CanAdd": true,
"CanEdit": true,
"CanView": true,
"CanDelete": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"Role": {
"RoleId": 1,
"RoleName": "sample string 2",
"LinkText": "sample string 3",
"LinkHref": "sample string 4",
"FontAwesomeIcon": "sample string 5",
"IsMenuPart": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "89cb65c4-570c-408d-a604-304b0f346ef4",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "73c75c0d-9d7c-4e42-a871-300e1a82ed59",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "057089b0-544c-4417-b31e-0cf54d65f56b",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "6b80dbac-134f-4d97-8266-55af3ecb7600",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"IsActive": true,
"IsDelete": true
},
{
"UserPermissionId": "94bee28c-ea5f-4910-97a7-62ebec687c53",
"RoleId": 2,
"UserId": "208cee6c-452d-4750-9a47-1ad967bb84c5",
"CanAdd": true,
"CanEdit": true,
"CanView": true,
"CanDelete": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"Role": {
"RoleId": 1,
"RoleName": "sample string 2",
"LinkText": "sample string 3",
"LinkHref": "sample string 4",
"FontAwesomeIcon": "sample string 5",
"IsMenuPart": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "89cb65c4-570c-408d-a604-304b0f346ef4",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "73c75c0d-9d7c-4e42-a871-300e1a82ed59",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "057089b0-544c-4417-b31e-0cf54d65f56b",
"CreatedDate": "2025-12-10T21:37:24.0444163-06:00",
"EditedBy": "6b80dbac-134f-4d97-8266-55af3ecb7600",
"EditedDate": "2025-12-10T21:37:24.0444163-06:00",
"IsActive": true,
"IsDelete": true
}
]
}
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.DataModel">
<UserDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:UserDetail>
<d2p1:CreatedBy>46f1d2ca-8f4b-42c8-91aa-7935d2e7fcde</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>7a5d7d19-5791-4af9-af3b-c55397c0ef93</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:MetaKey>sample string 3</d2p1:MetaKey>
<d2p1:MetaValue>sample string 4</d2p1:MetaValue>
<d2p1:UserDetailId>576be93d-d5b8-4243-992e-67c8c11d9099</d2p1:UserDetailId>
<d2p1:UserId>7a2c8acb-2d18-4bce-8f8c-ebe571c6fe97</d2p1:UserId>
</d2p1:UserDetail>
<d2p1:UserDetail>
<d2p1:CreatedBy>46f1d2ca-8f4b-42c8-91aa-7935d2e7fcde</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>7a5d7d19-5791-4af9-af3b-c55397c0ef93</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:MetaKey>sample string 3</d2p1:MetaKey>
<d2p1:MetaValue>sample string 4</d2p1:MetaValue>
<d2p1:UserDetailId>576be93d-d5b8-4243-992e-67c8c11d9099</d2p1:UserDetailId>
<d2p1:UserId>7a2c8acb-2d18-4bce-8f8c-ebe571c6fe97</d2p1:UserId>
</d2p1:UserDetail>
</UserDetails>
<UserObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:CreatedBy>9b59999d-dcfd-4df8-bde0-25dcc934f9ca</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>a4c0347d-5072-49d9-9fb9-fbd093774dc7</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:Email>sample string 2</d2p1:Email>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:Password>sample string 3</d2p1:Password>
<d2p1:UserId>e8e96072-fe31-4985-82d1-eb7711dff81c</d2p1:UserId>
<d2p1:response>
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</d2p1:response>
</UserObj>
<UserPermissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:UserPermission>
<d2p1:CreatedBy>057089b0-544c-4417-b31e-0cf54d65f56b</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>6b80dbac-134f-4d97-8266-55af3ecb7600</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:CanAdd>true</d2p1:CanAdd>
<d2p1:CanDelete>true</d2p1:CanDelete>
<d2p1:CanEdit>true</d2p1:CanEdit>
<d2p1:CanView>true</d2p1:CanView>
<d2p1:Role xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.Model">
<d2p1:CreatedBy>89cb65c4-570c-408d-a604-304b0f346ef4</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>73c75c0d-9d7c-4e42-a871-300e1a82ed59</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d4p1:FontAwesomeIcon>sample string 5</d4p1:FontAwesomeIcon>
<d4p1:IsMenuPart>true</d4p1:IsMenuPart>
<d4p1:LinkHref>sample string 4</d4p1:LinkHref>
<d4p1:LinkText>sample string 3</d4p1:LinkText>
<d4p1:RoleId>1</d4p1:RoleId>
<d4p1:RoleName>sample string 2</d4p1:RoleName>
<d4p1:response>
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</d4p1:response>
</d2p1:Role>
<d2p1:RoleId>2</d2p1:RoleId>
<d2p1:UserId>208cee6c-452d-4750-9a47-1ad967bb84c5</d2p1:UserId>
<d2p1:UserPermissionId>94bee28c-ea5f-4910-97a7-62ebec687c53</d2p1:UserPermissionId>
<d2p1:response>
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</d2p1:response>
</d2p1:UserPermission>
<d2p1:UserPermission>
<d2p1:CreatedBy>057089b0-544c-4417-b31e-0cf54d65f56b</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>6b80dbac-134f-4d97-8266-55af3ecb7600</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:CanAdd>true</d2p1:CanAdd>
<d2p1:CanDelete>true</d2p1:CanDelete>
<d2p1:CanEdit>true</d2p1:CanEdit>
<d2p1:CanView>true</d2p1:CanView>
<d2p1:Role xmlns:d4p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.Model">
<d2p1:CreatedBy>89cb65c4-570c-408d-a604-304b0f346ef4</d2p1:CreatedBy>
<d2p1:CreatedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>73c75c0d-9d7c-4e42-a871-300e1a82ed59</d2p1:EditedBy>
<d2p1:EditedDate>2025-12-10T21:37:24.0444163-06:00</d2p1:EditedDate>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d4p1:FontAwesomeIcon>sample string 5</d4p1:FontAwesomeIcon>
<d4p1:IsMenuPart>true</d4p1:IsMenuPart>
<d4p1:LinkHref>sample string 4</d4p1:LinkHref>
<d4p1:LinkText>sample string 3</d4p1:LinkText>
<d4p1:RoleId>1</d4p1:RoleId>
<d4p1:RoleName>sample string 2</d4p1:RoleName>
<d4p1:response>
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</d4p1:response>
</d2p1:Role>
<d2p1:RoleId>2</d2p1:RoleId>
<d2p1:UserId>208cee6c-452d-4750-9a47-1ad967bb84c5</d2p1:UserId>
<d2p1:UserPermissionId>94bee28c-ea5f-4910-97a7-62ebec687c53</d2p1:UserPermissionId>
<d2p1:response>
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</d2p1:response>
</d2p1:UserPermission>
</UserPermissions>
<response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</response>
</UserModel>
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.