POST v1_1/api/MyAccount/UpdateProfileEmailPushSettings
Request Information
URI Parameters
None.
Body Parameters
MyProfileSettingsName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
Notification | boolean |
None. |
|
PushNotificationLike | boolean |
None. |
|
PushNotificationComment | boolean |
None. |
|
IsEmailVerified | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "Notification": true, "PushNotificationLike": true, "PushNotificationComment": true, "IsEmailVerified": true }
application/xml, text/xml
Sample:
<MyProfileSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CsharpCornerAPI.Models.v1_0"> <IsEmailVerified>true</IsEmailVerified> <Notification>true</Notification> <PushNotificationComment>true</PushNotificationComment> <PushNotificationLike>true</PushNotificationLike> <UserId>sample string 1</UserId> </MyProfileSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |