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": "21a98003-3363-4845-9f2e-13f1adf7b795",
"Email": "sample string 2",
"Password": "sample string 3",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"CreatedBy": "6b54c1fa-20e4-4316-8412-ae0abe75765c",
"EditedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "bc8a4f2d-fb74-4fa8-854a-d58e578abace",
"IsActive": true,
"IsDelete": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
}
},
"UserDetails": [
{
"UserDetailId": "620124f5-d7e7-4e8e-a996-bb6dacf971d8",
"UserId": "c31608be-e815-4cad-bd5a-5d44afc0d8fe",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "7a288423-d711-47ea-9060-4e1b07d5b904",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "c92a8760-b7aa-4c98-81d2-fb8d4c1376ac",
"EditedDate": "2026-02-01T08:57:30.3394556-06:00",
"IsActive": true,
"IsDelete": true
},
{
"UserDetailId": "620124f5-d7e7-4e8e-a996-bb6dacf971d8",
"UserId": "c31608be-e815-4cad-bd5a-5d44afc0d8fe",
"MetaKey": "sample string 3",
"MetaValue": "sample string 4",
"CreatedBy": "7a288423-d711-47ea-9060-4e1b07d5b904",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "c92a8760-b7aa-4c98-81d2-fb8d4c1376ac",
"EditedDate": "2026-02-01T08:57:30.3394556-06:00",
"IsActive": true,
"IsDelete": true
}
],
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"UserPermissions": [
{
"UserPermissionId": "c932f23d-bd8b-4105-b922-e2d71a25b8b3",
"RoleId": 2,
"UserId": "9a97a229-6288-4cf7-ba33-8bb0e42514b0",
"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": "6f5742c9-9e83-46d6-8a3f-4b7182d8160e",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "00b6432a-6423-464d-be70-052f26b2d258",
"EditedDate": "2026-02-01T08:57:30.3394556-06:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "71affc83-23c6-4453-b26b-cceb6b91826e",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "d764b67c-66d4-4c2c-b0ad-d944419f7590",
"EditedDate": "2026-02-01T08:57:30.3394556-06:00",
"IsActive": true,
"IsDelete": true
},
{
"UserPermissionId": "c932f23d-bd8b-4105-b922-e2d71a25b8b3",
"RoleId": 2,
"UserId": "9a97a229-6288-4cf7-ba33-8bb0e42514b0",
"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": "6f5742c9-9e83-46d6-8a3f-4b7182d8160e",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "00b6432a-6423-464d-be70-052f26b2d258",
"EditedDate": "2026-02-01T08:57:30.3394556-06:00",
"IsActive": true,
"IsDelete": true
},
"CreatedBy": "71affc83-23c6-4453-b26b-cceb6b91826e",
"CreatedDate": "2026-02-01T08:57:30.3394556-06:00",
"EditedBy": "d764b67c-66d4-4c2c-b0ad-d944419f7590",
"EditedDate": "2026-02-01T08:57:30.3394556-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>7a288423-d711-47ea-9060-4e1b07d5b904</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>c92a8760-b7aa-4c98-81d2-fb8d4c1376ac</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>620124f5-d7e7-4e8e-a996-bb6dacf971d8</d2p1:UserDetailId>
<d2p1:UserId>c31608be-e815-4cad-bd5a-5d44afc0d8fe</d2p1:UserId>
</d2p1:UserDetail>
<d2p1:UserDetail>
<d2p1:CreatedBy>7a288423-d711-47ea-9060-4e1b07d5b904</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>c92a8760-b7aa-4c98-81d2-fb8d4c1376ac</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>620124f5-d7e7-4e8e-a996-bb6dacf971d8</d2p1:UserDetailId>
<d2p1:UserId>c31608be-e815-4cad-bd5a-5d44afc0d8fe</d2p1:UserId>
</d2p1:UserDetail>
</UserDetails>
<UserObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:CreatedBy>6b54c1fa-20e4-4316-8412-ae0abe75765c</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>bc8a4f2d-fb74-4fa8-854a-d58e578abace</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>21a98003-3363-4845-9f2e-13f1adf7b795</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>71affc83-23c6-4453-b26b-cceb6b91826e</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>d764b67c-66d4-4c2c-b0ad-d944419f7590</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>6f5742c9-9e83-46d6-8a3f-4b7182d8160e</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>00b6432a-6423-464d-be70-052f26b2d258</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>9a97a229-6288-4cf7-ba33-8bb0e42514b0</d2p1:UserId>
<d2p1:UserPermissionId>c932f23d-bd8b-4105-b922-e2d71a25b8b3</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>71affc83-23c6-4453-b26b-cceb6b91826e</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>d764b67c-66d4-4c2c-b0ad-d944419f7590</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>6f5742c9-9e83-46d6-8a3f-4b7182d8160e</d2p1:CreatedBy>
<d2p1:CreatedDate>2026-02-01T08:57:30.3394556-06:00</d2p1:CreatedDate>
<d2p1:EditedBy>00b6432a-6423-464d-be70-052f26b2d258</d2p1:EditedBy>
<d2p1:EditedDate>2026-02-01T08:57:30.3394556-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>9a97a229-6288-4cf7-ba33-8bb0e42514b0</d2p1:UserId>
<d2p1:UserPermissionId>c932f23d-bd8b-4105-b922-e2d71a25b8b3</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.