1. Internal RG Wiki
  2. Internal Documents
  3. Help Resources for the Support Team

What If an Agent Needs to Know his Agent/Office ID?

If the agent has active listings:

You would need to ask him/her to send an example of one of their listings. 

You would debug the listing.

it would be:

For example: 

The agent id would be 5097.

What if the agent doesn't have any current active listings? 

Then you wouldn't be able to provide his agent/office id. 

How to find the office id for multiple MLS numbers: (it would be the same format for agent id)

db.properties.distinct("office_id",{board:204,enabled:true,mls_number:{$in:["375905", "525390", "530233", "527640", "529914", "529915", "529916", "529918", "529919", "529920", "529921", "529922", "529923", "529931", "530193", "531547", "527827", "523662", "523663", "528114", "528258", "528113", "523664", "523665", "530078", "530080", "530081"]}}).sort()