POST api/{programid}/MyAccountMigration/Consumers/{pplId}/ContactInfo
Updates consumer mobile phone and email address information.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid |
Program Id |
string |
Required |
pplId |
Consumer number/PPL Id |
string |
Required |
Body Parameters
Contact information
UpdateContactInfoParamsName | Description | Type | Additional information |
---|---|---|---|
EmailAddress | string |
None. |
|
MobilePhoneNo | string |
None. |
|
HasMobilePhoneNo | boolean |
None. |
|
HasEmailAddress | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmailAddress": "sample string 1", "MobilePhoneNo": "sample string 2", "HasMobilePhoneNo": true, "HasEmailAddress": true }
application/xml, text/xml
Sample:
<UpdateContactInfoParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.MyAccountMigration"> <EmailAddress>sample string 1</EmailAddress> <MobilePhoneNo>sample string 2</MobilePhoneNo> </UpdateContactInfoParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Success message
UpdateContactInfoResponseName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1" }
application/xml, text/xml
Sample:
<UpdateContactInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.MyAccountMigration"> <Message>sample string 1</Message> </UpdateContactInfoResponse>