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": "d5d38a96-ac04-4c69-946c-c90753a24981",
"Email": "sample string 2",
"Password": "sample string 3",
"CreatedDate": "2026-09-14T05:53:14.8616312-05:00",
"CreatedBy": "0f6343b2-1e99-4687-b76f-385704afef46",
"EditedDate": "2026-09-14T05:53:14.8616312-05:00",
"EditedBy": "3eac8e6a-9401-43c9-b4b2-0a3af08b3f2f",
"IsActive": true,
"IsDelete": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
}
},
"UserDetails": [
{
"UserDetailId": "ebc81cf8-373c-4b7e-bd12-71dfbcd7a1ab",
"UserId": "e4be63c0-6928-4b2a-a864-22452c0bc8a3",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "618237ac-641f-4151-9e4e-b9c3f1587bd0",
"CreatedDate": "2026-09-14T05:53:14.8626322-05:00",
"EditedBy": "89ee452a-28cf-49a5-9127-2bbac8365b74",
"EditedDate": "2026-09-14T05:53:14.8626322-05:00",
"IsActive": true,
"IsDelete": true
},
{
"UserDetailId": "ebc81cf8-373c-4b7e-bd12-71dfbcd7a1ab",
"UserId": "e4be63c0-6928-4b2a-a864-22452c0bc8a3",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "618237ac-641f-4151-9e4e-b9c3f1587bd0",
"CreatedDate": "2026-09-14T05:53:14.8626322-05:00",
"EditedBy": "89ee452a-28cf-49a5-9127-2bbac8365b74",
"EditedDate": "2026-09-14T05:53:14.8626322-05:00",
"IsActive": true,
"IsDelete": true
}
],
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"UserPermissions": [
{
"UserPermissionId": "86cf11cd-b1ad-436d-aa1d-ab0b25bea44f",
"RoleId": 2,
"UserId": "7fb36a6f-be15-4c2b-8e63-def5df96a11d",
"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": "e59ceaa5-1719-4f5e-b088-efd02808b8ca",
"CreatedDate": "2026-09-14T05:53:14.8626322-05:00",
"EditedBy": "36b4e19f-d077-4fa2-b418-304b4d0c5582",
"EditedDate": "2026-09-14T05:53:14.8626322-05:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "8137e72e-c145-47d8-8481-1ef237639a00",
"CreatedDate": "2026-09-14T05:53:14.8626322-05:00",
"EditedBy": "55f36817-2bd3-4ac1-8374-37270ec0b31a",
"EditedDate": "2026-09-14T05:53:14.8626322-05:00",
"IsActive": true,
"IsDelete": true
},
{
"UserPermissionId": "86cf11cd-b1ad-436d-aa1d-ab0b25bea44f",
"RoleId": 2,
"UserId": "7fb36a6f-be15-4c2b-8e63-def5df96a11d",
"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": "e59ceaa5-1719-4f5e-b088-efd02808b8ca",
"CreatedDate": "2026-09-14T05:53:14.8626322-05:00",
"EditedBy": "36b4e19f-d077-4fa2-b418-304b4d0c5582",
"EditedDate": "2026-09-14T05:53:14.8626322-05:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "8137e72e-c145-47d8-8481-1ef237639a00",
"CreatedDate": "2026-09-14T05:53:14.8626322-05:00",
"EditedBy": "55f36817-2bd3-4ac1-8374-37270ec0b31a",
"EditedDate": "2026-09-14T05:53:14.8626322-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>618237ac-641f-4151-9e4e-b9c3f1587bd0</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8626322-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>89ee452a-28cf-49a5-9127-2bbac8365b74</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8626322-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>ebc81cf8-373c-4b7e-bd12-71dfbcd7a1ab</d2p1:UserDetailId>
<d2p1:UserId>e4be63c0-6928-4b2a-a864-22452c0bc8a3</d2p1:UserId>
</d2p1:UserDetail>
<d2p1:UserDetail>
<d2p1:CreatedBy>618237ac-641f-4151-9e4e-b9c3f1587bd0</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8626322-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>89ee452a-28cf-49a5-9127-2bbac8365b74</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8626322-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>ebc81cf8-373c-4b7e-bd12-71dfbcd7a1ab</d2p1:UserDetailId>
<d2p1:UserId>e4be63c0-6928-4b2a-a864-22452c0bc8a3</d2p1:UserId>
</d2p1:UserDetail>
</UserDetails>
<UserObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:CreatedBy>0f6343b2-1e99-4687-b76f-385704afef46</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8616312-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>3eac8e6a-9401-43c9-b4b2-0a3af08b3f2f</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8616312-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>d5d38a96-ac04-4c69-946c-c90753a24981</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>8137e72e-c145-47d8-8481-1ef237639a00</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8626322-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>55f36817-2bd3-4ac1-8374-37270ec0b31a</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8626322-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>e59ceaa5-1719-4f5e-b088-efd02808b8ca</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8626322-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>36b4e19f-d077-4fa2-b418-304b4d0c5582</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8626322-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>7fb36a6f-be15-4c2b-8e63-def5df96a11d</d2p1:UserId>
<d2p1:UserPermissionId>86cf11cd-b1ad-436d-aa1d-ab0b25bea44f</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>8137e72e-c145-47d8-8481-1ef237639a00</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8626322-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>55f36817-2bd3-4ac1-8374-37270ec0b31a</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8626322-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>e59ceaa5-1719-4f5e-b088-efd02808b8ca</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-09-14T05:53:14.8626322-05:00</d2p1:CreatedDate>
<d2p1:EditedBy>36b4e19f-d077-4fa2-b418-304b4d0c5582</d2p1:EditedBy>
<d2p1:EditedDate>2026-09-14T05:53:14.8626322-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>7fb36a6f-be15-4c2b-8e63-def5df96a11d</d2p1:UserId>
<d2p1:UserPermissionId>86cf11cd-b1ad-436d-aa1d-ab0b25bea44f</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.