POST api/User/Edit

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional 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": "e2efbad2-ae58-41ae-a931-1178e00a7674",
    "Email": "sample string 2",
    "Password": "sample string 3",
    "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
    "CreatedBy": "4806a4b9-adbd-4e97-8bc6-2d6e552f8ddd",
    "EditedDate": "2026-07-16T06:00:19.949139-05:00",
    "EditedBy": "a159e760-f3ad-428d-a748-6ccf7c4b51cf",
    "IsActive": true,
    "IsDelete": true,
    "response": {
      "Error": "sample string 1",
      "Success": "sample string 2"
    }
  },
  "UserDetails": [
    {
      "UserDetailId": "9f4bf6ee-cb5b-42d1-86cd-39a990464850",
      "UserId": "abba42aa-0bdc-4441-87e9-6ca7690720cd",
      "MetaKey": "sample string 3",
      "MetaValue": "sample string 4",
      "CreatedBy": "02d48de7-da38-45bd-b211-ddbe42bfc9fe",
      "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
      "EditedBy": "7c5b64fa-f7e3-4f18-b861-13662e90b61b",
      "EditedDate": "2026-07-16T06:00:19.949139-05:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "UserDetailId": "9f4bf6ee-cb5b-42d1-86cd-39a990464850",
      "UserId": "abba42aa-0bdc-4441-87e9-6ca7690720cd",
      "MetaKey": "sample string 3",
      "MetaValue": "sample string 4",
      "CreatedBy": "02d48de7-da38-45bd-b211-ddbe42bfc9fe",
      "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
      "EditedBy": "7c5b64fa-f7e3-4f18-b861-13662e90b61b",
      "EditedDate": "2026-07-16T06:00:19.949139-05:00",
      "IsActive": true,
      "IsDelete": true
    }
  ],
  "response": {
    "Error": "sample string 1",
    "Success": "sample string 2"
  },
  "UserPermissions": [
    {
      "UserPermissionId": "02cfffa5-6bd7-40fa-8903-38bfda8637b9",
      "RoleId": 2,
      "UserId": "db082a69-e23e-42de-a173-f8141c03ea51",
      "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": "a793113f-1916-4b3a-8b1d-43d1ef62a1ce",
        "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
        "EditedBy": "bdd55e80-bd55-48da-affc-4f4c7e401df3",
        "EditedDate": "2026-07-16T06:00:19.949139-05:00",
        "IsActive": true,
        "IsDelete": true
      },
      "CreatedBy": "d7baec0f-a3ba-4f50-b971-560a08baadec",
      "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
      "EditedBy": "115632d5-20e9-43cf-b2c1-345245ef838f",
      "EditedDate": "2026-07-16T06:00:19.949139-05:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "UserPermissionId": "02cfffa5-6bd7-40fa-8903-38bfda8637b9",
      "RoleId": 2,
      "UserId": "db082a69-e23e-42de-a173-f8141c03ea51",
      "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": "a793113f-1916-4b3a-8b1d-43d1ef62a1ce",
        "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
        "EditedBy": "bdd55e80-bd55-48da-affc-4f4c7e401df3",
        "EditedDate": "2026-07-16T06:00:19.949139-05:00",
        "IsActive": true,
        "IsDelete": true
      },
      "CreatedBy": "d7baec0f-a3ba-4f50-b971-560a08baadec",
      "CreatedDate": "2026-07-16T06:00:19.949139-05:00",
      "EditedBy": "115632d5-20e9-43cf-b2c1-345245ef838f",
      "EditedDate": "2026-07-16T06:00:19.949139-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>02d48de7-da38-45bd-b211-ddbe42bfc9fe</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
      <d2p1:EditedBy>7c5b64fa-f7e3-4f18-b861-13662e90b61b</d2p1:EditedBy>
      <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>9f4bf6ee-cb5b-42d1-86cd-39a990464850</d2p1:UserDetailId>
      <d2p1:UserId>abba42aa-0bdc-4441-87e9-6ca7690720cd</d2p1:UserId>
    </d2p1:UserDetail>
    <d2p1:UserDetail>
      <d2p1:CreatedBy>02d48de7-da38-45bd-b211-ddbe42bfc9fe</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
      <d2p1:EditedBy>7c5b64fa-f7e3-4f18-b861-13662e90b61b</d2p1:EditedBy>
      <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>9f4bf6ee-cb5b-42d1-86cd-39a990464850</d2p1:UserDetailId>
      <d2p1:UserId>abba42aa-0bdc-4441-87e9-6ca7690720cd</d2p1:UserId>
    </d2p1:UserDetail>
  </UserDetails>
  <UserObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
    <d2p1:CreatedBy>4806a4b9-adbd-4e97-8bc6-2d6e552f8ddd</d2p1:CreatedBy>
    <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
    <d2p1:EditedBy>a159e760-f3ad-428d-a748-6ccf7c4b51cf</d2p1:EditedBy>
    <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>e2efbad2-ae58-41ae-a931-1178e00a7674</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>d7baec0f-a3ba-4f50-b971-560a08baadec</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
      <d2p1:EditedBy>115632d5-20e9-43cf-b2c1-345245ef838f</d2p1:EditedBy>
      <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>a793113f-1916-4b3a-8b1d-43d1ef62a1ce</d2p1:CreatedBy>
        <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
        <d2p1:EditedBy>bdd55e80-bd55-48da-affc-4f4c7e401df3</d2p1:EditedBy>
        <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>db082a69-e23e-42de-a173-f8141c03ea51</d2p1:UserId>
      <d2p1:UserPermissionId>02cfffa5-6bd7-40fa-8903-38bfda8637b9</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>d7baec0f-a3ba-4f50-b971-560a08baadec</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
      <d2p1:EditedBy>115632d5-20e9-43cf-b2c1-345245ef838f</d2p1:EditedBy>
      <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>a793113f-1916-4b3a-8b1d-43d1ef62a1ce</d2p1:CreatedBy>
        <d2p1:CreatedDate>2026-07-16T06:00:19.949139-05:00</d2p1:CreatedDate>
        <d2p1:EditedBy>bdd55e80-bd55-48da-affc-4f4c7e401df3</d2p1:EditedBy>
        <d2p1:EditedDate>2026-07-16T06:00:19.949139-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>db082a69-e23e-42de-a173-f8141c03ea51</d2p1:UserId>
      <d2p1:UserPermissionId>02cfffa5-6bd7-40fa-8903-38bfda8637b9</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.