GET associations({associationId})/representatives({representativeId})/displaypreferences
Method to get a representative's display preferences
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
associationId | Association of interest |
Define this parameter in the request URI. |
representativeId | Representative to get preferences for |
Define this parameter in the request URI. |
Response Information
Representative preferences
Response body formats
application/json, text/json
Sample:
{ "RepID": 1, "ShowAnyToPublic": true, "ShowTitleToPublic": true, "ShowWorkPhoneToPublic": true, "ShowFaxToPublic": true, "ShowEmailToPublic": true, "ShowFullNameToPublic": true, "ShowAnyToMembers": true, "ShowTitleToMembers": true, "ShowWorkPhoneToMembers": true, "ShowFaxToMembers": true, "ShowEmailToMembers": true, "ShowFullNameToMembers": true, "ShowSocialNetworksToMembers": true, "ShowAddressToMembers": true, "ShowCellPhoneToMembers": true, "ShowCellPhoneToPublic": true }
application/xml, text/xml
Sample:
<RepresentativeDisplayPreferencesResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <RepID>1</RepID> <ShowAddressToMembers>true</ShowAddressToMembers> <ShowAnyToMembers>true</ShowAnyToMembers> <ShowAnyToPublic>true</ShowAnyToPublic> <ShowCellPhoneToMembers>true</ShowCellPhoneToMembers> <ShowCellPhoneToPublic>true</ShowCellPhoneToPublic> <ShowEmailToMembers>true</ShowEmailToMembers> <ShowEmailToPublic>true</ShowEmailToPublic> <ShowFaxToMembers>true</ShowFaxToMembers> <ShowFaxToPublic>true</ShowFaxToPublic> <ShowFullNameToMembers>true</ShowFullNameToMembers> <ShowFullNameToPublic>true</ShowFullNameToPublic> <ShowSocialNetworksToMembers>true</ShowSocialNetworksToMembers> <ShowTitleToMembers>true</ShowTitleToMembers> <ShowTitleToPublic>true</ShowTitleToPublic> <ShowWorkPhoneToMembers>true</ShowWorkPhoneToMembers> <ShowWorkPhoneToPublic>true</ShowWorkPhoneToPublic> </RepresentativeDisplayPreferencesResource>