POST api/User/Save?accountId={accountId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | string |
Required |
Body Parameters
UserViewModelName | Description | Type | Additional information |
---|---|---|---|
ParentAccountId | string |
None. |
|
UserAccountAndRoleAccess | Collection of UserAccountAndRoleAccessViewModel |
None. |
|
ProfilePicPath | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Title | string |
None. |
|
MobileNumber | string |
Required |
|
string |
Required |
||
PasswordSummary | Collection of PasswordSummaryViewModel |
None. |
|
AddressSummary | AddressSummaryViewModel |
None. |
|
TransferRoleSumary | Collection of TransferRoleViewModel |
None. |
|
IsMobileAppInstalled | boolean |
None. |
|
TeamsSummary | Collection of TeamsSummaryViewModel |
None. |
|
IsUseDayLightSaving | boolean |
None. |
|
IsPrimary | boolean |
None. |
|
NeedToCheckFirstLoginAfterMigration | boolean |
None. |
|
HasV1Account | boolean |
None. |
|
Website | string |
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:
{ "ParentAccountId": "sample string 1", "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 } ], "ProfilePicPath": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Title": "sample string 5", "MobileNumber": "sample string 6", "Email": "sample string 7", "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" ] } ], "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" }, "TransferRoleSumary": [ { "Id": "sample string 1", "TransferredDate": "2024-11-21T08:49:16.3885309+00:00", "TransferredByUserId": "sample string 3", "TransferredRoleId": "sample string 4" }, { "Id": "sample string 1", "TransferredDate": "2024-11-21T08:49:16.3885309+00:00", "TransferredByUserId": "sample string 3", "TransferredRoleId": "sample string 4" } ], "IsMobileAppInstalled": true, "TeamsSummary": [ { "Id": "sample string 1", "TeamId": "sample string 2", "CreatedDate": "2024-11-21T08:49:16.3885309+00:00" }, { "Id": "sample string 1", "TeamId": "sample string 2", "CreatedDate": "2024-11-21T08:49:16.3885309+00:00" } ], "IsUseDayLightSaving": true, "IsPrimary": true, "NeedToCheckFirstLoginAfterMigration": true, "HasV1Account": true, "Website": "sample string 13", "Id": "sample string 14", "CreatedDate": "2024-11-21T08:49:16.3885309+00:00", "UpdatedDate": "2024-11-21T08:49:16.3885309+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:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <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-21T08:49:16.3885309+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-21T08:49:16.3885309+00:00</UpdatedDate> <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> <Email>sample string 7</Email> <FirstName>sample string 3</FirstName> <HasV1Account>true</HasV1Account> <IsMobileAppInstalled>true</IsMobileAppInstalled> <IsPrimary>true</IsPrimary> <IsUseDayLightSaving>true</IsUseDayLightSaving> <LastName>sample string 4</LastName> <MobileNumber>sample string 6</MobileNumber> <NeedToCheckFirstLoginAfterMigration>true</NeedToCheckFirstLoginAfterMigration> <ParentAccountId>sample string 1</ParentAccountId> <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> <ProfilePicPath>sample string 2</ProfilePicPath> <TeamsSummary> <TeamsSummaryViewModel> <CreatedDate>2024-11-21T08:49:16.3885309+00:00</CreatedDate> <Id>sample string 1</Id> <TeamId>sample string 2</TeamId> </TeamsSummaryViewModel> <TeamsSummaryViewModel> <CreatedDate>2024-11-21T08:49:16.3885309+00:00</CreatedDate> <Id>sample string 1</Id> <TeamId>sample string 2</TeamId> </TeamsSummaryViewModel> </TeamsSummary> <Title>sample string 5</Title> <TransferRoleSumary> <TransferRoleViewModel> <Id>sample string 1</Id> <TransferredByUserId>sample string 3</TransferredByUserId> <TransferredDate>2024-11-21T08:49:16.3885309+00:00</TransferredDate> <TransferredRoleId>sample string 4</TransferredRoleId> </TransferRoleViewModel> <TransferRoleViewModel> <Id>sample string 1</Id> <TransferredByUserId>sample string 3</TransferredByUserId> <TransferredDate>2024-11-21T08:49:16.3885309+00:00</TransferredDate> <TransferredRoleId>sample string 4</TransferredRoleId> </TransferRoleViewModel> </TransferRoleSumary> <UserAccountAndRoleAccess> <UserAccountAndRoleAccessViewModel> <Action>Add</Action> <AssignmentEligible>true</AssignmentEligible> <Id>sample string 1</Id> <ParentAccountId>sample string 2</ParentAccountId> <RoleId>sample string 4</RoleId> <SubAccountId>sample string 3</SubAccountId> </UserAccountAndRoleAccessViewModel> <UserAccountAndRoleAccessViewModel> <Action>Add</Action> <AssignmentEligible>true</AssignmentEligible> <Id>sample string 1</Id> <ParentAccountId>sample string 2</ParentAccountId> <RoleId>sample string 4</RoleId> <SubAccountId>sample string 3</SubAccountId> </UserAccountAndRoleAccessViewModel> </UserAccountAndRoleAccess> <Website>sample string 13</Website> </UserViewModel>
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.