POST api/Account/UpdateProfile
Request Information
URI Parameters
None.
Body Parameters
UserInfoViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LastName | string |
None. |
|
FirstName | string |
None. |
|
HasRegistered | boolean |
None. |
|
EmailConfirmed | boolean |
None. |
|
FullName | string |
None. |
|
DateOfBirth | date |
None. |
|
OccupationFK | integer |
None. |
|
Gender | string |
None. |
|
CountryFK | integer |
None. |
|
string |
None. |
||
Address | string |
None. |
|
StateFK | integer |
None. |
|
phoneNumber | string |
None. |
|
LoginProvider | string |
None. |
|
IsStudentRole | boolean |
None. |
|
IsMarkerRole | boolean |
None. |
|
IsAffilate | boolean |
None. |
|
IsAdminRole | boolean |
None. |
|
IsLeadMarkerRole | boolean |
None. |
|
IsMarketing | boolean |
None. |
|
UserName | string |
None. |
|
IsAllowNotificationsViaPopUps | boolean |
None. |
|
IsAllowNotificationsViaEmail | boolean |
None. |
|
IsAllowNotificationsViaSMS | boolean |
None. |
|
IsAllowNotificationsForRating | boolean |
None. |
|
IsAllowNotificationsForNewsAndAnnoucements | boolean |
None. |
|
IsAllowNotificationsForNewsletter | boolean |
None. |
|
IsAllowNotificationsForMonthlyAccountStatement | boolean |
None. |
|
Timestamp | date |
None. |
|
Location | string |
None. |
|
DisplayName | string |
None. |
|
CountryCode | string |
None. |
|
IsDeleted | boolean |
None. |
|
ClosedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "LastName": "sample string 2", "FirstName": "sample string 3", "HasRegistered": true, "EmailConfirmed": true, "FullName": "sample string 6", "DateOfBirth": "2024-12-21T23:38:40.790384+00:00", "OccupationFK": 1, "Gender": "sample string 7", "CountryFK": 1, "Email": "sample string 8", "Address": "sample string 9", "StateFK": 1, "phoneNumber": "sample string 10", "LoginProvider": "sample string 11", "IsStudentRole": true, "IsMarkerRole": true, "IsAffilate": true, "IsAdminRole": true, "IsLeadMarkerRole": true, "IsMarketing": true, "UserName": "sample string 18", "IsAllowNotificationsViaPopUps": true, "IsAllowNotificationsViaEmail": true, "IsAllowNotificationsViaSMS": true, "IsAllowNotificationsForRating": true, "IsAllowNotificationsForNewsAndAnnoucements": true, "IsAllowNotificationsForNewsletter": true, "IsAllowNotificationsForMonthlyAccountStatement": true, "Timestamp": "2024-12-21T23:38:40.790384+00:00", "Location": "sample string 27", "DisplayName": "sample string 28", "CountryCode": "sample string 29", "IsDeleted": true, "ClosedOn": "2024-12-21T23:38:40.790384+00:00" }
application/xml, text/xml
Sample:
<UserInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models"> <Address>sample string 9</Address> <ClosedOn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-12-21T23:38:40.790384Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </ClosedOn> <CountryCode>sample string 29</CountryCode> <CountryFK>1</CountryFK> <DateOfBirth>2024-12-21T23:38:40.790384+00:00</DateOfBirth> <DisplayName>sample string 28</DisplayName> <Email>sample string 8</Email> <EmailConfirmed>true</EmailConfirmed> <FirstName>sample string 3</FirstName> <FullName>sample string 6</FullName> <Gender>sample string 7</Gender> <HasRegistered>true</HasRegistered> <Id>1</Id> <IsAdminRole>true</IsAdminRole> <IsAffilate>true</IsAffilate> <IsAllowNotificationsForMonthlyAccountStatement>true</IsAllowNotificationsForMonthlyAccountStatement> <IsAllowNotificationsForNewsAndAnnoucements>true</IsAllowNotificationsForNewsAndAnnoucements> <IsAllowNotificationsForNewsletter>true</IsAllowNotificationsForNewsletter> <IsAllowNotificationsForRating>true</IsAllowNotificationsForRating> <IsAllowNotificationsViaEmail>true</IsAllowNotificationsViaEmail> <IsAllowNotificationsViaPopUps>true</IsAllowNotificationsViaPopUps> <IsAllowNotificationsViaSMS>true</IsAllowNotificationsViaSMS> <IsDeleted>true</IsDeleted> <IsLeadMarkerRole>true</IsLeadMarkerRole> <IsMarkerRole>true</IsMarkerRole> <IsMarketing>true</IsMarketing> <IsStudentRole>true</IsStudentRole> <LastName>sample string 2</LastName> <Location>sample string 27</Location> <LoginProvider>sample string 11</LoginProvider> <OccupationFK>1</OccupationFK> <StateFK>1</StateFK> <Timestamp>2024-12-21T23:38:40.790384+00:00</Timestamp> <UserName>sample string 18</UserName> <phoneNumber>sample string 10</phoneNumber> </UserInfoViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.