PUT api/AgentPreferences?agentId={agentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentId

integer

None.

Body Parameters

AgentPreferenceModel
NameDescriptionTypeAdditional information
displayRealtorIcon

boolean

None.

display_phonenumber

boolean

None.

display_email

boolean

None.

display_website

boolean

None.

display_background

boolean

None.

display_expertise

boolean

None.

display_languages

boolean

None.

display_credentials

boolean

None.

display_awards

boolean

None.

display_organizations

boolean

None.

display_services_areas

boolean

None.

display_groups

boolean

None.

display_publications

boolean

None.

display_education

boolean

None.

display_stateLicenseNumber

boolean

None.

display_association

boolean

None.

display_interests

boolean

None.

display_disclosures

boolean

None.

display_motto

boolean

None.

display_agentType

boolean

None.

display_licenseType

boolean

None.

display_yearLicensed

boolean

None.

display_video

boolean

None.

display_brokerPhone

boolean

None.

unsubscribed_email

boolean

None.

read_output_referral_email

boolean

None.

read_output_agent_referral_email

boolean

None.

idx_unsubscribed

boolean

None.

pending_campaign_unsubscribe

boolean

None.

show_admin_profile_

boolean

None.

auto_add_tabs

boolean

None.

property_report_enabled

boolean

None.

subscrive_page_engage_email

boolean

None.

email_changed

boolean

None.

email_white_listed

boolean

None.

read_app_request_sent

boolean

None.

association_email_sent

boolean

None.

granted_friends_permission

boolean

None.

is_search_alliance_member

boolean

None.

enableSMS

boolean

None.

saLeadChargeFailed

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "displayRealtorIcon": true,
  "display_phonenumber": true,
  "display_email": true,
  "display_website": true,
  "display_background": true,
  "display_expertise": true,
  "display_languages": true,
  "display_credentials": true,
  "display_awards": true,
  "display_organizations": true,
  "display_services_areas": true,
  "display_groups": true,
  "display_publications": true,
  "display_education": true,
  "display_stateLicenseNumber": true,
  "display_association": true,
  "display_interests": true,
  "display_disclosures": true,
  "display_motto": true,
  "display_agentType": true,
  "display_licenseType": true,
  "display_yearLicensed": true,
  "display_video": true,
  "display_brokerPhone": true,
  "unsubscribed_email": true,
  "read_output_referral_email": true,
  "read_output_agent_referral_email": true,
  "idx_unsubscribed": true,
  "pending_campaign_unsubscribe": true,
  "show_admin_profile_": true,
  "auto_add_tabs": true,
  "property_report_enabled": true,
  "subscrive_page_engage_email": true,
  "email_changed": true,
  "email_white_listed": true,
  "read_app_request_sent": true,
  "association_email_sent": true,
  "granted_friends_permission": true,
  "is_search_alliance_member": true,
  "enableSMS": true,
  "saLeadChargeFailed": true,
  "Id": 1
}

text/html

Sample:
{"displayRealtorIcon":true,"display_phonenumber":true,"display_email":true,"display_website":true,"display_background":true,"display_expertise":true,"display_languages":true,"display_credentials":true,"display_awards":true,"display_organizations":true,"display_services_areas":true,"display_groups":true,"display_publications":true,"display_education":true,"display_stateLicenseNumber":true,"display_association":true,"display_interests":true,"display_disclosures":true,"display_motto":true,"display_agentType":true,"display_licenseType":true,"display_yearLicensed":true,"display_video":true,"display_brokerPhone":true,"unsubscribed_email":true,"read_output_referral_email":true,"read_output_agent_referral_email":true,"idx_unsubscribed":true,"pending_campaign_unsubscribe":true,"show_admin_profile_":true,"auto_add_tabs":true,"property_report_enabled":true,"subscrive_page_engage_email":true,"email_changed":true,"email_white_listed":true,"read_app_request_sent":true,"association_email_sent":true,"granted_friends_permission":true,"is_search_alliance_member":true,"enableSMS":true,"saLeadChargeFailed":true,"Id":1}

application/xml, text/xml

Sample:
<AgentPreferenceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AssociationEmailSent>true</AssociationEmailSent>
  <AutoAddTabs>true</AutoAddTabs>
  <DisplayAgentType>true</DisplayAgentType>
  <DisplayAssociation>true</DisplayAssociation>
  <DisplayAwards>true</DisplayAwards>
  <DisplayBackground>true</DisplayBackground>
  <DisplayBrokerPhone>true</DisplayBrokerPhone>
  <DisplayCredentials>true</DisplayCredentials>
  <DisplayDisclosures>true</DisplayDisclosures>
  <DisplayEducation>true</DisplayEducation>
  <DisplayEmail>true</DisplayEmail>
  <DisplayExpertise>true</DisplayExpertise>
  <DisplayGroups>true</DisplayGroups>
  <DisplayInterests>true</DisplayInterests>
  <DisplayLanguages>true</DisplayLanguages>
  <DisplayLicenseType>true</DisplayLicenseType>
  <DisplayMotto>true</DisplayMotto>
  <DisplayOrganizations>true</DisplayOrganizations>
  <DisplayPhoneNumber>true</DisplayPhoneNumber>
  <DisplayPublications>true</DisplayPublications>
  <DisplayRealtorIcon>true</DisplayRealtorIcon>
  <DisplayServiceAreas>true</DisplayServiceAreas>
  <DisplayStateLicenseNumber>true</DisplayStateLicenseNumber>
  <DisplayVideo>true</DisplayVideo>
  <DisplayWebsite>true</DisplayWebsite>
  <DisplayYearLicensed>true</DisplayYearLicensed>
  <EmailChanged>true</EmailChanged>
  <EnableSMS>true</EnableSMS>
  <GrantedFriendsPermission>true</GrantedFriendsPermission>
  <IDXUnsubscribed>true</IDXUnsubscribed>
  <Id>1</Id>
  <IsSearchAllianceMember>true</IsSearchAllianceMember>
  <NplayEmailWhitelisted>true</NplayEmailWhitelisted>
  <PendingCampaignsUnsubscribe>true</PendingCampaignsUnsubscribe>
  <PropertyReportEnabled>true</PropertyReportEnabled>
  <READAppRequestSent>true</READAppRequestSent>
  <READOptoutAgentReferralEmail>true</READOptoutAgentReferralEmail>
  <READOptoutReferralEmail>true</READOptoutReferralEmail>
  <SaLeadChargeFailed>true</SaLeadChargeFailed>
  <ShowAdminProfileBanner>true</ShowAdminProfileBanner>
  <SubscribePageEngageEmail>true</SubscribePageEngageEmail>
  <UnsubscribeEmail>true</UnsubscribeEmail>
</AgentPreferenceModel>

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 'AgentPreferenceModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.