PUT api/Account/UpdateAccountOptInSettings
Request Information
URI Parameters
None.
Body Parameters
UpdateAccountOptInSettingsRequestVMName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
AccountIds | Collection of string |
Required |
|
ParentAccountId | string |
Required |
|
OptInSettings | OptInSettingsVM |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "AccountIds": [ "sample string 1", "sample string 2" ], "ParentAccountId": "sample string 2", "OptInSettings": { "IsVOIPBlockingEnabled": true, "MessageFrequency": 2, "IsRequireDoubleOptIn": true, "IsRequireAgeConfirmation": true, "MinAge": 5, "OptInReplyOnVOIP": "sample string 6" } }
application/xml, text/xml
Sample:
<UpdateAccountOptInSettingsRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers.SubAccount"> <AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </AccountIds> <OptInSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.AccountsAndSubAccountsResponseModels.SubAccounts"> <d2p1:IsRequireAgeConfirmation>true</d2p1:IsRequireAgeConfirmation> <d2p1:IsRequireDoubleOptIn>true</d2p1:IsRequireDoubleOptIn> <d2p1:IsVOIPBlockingEnabled>true</d2p1:IsVOIPBlockingEnabled> <d2p1:MessageFrequency>2</d2p1:MessageFrequency> <d2p1:MinAge>5</d2p1:MinAge> <d2p1:OptInReplyOnVOIP>sample string 6</d2p1:OptInReplyOnVOIP> </OptInSettings> <ParentAccountId>sample string 2</ParentAccountId> <UserId>sample string 1</UserId> </UpdateAccountOptInSettingsRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.