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": "63a09c73-10a4-42b0-9369-3d5ee542ab33",
"Email": "sample string 2",
"Password": "sample string 3",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"CreatedBy": "2b3fc370-1ccb-494b-bc52-b178e78fe292",
"EditedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "5f6bc3a7-8260-45ba-aa09-ec0fe347a8be",
"IsActive": true,
"IsDelete": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
}
},
"UserDetails": [
{
"UserDetailId": "523b8848-7a81-465b-bab5-d1fd66aeea27",
"UserId": "ed7958cd-8b96-4b26-b3f4-7a8f604c41be",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "ae88cc62-f821-458c-911e-444d31c1b768",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "09243438-d9cd-49d0-96ef-99c417bff519",
"EditedDate": "2026-05-17T05:49:00.3658064-05:00",
"IsActive": true,
"IsDelete": true
},
{
"UserDetailId": "523b8848-7a81-465b-bab5-d1fd66aeea27",
"UserId": "ed7958cd-8b96-4b26-b3f4-7a8f604c41be",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "ae88cc62-f821-458c-911e-444d31c1b768",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "09243438-d9cd-49d0-96ef-99c417bff519",
"EditedDate": "2026-05-17T05:49:00.3658064-05:00",
"IsActive": true,
"IsDelete": true
}
],
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"UserPermissions": [
{
"UserPermissionId": "90f5da98-5036-4c3f-94dc-8bfbe7c9b80a",
"RoleId": 2,
"UserId": "c16a59e7-cdf8-453b-928c-29ac6ce588da",
"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": "0cfd8494-7eb9-457e-9d33-3b37510bb29b",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "7003555e-7ea3-4e95-b317-b9311416addd",
"EditedDate": "2026-05-17T05:49:00.3658064-05:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "ffc5dc30-2ca2-41ac-bb10-75dd3543e5a0",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "38b11bb0-b94e-41e4-8bd6-8b56e146c3b4",
"EditedDate": "2026-05-17T05:49:00.3658064-05:00",
"IsActive": true,
"IsDelete": true
},
{
"UserPermissionId": "90f5da98-5036-4c3f-94dc-8bfbe7c9b80a",
"RoleId": 2,
"UserId": "c16a59e7-cdf8-453b-928c-29ac6ce588da",
"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": "0cfd8494-7eb9-457e-9d33-3b37510bb29b",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "7003555e-7ea3-4e95-b317-b9311416addd",
"EditedDate": "2026-05-17T05:49:00.3658064-05:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "ffc5dc30-2ca2-41ac-bb10-75dd3543e5a0",
"CreatedDate": "2026-05-17T05:49:00.3658064-05:00",
"EditedBy": "38b11bb0-b94e-41e4-8bd6-8b56e146c3b4",
"EditedDate": "2026-05-17T05:49:00.3658064-05: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>ae88cc62-f821-458c-911e-444d31c1b768</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>09243438-d9cd-49d0-96ef-99c417bff519</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>523b8848-7a81-465b-bab5-d1fd66aeea27</d2p1:UserDetailId>
<d2p1:UserId>ed7958cd-8b96-4b26-b3f4-7a8f604c41be</d2p1:UserId>
</d2p1:UserDetail>
<d2p1:UserDetail>
<d2p1:CreatedBy>ae88cc62-f821-458c-911e-444d31c1b768</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>09243438-d9cd-49d0-96ef-99c417bff519</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>523b8848-7a81-465b-bab5-d1fd66aeea27</d2p1:UserDetailId>
<d2p1:UserId>ed7958cd-8b96-4b26-b3f4-7a8f604c41be</d2p1:UserId>
</d2p1:UserDetail>
</UserDetails>
<UserObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:CreatedBy>2b3fc370-1ccb-494b-bc52-b178e78fe292</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>5f6bc3a7-8260-45ba-aa09-ec0fe347a8be</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>63a09c73-10a4-42b0-9369-3d5ee542ab33</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>ffc5dc30-2ca2-41ac-bb10-75dd3543e5a0</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>38b11bb0-b94e-41e4-8bd6-8b56e146c3b4</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>0cfd8494-7eb9-457e-9d33-3b37510bb29b</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>7003555e-7ea3-4e95-b317-b9311416addd</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>c16a59e7-cdf8-453b-928c-29ac6ce588da</d2p1:UserId>
<d2p1:UserPermissionId>90f5da98-5036-4c3f-94dc-8bfbe7c9b80a</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>ffc5dc30-2ca2-41ac-bb10-75dd3543e5a0</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>38b11bb0-b94e-41e4-8bd6-8b56e146c3b4</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>0cfd8494-7eb9-457e-9d33-3b37510bb29b</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-05-17T05:49:00.3658064-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>7003555e-7ea3-4e95-b317-b9311416addd</d2p1:EditedBy>
<d2p1:EditedDate>2026-05-17T05:49:00.3658064-05: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>c16a59e7-cdf8-453b-928c-29ac6ce588da</d2p1:UserId>
<d2p1:UserPermissionId>90f5da98-5036-4c3f-94dc-8bfbe7c9b80a</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.