POST api/User/SaveUserDetails

Request Information

URI Parameters

None.

Body Parameters

UserDetailsViewModel
NameDescriptionTypeAdditional information
UserAccountAndRoleAccess

Collection of UserAccountAndRoleAccessViewModel

None.

ProfilePic

string

None.

FirstName

string

None.

LastName

string

None.

Title

string

None.

MobileNumber

string

Required

Email

string

Required

AddressSummary

AddressSummaryViewModel

None.

PasswordSummary

Collection of PasswordSummaryViewModel

None.

IsMobileAppInstalled

boolean

None.

TeamIds

Collection of string

None.

IsUseDayLightSaving

boolean

None.

AccountId

string

Required

Language

string

None.

Authentication

TwoFactorAuthentication

None.

IsPrimary

boolean

None.

Website

string

None.

IsActive

boolean

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserAccountAndRoleAccess": [
    {
      "Id": "sample string 1",
      "ParentAccountId": "sample string 2",
      "SubAccountId": "sample string 3",
      "RoleId": "sample string 4",
      "Action": "Add",
      "AssignmentEligible": true
    },
    {
      "Id": "sample string 1",
      "ParentAccountId": "sample string 2",
      "SubAccountId": "sample string 3",
      "RoleId": "sample string 4",
      "Action": "Add",
      "AssignmentEligible": true
    }
  ],
  "ProfilePic": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Title": "sample string 4",
  "MobileNumber": "sample string 5",
  "Email": "sample string 6",
  "AddressSummary": {
    "UserCulture": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "StateId": "sample string 5",
    "CountryId": "sample string 6",
    "ZipCode": "sample string 7",
    "TimeZoneId": "sample string 8",
    "RegionId": "sample string 9",
    "CountryName": "sample string 10",
    "StateName": "sample string 11"
  },
  "PasswordSummary": [
    {
      "Password": "sample string 1",
      "PasswordGeneratedBy": "SystemDefined",
      "PasswordSendLogIds": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Password": "sample string 1",
      "PasswordGeneratedBy": "SystemDefined",
      "PasswordSendLogIds": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "IsMobileAppInstalled": true,
  "TeamIds": [
    "sample string 1",
    "sample string 2"
  ],
  "IsUseDayLightSaving": true,
  "AccountId": "sample string 9",
  "Language": "sample string 10",
  "Authentication": "None",
  "IsPrimary": true,
  "Website": "sample string 12",
  "IsActive": true,
  "Id": "sample string 14",
  "CreatedDate": "2024-11-21T09:01:15.1275221+00:00",
  "UpdatedDate": "2024-11-21T09:01:15.1275221+00:00",
  "CreatedBy": "sample string 17",
  "UpdatedBy": "sample string 18",
  "CreatedByUserId": "sample string 19",
  "UpdatedByUserId": "sample string 20",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<UserDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 17</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 19</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T09:01:15.1275221+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 14</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 18</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 20</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T09:01:15.1275221+00:00</UpdatedDate>
  <AccountId>sample string 9</AccountId>
  <AddressSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Common">
    <d2p1:Address1>sample string 2</d2p1:Address1>
    <d2p1:Address2>sample string 3</d2p1:Address2>
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:CountryId>sample string 6</d2p1:CountryId>
    <d2p1:CountryName>sample string 10</d2p1:CountryName>
    <d2p1:RegionId>sample string 9</d2p1:RegionId>
    <d2p1:StateId>sample string 5</d2p1:StateId>
    <d2p1:StateName>sample string 11</d2p1:StateName>
    <d2p1:TimeZoneId>sample string 8</d2p1:TimeZoneId>
    <d2p1:UserCulture>sample string 1</d2p1:UserCulture>
    <d2p1:ZipCode>sample string 7</d2p1:ZipCode>
  </AddressSummary>
  <Authentication>None</Authentication>
  <Email>sample string 6</Email>
  <FirstName>sample string 2</FirstName>
  <IsActive>true</IsActive>
  <IsMobileAppInstalled>true</IsMobileAppInstalled>
  <IsPrimary>true</IsPrimary>
  <IsUseDayLightSaving>true</IsUseDayLightSaving>
  <Language>sample string 10</Language>
  <LastName>sample string 3</LastName>
  <MobileNumber>sample string 5</MobileNumber>
  <PasswordSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.CommonModel">
    <d2p1:PasswordSummaryViewModel>
      <d2p1:Password>sample string 1</d2p1:Password>
      <d2p1:PasswordGeneratedBy>SystemDefined</d2p1:PasswordGeneratedBy>
      <d2p1:PasswordSendLogIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:PasswordSendLogIds>
    </d2p1:PasswordSummaryViewModel>
    <d2p1:PasswordSummaryViewModel>
      <d2p1:Password>sample string 1</d2p1:Password>
      <d2p1:PasswordGeneratedBy>SystemDefined</d2p1:PasswordGeneratedBy>
      <d2p1:PasswordSendLogIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:PasswordSendLogIds>
    </d2p1:PasswordSummaryViewModel>
  </PasswordSummary>
  <ProfilePic>sample string 1</ProfilePic>
  <TeamIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TeamIds>
  <Title>sample string 4</Title>
  <UserAccountAndRoleAccess xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
    <d2p1:UserAccountAndRoleAccessViewModel>
      <d2p1:Action>Add</d2p1:Action>
      <d2p1:AssignmentEligible>true</d2p1:AssignmentEligible>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:ParentAccountId>sample string 2</d2p1:ParentAccountId>
      <d2p1:RoleId>sample string 4</d2p1:RoleId>
      <d2p1:SubAccountId>sample string 3</d2p1:SubAccountId>
    </d2p1:UserAccountAndRoleAccessViewModel>
    <d2p1:UserAccountAndRoleAccessViewModel>
      <d2p1:Action>Add</d2p1:Action>
      <d2p1:AssignmentEligible>true</d2p1:AssignmentEligible>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:ParentAccountId>sample string 2</d2p1:ParentAccountId>
      <d2p1:RoleId>sample string 4</d2p1:RoleId>
      <d2p1:SubAccountId>sample string 3</d2p1:SubAccountId>
    </d2p1:UserAccountAndRoleAccessViewModel>
  </UserAccountAndRoleAccess>
  <Website>sample string 12</Website>
</UserDetailsViewModel>

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.