POST api/User/SaveProfile
Request Information
URI Parameters
None.
Body Parameters
UserVmName | Description | Type | Additional information |
---|---|---|---|
User | AU_User_ItemSelectResult |
None. |
|
Roles | Collection of AU_UserRoles_ItemsResult |
None. |
|
UpdatePassword | boolean |
None. |
|
AutoGeneratePassword | boolean |
None. |
|
Html_Template | string |
None. |
|
AutoPassword | string |
None. |
|
AuthToken | string |
None. |
|
repo | DataRepository |
None. |
|
Id | integer |
None. |
|
ConnectionString | string |
None. |
|
ModelErrors | Collection of ModelErrorItem |
None. |
|
IsInError | boolean |
None. |
|
RecordCount | integer |
None. |
|
AllCriteria | AllCriteria |
None. |
Request Formats
application/json, text/json
Sample:
{ "User": { "UserId": 1, "PersonId": 1, "FullDisplayName": "sample string 2", "DisplayName": "sample string 3", "Title": "sample string 4", "Initials": "sample string 5", "FirstName": "sample string 6", "MiddleNames": "sample string 7", "Surname": "sample string 8", "EmailAddress": "sample string 9", "TelephoneHome": "sample string 10", "TelephoneWork": "sample string 11", "TelephoneMobile": "sample string 12", "IsEnabled": true, "LastLoginDate": "2024-11-26T17:28:25.8249782+02:00", "LoginCount": 1, "FailedLoginCount": 1, "ShortCode": "sample string 14", "CreatedDate": "2024-11-26T17:28:25.8249782+02:00", "CreatedBy": 16, "ModifiedDate": "2024-11-26T17:28:25.8249782+02:00", "ModifiedBy": 1, "IsDeleted": true, "NormalPassword": "sample string 18", "ConfirmPassword": "sample string 19" }, "Roles": [ { "UserId": 1, "RoleId": 1, "Code": "sample string 2", "Name": "sample string 3", "IsChecked": true }, { "UserId": 1, "RoleId": 1, "Code": "sample string 2", "Name": "sample string 3", "IsChecked": true } ], "UpdatePassword": true, "AutoGeneratePassword": true, "Html_Template": "sample string 3", "AutoPassword": "sample string 4", "AuthToken": "sample string 5", "repo": { "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" }, "EventRepo": { "ProgramId": null, "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "ChartRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "LogsRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "UserRepo": { "AdminLookup": null, "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "MenuRepo": { "Items": null, "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "MembershipRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "AdminRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "SystemRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "AccountRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "LoginRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "InvoiceRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "PaymentRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "ProviderRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } }, "LookupRepo": { "DataContext": { "CommandTimeout": null, "UserId": 0 }, "Id": 0, "SessionContext": { "ConnectionString": "sample string 1", "UserId": 2, "SessionId": "sample string 3", "AuthToken": "sample string 4" } } }, "Id": 1, "ConnectionString": "sample string 6", "ModelErrors": [ { "Key": "sample string 1", "Error": "sample string 2" }, { "Key": "sample string 1", "Error": "sample string 2" } ], "IsInError": true, "RecordCount": 1, "AllCriteria": { "AuthToken": "sample string 1", "Search": "sample string 2", "Page": 1, "PageSize": 1, "SortField": "sample string 3", "SortAscending": true, "IsActive": true, "EventId": 4, "DataStatusId": 1, "MembershipTypeId": 1, "TownId": 1, "ProvinceId": 1, "SpecialityId": 1, "CountryId": 1, "AreaOfPracticeId": 1, "ProfessionId": 1, "MemberListId": 1, "Members": "sample string 5", "MembersIds": "sample string 6", "PersonIds": "sample string 7", "MeetingId": 1, "IncludeFinancials": true, "PaymentSponsorId": 1, "IsSearchNetwork": true, "IsFdp": true, "FinancialQuery": "sample string 8", "MembershipExpiryQuery": "sample string 9", "PredefinedQuery": "sample string 10", "MemberReferenceId": 1, "MembershipTypeIds": "sample string 11", "ProfessionIds": "sample string 12", "AreaOfPracticeIds": "sample string 13", "TownIds": "sample string 14", "ProvinceIds": "sample string 15", "ServiceId": 1, "InvoiceStartDate": "2024-11-26T17:28:25.8249782+02:00", "InvoiceEndDate": "2024-11-26T17:28:25.8249782+02:00", "GenderId": 1, "MembershipNumber": 1, "MembershipInvoiceId": 1, "TimeDimType": "sample string 16", "TopX": 1, "GroupName": "sample string 17", "GroupCode": "sample string 18", "GroupDescription": "sample string 19", "Name": "sample string 20", "Code": "sample string 21", "CreatedDate": "2024-11-26T17:28:25.8249782+02:00" } }
application/xml, text/xml
Sample:
<UserVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.ViewModels.User"> <AllCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"> <d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId> <d2p1:AreaOfPracticeIds>sample string 13</d2p1:AreaOfPracticeIds> <d2p1:AuthToken>sample string 1</d2p1:AuthToken> <d2p1:Code>sample string 21</d2p1:Code> <d2p1:CountryId>1</d2p1:CountryId> <d2p1:CreatedDate>2024-11-26T17:28:25.8249782+02:00</d2p1:CreatedDate> <d2p1:DataStatusId>1</d2p1:DataStatusId> <d2p1:EventId>4</d2p1:EventId> <d2p1:FinancialQuery>sample string 8</d2p1:FinancialQuery> <d2p1:GenderId>1</d2p1:GenderId> <d2p1:GroupCode>sample string 18</d2p1:GroupCode> <d2p1:GroupDescription>sample string 19</d2p1:GroupDescription> <d2p1:GroupName>sample string 17</d2p1:GroupName> <d2p1:IncludeFinancials>true</d2p1:IncludeFinancials> <d2p1:InvoiceEndDate>2024-11-26T17:28:25.8249782+02:00</d2p1:InvoiceEndDate> <d2p1:InvoiceStartDate>2024-11-26T17:28:25.8249782+02:00</d2p1:InvoiceStartDate> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsFdp>true</d2p1:IsFdp> <d2p1:IsSearchNetwork>true</d2p1:IsSearchNetwork> <d2p1:MeetingId>1</d2p1:MeetingId> <d2p1:MemberListId>1</d2p1:MemberListId> <d2p1:MemberReferenceId>1</d2p1:MemberReferenceId> <d2p1:Members>sample string 5</d2p1:Members> <d2p1:MembersIds>sample string 6</d2p1:MembersIds> <d2p1:MembershipExpiryQuery>sample string 9</d2p1:MembershipExpiryQuery> <d2p1:MembershipInvoiceId>1</d2p1:MembershipInvoiceId> <d2p1:MembershipNumber>1</d2p1:MembershipNumber> <d2p1:MembershipTypeId>1</d2p1:MembershipTypeId> <d2p1:MembershipTypeIds>sample string 11</d2p1:MembershipTypeIds> <d2p1:Name>sample string 20</d2p1:Name> <d2p1:Page>1</d2p1:Page> <d2p1:PageSize>1</d2p1:PageSize> <d2p1:PaymentSponsorId>1</d2p1:PaymentSponsorId> <d2p1:PersonIds>sample string 7</d2p1:PersonIds> <d2p1:PredefinedQuery>sample string 10</d2p1:PredefinedQuery> <d2p1:ProfessionId>1</d2p1:ProfessionId> <d2p1:ProfessionIds>sample string 12</d2p1:ProfessionIds> <d2p1:ProvinceId>1</d2p1:ProvinceId> <d2p1:ProvinceIds>sample string 15</d2p1:ProvinceIds> <d2p1:Search>sample string 2</d2p1:Search> <d2p1:ServiceId>1</d2p1:ServiceId> <d2p1:SortAscending>true</d2p1:SortAscending> <d2p1:SortField>sample string 3</d2p1:SortField> <d2p1:SpecialityId>1</d2p1:SpecialityId> <d2p1:TimeDimType>sample string 16</d2p1:TimeDimType> <d2p1:TopX>1</d2p1:TopX> <d2p1:TownId>1</d2p1:TownId> <d2p1:TownIds>sample string 14</d2p1:TownIds> </AllCriteria> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 5</AuthToken> <ConnectionString xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 6</ConnectionString> <Id xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</Id> <ModelErrors xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"> <ModelErrorItem> <Error>sample string 2</Error> <Key>sample string 1</Key> </ModelErrorItem> <ModelErrorItem> <Error>sample string 2</Error> <Key>sample string 1</Key> </ModelErrorItem> </ModelErrors> <RecordCount xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</RecordCount> <repo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Datebase" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction" /> <AutoGeneratePassword>true</AutoGeneratePassword> <AutoPassword>sample string 4</AutoPassword> <Html_Template>sample string 3</Html_Template> <Roles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"> <d2p1:AU_UserRoles_ItemsResult> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:IsChecked>true</d2p1:IsChecked> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:RoleId>1</d2p1:RoleId> <d2p1:UserId>1</d2p1:UserId> </d2p1:AU_UserRoles_ItemsResult> <d2p1:AU_UserRoles_ItemsResult> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:IsChecked>true</d2p1:IsChecked> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:RoleId>1</d2p1:RoleId> <d2p1:UserId>1</d2p1:UserId> </d2p1:AU_UserRoles_ItemsResult> </Roles> <UpdatePassword>true</UpdatePassword> <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"> <d2p1:ConfirmPassword>sample string 19</d2p1:ConfirmPassword> <d2p1:CreatedBy>16</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-26T17:28:25.8249782+02:00</d2p1:CreatedDate> <d2p1:DisplayName>sample string 3</d2p1:DisplayName> <d2p1:EmailAddress>sample string 9</d2p1:EmailAddress> <d2p1:FailedLoginCount>1</d2p1:FailedLoginCount> <d2p1:FirstName>sample string 6</d2p1:FirstName> <d2p1:FullDisplayName>sample string 2</d2p1:FullDisplayName> <d2p1:Initials>sample string 5</d2p1:Initials> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:IsEnabled>true</d2p1:IsEnabled> <d2p1:LastLoginDate>2024-11-26T17:28:25.8249782+02:00</d2p1:LastLoginDate> <d2p1:LoginCount>1</d2p1:LoginCount> <d2p1:MiddleNames>sample string 7</d2p1:MiddleNames> <d2p1:ModifiedBy>1</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-26T17:28:25.8249782+02:00</d2p1:ModifiedDate> <d2p1:NormalPassword>sample string 18</d2p1:NormalPassword> <d2p1:PersonId>1</d2p1:PersonId> <d2p1:ShortCode>sample string 14</d2p1:ShortCode> <d2p1:Surname>sample string 8</d2p1:Surname> <d2p1:TelephoneHome>sample string 10</d2p1:TelephoneHome> <d2p1:TelephoneMobile>sample string 12</d2p1:TelephoneMobile> <d2p1:TelephoneWork>sample string 11</d2p1:TelephoneWork> <d2p1:Title>sample string 4</d2p1:Title> <d2p1:UserId>1</d2p1:UserId> </User> </UserVm>
multipart/form-data
Sample:
<UserVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.ViewModels.User"><AllCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"><d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId><d2p1:AreaOfPracticeIds>sample string 13</d2p1:AreaOfPracticeIds><d2p1:AuthToken>sample string 1</d2p1:AuthToken><d2p1:Code>sample string 21</d2p1:Code><d2p1:CountryId>1</d2p1:CountryId><d2p1:CreatedDate>2024-11-26T17:28:25.8249782+02:00</d2p1:CreatedDate><d2p1:DataStatusId>1</d2p1:DataStatusId><d2p1:EventId>4</d2p1:EventId><d2p1:FinancialQuery>sample string 8</d2p1:FinancialQuery><d2p1:GenderId>1</d2p1:GenderId><d2p1:GroupCode>sample string 18</d2p1:GroupCode><d2p1:GroupDescription>sample string 19</d2p1:GroupDescription><d2p1:GroupName>sample string 17</d2p1:GroupName><d2p1:IncludeFinancials>true</d2p1:IncludeFinancials><d2p1:InvoiceEndDate>2024-11-26T17:28:25.8249782+02:00</d2p1:InvoiceEndDate><d2p1:InvoiceStartDate>2024-11-26T17:28:25.8249782+02:00</d2p1:InvoiceStartDate><d2p1:IsActive>true</d2p1:IsActive><d2p1:IsFdp>true</d2p1:IsFdp><d2p1:IsSearchNetwork>true</d2p1:IsSearchNetwork><d2p1:MeetingId>1</d2p1:MeetingId><d2p1:MemberListId>1</d2p1:MemberListId><d2p1:MemberReferenceId>1</d2p1:MemberReferenceId><d2p1:Members>sample string 5</d2p1:Members><d2p1:MembersIds>sample string 6</d2p1:MembersIds><d2p1:MembershipExpiryQuery>sample string 9</d2p1:MembershipExpiryQuery><d2p1:MembershipInvoiceId>1</d2p1:MembershipInvoiceId><d2p1:MembershipNumber>1</d2p1:MembershipNumber><d2p1:MembershipTypeId>1</d2p1:MembershipTypeId><d2p1:MembershipTypeIds>sample string 11</d2p1:MembershipTypeIds><d2p1:Name>sample string 20</d2p1:Name><d2p1:Page>1</d2p1:Page><d2p1:PageSize>1</d2p1:PageSize><d2p1:PaymentSponsorId>1</d2p1:PaymentSponsorId><d2p1:PersonIds>sample string 7</d2p1:PersonIds><d2p1:PredefinedQuery>sample string 10</d2p1:PredefinedQuery><d2p1:ProfessionId>1</d2p1:ProfessionId><d2p1:ProfessionIds>sample string 12</d2p1:ProfessionIds><d2p1:ProvinceId>1</d2p1:ProvinceId><d2p1:ProvinceIds>sample string 15</d2p1:ProvinceIds><d2p1:Search>sample string 2</d2p1:Search><d2p1:ServiceId>1</d2p1:ServiceId><d2p1:SortAscending>true</d2p1:SortAscending><d2p1:SortField>sample string 3</d2p1:SortField><d2p1:SpecialityId>1</d2p1:SpecialityId><d2p1:TimeDimType>sample string 16</d2p1:TimeDimType><d2p1:TopX>1</d2p1:TopX><d2p1:TownId>1</d2p1:TownId><d2p1:TownIds>sample string 14</d2p1:TownIds></AllCriteria><AuthToken xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 5</AuthToken><ConnectionString xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 6</ConnectionString><Id xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</Id><ModelErrors xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"><ModelErrorItem><Error>sample string 2</Error><Key>sample string 1</Key></ModelErrorItem><ModelErrorItem><Error>sample string 2</Error><Key>sample string 1</Key></ModelErrorItem></ModelErrors><RecordCount xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</RecordCount><repo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Datebase" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction" /><AutoGeneratePassword>true</AutoGeneratePassword><AutoPassword>sample string 4</AutoPassword><Html_Template>sample string 3</Html_Template><Roles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"><d2p1:AU_UserRoles_ItemsResult><d2p1:Code>sample string 2</d2p1:Code><d2p1:IsChecked>true</d2p1:IsChecked><d2p1:Name>sample string 3</d2p1:Name><d2p1:RoleId>1</d2p1:RoleId><d2p1:UserId>1</d2p1:UserId></d2p1:AU_UserRoles_ItemsResult><d2p1:AU_UserRoles_ItemsResult><d2p1:Code>sample string 2</d2p1:Code><d2p1:IsChecked>true</d2p1:IsChecked><d2p1:Name>sample string 3</d2p1:Name><d2p1:RoleId>1</d2p1:RoleId><d2p1:UserId>1</d2p1:UserId></d2p1:AU_UserRoles_ItemsResult></Roles><UpdatePassword>true</UpdatePassword><User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"><d2p1:ConfirmPassword>sample string 19</d2p1:ConfirmPassword><d2p1:CreatedBy>16</d2p1:CreatedBy><d2p1:CreatedDate>2024-11-26T17:28:25.8249782+02:00</d2p1:CreatedDate><d2p1:DisplayName>sample string 3</d2p1:DisplayName><d2p1:EmailAddress>sample string 9</d2p1:EmailAddress><d2p1:FailedLoginCount>1</d2p1:FailedLoginCount><d2p1:FirstName>sample string 6</d2p1:FirstName><d2p1:FullDisplayName>sample string 2</d2p1:FullDisplayName><d2p1:Initials>sample string 5</d2p1:Initials><d2p1:IsDeleted>true</d2p1:IsDeleted><d2p1:IsEnabled>true</d2p1:IsEnabled><d2p1:LastLoginDate>2024-11-26T17:28:25.8249782+02:00</d2p1:LastLoginDate><d2p1:LoginCount>1</d2p1:LoginCount><d2p1:MiddleNames>sample string 7</d2p1:MiddleNames><d2p1:ModifiedBy>1</d2p1:ModifiedBy><d2p1:ModifiedDate>2024-11-26T17:28:25.8249782+02:00</d2p1:ModifiedDate><d2p1:NormalPassword>sample string 18</d2p1:NormalPassword><d2p1:PersonId>1</d2p1:PersonId><d2p1:ShortCode>sample string 14</d2p1:ShortCode><d2p1:Surname>sample string 8</d2p1:Surname><d2p1:TelephoneHome>sample string 10</d2p1:TelephoneHome><d2p1:TelephoneMobile>sample string 12</d2p1:TelephoneMobile><d2p1:TelephoneWork>sample string 11</d2p1:TelephoneWork><d2p1:Title>sample string 4</d2p1:Title><d2p1:UserId>1</d2p1:UserId></User></UserVm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.