POST api/UpdateEmail
Updates the member email address.
Request Information
URI Parameters
None.
Body Parameters
UpdateEmailRequestName | Description | Type | Additional information |
---|---|---|---|
SessionKey | string |
Required |
|
string |
Required |
||
SendEmail |
If true a confirmation email will be sent to the member |
boolean |
Request Formats
application/json, text/json
Sample:
{ "SessionKey": "sample string 1", "Email": "sample string 2", "SendEmail": true }
application/xml, text/xml
Sample:
<UpdateEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <Email>sample string 2</Email> <SendEmail>true</SendEmail> <SessionKey>sample string 1</SessionKey> </UpdateEmailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UpdateEmailResult object
ApiSuccessOfUpdateEmailResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | UpdateEmailResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": { "EmailSent": true } }
application/xml, text/xml
Sample:
<ApiSuccessOfUpdateEmailResultgLC8bFpX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account"> <d2p1:EmailSent>true</d2p1:EmailSent> </Data> </ApiSuccessOfUpdateEmailResultgLC8bFpX>