PUT api/merge/agent
Request Information
URI Parameters
None.
Body Parameters
AgentMergeModelName | Description | Type | Additional information |
---|---|---|---|
agentId | integer |
None. |
|
oldAgentId | integer |
None. |
|
facebookId | string |
None. |
|
AccessToken | string |
None. |
|
profile_image | string |
None. |
|
firstName | string |
None. |
|
lastName | string |
None. |
|
string |
None. |
||
phone | string |
None. |
|
ScoreDetails | ScoreDetails |
None. |
|
mlsOrgId | string |
None. |
|
serviceAreas | Collection of ServiceAreaModel |
None. |
|
asapBalance | AsapBalanceModel |
None. |
|
budget | decimal number |
None. |
|
customURL | string |
None. |
|
isSearchAllianceMember | boolean |
None. |
|
listingImportedDateTime | date |
None. |
|
homeSearchRegisteredDateTime | date |
None. |
|
FundingAccountId | string |
None. |
|
Products | Collection of FundingSourceDetails |
None. |
|
Brokerage | Brokerage |
None. |
|
MlsAgentId | string |
None. |
|
MlsOfficeId | string |
None. |
|
PageEngagePostingSchedule | UserScheduleDetails |
None. |
|
Notes | Collection of AgentCsNote |
None. |
|
BusinessPages | Collection of FacebookPageModel |
None. |
|
PagePostHistory | PagePostHistoryDetails |
None. |
|
EmployeeId | integer |
None. |
|
AgentEmails | Collection of AgentEmail |
None. |
Request Formats
application/json, text/json
Sample:
{ "agentId": 1, "oldAgentId": 2, "facebookId": "sample string 3", "AccessToken": "sample string 4", "profile_image": "sample string 5", "firstName": "sample string 6", "lastName": "sample string 7", "email": "sample string 8", "phone": "sample string 9", "ScoreDetails": { "Score": 1, "AgentId": 1 }, "mlsOrgId": "sample string 10", "serviceAreas": [ { "GeoShape": { "coordinates": [ 1.1, 2.1 ], "radius": "sample string 1", "Type": "sample string 2" }, "Center": null, "Bid": 1.0 }, { "GeoShape": { "coordinates": [ 1.1, 2.1 ], "radius": "sample string 1", "Type": "sample string 2" }, "Center": null, "Bid": 1.0 } ], "asapBalance": { "balance": 1.0, "creditsBalance": 1.0, "cashBalance": 1.0, "freeLeads": 64 }, "budget": 1.0, "customURL": "sample string 11", "isSearchAllianceMember": true, "listingImportedDateTime": "2024-12-21T16:09:20.457113+00:00", "homeSearchRegisteredDateTime": "2024-12-21T16:09:20.457113+00:00", "FundingAccountId": "sample string 13", "Products": [ { "FundingSourceId": 1, "MembershipId": 2, "ProductName": "sample string 3", "Plan": "sample string 4" }, { "FundingSourceId": 1, "MembershipId": 2, "ProductName": "sample string 3", "Plan": "sample string 4" } ], "Brokerage": { "Id": 1, "BrokerageName": "sample string 2", "Address": "sample string 3", "City": "sample string 4", "StateCode": "sample string 5", "Zip": "sample string 6", "Email": "sample string 7", "EmailOptOut": true, "DocumentKey": "sample string 9", "BrokerSigned": true, "MlsSigned": true, "DoNotSendPdfApproved": true, "DoNotSendPdfPending": true, "ContactName": "sample string 14", "Phone": "sample string 15", "SubscriberId": 1, "IsSubscribingBrokerOverride": true, "BrokerSignedDate": "2024-12-21T16:09:20.457113+00:00", "MlsSignedDate": "2024-12-21T16:09:20.457113+00:00", "BrokerGuid": "a0466127-4662-46f1-a59f-ec8d62406c0c", "MlsGuid": "bd0254c4-e962-466e-8e12-8ef1f85a4cfb", "BrokerSigningUrl": "sample string 17", "MlsSigningUrl": "sample string 18", "MlsEmail": "sample string 19", "BrokerDelegateEmail": "sample string 20", "MlsDelegateEmail": "sample string 21" }, "MlsAgentId": "sample string 14", "MlsOfficeId": "sample string 15", "PageEngagePostingSchedule": { "Schedule": { "enabled": true, "subscribed": "2024-12-21T16:09:20.457113+00:00", "canceled": "2024-12-21T16:09:20.457113+00:00", "postToBusinessPage": true, "facebookPageId": "sample string 3", "postToProfile": true, "postingDays": [ true, true ], "featuredListings": true, "includeOfficeListings": true, "productId": 1 }, "AgentId": 1 }, "Notes": [ { "Id": 1, "MembershipId": 2, "DateCreated": "2024-12-21T16:09:20.457113+00:00", "Note": "sample string 4" }, { "Id": 1, "MembershipId": 2, "DateCreated": "2024-12-21T16:09:20.457113+00:00", "Note": "sample string 4" } ], "BusinessPages": [ { "id": "sample string 1", "name": "sample string 2", "hasSweepstakesTab": true, "agentDirectory": true, "propertySearch": true, "homeValue": true, "isBusinessClaimed": true, "adTermsChecked": true, "sweepstakesDate": "2024-12-21T16:09:20.457113+00:00", "agentProfileAddDate": "2024-12-21T16:09:20.457113+00:00", "propertySearchAddDate": "2024-12-21T16:09:20.457113+00:00", "homeValueDate": "2024-12-21T16:09:20.457113+00:00", "agentProfilePost": true, "igUserId": "sample string 6", "instagramAccountName": "sample string 7", "instagramUserName": "sample string 8", "leadMagnetAdded": true }, { "id": "sample string 1", "name": "sample string 2", "hasSweepstakesTab": true, "agentDirectory": true, "propertySearch": true, "homeValue": true, "isBusinessClaimed": true, "adTermsChecked": true, "sweepstakesDate": "2024-12-21T16:09:20.457113+00:00", "agentProfileAddDate": "2024-12-21T16:09:20.457113+00:00", "propertySearchAddDate": "2024-12-21T16:09:20.457113+00:00", "homeValueDate": "2024-12-21T16:09:20.457113+00:00", "agentProfilePost": true, "igUserId": "sample string 6", "instagramAccountName": "sample string 7", "instagramUserName": "sample string 8", "leadMagnetAdded": true } ], "PagePostHistory": { "Count": 1, "AgentId": 2 }, "EmployeeId": 16, "AgentEmails": [ { "AgentId": 1, "Email": "sample string 2", "SendLeadsEmail": true, "DateInserted": "2024-12-21T16:09:20.457113+00:00" }, { "AgentId": 1, "Email": "sample string 2", "SendLeadsEmail": true, "DateInserted": "2024-12-21T16:09:20.457113+00:00" } ] }
text/html
Sample:
{"agentId":1,"oldAgentId":2,"facebookId":"sample string 3","AccessToken":"sample string 4","profile_image":"sample string 5","firstName":"sample string 6","lastName":"sample string 7","email":"sample string 8","phone":"sample string 9","ScoreDetails":{"Score":1,"AgentId":1},"mlsOrgId":"sample string 10","serviceAreas":[{"GeoShape":{"coordinates":[1.1,2.1],"radius":"sample string 1","Type":"sample string 2"},"Center":null,"Bid":1.0},{"GeoShape":{"coordinates":[1.1,2.1],"radius":"sample string 1","Type":"sample string 2"},"Center":null,"Bid":1.0}],"asapBalance":{"balance":1.0,"creditsBalance":1.0,"cashBalance":1.0,"freeLeads":64},"budget":1.0,"customURL":"sample string 11","isSearchAllianceMember":true,"listingImportedDateTime":"2024-12-21T16:09:20.457113+00:00","homeSearchRegisteredDateTime":"2024-12-21T16:09:20.457113+00:00","FundingAccountId":"sample string 13","Products":[{"FundingSourceId":1,"MembershipId":2,"ProductName":"sample string 3","Plan":"sample string 4"},{"FundingSourceId":1,"MembershipId":2,"ProductName":"sample string 3","Plan":"sample string 4"}],"Brokerage":{"Id":1,"BrokerageName":"sample string 2","Address":"sample string 3","City":"sample string 4","StateCode":"sample string 5","Zip":"sample string 6","Email":"sample string 7","EmailOptOut":true,"DocumentKey":"sample string 9","BrokerSigned":true,"MlsSigned":true,"DoNotSendPdfApproved":true,"DoNotSendPdfPending":true,"ContactName":"sample string 14","Phone":"sample string 15","SubscriberId":1,"IsSubscribingBrokerOverride":true,"BrokerSignedDate":"2024-12-21T16:09:20.457113+00:00","MlsSignedDate":"2024-12-21T16:09:20.457113+00:00","BrokerGuid":"a0466127-4662-46f1-a59f-ec8d62406c0c","MlsGuid":"bd0254c4-e962-466e-8e12-8ef1f85a4cfb","BrokerSigningUrl":"sample string 17","MlsSigningUrl":"sample string 18","MlsEmail":"sample string 19","BrokerDelegateEmail":"sample string 20","MlsDelegateEmail":"sample string 21"},"MlsAgentId":"sample string 14","MlsOfficeId":"sample string 15","PageEngagePostingSchedule":{"Schedule":{"enabled":true,"subscribed":"2024-12-21T16:09:20.457113+00:00","canceled":"2024-12-21T16:09:20.457113+00:00","postToBusinessPage":true,"facebookPageId":"sample string 3","postToProfile":true,"postingDays":[true,true],"featuredListings":true,"includeOfficeListings":true,"productId":1},"AgentId":1},"Notes":[{"Id":1,"MembershipId":2,"DateCreated":"2024-12-21T16:09:20.457113+00:00","Note":"sample string 4"},{"Id":1,"MembershipId":2,"DateCreated":"2024-12-21T16:09:20.457113+00:00","Note":"sample string 4"}],"BusinessPages":[{"id":"sample string 1","name":"sample string 2","hasSweepstakesTab":true,"agentDirectory":true,"propertySearch":true,"homeValue":true,"isBusinessClaimed":true,"adTermsChecked":true,"sweepstakesDate":"2024-12-21T16:09:20.457113+00:00","agentProfileAddDate":"2024-12-21T16:09:20.457113+00:00","propertySearchAddDate":"2024-12-21T16:09:20.457113+00:00","homeValueDate":"2024-12-21T16:09:20.457113+00:00","agentProfilePost":true,"igUserId":"sample string 6","instagramAccountName":"sample string 7","instagramUserName":"sample string 8","leadMagnetAdded":true},{"id":"sample string 1","name":"sample string 2","hasSweepstakesTab":true,"agentDirectory":true,"propertySearch":true,"homeValue":true,"isBusinessClaimed":true,"adTermsChecked":true,"sweepstakesDate":"2024-12-21T16:09:20.457113+00:00","agentProfileAddDate":"2024-12-21T16:09:20.457113+00:00","propertySearchAddDate":"2024-12-21T16:09:20.457113+00:00","homeValueDate":"2024-12-21T16:09:20.457113+00:00","agentProfilePost":true,"igUserId":"sample string 6","instagramAccountName":"sample string 7","instagramUserName":"sample string 8","leadMagnetAdded":true}],"PagePostHistory":{"Count":1,"AgentId":2},"EmployeeId":16,"AgentEmails":[{"AgentId":1,"Email":"sample string 2","SendLeadsEmail":true,"DateInserted":"2024-12-21T16:09:20.457113+00:00"},{"AgentId":1,"Email":"sample string 2","SendLeadsEmail":true,"DateInserted":"2024-12-21T16:09:20.457113+00:00"}]}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.