{ "info": { "_postman_id": "0e62539f-0b88-4351-88c9-823b50c851c6", "name": "HouziAppApi", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "18022073" }, "item": [ { "name": "General apis", "item": [ { "name": "Namespaces", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}", "host": [ "{{URL}}" ] }, "description": "This web-service list downs all the available name spaces available at wordpress rest api" }, "response": [] }, { "name": "WP Routes", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2", "host": [ "{{URL}}wp" ], "path": [ "v2" ] }, "description": "Use this route to see all the available WP rest routes in `wp/v2`" }, "response": [] }, { "name": "Contact App Developer", "protocolProfileBehavior": { "disabledSystemHeaders": {} }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "source", "value": "Houzez android", "type": "text" }, { "key": "name", "value": "adil", "type": "text" }, { "key": "email", "value": "hello@email.com", "type": "text" }, { "key": "message", "value": "hello hello hello", "type": "text" } ] }, "url": { "raw": "{{URL}}contact-us/v1/send-message", "host": [ "{{URL}}contact-us" ], "path": [ "v1", "send-message" ] } }, "response": [] }, { "name": "Check Houzi Setup Status", "request": { "method": "POST", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/houzi-setup-status?app_version=1.1.2&houzi_version=1.1.2&app_build_number=54", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "houzi-setup-status" ], "query": [ { "key": "app_version", "value": "1.1.2" }, { "key": "houzi_version", "value": "1.1.2" }, { "key": "app_build_number", "value": "54" } ] }, "description": "Use this web service to fetch meta data required for mobile app functionality." }, "response": [] } ] }, { "name": "User", "item": [ { "name": "Signin login User", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "username", "value": "Wilmer", "type": "text" }, { "key": "password", "value": "Wilmer.kwcambodi@!", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/signin", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "signin" ] }, "description": "Send username/email and password in post to get login auth token. We're currently using JWT auth plugin for login and acquiring tokens." }, "response": [] }, { "name": "Social Sign On", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "email", "value": "testuser005@test.com", "type": "text" }, { "key": "user_id", "value": "123456789", "type": "text" }, { "key": "source", "value": "google", "type": "text" }, { "key": "display_name", "value": "New Social User", "type": "text" }, { "key": "profile_url", "value": "", "description": "optional", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/social-sign-on", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "social-sign-on" ] }, "description": "Send user info (email, social user id, source {facebook, google, apple}, display name) and get a jwt token in return.\n\nThis webservice checks for existing user based on email and then username, username is acquired from email. If no record found, it'll create new user and respond with user auth token." }, "response": [] }, { "name": "Login [Deprecated]", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "username", "value": "user_name", "type": "text" }, { "key": "password", "value": "pass_pass_raho", "type": "text" }, { "key": "", "value": "", "type": "text", "disabled": true } ] }, "url": { "raw": "{{URL}}jwt-auth/v1/token", "host": [ "{{URL}}jwt-auth" ], "path": [ "v1", "token" ] }, "description": "this is directly accessing the rest route provided by JWT auth plugin.\n\nDepricated, since 1.1.2\n\nReason: We don't want to limit the app side to rely on JWT auth plugin. Anyone can use any plugin and get the the token and authorise user. Use `houzez-mobile-api/v1/signin` instead." }, "response": [] }, { "name": "Signup", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "username", "value": "houzitest", "type": "text" }, { "key": "useremail", "value": "houzitesting@gmail.com", "type": "text" }, { "key": "term_condition", "value": "on", "description": "on or off, if user agreed to terms and condition", "type": "text" }, { "key": "first_name", "value": "Houzi", "type": "text" }, { "key": "last_name", "value": "Test", "type": "text" }, { "key": "phone_number", "value": "1234567890", "type": "text" }, { "key": "register_pass", "value": "123456789", "type": "text" }, { "key": "register_pass_retype", "value": "123456789", "type": "text" }, { "key": "role", "value": "houzez_seller", "description": "options from touch base api", "type": "text" }, { "key": "houzez_register_security", "value": "e3937f05a6", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/signup", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "signup" ] }, "description": "Create new user on wordpress." }, "response": [] }, { "name": "Reset Password", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "user_login", "value": "testusernonce@test.com", "description": "username or email", "type": "text" }, { "key": "security", "value": "229181d9a8", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/reset-password", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "reset-password" ] }, "description": "Use this web service to fetch meta data required for mobile app functionality." }, "response": [] }, { "name": "Update Password", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "newpass", "value": "new pass", "type": "text" }, { "key": "confirmpass", "value": "confirm pass", "description": "both should match.", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/update-password", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "update-password" ] }, "description": "Updates the password with provided passwords." }, "response": [] }, { "name": "Delete User Account", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-user-account", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-user-account" ] }, "description": "Deletes the user account." }, "response": [] }, { "name": "Fetch User Profile", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/profile", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "profile" ] }, "description": "Use this web service to fetch meta data required for mobile app functionality." }, "response": [] }, { "name": "All users", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}wp/v2/users?page=1&per_page=50&search=adil", "host": [ "{{URL}}wp" ], "path": [ "v2", "users" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "50" }, { "key": "search", "value": "adil" } ] }, "description": "Use this web service to fetch meta data required for mobile app functionality." }, "response": [] }, { "name": "Update User Profile", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "firstname", "value": "Adil", "type": "text" }, { "key": "lastname", "value": "Soomro", "type": "text" }, { "key": "display_name", "value": "Adil Farooq Soomro", "type": "text" }, { "key": "userlangs", "value": "Hindi, Urdu", "type": "text" }, { "key": "title", "value": "CEO", "type": "text" }, { "key": "bio", "value": "Enhancing Awesomeness", "type": "text" }, { "key": "user_company", "value": "BooleanBites Ltd", "type": "text" }, { "key": "userphone", "value": "123485893", "type": "text" }, { "key": "usermobile", "value": "23423834", "type": "text" }, { "key": "fax_number", "value": "234234234", "type": "text" }, { "key": "service_areas", "value": "Karachi, Lahore, Isb", "type": "text" }, { "key": "specialties", "value": "Builder, Contractor, Agent", "type": "text" }, { "key": "license", "value": "23423,234", "type": "text" }, { "key": "tax_number", "value": "234,2342", "type": "text" }, { "key": "whatsapp", "value": "23408234", "type": "text" }, { "key": "userskype", "value": "34u9:live", "type": "text" }, { "key": "facebook", "value": "adil.soomro", "type": "text" }, { "key": "twitter", "value": "adil_soomro", "type": "text" }, { "key": "linkedin", "value": "adilsoomro", "type": "text" }, { "key": "instagram", "value": "adilsoomro", "type": "text" }, { "key": "pinterest", "value": "adilsoomro", "type": "text" }, { "key": "youtube", "value": "adilsoomro", "type": "text" }, { "key": "vimeo", "value": "adilsoomro", "type": "text" }, { "key": "website", "value": "https://booleanbites.com", "type": "text" }, { "key": "user_address", "value": "Johar Town", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/update-profile", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "update-profile" ] }, "description": "updates user profile." }, "response": [] }, { "name": "Update User Photo", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0MjQxOTU4OCwibmJmIjoxNjQyNDE5NTg4LCJleHAiOjE2NDMwMjQzODgsImRhdGEiOnsidXNlciI6eyJpZCI6IjIifX19.ViZwpukrjf9-NMNyOS7udFs7SulUKncZDyFNvxm-EhY", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "houzez_file_data_name", "type": "file", "src": "/Users/booleanbites/Downloads/WorkProjects/AnyLynk/app_icon_opaque.jpg" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/update-profile-photo", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "update-profile-photo" ] }, "description": "Edit user profile. Some older version of Houzez has issues with unlinking photo after this webservice. Call Fix User Photo api after this to fix the user photo." }, "response": [] }, { "name": "Fix User Photo After Edit", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0MjQxOTU4OCwibmJmIjoxNjQyNDE5NTg4LCJleHAiOjE2NDMwMjQzODgsImRhdGEiOnsidXNlciI6eyJpZCI6IjIifX19.ViZwpukrjf9-NMNyOS7udFs7SulUKncZDyFNvxm-EhY", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "houzez_file_data_name", "type": "file", "src": [] } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/fix-profile-pic", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "fix-profile-pic" ] }, "description": "Some older version of Houzez has issues with photo after update user profile web service is called. User photo is unlinked from user profile. Call this webservice to fix photo for the profile." }, "response": [] }, { "name": "User Payment Status", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjY2MTA0MjQ2LCJuYmYiOjE2NjYxMDQyNDYsImV4cCI6MTY2NjcwOTA0NiwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMTAifX19.rb8KRqs6hRa5eH8w3yjdcyEvR05k4A1Bn0Ul-PCISxw", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/user-payment-status", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "user-payment-status" ] }, "description": "Some older version of Houzez has issues with photo after update user profile web service is called. User photo is unlinked from user profile. Call this webservice to fix photo for the profile." }, "response": [] }, { "name": "Proceed with Payment", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjY2MTA0MjQ2LCJuYmYiOjE2NjYxMDQyNDYsImV4cCI6MTY2NjcwOTA0NiwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMTAifX19.rb8KRqs6hRa5eH8w3yjdcyEvR05k4A1Bn0Ul-PCISxw", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/proceed-payment", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "proceed-payment" ] }, "description": "Some older version of Houzez has issues with photo after update user profile web service is called. User photo is unlinked from user profile. Call this webservice to fix photo for the profile." }, "response": [] } ], "description": "All apis related to user functions" }, { "name": "Metadata Touchbase", "item": [ { "name": "Get Term", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/get-terms?term=property_area", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "get-terms" ], "query": [ { "key": "term", "value": "property_area" } ] }, "description": "Use this web service to fetch terms on the website." }, "response": [] }, { "name": "TouchBase", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/touch-base?app_version=1.1.2&houzi_version=1.1.2&app_build_number=54", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "touch-base" ], "query": [ { "key": "app_version", "value": "1.1.2" }, { "key": "houzi_version", "value": "1.1.2" }, { "key": "app_build_number", "value": "54" } ] }, "description": "Use this web service to fetch meta data required for mobile app functionality." }, "response": [] }, { "name": "Fetch All Taxomomies", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/taxonomies", "host": [ "{{URL}}wp" ], "path": [ "v2", "taxonomies" ] }, "description": "Use this route to see all the available WP rest routes in `wp/v2`" }, "response": [] } ] }, { "name": "CRM", "item": [ { "name": "CRM: User Activities", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL21hYWthbmkuY29tIiwiaWF0IjoxNjc3MDU4NDUyLCJuYmYiOjE2NzcwNTg0NTIsImV4cCI6MTY3NzY2MzI1MiwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiOSJ9fX0.hq7Pze5qYSmnZyVy1bFx8W_vWglH0iqkgwb7YSz5ZGw", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/activities?cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "activities" ], "query": [ { "key": "cpage", "value": "1" } ] } }, "response": [] }, { "name": "CRM: Add Lead", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "lead_id", "value": "", "description": "Use this if you want to edit lead.", "type": "text", "disabled": true }, { "key": "email", "value": "email@domain.com", "description": "required", "type": "text" }, { "key": "prefix", "value": "Mr", "description": "required", "type": "text" }, { "key": "first_name", "value": "Jonh", "description": "required", "type": "text" }, { "key": "last_name", "value": "Doe 2", "description": "required", "type": "text" }, { "key": "name", "value": "John Doe 2", "description": "required. {Title of the lead (can be first+last name)}", "type": "text" }, { "key": "mobile", "value": "", "type": "text" }, { "key": "home_phone", "value": "", "type": "text" }, { "key": "work_phone", "value": "", "type": "text" }, { "key": "user_type", "value": "", "description": "buyer, agent etc", "type": "text" }, { "key": "address", "value": "", "type": "text" }, { "key": "country", "value": "", "type": "text" }, { "key": "city", "value": "", "type": "text" }, { "key": "state", "value": "", "type": "text" }, { "key": "zip", "value": "", "type": "text" }, { "key": "source", "value": "", "type": "text" }, { "key": "facebook", "value": "", "type": "text" }, { "key": "twitter", "value": "", "type": "text" }, { "key": "linkedin", "value": "", "type": "text" }, { "key": "private_note", "value": "created via api", "type": "text" }, { "key": "dashboard_lead", "value": "yes", "description": "'yes' if creating from CRM", "type": "text" }, { "key": "message", "value": "", "description": "if there's any message.", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-lead", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-lead" ] } }, "response": [] }, { "name": "CRM: All Leads", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/leads?cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "leads" ], "query": [ { "key": "cpage", "value": "1" } ] }, "description": "Use this web service to fetch meta data required for mobile app functionality." }, "response": [] }, { "name": "CRM: Lead Details", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/lead-details?lead-id=201&cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "lead-details" ], "query": [ { "key": "lead-id", "value": "201" }, { "key": "cpage", "value": "1", "description": "pagination for matched property listing." }, { "key": "records", "value": null, "description": "how many records", "disabled": true } ] } }, "response": [] }, { "name": "CRM: Lead Listing Viewed", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc1MzQxMzU3LCJuYmYiOjE2NzUzNDEzNTcsImV4cCI6MTY3NTk0NjE1NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.xntIxsSnDrqIVm878FGKwyzhu0I1e-PntQHU2ojT8gI", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/lead-listing-viewed?lead-id=199&cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "lead-listing-viewed" ], "query": [ { "key": "lead-id", "value": "199" }, { "key": "cpage", "value": "1", "description": "pagination for viewed listing" } ] } }, "response": [] }, { "name": "CRM: Lead Saved Search", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc1MzQxMzU3LCJuYmYiOjE2NzUzNDEzNTcsImV4cCI6MTY3NTk0NjE1NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.xntIxsSnDrqIVm878FGKwyzhu0I1e-PntQHU2ojT8gI", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/lead-saved-searches?lead-id=199&cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "lead-saved-searches" ], "query": [ { "key": "lead-id", "value": "199" }, { "key": "cpage", "value": "1", "description": "pagination for viewed listing" } ] } }, "response": [] }, { "name": "CRM: Lead Notes", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/lead-notes?lead-id=199", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "lead-notes" ], "query": [ { "key": "lead-id", "value": "199" } ] } }, "response": [] }, { "name": "CRM: Delete Lead", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzODg3NzEwNSwibmJmIjoxNjM4ODc3MTA1LCJleHAiOjE2Mzk0ODE5MDUsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.QVIWUeVrMrsfqtT0xdYlaNOffKiQamzKgCGNRYc3Eg0", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "deal_group", "value": "active", "description": "won, lost, active", "type": "text" }, { "key": "deal_title", "value": "Corner Apartment at Sixth Avenue", "type": "text" }, { "key": "deal_contact", "value": "85", "description": "lead id", "type": "text" }, { "key": "deal_value", "value": "2344", "description": "number only", "type": "text" }, { "key": "deal_agent", "value": "158", "description": "agent id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-lead?lead_id=84", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-lead" ], "query": [ { "key": "lead_id", "value": "84" } ] } }, "response": [] }, { "name": "CRM: User Enquiries [Depricated]", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/enquiries?cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "enquiries" ], "query": [ { "key": "cpage", "value": "1" } ] } }, "response": [] }, { "name": "CRM: Add CRM Enquiry", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2t3Y2FtYm9kaWEyLnN0YWdlLXByb2plY3RzLmNvbSIsImlhdCI6MTY3MjkxNzAwNCwibmJmIjoxNjcyOTE3MDA0LCJleHAiOjE2NzM1MjE4MDQsImRhdGEiOnsidXNlciI6eyJpZCI6IjgifX19.4ooTYh4sH0r0VN4rg1kM3SqI-5EcdJwmzPSoUi3XiDI", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "lead_id", "value": "239", "description": "Contact field", "type": "text" }, { "key": "enquiry_id", "value": "", "description": "Send when editing", "type": "text" }, { "key": "enquiry_type", "value": "Rent", "description": "touchbase: Purchase, Rent, Sell, Miss, Evaluation, Mortgage", "type": "text" }, { "key": "e_meta[property_type]", "value": "apartment", "description": "property type slug", "type": "text" }, { "key": "e_meta[min-price]", "value": "0", "description": "min price", "type": "text" }, { "key": "e_meta[min-price]", "value": "", "type": "text" }, { "key": "e_meta[min-beds]", "value": "", "type": "text" }, { "key": "e_meta[max-beds]", "value": "", "type": "text" }, { "key": "e_meta[min-baths]", "value": "", "type": "text" }, { "key": "e_meta[max-baths]", "value": "", "type": "text" }, { "key": "e_meta[min-area]", "value": "", "type": "text", "disabled": true }, { "key": "e_meta[max-area]", "value": "", "type": "text", "disabled": true }, { "key": "e_meta[country]", "value": "pakistan", "description": "slug", "type": "text", "disabled": true }, { "key": "e_meta[state]", "value": "punjab", "description": "slug", "type": "text", "disabled": true }, { "key": "e_meta[city]", "value": "lahore", "description": "slug", "type": "text", "disabled": true }, { "key": "e_meta[area]", "value": "johar-town", "description": "slug", "type": "text", "disabled": true }, { "key": "e_meta[zipcode]", "value": "54000", "description": "optional", "type": "text", "disabled": true }, { "key": "private_note", "value": "created from postman", "description": "long text", "type": "text", "disabled": true }, { "key": "action", "value": "crm_add_new_enquiry", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-crm-enquiry", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-crm-enquiry" ] } }, "response": [] }, { "name": "CRM: All User Enquiries", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/all-enquiries?cpage=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "all-enquiries" ], "query": [ { "key": "cpage", "value": "1" } ] } }, "response": [] }, { "name": "CRM: Enquiry Matched Listing", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/enquiry-matched-listing?enquiry-id=73&prop_page=1", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "enquiry-matched-listing" ], "query": [ { "key": "enquiry-id", "value": "73" }, { "key": "prop_page", "value": "1", "description": "pagination for matched property listing." } ] } }, "response": [] }, { "name": "CRM: Enquiry Notes", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/enquiry-notes?enquiry-id=73", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "enquiry-notes" ], "query": [ { "key": "enquiry-id", "value": "73" } ] } }, "response": [] }, { "name": "CRM: Send Matched Listing Email", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "ids", "value": "19518,18398,17592", "description": "note message", "type": "text" }, { "key": "email_to", "value": "adilsoomro.s+enquiries@gmail.com", "description": "the owner lead, inquiry id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/send-matched-listing-email", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "send-matched-listing-email" ] } }, "response": [] }, { "name": "CRM: Delete CRM Enquiry", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzNzY4NTIwMSwibmJmIjoxNjM3Njg1MjAxLCJleHAiOjE2MzgyOTAwMDEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.DkFIrWclpvzbzCt4fLr6Rb-E9b5GS_YyesEr-lTA2B0", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "deal_group", "value": "active", "description": "won, lost, active", "type": "text" }, { "key": "deal_title", "value": "Corner Apartment at Sixth Avenue", "type": "text" }, { "key": "deal_contact", "value": "85", "description": "lead id", "type": "text" }, { "key": "deal_value", "value": "2344", "description": "number only", "type": "text" }, { "key": "deal_agent", "value": "158", "description": "agent id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-crm-enquiry?ids=32", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-crm-enquiry" ], "query": [ { "key": "ids", "value": "32" } ] } }, "response": [] }, { "name": "CRM: User Deals", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NjMxMzgxLCJuYmYiOjE2NzQ2MzEzODEsImV4cCI6MTY3NTIzNjE4MSwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.Awa8FP3CqVFIUXC0IjzViRXx2quBPRX6oFjwQe9Bj5o", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/deals?cpage=1&tab=active", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "deals" ], "query": [ { "key": "cpage", "value": "1" }, { "key": "tab", "value": "active", "description": "active, won, lost" } ] } }, "response": [] }, { "name": "CRM: Add Deal", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzNzY4NTIwMSwibmJmIjoxNjM3Njg1MjAxLCJleHAiOjE2MzgyOTAwMDEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.DkFIrWclpvzbzCt4fLr6Rb-E9b5GS_YyesEr-lTA2B0", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "deal_group", "value": "active", "description": "won, lost, active", "type": "text" }, { "key": "deal_title", "value": "Corner Apartment at Sixth Avenue", "type": "text" }, { "key": "deal_contact", "value": "85", "description": "lead id", "type": "text" }, { "key": "deal_value", "value": "2344", "description": "number only", "type": "text" }, { "key": "deal_agent", "value": "158", "description": "agent id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-deal", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-deal" ] } }, "response": [] }, { "name": "CRM: Update Deal Data", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "deal_id", "value": "42", "description": "won, lost, active", "type": "text" }, { "key": "purpose", "value": "crm_set_deal_next_action", "description": "crm_set_deal_status | crm_set_deal_next_action | \ncrm_set_action_due | crm_set_last_contact_date", "type": "text" }, { "key": "deal_data", "value": "Demo", "description": "action data", "type": "text" }, { "key": "deal_data", "value": "2023-02-5", "description": "yyyy-mm-dd", "type": "text", "disabled": true } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/update-deal-data", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "update-deal-data" ] } }, "response": [] }, { "name": "CRM: Delete Deal", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzNzY4NTIwMSwibmJmIjoxNjM3Njg1MjAxLCJleHAiOjE2MzgyOTAwMDEsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.DkFIrWclpvzbzCt4fLr6Rb-E9b5GS_YyesEr-lTA2B0", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "deal_group", "value": "active", "description": "won, lost, active", "type": "text" }, { "key": "deal_title", "value": "Corner Apartment at Sixth Avenue", "type": "text" }, { "key": "deal_contact", "value": "85", "description": "lead id", "type": "text" }, { "key": "deal_value", "value": "2344", "description": "number only", "type": "text" }, { "key": "deal_agent", "value": "158", "description": "agent id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-deal?deal_id=5", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-deal" ], "query": [ { "key": "deal_id", "value": "5" } ] } }, "response": [] }, { "name": "CRM: Add Property Request", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "enquiry_type", "value": "Rent", "description": "touchbase: Purchase, Rent, Sell, Miss, Evaluation, Mortgage", "type": "text" }, { "key": "e_meta[property_type]", "value": "condo", "description": "property type slug", "type": "text" }, { "key": "e_meta[price]", "value": "5000000", "description": "price", "type": "text" }, { "key": "e_meta[beds]", "value": "4", "type": "text" }, { "key": "e_meta[baths]", "value": "4", "type": "text" }, { "key": "e_meta[area-size]", "value": "1165", "type": "text" }, { "key": "e_meta[country]", "value": "pakistan", "description": "slug", "type": "text" }, { "key": "e_meta[state]", "value": "punjab", "description": "slug", "type": "text" }, { "key": "e_meta[city]", "value": "lahore", "description": "slug", "type": "text" }, { "key": "e_meta[area]", "value": "johar-town", "description": "slug", "type": "text" }, { "key": "e_meta[zipcode]", "value": "54000", "description": "optional", "type": "text" }, { "key": "first_name", "value": "Adil", "type": "text" }, { "key": "last_name", "value": "Soomro", "type": "text" }, { "key": "email", "value": "asoomro@gmail.com", "type": "text" }, { "key": "message", "value": "Hello I'm interested in buying a property.", "type": "text" }, { "key": "mobile", "value": "123456789", "type": "text" }, { "key": "gdpr_agreement", "value": "1", "description": "send only, if gdpr on in configs.", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-property-request", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-property-request" ] } }, "response": [] }, { "name": "CRM: Add Note", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "note", "value": "They'll be visiting on Sunday", "description": "note message", "type": "text" }, { "key": "belong_to", "value": "199", "description": "the owner lead, inquiry id", "type": "text" }, { "key": "note_type", "value": "lead", "description": "is it lead or enquiry note", "type": "text" }, { "key": "security", "value": "5ae0e84dc0", "description": "note_add_nonce", "type": "text", "disabled": true } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-note", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-note" ] } }, "response": [] }, { "name": "CRM: Delete Note", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc0NzM2Mjc3LCJuYmYiOjE2NzQ3MzYyNzcsImV4cCI6MTY3NTM0MTA3NywiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.mYOeug-fhcR7hgW7S9srDW-4wS5a17hN6Luwz886T2Q", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "note_id", "value": "", "description": "the note id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-note", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-note" ] } }, "response": [] } ] }, { "name": "Search", "item": [ { "name": "Search by Saved Search", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzOTU4NDkyNiwibmJmIjoxNjM5NTg0OTI2LCJleHAiOjE2NDAxODk3MjYsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.BS4t38fTEm5nSrKOEDIZyyHFDaEnRlHlkGx1IXEFRxs", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "id", "value": "15", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/view-saved-search", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "view-saved-search" ] } }, "response": [] }, { "name": "Search Properties", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "status[]", "value": "for-rent", "description": "for-rent, for-sale slug only", "type": "text", "disabled": true }, { "key": "type[]", "value": "apartment", "description": "apartment, commercial. slug only.", "type": "text", "disabled": true }, { "key": "label", "value": "", "description": "hot offer slug only", "type": "text", "disabled": true }, { "key": "keyword", "value": "Prime Village - New Project", "description": "any search string", "type": "text", "disabled": true }, { "key": "location[]", "value": "los-angeles", "description": "city slug", "type": "text", "disabled": true }, { "key": "area[]", "value": "", "description": "neighborhood slug", "type": "text", "disabled": true }, { "key": "state", "value": "florida", "description": "state slug", "type": "text", "disabled": true }, { "key": "bedrooms", "value": "1,2", "type": "text", "disabled": true }, { "key": "bathrooms", "value": "2", "type": "text", "disabled": true }, { "key": "beds_baths_criteria", "value": "IN", "type": "text", "disabled": true }, { "key": "min_area", "value": "76", "type": "text", "disabled": true }, { "key": "max_area", "value": "250", "type": "text", "disabled": true }, { "key": "min_price", "value": "50", "type": "text", "disabled": true }, { "key": "max_price", "value": "2500", "type": "text", "disabled": true }, { "key": "feature[]", "value": "sauna", "type": "text", "disabled": true }, { "key": "search_location", "value": "true", "type": "text", "disabled": true }, { "key": "use_radius", "value": "on", "type": "text", "disabled": true }, { "key": "search_lat", "value": "", "type": "text", "disabled": true }, { "key": "search_long", "value": "", "type": "text", "disabled": true }, { "key": "search_radius", "value": "", "type": "text", "disabled": true }, { "key": "page", "value": "1", "type": "text", "disabled": true }, { "key": "per_page", "value": "50", "type": "text", "disabled": true }, { "key": "agent_agency_info", "value": "yes", "description": "if you want short agent agency info", "type": "text", "disabled": true }, { "key": "custom_fields_values[kitchen]", "value": "1", "type": "text", "disabled": true }, { "key": "custom_fields_values[store]", "value": "Yes", "type": "text", "disabled": true }, { "key": "featured", "value": "1", "type": "text", "disabled": true }, { "key": "type[]", "value": "office", "type": "text", "disabled": true }, { "key": "type[]", "value": "shop", "type": "text", "disabled": true }, { "key": "fave_property_agency", "value": "2792", "type": "text", "disabled": true }, { "key": "fave_agents", "value": "43001", "type": "text", "disabled": true }, { "key": "property_id", "value": "hz41", "type": "text", "disabled": true } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/search-properties", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "search-properties" ] } }, "response": [] }, { "name": "Search Test", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "status[]", "value": "for-rent", "description": "for-rent, for-sale slug only", "type": "text", "disabled": true }, { "key": "type[]", "value": "apartment", "description": "apartment, commercial. slug only.", "type": "text", "disabled": true }, { "key": "label", "value": "", "description": "hot offer slug only", "type": "text", "disabled": true }, { "key": "keyword", "value": "Prime Village - New Project", "description": "any search string", "type": "text", "disabled": true }, { "key": "location[]", "value": "los-angeles", "description": "city slug", "type": "text", "disabled": true }, { "key": "area[]", "value": "", "description": "neighborhood slug", "type": "text", "disabled": true }, { "key": "state", "value": "florida", "description": "state slug", "type": "text", "disabled": true }, { "key": "bedrooms", "value": "1,2", "type": "text", "disabled": true }, { "key": "bathrooms", "value": "2", "type": "text", "disabled": true }, { "key": "beds_baths_criteria", "value": "IN", "type": "text", "disabled": true }, { "key": "min_area", "value": "76", "type": "text", "disabled": true }, { "key": "max_area", "value": "250", "type": "text", "disabled": true }, { "key": "min_price", "value": "50", "type": "text", "disabled": true }, { "key": "max_price", "value": "2500", "type": "text", "disabled": true }, { "key": "feature[]", "value": "sauna", "type": "text", "disabled": true }, { "key": "search_location", "value": "true", "type": "text", "disabled": true }, { "key": "use_radius", "value": "on", "type": "text", "disabled": true }, { "key": "search_lat", "value": "", "type": "text", "disabled": true }, { "key": "search_long", "value": "", "type": "text", "disabled": true }, { "key": "search_radius", "value": "", "type": "text", "disabled": true }, { "key": "page", "value": "1", "type": "text", "disabled": true }, { "key": "per_page", "value": "50", "type": "text", "disabled": true }, { "key": "agent_agency_info", "value": "yes", "description": "if you want short agent agency info", "type": "text", "disabled": true }, { "key": "custom_fields_values[kitchen]", "value": "1", "type": "text", "disabled": true }, { "key": "custom_fields_values[store]", "value": "Yes", "type": "text", "disabled": true }, { "key": "featured", "value": "1", "type": "text", "disabled": true }, { "key": "type[]", "value": "office", "type": "text", "disabled": true }, { "key": "type[]", "value": "shop", "type": "text", "disabled": true }, { "key": "fave_property_agency", "value": "2792", "type": "text", "disabled": true }, { "key": "fave_agents", "value": "43001", "type": "text", "disabled": true }, { "key": "property_id", "value": "hz41", "type": "text", "disabled": true }, { "key": "meta_key_filters[]", "value": "['{\"apiKey\":\"fave_property_bedrooms\",\"value\":\"1,2\",\"type\":\"string_picker\"}']", "type": "text", "disabled": true } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/search-test", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "search-test" ] } }, "response": [] }, { "name": "Save Search", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzOTU4NDkyNiwibmJmIjoxNjM5NTg0OTI2LCJleHAiOjE2NDAxODk3MjYsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.BS4t38fTEm5nSrKOEDIZyyHFDaEnRlHlkGx1IXEFRxs", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "status[]", "value": "for-rent", "description": "for-rent, for-sale slug only", "type": "text" }, { "key": "type[]", "value": "apartment", "description": "apartment, commercial. slug only.", "type": "text" }, { "key": "label", "value": "", "description": "hot offer slug only", "type": "text", "disabled": true }, { "key": "keyword", "value": "", "description": "any search string", "type": "text", "disabled": true }, { "key": "location[]", "value": "los-angeles", "description": "city slug", "type": "text" }, { "key": "area", "value": "", "description": "neighborhood slug", "type": "text", "disabled": true }, { "key": "state", "value": "", "description": "state slug", "type": "text", "disabled": true }, { "key": "bedrooms", "value": "2", "type": "text", "disabled": true }, { "key": "bathrooms", "value": "2", "type": "text", "disabled": true }, { "key": "min-area", "value": "", "type": "text", "disabled": true }, { "key": "max-area", "value": "", "type": "text", "disabled": true }, { "key": "min-price", "value": "50", "type": "text", "disabled": true }, { "key": "max-price", "value": "25000", "type": "text", "disabled": true }, { "key": "feature[]", "value": "sauna", "type": "text", "disabled": true }, { "key": "search_location", "value": "true", "type": "text", "disabled": true }, { "key": "use_radius", "value": "on", "type": "text", "disabled": true }, { "key": "search_lat", "value": "", "type": "text", "disabled": true }, { "key": "search_long", "value": "", "type": "text", "disabled": true }, { "key": "search_radius", "value": "", "type": "text", "disabled": true }, { "key": "page", "value": "1", "type": "text" }, { "key": "per_page", "value": "50", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/save-search", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "save-search" ] } }, "response": [] }, { "name": "List Saved Searches", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvendhbmRha28uY29tIiwiaWF0IjoxNjU0NTE5NTc4LCJuYmYiOjE2NTQ1MTk1NzgsImV4cCI6MTY1NTEyNDM3OCwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMTE4In19fQ.Q45WJ2XCuQOs8bhu41V4xYNMfWtEIcuGPaKRmtjQeMw", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/saved-searches", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "saved-searches" ] } }, "response": [] }, { "name": "Delete Saved Search", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzOTU4NDkyNiwibmJmIjoxNjM5NTg0OTI2LCJleHAiOjE2NDAxODk3MjYsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.BS4t38fTEm5nSrKOEDIZyyHFDaEnRlHlkGx1IXEFRxs", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "id", "value": "13", "description": "for-rent, for-sale slug only", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-saved-search", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-saved-search" ] } }, "response": [] } ] }, { "name": "Property", "item": [ { "name": "All properties", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?page=1&per_page=10&agent_agency_info=yes", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" }, { "key": "agent_agency_info", "value": "yes" } ] } }, "response": [] }, { "name": "Single Property", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "url": { "raw": "{{URL}}wp/v2/properties/361/?editing=true", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties", "361", "" ], "query": [ { "key": "editing", "value": "true" }, { "key": "status", "value": "any", "disabled": true } ] } }, "response": [] }, { "name": "Property by Meta ID", "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "url": { "raw": "{{URL}}wp/v2/properties?meta_key=fave_property_id&meta_value=HZ41", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "meta_key", "value": "fave_property_id" }, { "key": "meta_value", "value": "HZ41" } ] } }, "response": [] }, { "name": "Multiple Property by Ids", "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "url": { "raw": "{{URL}}wp/v2/properties/?include=451", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties", "" ], "query": [ { "key": "include", "value": "451", "description": "ids should be of published properties." } ] } }, "response": [] }, { "name": "My Single Property For Editing", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc5NjM1ODc4LCJuYmYiOjE2Nzk2MzU4NzgsImV4cCI6MTY4MDI0MDY3OCwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.k_640MSM4YeAxsI3v4Cm7Cf1ew0mACav95OavntTA7c", "type": "string" } ] }, "method": "GET", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true }, { "key": "Cache-Control", "value": "no-cache, must-revalidate, max-age=0", "type": "text", "disabled": true } ], "url": { "raw": "{{URL}}houzez-mobile-api/v1/property?editing=true&id=20650", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "property" ], "query": [ { "key": "editing", "value": "true" }, { "key": "status", "value": "any", "disabled": true }, { "key": "id", "value": "17908", "disabled": true }, { "key": "id", "value": "20650" } ] } }, "response": [] }, { "name": "Property by Permalink", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY1Mjc5NTQ3NCwibmJmIjoxNjUyNzk1NDc0LCJleHAiOjE2NTM0MDAyNzQsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.RnRCz02dZrop7JCGh_Cmrsw0MIJ8Z4gkCXEZYGaeUOw", "type": "string" } ] }, "method": "GET", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "url": { "raw": "{{URL}}houzez-mobile-api/v1/property-by-permalink?perm=http://propereal.booleanbites.com/property/modern-office-space/", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "property-by-permalink" ], "query": [ { "key": "perm", "value": "http://propereal.booleanbites.com/property/modern-office-space/" } ] } }, "response": [] }, { "name": "Featured Properties", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?fave_featured=1", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "fave_featured", "value": "1" } ] } }, "response": [] }, { "name": "Property in type", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?property_type=71", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "property_type", "value": "71" } ] } }, "response": [] }, { "name": "Property in city", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?property_city=23", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "property_city", "value": "23" } ] } }, "response": [] }, { "name": "My properties", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3d3dy5raW5nc2xhbmQucGsiLCJpYXQiOjE2NzMzMzYwNjcsIm5iZiI6MTY3MzMzNjA2NywiZXhwIjoxNjczOTQwODY3LCJkYXRhIjp7InVzZXIiOnsiaWQiOiIyMiJ9fX0.xOiyOWRRFSkB8-WFW4xz3zxjQDWAXpaVhQiivVt8g1g", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/my-properties?page=1&per_page=10&status=any", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "my-properties" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" }, { "key": "status", "value": "any" } ] }, "description": "fetch properties of logged in user." }, "response": [] }, { "name": "Publish Property [Admin Only]", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzNjAyMzY1OCwibmJmIjoxNjM2MDIzNjU4LCJleHAiOjE2MzY2Mjg0NTgsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.j8S45JD_D3wPoICvfs7r-RDcT205nbiW1_NcsuSgtPg", "type": "string" } ] }, "method": "POST", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "status", "value": "publish", "type": "text" } ] }, "url": { "raw": "{{URL}}wp/v2/properties/17645", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties", "17645" ] } }, "response": [] }, { "name": "Hold Property", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTYzNjAyMzY1OCwibmJmIjoxNjM2MDIzNjU4LCJleHAiOjE2MzY2Mjg0NTgsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.j8S45JD_D3wPoICvfs7r-RDcT205nbiW1_NcsuSgtPg", "type": "string" } ] }, "method": "POST", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "status", "value": "publish", "type": "text" } ] }, "url": { "raw": "{{URL}}wp/v2/properties/17645", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties", "17645" ] } }, "response": [] }, { "name": "Fav a Property", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0NTU0MzYzMCwibmJmIjoxNjQ1NTQzNjMwLCJleHAiOjE2NDYxNDg0MzAsImRhdGEiOnsidXNlciI6eyJpZCI6IjQxIn19fQ.Ly1UZe_n5EQ3Dk7vIbRw5fOdCTZ22TNeo5z-CiprInc", "type": "string" } ] }, "method": "POST", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "listing_id", "value": "429", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/like-property", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "like-property" ] } }, "response": [] }, { "name": "Is Fav Property", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0NTU0MzYzMCwibmJmIjoxNjQ1NTQzNjMwLCJleHAiOjE2NDYxNDg0MzAsImRhdGEiOnsidXNlciI6eyJpZCI6IjQxIn19fQ.Ly1UZe_n5EQ3Dk7vIbRw5fOdCTZ22TNeo5z-CiprInc", "type": "string" } ] }, "method": "GET", "header": [ { "key": "user_id", "type": "text", "value": "2", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "listing_id", "value": "429", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/is-fav-property?listing_id=429", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "is-fav-property" ], "query": [ { "key": "listing_id", "value": "429" } ] } }, "response": [] }, { "name": "Similar Properties", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/similar-properties?property_id=643", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "similar-properties" ], "query": [ { "key": "property_id", "value": "643" } ] } }, "response": [] }, { "name": "Favorite Properties", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0NDUxMDk1NiwibmJmIjoxNjQ0NTEwOTU2LCJleHAiOjE2NDUxMTU3NTYsImRhdGEiOnsidXNlciI6eyJpZCI6IjQxIn19fQ.YHSMj-8GozhttAktYf_i5pmOBURZt2bsbry8OSXxv6I", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/favorite-properties?cpage=1&per_page=11", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "favorite-properties" ], "query": [ { "key": "cpage", "value": "1" }, { "key": "per_page", "value": "11" } ] } }, "response": [] }, { "name": "Related Properties [Depricated]", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?page=1&per_page=5&exclude=429", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "5" }, { "key": "exclude", "value": "429" } ] } }, "response": [] }, { "name": "Schedule A Tour", "protocolProfileBehavior": { "disabledSystemHeaders": {} }, "request": { "method": "POST", "header": [ { "key": "Accept", "type": "text", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "key": "agent_id", "value": "158", "type": "text" }, { "key": "target_email", "value": "michelle@houzez.com", "type": "text" }, { "key": "phone", "value": "03007585856", "type": "text" }, { "key": "name", "value": "adil", "type": "text" }, { "key": "email", "value": "hello@email.com", "type": "text" }, { "key": "message", "value": "hello hello hello", "type": "text" }, { "key": "listing_id", "value": "429", "description": "property id", "type": "text" }, { "key": "property_title", "value": "Gorgeous villa bay view", "type": "text" }, { "key": "property_permalink", "value": "http://propereal.booleanbites.com/index.php/property/gorgeous-villa-bay-view/", "description": "from property web service", "type": "text" }, { "key": "schedule_tour_type", "value": "In Person", "description": "In Person, Video Chat", "type": "text" }, { "key": "schedule_time", "value": "05:00 pm", "description": "get from meta data", "type": "text" }, { "key": "schedule_date", "value": "2021-08-31", "description": "YYYY-MM-DD", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/schedule-tour", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "schedule-tour" ] } }, "response": [] }, { "name": "Add Property [Depricated]", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "action", "value": "add_property", "type": "text" }, { "key": "user_id", "value": "2", "type": "text" }, { "key": "prop_title", "value": "Best view Upper Portion", "description": "Title", "type": "text" }, { "key": "prop_des", "value": "2 Beds Brand New Flats with attached Baths, Drawing Room, Lounge, Kitchen, Store and laundry area are available for rent", "description": "long description", "type": "text" }, { "key": "prop_type[]", "value": "71", "description": "(Apartment) from touchbase", "type": "text" }, { "key": "prop_status[]", "value": "28", "description": "(For Rent) from touchbase", "type": "text" }, { "key": "prop_labels[]", "value": "32", "description": "(Hot Offer) from touchbase", "type": "text" }, { "key": "prop_price", "value": "3500", "description": "price digits", "type": "text" }, { "key": "prop_label", "value": "Monthly", "description": "Price Postfix", "type": "text" }, { "key": "prop_price_prefix", "value": "Starts from", "description": "Price Prefix", "type": "text" }, { "key": "prop_sec_price", "value": "400000", "type": "text" }, { "key": "currency", "value": "$", "description": "currency.", "type": "text" }, { "key": "prop_video_url", "value": "https://www.youtube.com/watch?v=49d3Gn41IaA", "description": "url", "type": "text" }, { "key": "prop_beds", "value": "3", "description": "digit only", "type": "text" }, { "key": "prop_baths", "value": "2", "description": "digit only", "type": "text" }, { "key": "prop_size", "value": "1165", "description": "digit only", "type": "text" }, { "key": "prop_size_prefix", "value": "sqft", "type": "text" }, { "key": "prop_land_area", "value": "1500", "description": "digit only", "type": "text" }, { "key": "prop_land_area_prefix", "value": "sqft", "type": "text" }, { "key": "prop_garage", "value": "1", "description": "digit only", "type": "text" }, { "key": "prop_garage_size", "value": "1500 sqft", "type": "text" }, { "key": "prop_year_built", "value": "1999", "type": "text" }, { "key": "prop_features[]", "value": "12", "description": "from touchbase", "type": "text" }, { "key": "prop_features[]", "value": "16", "description": "from touchbase", "type": "text" }, { "key": "prop_features[]", "value": "26", "description": "from touchbase", "type": "text" }, { "key": "property_map_address", "value": "Apartment No. 9, North Damen Avenue, West Town, Chicago, Cook County, Illinois, 60622, United States", "description": "address string", "type": "text" }, { "key": "country", "value": "United States", "description": "If not set, default will be used.", "type": "text" }, { "key": "administrative_area_level_1", "value": "Cook County", "description": "state/county", "type": "text" }, { "key": "locality", "value": "Chicago", "description": "city", "type": "text" }, { "key": "neighborhood", "value": "West Town", "description": "area", "type": "text" }, { "key": "postal_code", "value": "60622", "type": "text" }, { "key": "lat", "value": "41.9145495", "type": "text" }, { "key": "lng", "value": "-87.6777233", "type": "text" }, { "key": "virtual_tour", "value": "", "description": "optional iframe text", "type": "text" }, { "key": "floorPlans_enable", "value": "0", "type": "text" }, { "key": "floor_plans", "value": "", "description": "{\n \"fave_plan_title\": \"First Floor\",\n \"fave_plan_rooms\": \"670 Sqft\",\n \"fave_plan_bathrooms\": \"530 Sqft\",\n \"fave_plan_price\": \"1,650\",\n \"fave_plan_size\": \"1267 Sqft\",\n \"fave_plan_image\": \"https://sandbox.favethemes.com/houzez/wp-content/uploads/2016/01/plan-1.jpg\",\n \"fave_plan_description\": \"Plan description. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.\"\n }", "type": "text" }, { "key": "multiUnits", "value": "0", "description": "sublisting (off for now)", "type": "text" }, { "key": "fave_multi_units", "value": "", "type": "text" }, { "key": "fave_property_map", "value": "1", "description": "if loc selected on map", "type": "text" }, { "key": "property_id", "value": "HZ121", "type": "text" }, { "key": "user_submit_has_no_membership", "value": "no", "type": "text" }, { "key": "propperty_image_ids[]", "value": "", "description": "array of id", "type": "text" }, { "key": "featured_image_id", "value": "", "description": "id of the image, that we want to feature.", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-property", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-property" ] } }, "response": [] }, { "name": "Add Property", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "action", "value": "add_property", "type": "text" }, { "key": "user_id", "value": "2", "type": "text" }, { "key": "prop_title", "value": "Best view Upper Portion", "description": "Title", "type": "text" }, { "key": "prop_des", "value": "2 Beds Brand New Flats with attached Baths, Drawing Room, Lounge, Kitchen, Store and laundry area are available for rent", "description": "long description", "type": "text" }, { "key": "prop_type[]", "value": "71", "description": "(Apartment) from touchbase", "type": "text" }, { "key": "prop_status[]", "value": "28", "description": "(For Rent) from touchbase", "type": "text" }, { "key": "prop_labels[]", "value": "32", "description": "(Hot Offer) from touchbase", "type": "text" }, { "key": "prop_price", "value": "3500", "description": "price digits", "type": "text" }, { "key": "prop_label", "value": "Monthly", "description": "Price Postfix", "type": "text" }, { "key": "prop_price_prefix", "value": "Starts from", "description": "Price Prefix", "type": "text" }, { "key": "prop_sec_price", "value": "400000", "type": "text" }, { "key": "currency", "value": "$", "description": "currency.", "type": "text" }, { "key": "prop_video_url", "value": "https://www.youtube.com/watch?v=49d3Gn41IaA", "description": "url", "type": "text" }, { "key": "prop_beds", "value": "3", "description": "digit only", "type": "text" }, { "key": "prop_baths", "value": "2", "description": "digit only", "type": "text" }, { "key": "prop_size", "value": "1165", "description": "digit only", "type": "text" }, { "key": "prop_size_prefix", "value": "sqft", "type": "text" }, { "key": "prop_land_area", "value": "1500", "description": "digit only", "type": "text" }, { "key": "prop_land_area_prefix", "value": "sqft", "type": "text" }, { "key": "prop_garage", "value": "1", "description": "digit only", "type": "text" }, { "key": "prop_garage_size", "value": "1500 sqft", "type": "text" }, { "key": "prop_year_built", "value": "1999", "type": "text" }, { "key": "prop_features[]", "value": "12", "description": "from touchbase", "type": "text" }, { "key": "prop_features[]", "value": "16", "description": "from touchbase", "type": "text" }, { "key": "prop_features[]", "value": "26", "description": "from touchbase", "type": "text" }, { "key": "property_map_address", "value": "Apartment No. 9, North Damen Avenue, West Town, Chicago, Cook County, Illinois, 60622, United States", "description": "address string", "type": "text" }, { "key": "country", "value": "United States", "description": "If not set, default will be used.", "type": "text" }, { "key": "administrative_area_level_1", "value": "Cook County", "description": "state/county", "type": "text" }, { "key": "locality", "value": "Chicago", "description": "city", "type": "text" }, { "key": "neighborhood", "value": "West Town", "description": "area", "type": "text" }, { "key": "postal_code", "value": "60622", "type": "text" }, { "key": "lat", "value": "41.9145495", "type": "text" }, { "key": "lng", "value": "-87.6777233", "type": "text" }, { "key": "virtual_tour", "value": "", "description": "optional iframe text", "type": "text" }, { "key": "floorPlans_enable", "value": "0", "type": "text" }, { "key": "floor_plans", "value": "", "description": "{\n \"fave_plan_title\": \"First Floor\",\n \"fave_plan_rooms\": \"670 Sqft\",\n \"fave_plan_bathrooms\": \"530 Sqft\",\n \"fave_plan_price\": \"1,650\",\n \"fave_plan_size\": \"1267 Sqft\",\n \"fave_plan_image\": \"https://sandbox.favethemes.com/houzez/wp-content/uploads/2016/01/plan-1.jpg\",\n \"fave_plan_description\": \"Plan description. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.\"\n }", "type": "text" }, { "key": "multiUnits", "value": "0", "description": "sublisting (off for now)", "type": "text" }, { "key": "fave_multi_units", "value": "", "type": "text" }, { "key": "fave_property_map", "value": "1", "description": "if loc selected on map", "type": "text" }, { "key": "property_id", "value": "HZ121", "type": "text" }, { "key": "user_submit_has_no_membership", "value": "no", "type": "text" }, { "key": "propperty_image_ids[]", "value": "", "description": "array of id", "type": "text" }, { "key": "featured_image_id", "value": "", "description": "id of the image, that we want to feature.", "type": "text" }, { "key": "fave_agent_display_option", "value": "author_info", "description": "author_info, agent_info, agency_info", "type": "text" }, { "key": "fave_agents[]", "value": "", "description": "if the display option is agent_info", "type": "text" }, { "key": "fave_property_agency[]", "value": "", "description": "if the display option is agency_info", "type": "text" }, { "key": "additional_features ", "value": "", "type": "text" }, { "key": "prop_featured", "value": "0", "description": "0 => non-featured, 1 => featured", "type": "text" }, { "key": "login-requried", "value": "0", "description": "0 => not-required, 1 => required", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/save-property", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "save-property" ] } }, "response": [] }, { "name": "Delete Property", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-property?prop_id=", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-property" ], "query": [ { "key": "prop_id", "value": "" } ] } }, "response": [] }, { "name": "Update Property", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc5NjM1ODc4LCJuYmYiOjE2Nzk2MzU4NzgsImV4cCI6MTY4MDI0MDY3OCwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.k_640MSM4YeAxsI3v4Cm7Cf1ew0mACav95OavntTA7c", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "action", "value": "update_property", "type": "text" }, { "key": "user_id", "value": "2", "type": "text", "disabled": true }, { "key": "prop_id", "value": "20650", "type": "text" }, { "key": "prop_title", "value": "Best view Upper Portion", "description": "Title", "type": "text" }, { "key": "prop_des", "value": "2 Beds Brand New Flats with attached Baths, Drawing Room, Lounge, Kitchen, Store and laundry area are available for rent", "description": "long description", "type": "text" }, { "key": "prop_type[]", "value": "71", "description": "(Apartment) from touchbase", "type": "text", "disabled": true }, { "key": "prop_status[]", "value": "28", "description": "(For Rent) from touchbase", "type": "text", "disabled": true }, { "key": "prop_labels[]", "value": "32", "description": "(Hot Offer) from touchbase", "type": "text", "disabled": true }, { "key": "prop_price", "value": "3500", "description": "price digits", "type": "text", "disabled": true }, { "key": "prop_label", "value": "Monthly", "description": "Price Postfix", "type": "text", "disabled": true }, { "key": "prop_price_prefix", "value": "Starts from", "description": "Price Prefix", "type": "text", "disabled": true }, { "key": "prop_sec_price", "value": "400000", "type": "text", "disabled": true }, { "key": "currency", "value": "$", "description": "currency.", "type": "text", "disabled": true }, { "key": "prop_video_url", "value": "https://www.youtube.com/watch?v=49d3Gn41IaA", "description": "url", "type": "text", "disabled": true }, { "key": "prop_beds", "value": "3", "description": "digit only", "type": "text", "disabled": true }, { "key": "prop_baths", "value": "2", "description": "digit only", "type": "text", "disabled": true }, { "key": "prop_size", "value": "1165", "description": "digit only", "type": "text", "disabled": true }, { "key": "prop_size_prefix", "value": "sqft", "type": "text", "disabled": true }, { "key": "prop_land_area", "value": "1500", "description": "digit only", "type": "text", "disabled": true }, { "key": "prop_land_area_prefix", "value": "sqft", "type": "text", "disabled": true }, { "key": "prop_garage", "value": "1", "description": "digit only", "type": "text", "disabled": true }, { "key": "prop_garage_size", "value": "1500 sqft", "type": "text", "disabled": true }, { "key": "prop_year_built", "value": "1999", "type": "text", "disabled": true }, { "key": "prop_features[]", "value": "12", "description": "from touchbase", "type": "text", "disabled": true }, { "key": "prop_features[]", "value": "16", "description": "from touchbase", "type": "text", "disabled": true }, { "key": "prop_features[]", "value": "26", "description": "from touchbase", "type": "text", "disabled": true }, { "key": "property_map_address", "value": "Apartment No. 9, North Damen Avenue, West Town, Chicago, Cook County, Illinois, 60622, United States", "description": "address string", "type": "text", "disabled": true }, { "key": "country", "value": "United States", "description": "If not set, default will be used.", "type": "text", "disabled": true }, { "key": "administrative_area_level_1", "value": "Cook County", "description": "state/county", "type": "text", "disabled": true }, { "key": "locality", "value": "Chicago", "description": "city", "type": "text", "disabled": true }, { "key": "neighborhood", "value": "West Town", "description": "area", "type": "text", "disabled": true }, { "key": "postal_code", "value": "60622", "type": "text", "disabled": true }, { "key": "lat", "value": "41.9145495", "type": "text", "disabled": true }, { "key": "lng", "value": "-87.6777233", "type": "text", "disabled": true }, { "key": "virtual_tour", "value": "", "description": "optional iframe text", "type": "text", "disabled": true }, { "key": "floorPlans_enable", "value": "0", "type": "text", "disabled": true }, { "key": "floor_plans", "value": "", "description": "{\n \"fave_plan_title\": \"First Floor\",\n \"fave_plan_rooms\": \"670 Sqft\",\n \"fave_plan_bathrooms\": \"530 Sqft\",\n \"fave_plan_price\": \"1,650\",\n \"fave_plan_size\": \"1267 Sqft\",\n \"fave_plan_image\": \"https://sandbox.favethemes.com/houzez/wp-content/uploads/2016/01/plan-1.jpg\",\n \"fave_plan_description\": \"Plan description. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.\"\n }", "type": "text", "disabled": true }, { "key": "multiUnits", "value": "0", "description": "sublisting (off for now)", "type": "text", "disabled": true }, { "key": "fave_multi_units", "value": "", "type": "text", "disabled": true }, { "key": "fave_property_map", "value": "1", "description": "if loc selected on map", "type": "text", "disabled": true }, { "key": "property_id", "value": "HZ121", "type": "text", "disabled": true }, { "key": "user_submit_has_no_membership", "value": "no", "type": "text", "disabled": true }, { "key": "propperty_image_ids[]", "value": "", "description": "array of id", "type": "text", "disabled": true }, { "key": "featured_image_id", "value": "", "description": "id of the image, that we want to feature.", "type": "text", "disabled": true }, { "key": "fave_agent_display_option", "value": "author_info", "description": "author_info, agent_info, agency_info", "type": "text" }, { "key": "fave_agents[]", "value": "", "description": "if the display option is agent_info (send in array)", "type": "text" }, { "key": "fave_property_agency[]", "value": "", "description": "if the display option is agency_info", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/update-property", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "update-property" ] } }, "response": [] }, { "name": "Upload Property Image [Depricated]", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0OTg0NTI0NywibmJmIjoxNjQ5ODQ1MjQ3LCJleHAiOjE2NTA0NTAwNDcsImRhdGEiOnsidXNlciI6eyJpZCI6IjEwIn19fQ.1pqiFYzfgA1w5aVD9IK2cF_kbsYW0oNCaFbH1IOOQCI", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "user_id", "value": "2", "type": "text" }, { "key": "property_upload_file", "type": "file", "src": "/C:/Users/ranas/Desktop/app_icon.ico" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/save-property-image", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "save-property-image" ] } }, "response": [] }, { "name": "Upload Property Image", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0OTg0NTI0NywibmJmIjoxNjQ5ODQ1MjQ3LCJleHAiOjE2NTA0NTAwNDcsImRhdGEiOnsidXNlciI6eyJpZCI6IjEwIn19fQ.1pqiFYzfgA1w5aVD9IK2cF_kbsYW0oNCaFbH1IOOQCI", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "user_id", "value": "2", "type": "text" }, { "key": "property_upload_file", "type": "file", "src": "/Users/booleanbites/Downloads/Amoeba/assets/img/about-img.jpg" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/upload-property-image", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "upload-property-image" ] } }, "response": [] }, { "name": "Delete Property Image", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wveWV6cHJvcGVydGllcy5jb20iLCJpYXQiOjE2NDI2Njc0NTUsIm5iZiI6MTY0MjY2NzQ1NSwiZXhwIjoxNjQzMjcyMjU1LCJkYXRhIjp7InVzZXIiOnsiaWQiOiI3In19fQ.ACoIR0yyu7h7BgURtPO4XBg2_NAUvWd2t5H_Be2VrHA", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "thumb_id", "value": "17957", "type": "text" }, { "key": "prop_id", "value": "17939", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-property-image", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-property-image" ] } }, "response": [] }, { "name": "User Properties", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0MjY4NDA1MiwibmJmIjoxNjQyNjg0MDUyLCJleHAiOjE2NDMyODg4NTIsImRhdGEiOnsidXNlciI6eyJpZCI6IjEifX19.ChTb8CYr63iW8xX5EPqExjnlfZAFFEW4LTw8OThZjXY", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?page=1&status=pending&author=7", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "16", "disabled": true }, { "key": "status", "value": "pending", "description": "pending etc. see from touchbase" }, { "key": "author", "value": "7", "description": "UserId" } ] } }, "response": [] }, { "name": "Print Pdf Property", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/print-pdf-property?propid=416", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "print-pdf-property" ], "query": [ { "key": "propid", "value": "416" } ] } }, "response": [] } ] }, { "name": "Agent Agency", "item": [ { "name": "All agents", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agents/?page=1&per_page=10", "host": [ "{{URL}}wp" ], "path": [ "v2", "agents", "" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" } ] } }, "response": [] }, { "name": "All agents for agency", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}houzez-mobile-api/v1/agency-all-agents?agency_id=2777", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "agency-all-agents" ], "query": [ { "key": "agency_id", "value": "2777" } ] } }, "response": [] }, { "name": "Search agent", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agents/?page=1&per_page=10&search=adil&agent_city=104&agent_category=108", "host": [ "{{URL}}wp" ], "path": [ "v2", "agents", "" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" }, { "key": "search", "value": "adil" }, { "key": "agent_city", "value": "104" }, { "key": "agent_category", "value": "108" } ] } }, "response": [] }, { "name": "Signle agent", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agents/158", "host": [ "{{URL}}wp" ], "path": [ "v2", "agents", "158" ] } }, "response": [] }, { "name": "Create new agent by agency", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "aa_username", "value": "testagencyagent3", "type": "text" }, { "key": "aa_email", "value": "testagencyagent3@test.com", "type": "text" }, { "key": "aa_firstname", "value": "Ryan", "type": "text" }, { "key": "aa_lastname", "value": "Brook", "type": "text" }, { "key": "aa_password", "value": "123456789", "type": "text" }, { "key": "aa_notification", "value": "no", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-new-agent", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-new-agent" ] }, "description": "Create new user on wordpress." }, "response": [] }, { "name": "Edit agent by agency", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "agency_user_id", "value": "166", "description": "agent user id", "type": "text" }, { "key": "aa_username", "value": "testagencyagent3", "description": "not editable", "type": "text" }, { "key": "aa_email", "value": "testagencyagent3@test.coms", "type": "text" }, { "key": "aa_firstname", "value": "Ryans", "type": "text" }, { "key": "aa_lastname", "value": "Brooks", "description": "Only if you want to reset", "type": "text" }, { "key": "aa_password", "value": "", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/edit-an-agent", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "edit-an-agent" ] }, "description": "Create new user on wordpress." }, "response": [] }, { "name": "Delete agent by agency", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "agent_id", "value": "23", "description": "agent user id", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/delete-an-agent", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "delete-an-agent" ] }, "description": "Create new user on wordpress." }, "response": [] }, { "name": "All Agency", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agencies?page=1&per_page=10", "host": [ "{{URL}}wp" ], "path": [ "v2", "agencies" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" } ] } }, "response": [] }, { "name": "Search Agency", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agencies?page=1&per_page=10&search=modern", "host": [ "{{URL}}wp" ], "path": [ "v2", "agencies" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" }, { "key": "search", "value": "modern" } ] } }, "response": [] }, { "name": "Single Agency", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agencies/2784", "host": [ "{{URL}}wp" ], "path": [ "v2", "agencies", "2784" ] } }, "response": [] }, { "name": "Agency agents", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/agents/?fave_agent_agencies=2784", "host": [ "{{URL}}wp" ], "path": [ "v2", "agents", "" ], "query": [ { "key": "fave_agent_agencies", "value": "2784" } ] } }, "response": [] }, { "name": "Properties by Agent", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?fave_agents=2794&page=1&per_page=16", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "fave_agents", "value": "2794" }, { "key": "page", "value": "1" }, { "key": "per_page", "value": "16" } ] } }, "response": [] }, { "name": "Properties by Agency", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/properties?fave_property_agency=2792&page=1&per_page=16", "host": [ "{{URL}}wp" ], "path": [ "v2", "properties" ], "query": [ { "key": "fave_property_agency", "value": "2792" }, { "key": "page", "value": "1" }, { "key": "per_page", "value": "16" } ] } }, "response": [] }, { "name": "Contact Property Agent", "protocolProfileBehavior": { "disabledSystemHeaders": {} }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "agent_id", "value": "158", "type": "text" }, { "key": "target_email", "value": "michelle@houzez.com", "type": "text" }, { "key": "mobile", "value": "03007585856", "type": "text" }, { "key": "name", "value": "adil", "type": "text" }, { "key": "email", "value": "hello@email.com", "type": "text" }, { "key": "message", "value": "hello hello hello", "type": "text" }, { "key": "user_type", "value": "buyer", "description": "buyer, tennant, agent, other", "type": "text" }, { "key": "agent_type", "value": "agent_info", "description": "agency_info, author_info", "type": "text" }, { "key": "property_id", "value": "HZ41", "description": "Contain alpha-numeric property id, ie HZ165", "type": "text" }, { "key": "property_permalink", "value": "", "type": "text" }, { "key": "property_title", "value": "", "type": "text" }, { "key": "listing_id", "value": "416", "description": "post / property id", "type": "text" }, { "key": "source_link", "value": "", "description": "property / realtor link", "type": "text" }, { "key": "source", "value": "property", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/contact-property-agent", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "contact-property-agent" ] } }, "response": [] }, { "name": "Contact Agent", "protocolProfileBehavior": { "disabledSystemHeaders": {} }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "agent_id", "value": "158", "type": "text" }, { "key": "target_email", "value": "michelle@houzez.com", "type": "text" }, { "key": "mobile", "value": "03007585856", "type": "text" }, { "key": "name", "value": "adil", "type": "text" }, { "key": "email", "value": "hello@email.com", "type": "text" }, { "key": "message", "value": "hello hello hello", "type": "text" }, { "key": "user_type", "value": "buyer", "description": "buyer, tennant, agent, other", "type": "text" }, { "key": "agent_type", "value": "agent_info", "description": "agency_info, author_info", "type": "text" }, { "key": "listing_id", "value": "412", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/contact-realtor", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "contact-realtor" ] } }, "response": [] } ] }, { "name": "Reviews", "item": [ { "name": "Add Review", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9wZXJlYWwuYm9vbGVhbmJpdGVzLmNvbSIsImlhdCI6MTY0MjY3NjAwNiwibmJmIjoxNjQyNjc2MDA2LCJleHAiOjE2NDMyODA4MDYsImRhdGEiOnsidXNlciI6eyJpZCI6IjEwIn19fQ.yUJGS0Sv4yOFGyr4JvwhIlTGc6H-QhEeWhWkmYnHjfs", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "review_title", "value": "Nice Apartment", "type": "text" }, { "key": "review_stars", "value": "5", "type": "text" }, { "key": "review", "value": "I’ve had nice experience of living in this apartment for two years. Nice place, near to market and all interest points.", "description": "Title", "type": "text" }, { "key": "review_post_type", "value": "property", "description": "property, houzez_agent, houzez_agency, houzez_author", "type": "text" }, { "key": "listing_id", "value": "294", "description": "property, agent, agency, author id", "type": "text" }, { "key": "listing_title", "value": "Design apartment", "description": "property title, agency, agent or author name", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/add-review", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "add-review" ] } }, "response": [] }, { "name": "Report Content", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Byb3BlcmVhbC5ib29sZWFuYml0ZXMuY29tIiwiaWF0IjoxNjc4MjgyMDUxLCJuYmYiOjE2NzgyODIwNTEsImV4cCI6MTY3ODg4Njg1MSwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMSJ9fX0.bfsfhGalOnEF2pCgf0pn5-3rRkTeeJ8HNGkqjty0CFk", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "content_type", "value": "review", "type": "text" }, { "key": "content_id", "value": "21566", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/report-content", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "report-content" ] } }, "response": [] }, { "name": "Property reviews", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/houzez_reviews?page=1&per_page=10&review_property_id=294", "host": [ "{{URL}}wp" ], "path": [ "v2", "houzez_reviews" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" }, { "key": "review_property_id", "value": "294" } ] } }, "response": [] }, { "name": "Agent / Agency / Author reviews", "request": { "method": "GET", "header": [], "url": { "raw": "{{URL}}wp/v2/houzez_reviews?page=1&per_page=10&review_agency_id=2777", "host": [ "{{URL}}wp" ], "path": [ "v2", "houzez_reviews" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "10" }, { "key": "review_agent_id", "value": "156", "disabled": true }, { "key": "review_agency_id", "value": "2777" }, { "key": "review_author_id", "value": "", "disabled": true } ] } }, "response": [] } ] }, { "name": "Security", "item": [ { "name": "Create Nonce", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "app-secret", "value": "SWSRJ44Kh234", "description": "a secret key that you get from plugin field.", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "nonce_name", "value": "note_add_nonce", "type": "text" } ] }, "url": { "raw": "{{URL}}houzez-mobile-api/v1/create-nonce", "host": [ "{{URL}}houzez-mobile-api" ], "path": [ "v1", "create-nonce" ] }, "description": "Send username/email and password in post to get login auth token. We're currently using JWT auth plugin for login and acquiring tokens." }, "response": [] } ] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "URL", "value": "https://domain.com/wp-json/", "type": "string" } ] }