POST Account/UpdateMemberCommPrefs

Request Information

URI Parameters

None.

Body Parameters

Collection of MemberCommPref
NameDescriptionTypeAdditional information
PBEntityKey

integer

None.

PBEntityCommPrefKey

integer

None.

CommGroupID

integer

None.

CommGroupName

string

None.

CommTypeID

integer

None.

CommTypeName

string

None.

CommMethodUSMail

boolean

None.

CommMethodOnline

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PBEntityKey": 1,
    "PBEntityCommPrefKey": 2,
    "CommGroupID": 3,
    "CommGroupName": "sample string 4",
    "CommTypeID": 5,
    "CommTypeName": "sample string 6",
    "CommMethodUSMail": true,
    "CommMethodOnline": true
  },
  {
    "PBEntityKey": 1,
    "PBEntityCommPrefKey": 2,
    "CommGroupID": 3,
    "CommGroupName": "sample string 4",
    "CommTypeID": 5,
    "CommTypeName": "sample string 6",
    "CommMethodUSMail": true,
    "CommMethodOnline": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMemberCommPref xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <MemberCommPref>
    <CommGroupID>3</CommGroupID>
    <CommGroupName>sample string 4</CommGroupName>
    <CommMethodOnline>true</CommMethodOnline>
    <CommMethodUSMail>true</CommMethodUSMail>
    <CommTypeID>5</CommTypeID>
    <CommTypeName>sample string 6</CommTypeName>
    <PBEntityCommPrefKey>2</PBEntityCommPrefKey>
    <PBEntityKey>1</PBEntityKey>
  </MemberCommPref>
  <MemberCommPref>
    <CommGroupID>3</CommGroupID>
    <CommGroupName>sample string 4</CommGroupName>
    <CommMethodOnline>true</CommMethodOnline>
    <CommMethodUSMail>true</CommMethodUSMail>
    <CommTypeID>5</CommTypeID>
    <CommTypeName>sample string 6</CommTypeName>
    <PBEntityCommPrefKey>2</PBEntityCommPrefKey>
    <PBEntityKey>1</PBEntityKey>
  </MemberCommPref>
</ArrayOfMemberCommPref>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.