Last active
July 8, 2021 17:29
-
-
Save chloepowell/30d074e44dfe192f00759e80e7e5ade9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "92939342-9a7e-4cc1-a019-3f6de3652f8e", | |
"name": "Compass: API", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "APIV3", | |
"item": [ | |
{ | |
"name": "apid statusz", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/statusz", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"statusz" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Brief", | |
"item": [ | |
{ | |
"name": "Get Brief", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/briefs/:briefId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"briefs", | |
":briefId" | |
], | |
"variable": [ | |
{ | |
"key": "briefId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Briefs", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/briefs?json={}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"briefs" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Briefs By IDs", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/briefs?json={\"briefIds\":[\"589ca9ea200515483540d051\",\"589ca9e9200515483540d050\",\"589ca9e4200515483540d04f\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"briefs" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"briefIds\":[\"589ca9ea200515483540d051\",\"589ca9e9200515483540d050\",\"589ca9e4200515483540d04f\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Brief", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"brief\": {\n \"name\": \"HSrvUT1qW4QecQYcqdVs0CTMjE2BFQGW\",\n \"description\": \"Let's test Brief updating.\",\n \"source\": 0,\n \"type\": 0,\n \"data\": {\n \"listings\": [\n {\n \"listingIdSHA\": \"cc79ed2f756dd7da61c6cd2a0df2b9b2c08e576d\"\n }\n ]\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/briefs", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"briefs" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Brief", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"brief\": {\n \"_id\": \"5c2c02512b0475749baab201\",\n \"name\": \"HSrvUT1qW4QecQYcqdVs0CTMjE2BFQGW\",\n \"description\": \"New description for testing Brief update.\",\n \"source\": 0,\n \"type\": 0,\n \"data\": {\n \"listings\": [\n {\n \"listingIdSHA\": \"cc79ed2f756dd7da61c6cd2a0df2b9b2c08e576d\"\n }\n ]\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/briefs/:briefId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"briefs", | |
":briefId" | |
], | |
"variable": [ | |
{ | |
"key": "briefId", | |
"value": "5c2c02512b0475749baab201" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Brief", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/briefs/:briefId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"briefs", | |
":briefId" | |
], | |
"variable": [ | |
{ | |
"key": "briefId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Canvas (Design Studio)", | |
"item": [ | |
{ | |
"name": "Get Canvases Query", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": null | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/canvases?json={\"isPublic\":true,\"orderBy\":4,\"ascending\":false,\"designType\":1}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"canvases" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"isPublic\":true,\"orderBy\":4,\"ascending\":false,\"designType\":1}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Canvases", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/canvases/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"canvases", | |
"" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Canvas", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/canvases/:canvasId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"canvases", | |
":canvasId" | |
], | |
"variable": [ | |
{ | |
"key": "canvasId", | |
"value": "{{canvasId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Canvas", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"canvas\": {\n \t\"proPrint\": true,\n \t\"designId\": \"design01\",\n \t\"title\": \"Agent Address test. 3\",\n \t\"detail\": \"This is a Canvas with Tags.\",\n \t\"body\": {\n \t\t\"data\": \"{\\\"foo\\\":\\\"bar\\\"}\",\n \t\t\"briefs\":[\n \t\t\t{\"_id\":\"5c3190f32b047563ad327c85\"}\n \t\t]\n \t},\n \t\"tags\":[\n \t\t{\n \t\t\t\"key\":\"test\",\n \t\t\t\"value\":\"LWcF0MfTEi67XNJMvyPUeqIottxMEihV\"\n \t\t}\n \t],\n \t\"isPublic\": true,\n \t\"categoryId\": \"hadar\"\n \t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/canvases", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"canvases" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Canvas", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json; charset=utf-8" | |
}, | |
{ | |
"key": "Cookie", | |
"value": null | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"canvas\": {\n \t\"proPrint\": true,\n \t\"designId\": \"design01\",\n \t\"designType\": 2,\n \t\"publishedForGeos\": [\"nyc\",\"dc\",\"boston\"],\n \t\"title\": \"Agent Address test. 3\",\n \t\"workspaceIds\":[\"bar\"],\n \t\"detail\": \"This is a Canvas with Tags.\",\n \t\"body\": {\n \t\t\"data\": \"{\\\"foo\\\":\\\"baz\\\"}\",\n \t\t\"briefs\":[\n \t\t\t{\"_id\":\"5c3190f32b047563ad327c85\"}\n \t\t]\n \t},\n \t\"tags\":[\n \t\t{\n \t\t\t\"key\":\"test\",\n \t\t\t\"value\":\"LWcF0MfTEi67XNJMvyPUeqIottxMEihV\"\n \t\t}\n \t],\n \t\"isPublic\": true,\n \t\"categoryId\": \"hadar\"\n \t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/canvases/:canvasId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"canvases", | |
":canvasId" | |
], | |
"variable": [ | |
{ | |
"key": "canvasId", | |
"value": "{{canvasId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Canvas", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/canvases/:canvasId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"canvases", | |
":canvasId" | |
], | |
"variable": [ | |
{ | |
"key": "canvasId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Order", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"externalOrderId\":\"foobar\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/design_studio/orders", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"design_studio", | |
"orders" | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Collections (Boards)", | |
"item": [ | |
{ | |
"name": "Find Boards", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards?json={\"excludeMosaic\":true,\"excludeComments\":true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"excludeMosaic\":true,\"excludeComments\":true}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Find Boards For Listings", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/boards_for_listings", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
"boards_for_listings" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Boards listingQuery paginated", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/?json={\"listingQuery\":{\"expandListings\":true,\"reviewStage\":[0],\"num\":24,\"limit\":24,\"skip\":24}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"listingQuery\":{\"expandListings\":true,\"reviewStage\":[0],\"num\":24,\"limit\":24,\"skip\":24}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Board", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:boardId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":boardId" | |
], | |
"variable": [ | |
{ | |
"key": "boardId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Board: Listings Sort LIST_PRICE_UP", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:boardId?json={\"listingQuery\": { \"sortOrder\": \"LIST_PRICE_UP\"}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":boardId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"listingQuery\": { \"sortOrder\": \"LIST_PRICE_UP\"}}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "boardId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Board", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"boardName\": \"Board {{$guid}}\",\n \"description\": \"board description\",\n \"listingIdSHAsToAdd\": [\n \"cc262debf9fe6a21ad151ad3269f38d4de11b5fd\",\n \"4f4ddc5285a83ecab9f206bf6040aff9acd1bb59\",\n \"8a3b394bf27b88e5623f8264fc056a8963f4aa4c\"\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
"" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Suggested Collaborators", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/suggested_collaborators", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"suggested_collaborators" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Board: Invite Collaborators", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"entitiesToAdd\": [\n \"{{personIdToShareWith}}\"\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Board: Remove Collaborators", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"entitiesToRemove\": [\n \"{{personIdToShareWith}}\"\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Board: Remove Collaborators Copy", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"entitiesToRemove\": [\n \"{{personIdToShareWith}}\"\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Board: Accept Invitation(s)", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"inviteToken\": \"eyJhbGciOiJIUzUxMiJ9.eyJlbWFpbEFkZHJlc3MiOiJzYW0uc2FuZG92YWxAY29tcGFzcy5jb20iLCJwZXJzb25JZCI6IjVjMTNlOGZkYmYyMWQwNTJiZWUyZWVkOCIsImJvYXJkSWQiOiI1OTk0NTc2NzdkYjEyNDZjMDA4ZGE4YTQiLCJpbnZpdGVySWQiOiI1OTZjZTM2OGZjZDRiNzc4NDU5N2YyMmMiLCJvcmlnaW4iOjJ9.1IS2kzu0mpPellKDF0fcXDb-Egz1RFwNXvQTiAzxMZsc3BW_owYix-8wxAfbKomTARxMG22JT7Y6wBXhUJxzXQ\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/actions/accept_invitation", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
"actions", | |
"accept_invitation" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Board", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:boardId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":boardId" | |
], | |
"variable": [ | |
{ | |
"key": "boardId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Archive Board", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/actions/archive", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"actions", | |
"archive" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Comment: Add", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"content\": \"I am commenting on this board at {{$timestamp}}\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:boardId/comments", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":boardId", | |
"comments" | |
], | |
"variable": [ | |
{ | |
"key": "boardId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Listings: Get", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/listings?json={\"listingQuery\":{\"expandListings\":true,\"reviewStage\":[0]}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"listings" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"listingQuery\":{\"expandListings\":true,\"reviewStage\":[0]}}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Listings: Add", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"listingsToAdd\": [\n {\n \"listingIdSHA\": \"ceaf9c829d0e5f07150214cd8b0869809edfb4b1\",\n \"reviewStage\": 0,\n \"savedSearchIds\": [\n \"\"\n ]\n }\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/listings", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"listings" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Listings: Update Stage", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"listingIdSHAs\": [\n \"8a3b394bf27b88e5623f8264fc056a8963f4aa4c\"\n ],\n \"reviewStage\": 2\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/listings/actions/review_stage", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"listings", | |
"actions", | |
"review_stage" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Listings: Archive", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"listingIdSHAs\": [\n \"ceaf9c829d0e5f07150214cd8b0869809edfb4b1\"\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/listings/actions/archive", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"listings", | |
"actions", | |
"archive" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Listings: Unarchive", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"listingIdSHAs\": [\n \"ceaf9c829d0e5f07150214cd8b0869809edfb4b1\"\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/listings/actions/unarchive", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"listings", | |
"actions", | |
"unarchive" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Saved Search: Add: Query", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"userId\": \"{{myPersonId}}\",\n\t\"populateInitialResults\": true,\n\t\"name\": \"New Saved Search {{$timestamp}}\",\n\t\"search\": {\"listingTypes\":[2],\"agentSearch\":true,\"neighborhoods\":[\"Sheepshead Bay\"],\"saleStatuses\":[9,12],\"start\":0,\"num\":24,\"sortOrder\":90,\"availability\":0,\"maxOriginalsPerListing\":0,\"minPrice\":1000000,\"maxPrice\":1100000,\"geography\":\"nyc\",\"feedListingsSearch\":false}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:boardId/saved_searches", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":boardId", | |
"saved_searches" | |
], | |
"variable": [ | |
{ | |
"key": "boardId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Saved Search: Add: Id", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"clientNotificationFrequency\": 2,\n \"userNotificationFrequency\": 1,\n \"populateInitialResults\": true,\n \"savedSearchId\": \"{{savedSearchId}}\",\n \"name\": \"Name of Search\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/saved_searches", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"saved_searches" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Saved Search: Remove", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId/saved_searches/:savedSearchId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId", | |
"saved_searches", | |
":savedSearchId" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
}, | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Deals", | |
"item": [ | |
{ | |
"name": "Create Deal", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"name\":\"Dan New Deal Name {{$timestamp}}\", \"type\": 4, \"replace\": true, \"price\": {\"max\": 100777.00, \"min\": 99999.99},\n \"replace\": true,\n\t\"collections\": { \"data\": [ { \"id\": \"{{collectionId}}\" } ] },\n\t\"collaborators\": { \"data\": [ {\"id\": \"{{personId}}\", \"role\": 1 } ] },\n\t\"documents\": { \"data\": [ { \"id\": \"{{documentId}}\" } ] },\n\t\"savedSearches\": { \"data\": [ { \"id\": \"{{savedSearchId}}\" } ] },\n\t\"listings\": { \"data\": [ {\"id\": \"{{listingId}}\" } ] },\n\t\"enrichOptions\":[1,2,3,4,5,7,9]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals?json={\"enrichOptions\":[4,5,6,7]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[4,5,6,7]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals Copy", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals?json={\"enrichOptions\":[0,4,6],\"pagination\":{\"limit\":24,\"skip\":0,\"orderBy\":7,\"orderDesc\":true},\"query\":{\"status\":[0]}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[0,4,6],\"pagination\":{\"limit\":24,\"skip\":0,\"orderBy\":7,\"orderDesc\":true},\"query\":{\"status\":[0]}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals enrich all options", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals?json={\"enrichOptions\":[0,1,2,3,4,5,6,7,8,9]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[0,1,2,3,4,5,6,7,8,9]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals enrich collections, saved searches", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals?json={\"enrichOptions\":[5,7]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[5,7]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals enrich documents", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/?json={\"enrichOptions\":[9]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[9]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals enrich listings & insights", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/?json={\"enrichOptions\":[6,8]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[6,8]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals list of dealIds", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/?json={\"dealIds\":[\"407\",\"409\",\"410\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"dealIds\":[\"407\",\"409\",\"410\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals accessibleToId", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals?json={\"query\": {\"accessibleToId\":\"{{personId}}\"}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"query\": {\"accessibleToId\":\"{{personId}}\"}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deal", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"auth": { | |
"type": "noauth" | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "dealId", | |
"value": "15043" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/:dealId?json={\"enrichOptions\":[4,5,6,7]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
":dealId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[4,5,6,7]}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "dealId", | |
"value": "{{dealId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Deals", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals?json={\"dealIds\":[\"21\",\"22\",\"23\",\"24\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"dealIds\":[\"21\",\"22\",\"23\",\"24\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Deal", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "\n" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/:dealId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
":dealId" | |
], | |
"variable": [ | |
{ | |
"key": "dealId", | |
"value": "21" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Deal createOrUpdate attachments; replace", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\"replace\": true,\n\"collectionsToCreateOrUpdate\": { \"data\": [ { \"id\": \"{{collectionId}}\" } ] },\n\"collaboratorsToCreateOrUpdate\": { \"data\": [ {\"id\": \"{{personId}}\", \"role\": 1 } ] },\n\"documentsToCreateOrUpdate\": { \"data\": [ { \"id\": \"{{documentId}}\" } ] },\n\"savedSearchesToCreateOrUpdate\": { \"data\": [ { \"id\": \"{{savedSearchId}}\" } ] },\n\"listingsToCreateOrUpdate\": { \"data\": [ {\"id\": \"{{listingId}}\" } ] }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/:dealId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
":dealId" | |
], | |
"variable": [ | |
{ | |
"key": "dealId", | |
"value": "{{dealId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Deal createOrUpdate attachments; no replace", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\"replace\": false,\n\"collectionsToCreateOrUpdate\": { \"data\": [ { \"id\": \"{{collectionId}}\" } ] },\n\"collaboratorsToCreateOrUpdate\": { \"data\": [ {\"id\": \"{{personId}}\", \"role\": 1 } ] },\n\"documentsToCreateOrUpdate\": { \"data\": [ { \"id\": \"{{documentId}}\" } ] },\n\"savedSearchesToCreateOrUpdate\": { \"data\": [ { \"id\": \"{{savedSearchId}}\" } ] },\n\"listingsToCreateOrUpdate\": { \"data\": [ {\"id\": \"{{listingId}}\" } ] }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/:dealId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
":dealId" | |
], | |
"variable": [ | |
{ | |
"key": "dealId", | |
"value": "{{dealId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Deal delete attachments", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"collectionIdsToDelete\": [\"{{collectionId}}\"],\n\t\"collaboratorIdsToDelete\": [\"{{personId}}\"],\n\t\"documentIdsToDelete\": [\"{{documentId}}\"],\n\t\"savedSearchIdsToDelete\": [\"{{savedSearchId}}\"],\n\t\"listingIdsToDelete\": [\"{{listingId}}\"]}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/:dealId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
":dealId" | |
], | |
"variable": [ | |
{ | |
"key": "dealId", | |
"value": "{{dealId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Deals", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"dealIds\":[\"{{dealId}}\"],\n \"disposition\": 1\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals FindByAttachment", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/find_by_attachment?json={\"enrichOptions\":[4,7], \"collectionIds\": [\"{{collectionId}}\"], \"documentIds\": [\"{{documentId}}\"], \"savedSearchIds\":[\"{{savedSearchId}}\"],\"listingIds\":[\"{{listingId}}\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
"find_by_attachment" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[4,7], \"collectionIds\": [\"{{collectionId}}\"], \"documentIds\": [\"{{documentId}}\"], \"savedSearchIds\":[\"{{savedSearchId}}\"],\"listingIds\":[\"{{listingId}}\"]}", | |
"description": "No Collaborators" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals FindByAttachment dealSummariesOnly", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"disabled": true | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/find_by_attachment?json={\"enrichOptions\":[4,5,6,7], \"dealSummariesOnly\": true, \"collectionIds\": [\"{{collectionId}}\"], \"documentIds\": [\"{{documentId}}\"], \"savedSearchIds\":[\"{{savedSearchId}}\"],\"listingIds\":[\"{{listingId}}\",\"79394628075273473\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
"find_by_attachment" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[4,5,6,7], \"dealSummariesOnly\": true, \"collectionIds\": [\"{{collectionId}}\"], \"documentIds\": [\"{{documentId}}\"], \"savedSearchIds\":[\"{{savedSearchId}}\"],\"listingIds\":[\"{{listingId}}\",\"79394628075273473\"]}", | |
"description": "No Collaborators" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Deals FindByAttachment dealSummariesOnly Copy", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"disabled": true | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/deals/find_by_attachment?json={\"enrichOptions\":[4,5,6,7], \"dealSummariesOnly\": true, \"collectionIds\": [\"{{collectionId}}\",\"5becb2f83bc96a582d19d1d5\",\"5c434e53a658e36fd428527c\"], \"documentIds\": [\"{{documentId}}\"], \"savedSearchIds\":[\"{{savedSearchId}}\"],\"listingIds\":[\"{{listingId}}\",\"79394628075273473\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"deals", | |
"find_by_attachment" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[4,5,6,7], \"dealSummariesOnly\": true, \"collectionIds\": [\"{{collectionId}}\",\"5becb2f83bc96a582d19d1d5\",\"5c434e53a658e36fd428527c\"], \"documentIds\": [\"{{documentId}}\"], \"savedSearchIds\":[\"{{savedSearchId}}\"],\"listingIds\":[\"{{listingId}}\",\"79394628075273473\"]}", | |
"description": "No Collaborators" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Boards includeDealSummary", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId?json={\"includeDealSummary\": true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeDealSummary\": true}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Board includeDealSummary", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"name\": \"Dan's New Name for testing includeDealSummary\",\n\t\"includeDealSummary\": true\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/boards/:collectionId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"boards", | |
":collectionId" | |
], | |
"variable": [ | |
{ | |
"key": "collectionId", | |
"value": "{{collectionId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Document includeDealSummary", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/:documentId?json={\"includeDealSummary\": true, \"requesterId\": \"{{myPersonId}}\"}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
":documentId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeDealSummary\": true, \"requesterId\": \"{{myPersonId}}\"}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "documentId", | |
"value": "{{documentId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Toursheet includeDealSummary", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/toursheet/:toursheetId?json={\"includeDealSummary\": true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"toursheet", | |
":toursheetId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeDealSummary\": true}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "toursheetId", | |
"value": "{{toursheetId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get SavedSearch includeDealSummary", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/:savedSearchId?json={\"includeDealSummary\": true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
":savedSearchId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeDealSummary\": true}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get SavedSearches includeDealSummary", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches?json={\"includeDealSummary\": true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeDealSummary\": true}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Documents", | |
"item": [ | |
{ | |
"name": "Find Documents", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents?json={}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Document", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/:documentId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
":documentId" | |
], | |
"variable": [ | |
{ | |
"key": "documentId", | |
"value": "{{documentId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Document", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"metadata\": {\n \"_id\": \"5b6d05cc42f60d6b7008ebef\",\n \"appId\": 4,\n \"title\": \"Dan's Toursheet\",\n \"acl\": [\n {\n \"profile\": {\n \"_id\": \"596ce368fcd4b7784597f22c\",\n \"firstName\": \"Dan\",\n \"lastName\": \"McClure\",\n \"displayName\": \"Dan McClure\",\n \"email\": \"dan.mcclure@compass.com\",\n \"phone\": \"207-555-1212\",\n \"profileTypes\": [\n 0,\n 1\n ]\n },\n \"createdAt\": 1533871564033,\n \"createdByUserId\": \"596ce368fcd4b7784597f22c\"\n }\n ],\n \"detail\": \"\",\n \"createdAt\": 1533871564033,\n \"updatedAt\": 1540840547652,\n \"createdByUserId\": \"596ce368fcd4b7784597f22c\",\n \"updatedByUserId\": \"596ce368fcd4b7784597f22c\",\n \"indexedText\": [\n \"Dan McClure\"\n ],\n \"isPublic\": false\n },\n \"contents\": \"{ \\\"_id\\\" : \\\"5b6d05cc42f60d6b7008ebef\\\" , \\\"previewTitle\\\" : \\\"Dan toursheet\\\" , \\\"notes\\\" : \\\"\\\" , \\\"waypoints\\\" : [ { \\\"waypointType\\\" : 0 , \\\"listingIdSHA\\\" : \\\"d80ac3248309da93023873c52e7301c3b8a17f01\\\" , \\\"note\\\" : \\\"\\\" , \\\"visitTimeMillis\\\" : 1540828800000 , \\\"emailInfo\\\" : { } , \\\"location\\\" : { \\\"longitude\\\" : -73.9927271 , \\\"latitude\\\" : 40.7312439}} , { \\\"waypointType\\\" : 0 , \\\"listingIdSHA\\\" : \\\"3e00f4a77d274849d1d09467806bc049a347ae82\\\" , \\\"note\\\" : \\\"\\\" , \\\"visitTimeMillis\\\" : 1540828800000 , \\\"emailInfo\\\" : { } , \\\"location\\\" : { \\\"longitude\\\" : -73.9712817 , \\\"latitude\\\" : 40.7455942}} , { \\\"waypointType\\\" : 0 , \\\"listingIdSHA\\\" : \\\"d717464e183432efedc8a674815a1e9a9d723d21\\\" , \\\"note\\\" : \\\"\\\" , \\\"visitTimeMillis\\\" : 1540828800000 , \\\"emailInfo\\\" : { } , \\\"location\\\" : { \\\"longitude\\\" : -74.0011755 , \\\"latitude\\\" : 40.7212824}}] , \\\"listingFormatOptions\\\" : { \\\"isListingAgentEnabled\\\" : false , \\\"isOpenHouseEnabled\\\" : true , \\\"isFloorPlanEnabled\\\" : true , \\\"isClientNotesEnabled\\\" : true , \\\"isTravelDirectionsEnabled\\\" : true , \\\"isNearbyTransitEnabled\\\" : true} , \\\"listingFormatPreset\\\" : 0 , \\\"transitType\\\" : 2 , \\\"startTimeMillis\\\" : 1533830400000 , \\\"agentIds\\\" : [ ] , \\\"hostingTool\\\" : 0 , \\\"folderId\\\" : \\\"\\\" , \\\"timezone\\\" : \\\"America/New_York\\\"}\",\n \"version\": 3\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/:documentId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
":documentId" | |
], | |
"variable": [ | |
{ | |
"key": "documentId", | |
"value": "{{documentId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Copy Document", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"sourceDocumentIds\": [\"{{documentId}}\"]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/actions/copy", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
"actions", | |
"copy" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Document", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/:documentId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
":documentId" | |
], | |
"variable": [ | |
{ | |
"key": "documentId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Export", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/actions/export?json={\"documentId\": \"{{documentId}}\"}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
"actions", | |
"export" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"documentId\": \"{{documentId}}\"}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Export Document: Raw, Debug", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/documents/actions/export?json={\"documentId\":\"{{documentId}}\",\"raw\":false,\"htmlDebug\":true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"documents", | |
"actions", | |
"export" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"documentId\":\"{{documentId}}\",\"raw\":false,\"htmlDebug\":true}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Export Direct localhost:9625", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "localhost:9625/export?id={{documentId}}", | |
"host": [ | |
"localhost" | |
], | |
"port": "9625", | |
"path": [ | |
"export" | |
], | |
"query": [ | |
{ | |
"key": "id", | |
"value": "{{documentId}}" | |
} | |
] | |
}, | |
"description": "EXPORT_HTTP_SERVER" | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Entities / Profiles / Agent Profiles", | |
"item": [ | |
{ | |
"name": "Get Self", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/entities/self", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"entities", | |
"self" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "EntityProfile: Create Entity Profile", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n\t\"entity\": {\n\t \"firstName\": \"Michael\",\n\t \"lastName\": \"Scott\",\n\t \"email\": \"ori.damary+731165211@compass.com\",\n\t \"phone\": \"212-514-3623\",\n\t \"leadProfile\": {\n\t \t\"geographyPreferences\": {\n\t \t\t\"selectedGeoId\": \"nyc\"\n\t \t}\n\t \t\"customerChannel\": 1\n\t },\n\t \"_id\": \"5a2841e32804790475e9d942\"\n\t},\n\t\"userId\": \"5a1337f1fcd4b7160b98ac98\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/entities", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"entities" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "EntityProfile: Get Entity Profiles", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/entities?json={\"includeBadges\":true,\"skip\":0,\"limit\":24,\"leadProfileQuery\":{\"includeAgents\":false},\"sortAscending\":false,\"sortBy\":1}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"entities" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeBadges\":true,\"skip\":0,\"limit\":24,\"leadProfileQuery\":{\"includeAgents\":false},\"sortAscending\":false,\"sortBy\":1}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Entity Profile", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"userId\": \"54ad7a38ac8dff2ad764ea06\",\n \"entity\": {\n \"_id\": \"54ad7a38ac8dff2ad764ea06\",\n \"firstName\": \"Christina\",\n \"lastName\": \"Abad\",\n \"displayName\": \"Christina Abad\",\n \"email\": \"christina.abad@compass.com\",\n \"phone\": \"6466631094\",\n \"imagePath\": \"http://urbancompass-image-index.s3.amazonaws.com/53afa719541458ea9cdb5abe37402f0d283c7d06.jpg\",\n \"profileTypes\": [\n 0,\n 1\n ],\n \"agentProfile\": {\n \"type\": 0,\n \"urlName\": \"christina-abad\",\n \"externalId\": \"\",\n \"profilePages\": [\n {\n \"geography\": \"nyc\",\n \"about\": \"Christina iis appreciated by clients and developers alike for the tenacity, knowledge, accessibility, and attention to detail she brings to the real estate process. Specializing in new construction in Williamsburg and Greenpoint, Brooklyn, and in Long Island City, Queens, she works with developers throughout the city who rely on her market expertise, marketing savvy, and seasoned advice to optimize momentum for their\\r\\nproperties' success, even in the most challenging of markets.\\r\\n<br></br>\\r\\nChristina has gained considerable expertise in on-site sales for new developments, as well as individual property resales on the seller and buyer sides in Brooklyn and Manhattan. She updates her sellers on trends in their particular market niche, closely monitors the progress of the buildings she represents, and consistently hits her sales goal numbers. Christina draws upon the vast knowledge from the sales side of new construction to effectively guide her buyer clients through the intricate steps in purchasing in new construction. Customers greatly appreciate her honesty,her personable manner, and her thorough, informative approach.\\r\\n<br></br>\\r\\nA current resident of Greenpoint, Brooklyn and co-op owner in Manhattan, Christina has a keen understanding of market conditions and value, and how they affect a customer’s bottom line. She intuitively knows how to price and market properties to get the best results. This native New Yorker has enjoyed a long career in the service business. After graduating from New York University with a degree in Hotel & Restaurant Management, she had what she considered the \\\"ultimate service job\\\" as a former concierge at the prestigious New York Hilton - the city's largest hotel and meeting facility. Christina went on to enjoy a high-profile career in Catering Sales and Event Planning before transitioning into real estate, a move inspired by her father, a commercial real estate Broker.\\r\\n<br></br>\\r\\nWhile work is her main passion, Christina is an avid traveler, and enjoys cooking, entertaining and taking full advantage of NYC's vibrant restaurant scene.\",\n \"isPublic\": true,\n \"revenue\": \"\",\n \"awards\": \"2011 NRT Top 1,000 Sales Associates Nationwide; 2010, 2011, 2013 Multi-Million Dollar Club Member.\",\n \"press\": \"\",\n \"otherMedia\": \"\",\n \"specialties\": \"Languages: French.\",\n \"education\": \"B.S. in Hospitality Management from New York University and a year long program at Schiller International University in Strasbourg, France. \",\n \"charity\": \"\",\n \"featuredProjects\": [\n {\n \"title\": \"762 Park Place\",\n \"description\": \"\\nWelcome to 762 Park Place, home to Barrett Design’s latest vision of modern condominium living. Set on a tree-lined block in Crown Heights, this serene urban oasis peeks over surrounding buildings to provide generous amounts of open light and space, while further enriching the local streetscape.\\n\\nTwenty-three thoughtfully crafted homes-from one- to three-bedroom units - span seven stories, creating a tranquil retreat in the heart of vibrant Crown Heights. In every residence, outdoor views are invited indoors through oversized windows, creating homes that are at once secluded, yet firmly rooted in their leafy, neighborhood surroundings. THE COMPLETE OFFERING TERMS ARE IN AN OFFERING PLAN AVAILABLE FROM SPONSOR. FILE NO. CD15-0289.\",\n \"image\": {\n \"url\": \"http://urbancompass-image-index.s3.amazonaws.com/8c47bcf15811f034dd65f0a2a24ddce4a221c2c0.jpg\",\n \"altText\": \"\",\n \"clickUrl\": \"https://www.compass.com/building/4aff5074e54de8edb12d05c3813c787d069d8339/view\"\n }\n },\n {\n \"title\": \"20 Bayard Street, Unit 4C\",\n \"description\": \"\\nWelcome home to this sweet 1 Bedroom in prime Williamsburg. This pristine one-bedroom condo has everything you may have been looking for - great living space, a large open kitchen, spacious bedroom with walk-in closet and a washer dryer. This light-filled, north-facing home features serene views of McCarren Park and partial city views, an open kitchen outfitted with Calacatta Gold marble countertops, a Viking range and Sub-zero refrigerator, a soaking tub in the bathroom and generous closet space, including a walk-in-closet in the bedroom. 20 Bayard Street is a full service condo with a full-time doorman, lush common garden, fitness room, bike storage area and a common roofdeck with from where you can enjoy gorgeous city and skyline views. Step out your front door and have access to one of the best neighborhoods in Brooklyn. Enjoy the running track or the tennis courts in McCarren Park, or the numerous shops, restaurants and cafes. You're only a few blocks from the Bedford L train, the Lorimer L train or the G train at Nassau Avenue. Tax abatement ends June 2024. Monthly CC's includes monthly assessment of $318.81.\",\n \"image\": {\n \"url\": \"http://urbancompass-image-index.s3.amazonaws.com/89aade1bdf88758be0d26c8df3fe91bb303f51e6.jpg\",\n \"altText\": \"\",\n \"clickUrl\": \"https://www.compass.com/listing/20-bayard-street-unit-4c-brooklyn-ny-11211/f369a2b6900fdfdce624a94e5a169b9908366f1d/\"\n }\n }\n ],\n \"closedDeals\": [\n {\n \"listingIdSHA\": \"3c8401e269a06a5f8e6f70439fab69e9edcb521b\"\n },\n {\n \"listingIdSHA\": \"84a6ad04127f27d4ab2b5bbf2141a3d7d12272bb\"\n },\n {\n \"listingIdSHA\": \"1c0afa92c507311a04ae55dfc748927c9442a6bc\"\n },\n {\n \"listingIdSHA\": \"ace80ecfc6cd5de72bdbf96ba50b3f58f52c4d51\"\n },\n {\n \"listingIdSHA\": \"c315ad3a0c5f100acdb8c38c49c1683381eed57e\"\n },\n {\n \"listingIdSHA\": \"d122dc24b4c9f22fb110576dddde39a18b5a9ebf\"\n },\n {\n \"listingIdSHA\": \"2db08506b440d4c2932bf2c25f1f6b53b361e301\"\n },\n {\n \"listingIdSHA\": \"b3aba4ee4fd49977548de8d4d24c5790f736a739\"\n },\n {\n \"listingIdSHA\": \"718f4ea953415f4f7eff000f3e9fe6ed2ba13ff4\"\n },\n {\n \"listingIdSHA\": \"ee5ab10a6af86bdefcf56b88d744a728c579d2c8\"\n },\n {\n \"listingIdSHA\": \"983cbb1c367c9784df6d0b9b5a9c4e776f92b853\"\n },\n {\n \"listingIdSHA\": \"a19bb85c6f1a865dab1167879f27e245380b2347\"\n },\n {\n \"listingIdSHA\": \"917c2c3f5ead62f65dc7db73abf53270e4d376ad\"\n },\n {\n \"listingIdSHA\": \"7b7b9fbc05ee3c886192a58befd8066c780875d5\"\n },\n {\n \"listingIdSHA\": \"af0194c6296c325ed7fe096c7070ab07b8e54d7e\"\n },\n {\n \"listingIdSHA\": \"3ba56ae2f5ae6e43ff1172c83364a76b56dcad06\"\n },\n {\n \"listingIdSHA\": \"6b896de3adb280d651de46f4f06a025711dace06\"\n },\n {\n \"listingIdSHA\": \"97017f30dbaaf231682200dfaadd4e21219175a4\"\n },\n {\n \"listingIdSHA\": \"73fe77a0de9525d600a2187a86f5799ce58677b8\"\n },\n {\n \"listingIdSHA\": \"3b1a67c867afae2dd59f7a6b820132253248d080\"\n },\n {\n \"listingIdSHA\": \"4552482053e782c04d24cca8542d6bc3b9aa814a\"\n },\n {\n \"listingIdSHA\": \"f264af094e53ed626a9dc8d17a2f93cc6f85411c\"\n },\n {\n \"listingIdSHA\": \"75d488f0d371b38a96951d39dffc9f6e100fc517\"\n },\n {\n \"listingIdSHA\": \"d96bb960f5e8bcd65765799ec973cdb216eb3597\"\n },\n {\n \"listingIdSHA\": \"e8d599cd061892d65b7fdf70c958acfe9eb28086\"\n },\n {\n \"listingIdSHA\": \"72f9709eeeb108444da4929100a2c7db976f01b6\"\n },\n {\n \"listingIdSHA\": \"51ebdd396c7bc342fd128bd06d3451684ab52828\"\n },\n {\n \"listingIdSHA\": \"fcf9c31a69c30555105c49d4292e360dc69d5cd1\"\n },\n {\n \"listingIdSHA\": \"d644aadbc79433b871eebf3a83ae769901fd6c9c\"\n },\n {\n \"listingIdSHA\": \"976951e3cd36d0342ca4ebdea0e81ed17d7049ad\"\n },\n {\n \"listingIdSHA\": \"882ae3640b756ca8f9460be095e6cb67e4e7b3f6\"\n },\n {\n \"listingIdSHA\": \"a534c3694967203a39b8891af3260cc468a97020\"\n },\n {\n \"listingIdSHA\": \"d0b584481ff9c323081aa85617fec6a3be5f6e27\"\n },\n {\n \"listingIdSHA\": \"0bc4295bd39e4a3ffdf6681846410c847cedf973\"\n },\n {\n \"listingIdSHA\": \"5fd3d39cf3a8a7069f45f166ffbf545c8c6426aa\"\n },\n {\n \"listingIdSHA\": \"aee47c317932480bf839f57f9790e762ac638920\"\n },\n {\n \"listingIdSHA\": \"07987dfc4b65945ce0d2d9f5d812328b62bcb694\"\n },\n {\n \"listingIdSHA\": \"2ce75c68b234731200e76e746587a12583edb7f3\"\n },\n {\n \"listingIdSHA\": \"e9f85d467ee6e8fdd9b7f7c69c6d65278c6e7d3d\"\n },\n {\n \"listingIdSHA\": \"6ab191fdbd33904841b801f041ccecca4657f4ee\"\n },\n {\n \"listingIdSHA\": \"943267ac446db0b44a83355895d3ff4eb57e69cb\"\n },\n {\n \"listingIdSHA\": \"1a547afa79060974d675926dd43a52f7025b5494\"\n },\n {\n \"listingIdSHA\": \"1ab230fc085103e19e3fa1b9e82a49178324d1f8\"\n },\n {\n \"listingIdSHA\": \"1d834891fd2059fd934648c5083110a7e81449b2\"\n },\n {\n \"listingIdSHA\": \"e60fbf0d6cc3c1925e10d7bd28145caad188be5e\"\n },\n {\n \"listingIdSHA\": \"76c845768826fbbeb395c3f4893c938c8dd9263d\"\n },\n {\n \"listingIdSHA\": \"992c71fb63789c11afe7b85143f378b14c583029\"\n },\n {\n \"listingIdSHA\": \"a975df4b644e2ab33e5c1e53b47d3ce0b636115c\"\n },\n {\n \"listingIdSHA\": \"9164d210ac138dc76c6b00e155459ee1126a01f4\"\n },\n {\n \"listingIdSHA\": \"32b839222c984451e4f02cca7b3b1b5f04447dd5\"\n },\n {\n \"listingIdSHA\": \"a7dab6234b1874da13ee74ef0ca5541dbaed023e\"\n },\n {\n \"listingIdSHA\": \"314f5fe0af322fe64c9d05fb5a113f5f1a2b2a42\"\n },\n {\n \"listingIdSHA\": \"6c2112a498057d2162329dfafb7ebfd58c6c3568\"\n },\n {\n \"listingIdSHA\": \"6e0c2d00bd5f0b32a7403f212388b95b176eda29\"\n },\n {\n \"listingIdSHA\": \"abf3df5c0b3f13696ab6fcd3440e10eec57b8976\"\n },\n {\n \"listingIdSHA\": \"5017fdc0e02c6b921e40cf315cdda7daa736744c\"\n },\n {\n \"listingIdSHA\": \"c183a255d38287f8a2acc63f62ef5f9311d4daf5\"\n },\n {\n \"listingIdSHA\": \"1c44bdb8908d2e98d17519f85d8ede5502fdabdd\"\n },\n {\n \"listingIdSHA\": \"51d5f4e66a563bac2c5b8b6ee2d4120dc103f90a\"\n },\n {\n \"listingIdSHA\": \"0d3a7e49f1e34e2a43257be5d9975de66293fd00\"\n },\n {\n \"listingIdSHA\": \"d9741d527c1fbaf8f6355f9425faffca10190d39\"\n },\n {\n \"listingIdSHA\": \"76dc0ac6810c7f5b63ef6ec6b87baaebaaabd1ed\"\n },\n {\n \"listingIdSHA\": \"829b053cee59bbe12020166e3e55193ddd28fdad\"\n },\n {\n \"listingIdSHA\": \"9e8a2ce214ace926701a3036239c635c40d166c5\"\n },\n {\n \"listingIdSHA\": \"fcd3d3f11a01f8756342a809ab8843e741c24d18\"\n },\n {\n \"listingIdSHA\": \"85c8bb4d3d1ea69c5dd4f9c1261ed5afbdd25c33\"\n },\n {\n \"listingIdSHA\": \"bd8afeb6571db11f83c9086802eb3ca8e3a698e7\"\n },\n {\n \"listingIdSHA\": \"191cca73834f3835f7d4be168f3f76c431c0c9e4\"\n },\n {\n \"listingIdSHA\": \"0461a212293b017a60c5d5ea4260ec6de9c4aae0\"\n },\n {\n \"listingIdSHA\": \"759719662f92686f43deff6d286caae68b04ec76\"\n },\n {\n \"listingIdSHA\": \"61cf001f54685b156b2b82dbb1aadbd493f311a6\"\n },\n {\n \"listingIdSHA\": \"5e5111458d52b28d58fef4300942353b72c359fc\"\n },\n {\n \"listingIdSHA\": \"430d4a0509f6f60d0d3083dc75fc2528f0535ffb\"\n },\n {\n \"listingIdSHA\": \"65d8e67d8edeccebc72bf1fc8895b1f8d6858237\"\n },\n {\n \"listingIdSHA\": \"6e858f1d405d5a9f4e4f33f3436b4dd7f75c70ae\"\n },\n {\n \"listingIdSHA\": \"d7dc117400a6848815b5b1bd164c877cb54d380c\"\n },\n {\n \"listingIdSHA\": \"63e5dede9fe8a32457ac6d5d7f24a338bc6d132b\"\n },\n {\n \"listingIdSHA\": \"ec62019f7cb92580311f7866f4e3e9ecde5d04d3\"\n },\n {\n \"listingIdSHA\": \"ea94598776ad4ac7c02342d33a198a5095580f0a\"\n },\n {\n \"listingIdSHA\": \"8750cf006c4e6664a48f46c90c689b0f52fa4df4\"\n },\n {\n \"listingIdSHA\": \"5c6e9553b0819b2b247d8cc73be8a4bdff8da8c0\"\n },\n {\n \"listingIdSHA\": \"9bb58fdd054ca801cf19d4fd91b6d59e6b839fb8\"\n },\n {\n \"listingIdSHA\": \"5b1b9d0fc77806ff9eee15d987d80c3f4169e009\"\n },\n {\n \"listingIdSHA\": \"2398dc6ae9681d5c9b64bd292a7a3df2d5d36646\"\n },\n {\n \"listingIdSHA\": \"d493346d19f48902dc9323a845f97d034965825b\"\n },\n {\n \"listingIdSHA\": \"7324a2e17e73573ad32b205243ba092c590f31e4\"\n },\n {\n \"listingIdSHA\": \"254e0314ec842858d6dd56dc94c278903f85718c\"\n },\n {\n \"listingIdSHA\": \"b666e9a98108d2ea53aede0422e3b8fea82333d2\"\n },\n {\n \"listingIdSHA\": \"ff6b98ef1a110862b16a7b4f5172a447ee548b10\"\n },\n {\n \"listingIdSHA\": \"2166468d1ad679c2ade80da2bee6a778e7ded131\"\n },\n {\n \"listingIdSHA\": \"7269e4aafd5e903e499a3d8d0ebedf6d36255b08\"\n },\n {\n \"listingIdSHA\": \"6a822a06b0829f49709ab684b670cd7fe4fcdd5e\"\n },\n {\n \"listingIdSHA\": \"028114bddd57022eb860793fc0ba637a1211c481\"\n },\n {\n \"listingIdSHA\": \"2d4281f07ea24534b95037979dedcb00e0d349b0\"\n },\n {\n \"listingIdSHA\": \"00ad952b1cb8d4749baaac567e554f90082b2792\"\n },\n {\n \"listingIdSHA\": \"0b6ac2d84e9c9a415cc2a9b8ef310cb514bb40b9\"\n },\n {\n \"listingIdSHA\": \"1f6ba268241f502be58d3c0ebfb955ce12783073\"\n },\n {\n \"listingIdSHA\": \"58b8ae38d28cdee0d6ad0752b85d5304e3d5c20c\"\n },\n {\n \"listingIdSHA\": \"a0949885bdf199a7387edfe2ef14da96580901ea\"\n },\n {\n \"listingIdSHA\": \"811167ae5204477fa4add41d59bf37b31d1e6113\"\n },\n {\n \"listingIdSHA\": \"7666e7054681d3a996779566afa87ddded2166f8\"\n },\n {\n \"listingIdSHA\": \"032e0b5d9f0976d50126719f1122cd8f08670a5a\"\n },\n {\n \"listingIdSHA\": \"6711344872576a95bc5596758f68b50427272c03\"\n },\n {\n \"listingIdSHA\": \"5ec875de8ddbaff96b7a044d45f05c174e537087\"\n },\n {\n \"listingIdSHA\": \"cb78aef0f3726075f18b43ec79f6c439227e8a5f\"\n },\n {\n \"listingIdSHA\": \"ac810fbf51273e99b57cb82a03c9ceafde10d0c1\"\n },\n {\n \"listingIdSHA\": \"9bb4fc7c193f1521f45d893b670a3b19acb35197\"\n },\n {\n \"listingIdSHA\": \"e43f72db7575746224130aa9b1db8a73de3982f0\"\n },\n {\n \"listingIdSHA\": \"73f814a9f3b27362dc5508bb0e7f0ecd476530f8\"\n },\n {\n \"listingIdSHA\": \"c5e90a8199e2b50a7fcac8fa283facd394ef605e\"\n },\n {\n \"listingIdSHA\": \"289095fbd42963ad265385adbd53fb10cd1793f8\"\n },\n {\n \"listingIdSHA\": \"e207cb141b2ed47ebe79d3fc3b7207a5c8714b83\"\n },\n {\n \"listingIdSHA\": \"dd091caf420672bbf07995b46b057e53a30c5e74\"\n },\n {\n \"listingIdSHA\": \"421b1df1e908ce600a36b8884b83b63085b3b36a\"\n },\n {\n \"listingIdSHA\": \"38b8e1eda7b36cd1390839ab54d23cd3658602da\"\n },\n {\n \"listingIdSHA\": \"82df226d8fb29a5a481a3823bf5455e0722ce0aa\"\n },\n {\n \"listingIdSHA\": \"77c06cc9539a818dba26fb4ced503f9f7deab2b1\"\n },\n {\n \"listingIdSHA\": \"6c82e26fa520d5a6c56bd5a3b4255cde71e0095d\"\n },\n {\n \"listingIdSHA\": \"9a62ee5b81651d4ed0197a37e59f66796985e849\"\n },\n {\n \"listingIdSHA\": \"30f0cdea89efc3db0c941d13fe8a38cdc5c7a4e0\"\n },\n {\n \"listingIdSHA\": \"817e33751525f85ea9dcd0e3aa27db9babd4f1c2\"\n },\n {\n \"listingIdSHA\": \"88cca6de17e8ce9634108dedea8b9d9a41cdd45d\"\n },\n {\n \"listingIdSHA\": \"2c380250c92884c7a18d30c4b5b814ad53c71b01\"\n },\n {\n \"listingIdSHA\": \"41cb8055212e362b9cdd6baa2e6197ce98f69e86\"\n },\n {\n \"listingIdSHA\": \"9f25d886e788755e3e47f64e8ccca98908d4ece3\"\n },\n {\n \"listingIdSHA\": \"c79b1af9cd938b69a3d9f994a3b3929e77f5750f\"\n },\n {\n \"listingIdSHA\": \"c87b4c1b89d7934463091294be1056bdb228e89d\"\n },\n {\n \"listingIdSHA\": \"0d8c1fb272c70987c62bfd0858f793c753b4ca24\"\n },\n {\n \"listingIdSHA\": \"d6eb327bee44ec1f3331000b94554f5e54741090\"\n },\n {\n \"listingIdSHA\": \"af91acb38269c90125fd789fec6339d7bfbd94db\"\n },\n {\n \"listingIdSHA\": \"e63cd200ed75f86dfd9f7d84aa589df466d6340f\"\n },\n {\n \"listingIdSHA\": \"97e8d18470987c8a2142b8d5240c7a3e321fc5d2\"\n },\n {\n \"listingIdSHA\": \"28c1b1be21f365a6b0feac2eb6baac51d6fcea2c\"\n },\n {\n \"listingIdSHA\": \"2d16fe43e364ab8d270994a384ec12e8213c47ab\"\n },\n {\n \"listingIdSHA\": \"4328302badfe8ed004b5c7878f87ffd7946f2f7e\"\n },\n {\n \"listingIdSHA\": \"11b476611f1e03e36ea5d07cba38bfdd1c9bd3be\"\n },\n {\n \"listingIdSHA\": \"f0df3fb4cd920aa4b32162a63613b7a8718b159d\"\n },\n {\n \"listingIdSHA\": \"50d25c0feff3bb92b5f2346e1c4a9f728c639f3f\"\n },\n {\n \"listingIdSHA\": \"240a28745006d674c1f8d6afa5fd436c540d2e54\"\n },\n {\n \"listingIdSHA\": \"58a861df2680adac8bc06eef994fb3a6d3fad9b0\"\n },\n {\n \"listingIdSHA\": \"85eb2f51efb32174e5953b9be9255d352d7c115b\"\n },\n {\n \"listingIdSHA\": \"47e5c5a837ed8d470460b671d3ef93fef9ba9006\"\n },\n {\n \"listingIdSHA\": \"6a47bee8d58f756256dd0eda4cfa2d161b2d65a4\"\n },\n {\n \"listingIdSHA\": \"84dd843e11190b0a532cf046a9b72b4c523565c3\"\n },\n {\n \"listingIdSHA\": \"5cd8b620262a46f89efadd64e9d8575d132117f3\"\n },\n {\n \"listingIdSHA\": \"9822dbeb094effd50f4d881d3acfd7f49cdbad57\"\n },\n {\n \"listingIdSHA\": \"7cbea5c4384bcbb07706104fc1ff2a6b85f5da5d\"\n },\n {\n \"listingIdSHA\": \"8ab5c09b6f7f4a336b0e2f3c13b21f4dfe0a30e6\"\n },\n {\n \"listingIdSHA\": \"ca4ca17ad28a0b9b2239199084830ab32f20ba1d\"\n },\n {\n \"listingIdSHA\": \"7666e7054681d3a996779566afa87ddded2166f8\"\n },\n {\n \"listingIdSHA\": \"f3c2ed5710f2e62a455a9adae45ceb10229330e7\"\n },\n {\n \"listingIdSHA\": \"0f20548c045e92c642863789331b58ae1cdb159c\"\n },\n {\n \"listingIdSHA\": \"704fe3d4be25a4514eda6ed15221f7bafc2dbc1e\"\n },\n {\n \"listingIdSHA\": \"998b6140d0aa48b29ffb93bcb7cc034e348f9cc7\"\n },\n {\n \"listingIdSHA\": \"ed690341969d81c0fff9fb9cf86c355ef9284f53\"\n },\n {\n \"listingIdSHA\": \"a5ff8dbd3e2be479292f68f27c15c2f7f8cdc825\"\n },\n {\n \"listingIdSHA\": \"f55800848262847fc1c5d7b76a4fb2b2fcb20bf3\"\n },\n {\n \"listingIdSHA\": \"043b2728708d9310c66785f7646f892ab5e0c166\"\n },\n {\n \"listingIdSHA\": \"b4163c6d6a796e466fae95e977c5f7f0746cdddb\",\n \"hidePrice\": true\n },\n {\n \"disableLink\": true,\n \"priceOverride\": 1735000,\n \"inlineListing\": {\n \"listingType\": 2,\n \"address\": \"839 Greene Avenue, TH\",\n \"aliasIndexForPrettyAddress\": -1,\n \"neighborhoods\": [\n \"Bedford-Stuyvesant\"\n ],\n \"bedrooms\": 3,\n \"bathrooms\": 2.5,\n \"images\": [\n {\n \"thumbnail\": \"https://d2787ndpv5cwhz.cloudfront.net/6f5d1624aa0e453f50661aa50b6d14bb601b9f87/165x165.jpg\"\n }\n ]\n }\n },\n {\n \"listingIdSHA\": \"eee97c9a97b6020f8686befde99d8bb255a0e954\"\n },\n {\n \"listingIdSHA\": \"ba435e6cbffb17e91961fcd071e3e3ce9184cd5a\"\n },\n {\n \"listingIdSHA\": \"b94fe2a01bb6bc5b25a5c962948bf8ff2e0fa499\"\n },\n {\n \"listingIdSHA\": \"400a9ad2a6cbee3f94aa8652a6634aaca7329a5e\"\n },\n {\n \"listingIdSHA\": \"5fdcc18c47dfed9cd3b4d7d943ef40d3dbf6f618\"\n },\n {\n \"listingIdSHA\": \"6d1914a956e24a9444047cd83c95d4950ad7817d\"\n },\n {\n \"listingIdSHA\": \"637122159dfdf2721aead1b533be18303efaf5cb\"\n },\n {\n \"listingIdSHA\": \"2e3f988ac924e8fe4d97515839d3dbd3a69ff868\"\n },\n {\n \"listingIdSHA\": \"3a132b595ad90299a7a37c97b71f929d5f9318b7\"\n },\n {\n \"disableLink\": true,\n \"priceOverride\": 11000000,\n \"inlineListing\": {\n \"listingType\": 2,\n \"address\": \"10 Madison Sq W, Unit 8E\",\n \"aliasIndexForPrettyAddress\": -1,\n \"neighborhoods\": [\n \"Flatiron\"\n ],\n \"bedrooms\": 3,\n \"bathrooms\": 3,\n \"images\": [\n {\n \"thumbnail\": \"https://d2787ndpv5cwhz.cloudfront.net/27ba1f577ae24126008c992746c3ecae6645209a/165x165.jpg\"\n }\n ]\n }\n },\n {\n \"listingIdSHA\": \"a55a712c147e7fe1333a8a9da3649dab84e04ca2\"\n },\n {\n \"listingIdSHA\": \"400a9ad2a6cbee3f94aa8652a6634aaca7329a5e\"\n },\n {\n \"listingIdSHA\": \"c1dcc4b209d17d0694aa5f492a383be3a85072a8\"\n },\n {\n \"listingIdSHA\": \"9f5d9e04cde9e39ddd405ba4e6a4773d445c8d5d\"\n },\n {\n \"listingIdSHA\": \"04ce7e021d226a961f75195ab14608ba2689bc91\"\n },\n {\n \"listingIdSHA\": \"708770ffbb4fc72bedf5e6966e1897bf058a0380\"\n },\n {\n \"listingIdSHA\": \"d025f81370ad8b24ad3d1060eae959d715dd22ed\"\n },\n {\n \"listingIdSHA\": \"b00bec3707f6dce293e2bb36a007d6d72a845734\"\n },\n {\n \"listingIdSHA\": \"4533a4ff5fa78789f7e9b039d58ad6d30e08f2f3\"\n },\n {\n \"listingIdSHA\": \"824292fb8665bca1502b6ad4f2d9a18e9c14c7c8\"\n },\n {\n \"listingIdSHA\": \"d176eba054fa2e96fc72f72aca58aa4948818d8b\"\n },\n {\n \"listingIdSHA\": \"991b11765cdbd00a22262808198a7ccfceff34fb\"\n },\n {\n \"listingIdSHA\": \"a7079145982d12fbbe4af24ee2f511c638d6d5a1\"\n },\n {\n \"listingIdSHA\": \"40c87e543a53c0b786b3afeeb6b42a659fa8764c\"\n },\n {\n \"listingIdSHA\": \"070854f20ecf6753f09eca1520444f90a5bdd442\"\n },\n {\n \"listingIdSHA\": \"bcab21bcaa3267146d58ab9078ae31c9b63dfe9f\"\n },\n {\n \"listingIdSHA\": \"59db17223482a8ba5d12b4d6abb57c71b138a2b3\"\n },\n {\n \"listingIdSHA\": \"23abe6c3ed822de0735fadf71a527db42c240934\"\n },\n {\n \"listingIdSHA\": \"134faa1ecc778d3c33441dc8efe819ec75263538\"\n },\n {\n \"listingIdSHA\": \"102627b3130e8b99c327611c034293d524373b1c\"\n },\n {\n \"listingIdSHA\": \"625c4d15325813f45ff983457a0b22a010d46ca8\"\n },\n {\n \"listingIdSHA\": \"9582fd717dd2882d88d1010675a0cc31abb4dd08\"\n },\n {\n \"listingIdSHA\": \"b151f19a59150bd1ae0ded33f8d9fb70d9f000c4\"\n },\n {\n \"listingIdSHA\": \"e431c390e87686784183f078c433aeed88c7af88\"\n },\n {\n \"listingIdSHA\": \"917955f7196091feb1cfad17170ba04c71f6569c\"\n },\n {\n \"listingIdSHA\": \"c378d38fbd7dbdef14b8e3df2deec4b6620df97e\"\n },\n {\n \"listingIdSHA\": \"880df3a177731806c52797a7bc1c4c697cfcf711\"\n },\n {\n \"listingIdSHA\": \"2ad7ad7e91ef0a92fffd4f812ea5e128758710c2\"\n },\n {\n \"listingIdSHA\": \"7801b981b46ccb83bed83bf6ccb06da2d9573afd\"\n },\n {\n \"listingIdSHA\": \"12ac51b50a2f01161d14676b9cd52048b6840520\"\n },\n {\n \"listingIdSHA\": \"4f1ebb0fd47bb4d34a85f19871e1b28c943c6e96\"\n },\n {\n \"listingIdSHA\": \"eabe745f876d85c12f23962a4dfb552d87d2b8e2\"\n },\n {\n \"listingIdSHA\": \"44f346ac3ceb60947198ff00524586c61896f339\"\n },\n {\n \"listingIdSHA\": \"cbf5225e43868d2b9dd71434ebcbae8f268d203f\"\n },\n {\n \"listingIdSHA\": \"70d97693082d48fb70dd90ae8957b8a3bb396c25\"\n },\n {\n \"listingIdSHA\": \"28d5ffcfce6384b62c6c22751e155a515bd32d93\"\n },\n {\n \"listingIdSHA\": \"b20208dc99e9e234e1949965becb3d2c0daf469d\"\n },\n {\n \"listingIdSHA\": \"d48d328a209b37d48add1ca5cc31322cef9222c2\"\n },\n {\n \"listingIdSHA\": \"5a0a0f74f9c235b476eccd3ddad593e514c78544\"\n }\n ],\n \"profileImage\": {\n \"url\": \"http://urbancompass-image-index.s3.amazonaws.com/53afa719541458ea9cdb5abe37402f0d283c7d06.jpg\"\n },\n \"displayPhone\": \"6466631094\",\n \"displayEmail\": \"cabad@compass.com\",\n \"aboutForPrint\": \"Christinaa is appreciated by clients and developers alike for the tenacity, knowledge, accessibility, and attention to detail she brings to the real estate process. Working mainly in North Brooklyn and Long Island City, Christina's clients rely on her market expertise. marketing savvy. and seasoned advice to optimize momentum for their properties' success. even in the most challenging of markets. \\r\\n<br></br>\\r\\nChristina has gained considerable expertise in on-site soles for new developments. os well os individual property resoles on the seller and buyer sides in Brooklyn and Manhattan. She updates her sellers on trends in their particular market niche, closely monitors the progress of the buildings she represents, and consistently hits her soles goal numbers. Christina draws upon the vast knowledge from the soles side of new construction to effectively guide her buyer clients through the intricate steps in purchasing in new construction. Customers greatly appreciate her honesty. her personable manner. and her thorough, informative approach. \\r\\n<br></br>\\r\\nA current condo owner in Clinton Hill, Christina has a keen understanding of market conditions and value, and how they affect a customer's bottom line. She intuitively knows how to price and market properties to get the best results. This native New Yorker hos enjoyed a long career in the service business. After graduating from New York University with a degree in Hotel & Restaurant Management, she had what she considered the \\\"ultimate service job\\\" os o former concierge at the prestigious New York Hilton - the city's largest hotel and meeting facility. Christina went on to enjoy a high-profile career in Catering Sales and Event Planning before transitioning into real estate, a move inspired by her father, a commercial real estate Broker. \\r\\n\",\n \"isActive\": true,\n \"officePhone\": \"\"\n }\n ],\n \"title\": \"Licensed Associate Real Estate Broker\",\n \"startDateTime\": 1421409600000\n },\n \"leadProfile\": {\n \"lastLoginAt\": 1544119959131,\n \"lastActiveAt\": 1545177600000,\n \"updatedAt\": 1545846888254,\n \"createdAt\": 1421366400000,\n \"geographyPreferences\": {\n \"selectedGeoId\": \"nyc\"\n },\n \"customerChannel\": 0\n },\n \"userProfile\": {\n \"roles\": [\n \"Renter\"\n ]\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/entities", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"entities" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Agent Profile", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/entities/:personId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"entities", | |
":personId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "54ad7a38ac8dff2ad764ea06" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Find Entity Profiles agentProfileQuery", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/entities/?json={\"agentProfileQuery\": {\"isPublic\": true, \"geography\":\"hamptons\"}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"entities", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"agentProfileQuery\": {\"isPublic\": true, \"geography\":\"hamptons\"}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Experiments", | |
"item": [ | |
{ | |
"name": "Get Experiments", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/experiments", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"experiments" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Feed", | |
"item": [ | |
{ | |
"name": "Get Feed", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/feed?json={\"feedCategory\":11,\"feedId\":\"5d1a8bb04c09141976766521-contact_7669470\"}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"feed" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"feedCategory\":11,\"feedId\":\"5d1a8bb04c09141976766521-contact_7669470\"}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Images", | |
"item": [ | |
{ | |
"name": "Batch", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
{ | |
"key": "image1", | |
"value": "{{image1}}" | |
}, | |
{ | |
"key": "json", | |
"value": "{\"force\":true}" | |
}, | |
{ | |
"key": "image2", | |
"value": "{{image2}}" | |
} | |
] | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/images/actions/batch", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"images", | |
"actions", | |
"batch" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Upload", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
{ | |
"key": "imageData", | |
"value": "{{imageData}}" | |
}, | |
{ | |
"key": "json", | |
"value": "{\"keepOriginal\":true,\"force\":true}" | |
} | |
] | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/images", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"images" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Insights", | |
"item": [ | |
{ | |
"name": "SingleAgentAllListingInsights", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/dashboards/SingleAgentAllListingInsights", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"dashboards", | |
"SingleAgentAllListingInsights" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Listing Check Ins (OpenHouse v1)", | |
"item": [ | |
{ | |
"name": "Add Listing Check In", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"agentId\": \"57d9c0ee52f6eb2762ecd6b7\",\n \"firstName\": \"Dannny\",\n \"lastName\": \"McClure\",\n \"emailAddress\": \"123ssss@dan.com\",\n \"timestampMillis\": 1517164464128\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listing_check_ins/:listingId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listing_check_ins", | |
":listingId" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "7dbb0816db6c33d6e89d251799316898d48c3298" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Collaborators", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listing_check_ins/:listingId/collaborators", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listing_check_ins", | |
":listingId", | |
"collaborators" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "7dbb0816db6c33d6e89d251799316898d48c3298" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Collaborators", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"collaboratorIdsToAdd\":[\"{{myPersonId}}\"]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listing_check_ins/:listingId/collaborators", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listing_check_ins", | |
":listingId", | |
"collaborators" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "7dbb0816db6c33d6e89d251799316898d48c3298" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Collaborators", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listing_check_ins/:listingId/collaborators/{{myPersonId}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listing_check_ins", | |
":listingId", | |
"collaborators", | |
"{{myPersonId}}" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "7dbb0816db6c33d6e89d251799316898d48c3298" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Locales", | |
"item": [ | |
{ | |
"name": "Get Locales", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Constants Proxy", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Offices", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales/nyc/offices", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales", | |
"nyc", | |
"offices" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Regions", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales/aspen/regions", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales", | |
"aspen", | |
"regions" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Neighborhood", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales/nyc/regions/brooklyn", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales", | |
"nyc", | |
"regions", | |
"brooklyn" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Listing Statuses", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales/nyc/listing_states", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales", | |
"nyc", | |
"listing_states" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Neighborhood Hierarchy", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/locales/boston/neighborhood_hierarchy", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"locales", | |
"boston", | |
"neighborhood_hierarchy" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Notifications", | |
"item": [ | |
{ | |
"name": "Get My Notification Preferences", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/notifications/preferences?json={\"resourceId\":\"\", \"types\":null}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"notifications", | |
"preferences" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"resourceId\":\"\", \"types\":null}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Preferences for delegateUserId", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/notifications/preferences?json={\"resourceId\":\"\",\"delegateUserId\":\"{{myPersonId}}\"}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"notifications", | |
"preferences" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"resourceId\":\"\",\"delegateUserId\":\"{{myPersonId}}\"}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Inspect Deliverable Schedule Query", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/notifications/deliverables?json={\"recipientEmail\":\"dan.mcclure@compass.com\",\"recipientId\":null,\"deliverableType\":null,\"deliveryChannel\":null,\"resourceId\":null,\"windowStart\":null,\"windowEnd\":null,\"skip\":0,\"limit\":100}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"notifications", | |
"deliverables" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"recipientEmail\":\"dan.mcclure@compass.com\",\"recipientId\":null,\"deliverableType\":null,\"deliveryChannel\":null,\"resourceId\":null,\"windowStart\":null,\"windowEnd\":null,\"skip\":0,\"limit\":100}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Inspect Payloads for DeliverableId", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/notifications/deliverables/:deliverableId/payloads", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"notifications", | |
"deliverables", | |
":deliverableId", | |
"payloads" | |
], | |
"variable": [ | |
{ | |
"key": "deliverableId", | |
"value": "5c30c166d47932eec17f1d10" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Force Process Deliverable Request", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"emailAddress\": \"dan.mcclure@compass.com\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/notifications/deliverables/:deliverableId/actions/send/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"notifications", | |
"deliverables", | |
":deliverableId", | |
"actions", | |
"send", | |
"" | |
], | |
"variable": [ | |
{ | |
"key": "deliverableId", | |
"value": "5a8c4ae9d8c2cc026cf93bb4" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Send Manual Push", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"pushRequests\": [\n \t{\n \t\t\"recipientIds\": [\"{{myPersonId}}\"],\t\n \t\t\"message\": \"hello push world\",\n \t\t\"payload\": {}\n \t}\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/notifications/actions/send", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"notifications", | |
"actions", | |
"send" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Add Payload", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflow\" : {\n\t\t\"title\" : \"Chloe new\"\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "OneLogin", | |
"item": [ | |
{ | |
"name": "Get User Compass Status", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/onelogin/user/actions/status?email=cameron.waeland@compass.com", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"onelogin", | |
"user", | |
"actions", | |
"status" | |
], | |
"query": [ | |
{ | |
"key": "email", | |
"value": "cameron.waeland@compass.com" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get User", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/onelogin/user?email=cameron.waeland@compass.com", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"onelogin", | |
"user" | |
], | |
"query": [ | |
{ | |
"key": "email", | |
"value": "cameron.waeland@compass.com" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "OpenHouse", | |
"item": [ | |
{ | |
"name": "Create Collaborator", | |
"request": { | |
"auth": { | |
"type": "noauth" | |
}, | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer WyI1YzQ3YWUyMTM2NGIwYzEwNDVhOTFjYWMiLCI0NjkwNjBkMDM0YWY2YTNjZDAyN2IyNmJiY2JiNTUyZCJd.DylA0w.AmA564jpXKS2x5TqMkN5kKZhOrU", | |
"type": "text", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"collaborator\": {\n\t \"agentId\": \"123\",\n\t \"permission\": 2,\n\t \"syncWithUsersHavingReadWriteAll\": false,\n\t \"listingTransactionId\": \"171046321640186769\"\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/:listingId/collaborators", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
":listingId", | |
"collaborators" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "171046321640186769" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Collaborator", | |
"request": { | |
"auth": { | |
"type": "noauth" | |
}, | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"collaborator\": {\n \t\t\"id\": \"1\",\n \t\"agentId\": \"5a4f7e8f4790185afe033e63\",\n \t\"permission\": 2,\n \t\"syncWithUsersHavingReadWriteAll\": true\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/:listingId/collaborators/:collaboratorId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
":listingId", | |
"collaborators", | |
":collaboratorId" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "106437052026855217" | |
}, | |
{ | |
"key": "collaboratorId", | |
"value": "1" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Collaborator", | |
"request": { | |
"auth": { | |
"type": "noauth" | |
}, | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/x-www-form-urlencoded" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/:listingID/collaborators/:collaboratorUserID", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
":listingID", | |
"collaborators", | |
":collaboratorUserID" | |
], | |
"variable": [ | |
{ | |
"key": "listingID", | |
"value": "106437052026855217" | |
}, | |
{ | |
"key": "collaboratorUserID", | |
"value": "5a4f7e8f4790185afe033e63" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Collaborators", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "content", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/:listingId/collaborators", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
":listingId", | |
"collaborators" | |
], | |
"variable": [ | |
{ | |
"key": "listingId", | |
"value": "165841052459073585" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Check Ins", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "content-type", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins?json={\"listingTransactionIds\":[\"106437052026855217\"], \"expand\": [2]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"listingTransactionIds\":[\"106437052026855217\"], \"expand\": [2]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Export CheckIns", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "content-type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins/actions/export?json={\"listingTransactionIds\":[\"182391143013548049\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins", | |
"actions", | |
"export" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"listingTransactionIds\":[\"182391143013548049\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Check In", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "content-type", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer WyI1YWM3YzE2NmY0N2Y3MzdmYWZmY2JlN2MiLCI4ODU4YjgwN2ZkNzdiNzIxMzhlYWJlZWU1OWJmNWZlZiJd.DyEbtQ.TIRIwG3OUi5gavFkoMhZV8dQjeo", | |
"type": "text", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins/:checkinId?json={\"expand\": [0,1,2,3]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins", | |
":checkinId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"expand\": [0,1,2,3]}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "checkinId", | |
"value": "202" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Checkin", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"listingTransactionId\": \"106437052026855217\",\n \"collectedBy\": \"5d1a8bb04c09141976766521\",\n \"firstName\": \"funneltest2\",\n \"lastName\": \"person\",\n \"email\": \"funneltest1@gmail.com\",\n \"createdAt\": 1605299911161,\n \"updatedAt\": 1605299911161,\n \"updatedBy\": \"5d1a8bb04c09141976766521\",\n \"isAgent\": false\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/open_house/check_ins", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Add Checkin to Listing", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"collectedBy\": \"5d1a8bb04c09141976766521\",\n \"email\": \"chloetest2@gmail.com\",\n \"firstName\": \"OHfirst3\",\n \"lastName\": \"OHlast3\",\n \"listingTransactionId\": \"481066894460988841\",\n \"createdAt\": 1597159692669,\n \"phoneNumber\": \"1234567891\"\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/open_house/check_ins", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Checkin With Note", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"listingTransactionId\": \"106437052026855217\",\n \"collectedBy\": \"5a7a1284479018047e50e698\",\n \"firstName\": \"Matt\",\n \"lastName\": \"Damon\",\n \"email\": \"ori.damary+111215639@compass.com\",\n\t\t\"notes\":[{\n \"isShared\": true,\n \"note\": {\n \"body\": \"Looking for a place near Harvard Yard\"\n }\n }], \n \"createdAt\": 1546444211102,\n \"updatedAt\": 1546444211102,\n \"updatedBy\": \"5a7a1284479018047e50e698\",\n \"isAgent\": false\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Checkin", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json", | |
"warning": "" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}", | |
"warning": "" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"listingTransactionId\": \"106437052026855217\",\n \"collectedBy\": \"5a7a1284479018047e50e698\",\n \"firstName\": \"Guy\",\n \"lastName\": \"Richie\",\n \"phoneNumber\": \"849-333-2123\",\n \"email\": \"ori.damary+111104353@compass.com\",\n \"createdAt\": 1546444211102,\n \"updatedAt\": 1546444211102,\n \"updatedBy\": \"5a7a1284479018047e50e698\",\n \"consumerBrokerEmail\": \"ori.damary+111104411@compass.com\",\n \"consumerBrokerName\": \"Madonna\",\n \"isAgent\": false\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins/:checkInId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins", | |
":checkInId" | |
], | |
"variable": [ | |
{ | |
"key": "checkInId", | |
"value": "167" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Checkin With Note", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json", | |
"warning": "" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}", | |
"warning": "" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"listingTransactionId\": \"106437052026855217\",\n \"collectedBy\": \"5a7a1284479018047e50e698\",\n \"firstName\": \"Bruce\",\n \"lastName\": \"Willis\",\n \"email\": \"ori.damary+111205410@compass.com\",\n\t\t\"notes\": [\n {\n \"isShared\": true,\n \"note\": {\n \"id\": \"note_65078\",\n \"body\": \"Movie star\",\n \"contactId\": \"contact_801514\",\n \"timestamp\": 1547258025000,\n \"createdAt\": 1547258025000,\n \"updatedAt\": 1547258025000,\n \"author\": {\n \"id\": \"user_18081\",\n \"firstName\": \"Ori\",\n \"lastName\": \"Damary\"\n }\n },\n \"id\": 51\n }\n ],\n \"createdAt\": 1546444211102,\n \"updatedAt\": 1546444211102,\n \"updatedBy\": \"5a7a1284479018047e50e698\",\n \"isAgent\": false\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins/:checkInId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins", | |
":checkInId" | |
], | |
"variable": [ | |
{ | |
"key": "checkInId", | |
"value": "172" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Add Note", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"note\": {\n \"note\": {\n \t\"body\": \"We are adding this note!\"\n },\n \"isShared\": true\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins/:checkInId/notes", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins", | |
":checkInId", | |
"notes" | |
], | |
"variable": [ | |
{ | |
"key": "checkInId", | |
"value": "2131" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Note", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"note\": {\n \"isShared\": true,\n \"note\": {\n \"id\": \"note_65082\",\n \"body\": \"Modifying the note!\",\n \"contactId\": \"contact_801514\",\n \"timestamp\": 1547261691000,\n \"createdAt\": 1547261691000,\n \"updatedAt\": 1547261691000,\n \"author\": {\n \"id\": \"user_18081\",\n \"firstName\": \"Ori\",\n \"lastName\": \"Damary\"\n }\n },\n \"id\": 52\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_in/:checkInId/notes", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_in", | |
":checkInId", | |
"notes" | |
], | |
"variable": [ | |
{ | |
"key": "checkInId", | |
"value": "172" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Open House Listings", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/listings", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"listings" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "LTS Load Listing (For Testing)", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"listingIdSHAs\":[\"29406469740877393\"],\n \"optionalFieldsToInclude\":[0],\n \"userType\":4\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/load", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"load" | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "People", | |
"item": [ | |
{ | |
"name": "Teams", | |
"item": [ | |
{ | |
"name": "Get Teams", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/teams?json={\"teamIds\":[\"5458e3edac8dff1dbfef8bcd\",\"54cac798fda51433ec7d004f\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"teams" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"teamIds\":[\"5458e3edac8dff1dbfef8bcd\",\"54cac798fda51433ec7d004f\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Team", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/teams/:teamId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"teams", | |
":teamId" | |
], | |
"variable": [ | |
{ | |
"key": "teamId", | |
"value": "5458e3edac8dff1dbfef8bcd" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "UpdateTeam", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json; charset=utf-8" | |
}, | |
{ | |
"key": "Cookie", | |
"value": null | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"team\": {\n \"id\": \"5458e3edac8dff1dbfef8bcd\",\n \"teamName\": \"MLLP\",\n \"members\": [\n {\n \"role\": 0,\n \"person\": {\n \"personId\": \"544e4a4d85699305055203db\",\n \"email\": \"jhoagland@compass.com\",\n \"firstName\": \"Julia\",\n \"lastName\": \"Hoagland\",\n \"displayName\": \"Julia Hoagland\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/a884b30224001cc780f761bcb44fde495b2f5a6f/300x300.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1413763200000,\n \"updatedAt\": 1545846818047,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 0\n }\n ],\n \"crmId\": \"user_60\",\n \"salesforceId\": \"AJH00000549\",\n \"safeUrlName\": \"julia-hoagland\",\n \"title\": \"Licensed Associate Real Estate Broker, NYRS, CNE\",\n \"businessTitle\": \"Principal\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1413802800000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"6466961372\"\n },\n \"isPublic\": true,\n \"showListings\": true,\n \"rank\": 1\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"5445104f85699322af826ed3\",\n \"email\": \"kspencer@compass.com\",\n \"firstName\": \"Katie\",\n \"lastName\": \"Spencer\",\n \"displayName\": \"Katie Spencer\",\n \"avatarUrl\": \"http://urbancompass-image-index.s3.amazonaws.com/ce29c6497f905c1f7011934a9e2fd3c9076b4c4b.jpg\",\n \"createdAt\": 1413763200000,\n \"updatedAt\": 1545846876854,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_2727\",\n \"salesforceId\": \"AKS00000770\",\n \"safeUrlName\": \"katie-spencer\",\n \"title\": \"Licensed Associate Real Estate Broker, NYRS | Licensed as Kathryn Spencer\",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1413802800000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"3473283394\"\n },\n \"isPublic\": true,\n \"showListings\": true,\n \"rank\": 2\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"544ebb0085699349f8f8f673\",\n \"email\": \"jmanuel@compass.com\",\n \"firstName\": \"Johanna\",\n \"lastName\": \"Manuel\",\n \"displayName\": \"Johanna Manuel\",\n \"avatarUrl\": \"http://urbancompass-image-index.s3.amazonaws.com/64cf56fb11baeede39e2cc4d23e2149a46f54523.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1413763200000,\n \"updatedAt\": 1545846918386,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_3454\",\n \"salesforceId\": \"AJM00001736\",\n \"safeUrlName\": \"johanna-manuel\",\n \"title\": \"Licensed Real Estate Salesperson\",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1413802800000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"3475795870\"\n },\n \"isPublic\": true,\n \"showListings\": true,\n \"rank\": 3\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"56cb1e7218b71e6ed852e5af\",\n \"email\": \"sguerrier@compass.com\",\n \"firstName\": \"Stephane\",\n \"lastName\": \"Guerrier\",\n \"displayName\": \"Stephane Guerrier\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/d76e53ee24bcb2498a2ed57f3cb1dcef4f9d179a/300x300.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1455148800000,\n \"updatedAt\": 1545846975756,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_4195\",\n \"salesforceId\": \"ASG00003845\",\n \"safeUrlName\": \"stephane-guerrier\",\n \"title\": \"Licensed Associate Real Estate Broker \",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1455192000000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"9178372848\"\n },\n \"isPublic\": true,\n \"showListings\": true,\n \"rank\": 4\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"57683baf5a37477f384d5b4b\",\n \"email\": \"e.stlaurent@compass.com\",\n \"firstName\": \"Emma\",\n \"lastName\": \"St.Laurent\",\n \"displayName\": \"Emma St.Laurent\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/45c6150ade43d3bedf6f45ceeeeadab5ca48c698/300x300.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1465776000000,\n \"updatedAt\": 1545846877464,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_2730\",\n \"salesforceId\": \"AES00000773\",\n \"safeUrlName\": \"emma-stlaurent\",\n \"title\": \"Licensed Real Estate Salesperson\",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1465815600000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"7749912342\"\n },\n \"isPublic\": true,\n \"showListings\": true,\n \"rank\": 5\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"544ebb828569934a104580ed\",\n \"email\": \"apeskin@compass.com\",\n \"firstName\": \"Adrian\",\n \"lastName\": \"Peskin\",\n \"displayName\": \"Adrian Peskin\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/5e0501c78205af5cd9fb160e8144c9ab98cd096d/300x300.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1413763200000,\n \"updatedAt\": 1545846898584,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_3148\",\n \"salesforceId\": \"AAP00001317\",\n \"safeUrlName\": \"adrian-peskin\",\n \"title\": \"Licensed Real Estate Salesperson\",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1413802800000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"6106338403\"\n },\n \"isPublic\": false,\n \"showListings\": true,\n \"rank\": 7\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"58dc07ca57f9602b2a23f50d\",\n \"email\": \"mbenzor@compass.com\",\n \"firstName\": \"Michelle\",\n \"lastName\": \"Benzor\",\n \"displayName\": \"Michelle Benzor\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/68c72e89763e79b6cf4f7572050f62394093a558/300x300.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1490832000000,\n \"updatedAt\": 1545846964320,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_4134\",\n \"salesforceId\": \"AMB00003780\",\n \"safeUrlName\": \"michelle-benzor\",\n \"title\": \"Licensed Real Estate Salesperson \",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1490871600000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"9177239311\"\n },\n \"isPublic\": true,\n \"showListings\": true,\n \"rank\": 8\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"5458e3edac8dff1dbfef8bcd\",\n \"email\": \"jht@compass.com\",\n \"firstName\": \"\",\n \"lastName\": \"Julia Hoagland Team\",\n \"displayName\": \" Julia Hoagland Team\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/744932014522db0961e86ad6576ee9a1978e2c5c/300x300.jpg\",\n \"selectedGeoId\": \"naples\",\n \"createdAt\": 1415111681242,\n \"updatedAt\": 1536605111884,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_31389\",\n \"safeUrlName\": \"juliahoagland-team\",\n \"title\": \" \"\n }\n },\n \"phone\": \"6468323545\"\n }\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"544eba9c8569934a104580dc\",\n \"email\": \"hbowling@compass.com\",\n \"firstName\": \"Hannah\",\n \"lastName\": \"Bowling\",\n \"displayName\": \"Hannah Bowling\",\n \"avatarUrl\": \"http://urbancompass-image-index.s3.amazonaws.com/aad874ab44fc537aeb78d2566ed7e4a74277ff32.jpg\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1413763200000,\n \"updatedAt\": 1545846888088,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_2897\",\n \"salesforceId\": \"AHB00001017\",\n \"safeUrlName\": \"hannah-bowling\",\n \"title\": \"Licensed Associate Real Estate Broker\",\n \"businessTitle\": \"Agent\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1413802800000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"5126947976\"\n }\n },\n {\n \"role\": 2,\n \"person\": {\n \"personId\": \"5989cfc341aa651e422a0aa8\",\n \"email\": \"jhoa@compass.com\",\n \"firstName\": \"Roseborn\",\n \"lastName\": \"Boateng\",\n \"displayName\": \"Roseborn Boateng\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1502150400000,\n \"updatedAt\": 1545847006329,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5458e3edac8dff1dbfef8bcd\",\n \"role\": 2\n }\n ],\n \"crmId\": \"user_4398\",\n \"salesforceId\": \"ARB00004112\",\n \"compassRegionalEntityName\": \"Urban Compass, Inc. d/b/a Compass\",\n \"startDateTime\": 1502190000000,\n \"parentName\": \"Compass (Parent)\"\n }\n },\n \"phone\": \"6467529997\"\n }\n }\n ],\n \"createdAt\": 1415111681242,\n \"updatedAt\": 1545847183543,\n \"safeUrlName\": \"juliahoagland-team\",\n \"profilePages\": [\n {\n \"geography\": \"nyc\",\n \"about\": \"With an acclaimed business approach, the Julia Hoagland Team is known for innovative and creative thinking and bringing transparency to the Manhattan marketplace through comprehensive data collection and analysis, market research, and a gift for interpretation. Their foundation in market analysis entrusts them to high-end clients and enables them to diversify their efforts across all Manhattan markets. The Julia Hoagland Team has received numerous awards including ranking #1 in their office 2015, 2014, 2013 and ranking #21 of NYC agents by the Wall Street Journal Real Trends.\\r\\n<br></br>\\r\\n85 Grand Street, #2 <iframe width=\\\"560\\\" height=\\\"315\\\" src=\\\"https://drive.google.com/file/d/0BxZ2mSpe6UybcUNIaF9wMzZObTQ/preview\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\\r\\n<br></br>\\r\\nFor more information about Julia Hoagland click <a href=\\\"https://www.compass.com/agents/nyc/julia-hoagland/\\\">here</a>. \\r\\n\",\n \"isPublic\": true,\n \"revenue\": \"\",\n \"awards\": \"The Julia Hoagland Team have earned the following awards: \\r\\n<br></br>\\r\\nRanked #25 of NYC agents by WSJ Real Trends 2016\\r\\n<br></br>\\r\\nNumber One Team in office 2013 - 2016; consistently in the top 5% of agents\",\n \"press\": \"The Julia Hoagland Team are recognized experts in the industry and have been featured in The Wall Street Journal, The New York Times, Crain's New York Business, The Mann Report, The Real Deal and Avenue Magazine\",\n \"otherMedia\": \"\",\n \"specialties\": \"\",\n \"education\": \"\",\n \"charity\": \"\",\n \"profileImage\": {\n \"url\": \"https://d2787ndpv5cwhz.cloudfront.net/744932014522db0961e86ad6576ee9a1978e2c5c/300x300.jpg\"\n },\n \"displayPhone\": \"6468323545\",\n \"displayEmail\": \"jht@compass.com\",\n \"aboutForPrint\": \"\",\n \"isActive\": true,\n \"officePhone\": \"\"\n }\n ],\n \"salesforceId\": \"TML00000271\",\n \"email\": \"mllp@compass.com\",\n \"phone\": \"6468323545\",\n \"avatarUrl\": \"https://d2787ndpv5cwhz.cloudfront.net/744932014522db0961e86ad6576ee9a1978e2c5c/300x300.jpg\",\n \"title\": \" \"\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/teams/:teamId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"teams", | |
":teamId" | |
], | |
"variable": [ | |
{ | |
"key": "teamId", | |
"value": "5458e3edac8dff1dbfef8bcd" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Contacts", | |
"item": [ | |
{ | |
"name": "Contacts: Get", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/:contactId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
":contactId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{personId}}" | |
}, | |
{ | |
"key": "contactId", | |
"value": "{{contactId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Get Recurring Events", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/contacts/:contactId/recurring_events", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"contacts", | |
":contactId", | |
"recurring_events" | |
], | |
"variable": [ | |
{ | |
"key": "contactId", | |
"value": "{{contactId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Search", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts?json={\"filter\":{\"archived\":false,\"groups\":[],\"order\":[3]},\"page\":1}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"filter\":{\"archived\":false,\"groups\":[],\"order\":[3]},\"page\":1}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{personId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Create", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"contact\": {\n\t\t\"firstName\": \"Russ {{$timestamp}}\",\n\t\t\"lastName\": \"Westbrook\"\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Update", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n \"contact\":{ \n \"avatarUrl\":\"\",\n \"firstName\":\"Tessa\",\n \"lastName\":\"Johnsonsononson\",\n \"emailAddresses\":[ \n { \n \"id\":\"contact_identity_4525356\",\n \"label\":\"Personal\",\n \"address\":\"apple@papple.com\"\n }\n ],\n \"phoneNumbers\":[ \n\n ],\n \"title\":\"\",\n \"company\":\"\",\n \"socialMediaProfiles\":[ \n\n ],\n \"websites\":[ \n\n ],\n \"addresses\":[ \n\n ],\n \"tags\":[ \n \"Imported 9/03/2019\"\n ],\n \"recurringEvents\": [\n {\n \"contactId\": \"contact_4332266\",\n \"dueDate\": \"2019-09-04\",\n \"id\": \"recurring_event_71076\",\n \"title\": \"Anniversary\",\n \"eventType\": 1\n },\n {\n \"contactId\": \"contact_4332266\",\n \"dueDate\": \"2019-09-04\",\n \"title\": \"Home Anniversary!\",\n \"eventType\": 3\n },\n {\n \"contactId\": \"contact_4332266\",\n \"dueDate\": \"2003-06-13\",\n \"id\": \"recurring_event_71075\",\n \"title\": \"Birthday\",\n \"eventType\": 0\n },\n {\n \"contactId\": \"contact_4332266\",\n \"dueDate\": \"2019-09-04\",\n \"id\": \"recurring_event_71074\",\n \"title\": \"Home Anniversary\",\n \"eventType\": 2\n }\n ],\n \"id\":\"contact_4332266\",\n \"createdAt\":1567532348000,\n \"updatedAt\":1567532348000,\n \"associatedTags\":[ \n { \n \"id\":\"tag_4885743\",\n \"createdAt\":1567532295000,\n \"updatedAt\":1567532295000,\n \"contactCount\":1,\n \"name\":\"Imported 9/03/2019\"\n }\n ],\n \"relationshipTypes\":[ \n 1\n ],\n \"outboundInteractionCount\":0,\n \"inboundInteractionCount\":0,\n \"totalInteractionCount\":0\n }\n}" | |
}, | |
"url": { | |
"raw": "localhost:4000/contacts/:contactId", | |
"host": [ | |
"localhost" | |
], | |
"port": "4000", | |
"path": [ | |
"contacts", | |
":contactId" | |
], | |
"variable": [ | |
{ | |
"key": "contactId", | |
"value": "contact_4332266" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Update Copy", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n \"contact\":{ \n \"avatarUrl\":\"\",\n \"firstName\":\"Bobby\",\n \"lastName\":\"Contact22\",\n \"emailAddresses\":[ \n { \n \"id\":\"contact_identity_4344201\",\n \"label\":\"Personal\",\n \"address\":\"t@gmail.com\"\n }\n ],\n \"phoneNumbers\":[ \n { \n \"id\":\"b1b5c20f-5848-428a-93be-79c65ffd7a3a\",\n \"label\":\"Home\",\n \"number\":\"2017046137\"\n }\n ],\n \"title\":\"\",\n \"company\":\"testorg2\",\n \"socialMediaProfiles\":[ \n { \n \"id\":\"2c524992-e86f-4f39-8849-cad7f7bf3d31\",\n \"label\":\"Flickr\",\n \"url\":\"https://www.flickr.com/people/11283804@N05\"\n },\n { \n \"id\":\"cfee1432-8993-447d-a138-5d1853fd5eee\",\n \"label\":\"Vimeo\",\n \"url\":\"http://vimeo.com/user1135579\"\n }\n ],\n \"websites\":[ \n\n ],\n \"addresses\":[ \n { \n \"id\":\"9264e4d9-5b92-43a6-80d0-6e0268d0e42c\",\n \"full_address\":\"123 Bryant St.\",\n \"label\":\"Home\",\n \"street1\":\"123 Bryant St.\",\n \"street2\":\"\",\n \"city\":\"\",\n \"state\":\"\",\n \"zip\":\"\"\n }\n ],\n \"tags\":[ \n\n ],\n \"recurringEvents\":[ \n\n ],\n \"id\":\"contact_4165059\",\n \"person\":{ \n \"personId\":\"52fa8fa485699363bb0a3f0c\",\n \"email\":\"t@gmail.com\",\n \"firstName\":\"t\",\n \"lastName\":\"t\",\n \"displayName\":\"t t\",\n \"createdAt\":1392152564405,\n \"updatedAt\":1536097234900,\n \"profile\":{ \n \"customer\":{ \n \"preferredContactMethod\":0,\n \"hasLoggedIn\":true\n }\n },\n \"roles\":[ \n \"Renter\"\n ],\n \"active\":true\n },\n \"createdAt\":1564768369000,\n \"updatedAt\":1564768394000,\n \"lastActive\":1392152564412,\n \"manuallyUpdatedAt\":1564768394576,\n \"relationshipTypes\":[ \n 1\n ],\n \"outboundInteractionCount\":0,\n \"inboundInteractionCount\":0,\n \"totalInteractionCount\":0\n }\n}" | |
}, | |
"url": { | |
"raw": "localhost:4000/contacts/:contactId", | |
"host": [ | |
"localhost" | |
], | |
"port": "4000", | |
"path": [ | |
"contacts", | |
":contactId" | |
], | |
"variable": [ | |
{ | |
"key": "contactId", | |
"value": "contact_4165059" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Archive", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"contactId\": \"{{contactId}}\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/{{contactId}}/actions/archive", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"{{contactId}}", | |
"actions", | |
"archive" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Contacts: Unarchive", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/:contactId/actions/archive", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
":contactId", | |
"actions", | |
"archive" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "contactId", | |
"value": "{{contactId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Linked Contacts", | |
"item": [ | |
{ | |
"name": "Linked Contacts: Create", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"linkedContacts\": [\n\t\t{ \"contactId\": \"contact_188942\", \"label\": \"2\" }\n\t\t]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/:contactId/linked_contacts", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
":contactId", | |
"linked_contacts" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "contactId", | |
"value": "{{contactId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Linked Contacts: Delete", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/:contactId/linked_contacts?json={\"linkedContacts\": [{ \"contactId\": \"contact_188943\", \"label\": \"2\" }]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
":contactId", | |
"linked_contacts" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"linkedContacts\": [{ \"contactId\": \"contact_188943\", \"label\": \"2\" }]}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{personId}}" | |
}, | |
{ | |
"key": "contactId", | |
"value": "{{contactId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Custom Fields", | |
"item": [ | |
{ | |
"name": "CF: Create Custom Field", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"customField\": {\n\t\t\"defaultValue\":\"Virgin Gorda\",\n\t\t\"name\":\"bvi\",\n\t\t\"dropdownOptions\": [\"Tortola\", \"Virgin Gorda\", \"Anegada\"],\n\t\t\"type\": 3\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/custom_fields", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"custom_fields" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CF: Get Team Custom Fields", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/custom_fields", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"custom_fields" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CF: Fetch Custom Field", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/custom_fields/:customField", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"custom_fields", | |
":customField" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "customField", | |
"value": "custom_field_3793" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CF: Update Custom Field", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"customField\": {\n\t\t\"defaultValue\":\"NYC\",\n\t\t\"name\":\"city\",\n\t\t\"dropdownOptions\": [\"NYC\", \"Philly\", \"Chi-town\", \"LA\"],\n\t\t\"type\": 3\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/custom_fields/:customField", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"custom_fields", | |
":customField" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "customField", | |
"value": "custom_field_3793" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CF: Delete Custom Field", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"defaultValue\":\"MJ\",\n\t\"name\":\"initials\",\n\t\"dropdownOptions\": [\"MJ\", \"LD\", \"JR\", \"LBJ\"],\n\t\"type\": 3\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/custom_fields/:customField", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"custom_fields", | |
":customField" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "customField", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "CSV", | |
"item": [ | |
{ | |
"name": "CSV: Export to CSV", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"name\": \"test-csv\",\n\t\"url\": \"https://gist.githubusercontent.com/RobVanGroenewoud/ba89ad7684df8cefe5c183adb498cc65/raw/f2eec6d2cb89f5d779e16b28ed0dab89d738ba96/sample.csv\",\n\t\"importOptions\": {\n\t\t\"addGroupingId\": [\"fname\"]\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/imported_csvs", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"imported_csvs" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CSV: Get Imported CSV", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/imported_csvs/:csvId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"imported_csvs", | |
":csvId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "csvId", | |
"value": "imported_csv_1784" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CSV: Preview Imported CSV", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/imported_csvs/:csvId/preview", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"imported_csvs", | |
":csvId", | |
"preview" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "csvId", | |
"value": "imported_csv_1784" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CSV: Validate Imported CSV", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/imported_csvs/:csvId/validation", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"imported_csvs", | |
":csvId", | |
"validation" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "csvId", | |
"value": "imported_csv_1784" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CSV: Update Imported CSV", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "WyI1YTdhMTI4NDQ3OTAxODA0N2U1MGU2OTgiLCI1NjAyYTUzODdjZWViYWRjYWIyMGY0MzI1MjZhNDk2MCJd.Dirbog.AiovMVlxnddxYPc4Drzub-WPFwA", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "PUT", | |
"header": [ | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"overrideRowData\":{\n \"row_identifier_2\":{\n \"values\": {\"firstName\": \"Hi\"},\n \"skip\": false,\n \"contactExists\": false\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/imported_csvs/:csvId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"imported_csvs", | |
":csvId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "csvId", | |
"value": "imported_csv_1784" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "CSV: Get Job", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/jobs/:jobId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"jobs", | |
":jobId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "jobId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Merge & Dedupe", | |
"item": [ | |
{ | |
"name": "Merge & De-dupe Process Suggestions", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"contact\": {\n \"avatarUrl\": \"\",\n \"firstName\": \"Michael\",\n \"lastName\": \"Jordan\",\n \"emailAddresses\": [\n {\n \"label\": \"Personal\",\n \"address\": \"ori.damary@compass.com\"\n }\n ],\n \"phoneNumbers\": [\n {\n \"label\": \"Work\",\n \"number\": \"(773) 281-8844\"\n }\n ],\n \"title\": \"Licensed Real Estate Broker\",\n \"company\": \"\",\n \"socialMediaProfiles\": [\n {\n \"url\": \"\",\n \"label\": \"Facebook\"\n }\n ],\n \"websites\": [\n {\n \"address\": \"\",\n \"label\": \"Personal\"\n }\n ]\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/merge_suggestions/reviews", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
"merge_suggestions", | |
"reviews" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Merge & Dedupe: Get Merge Suggestions", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"contact\": {\n \"avatarUrl\": \"\",\n \"firstName\": \"Michael\",\n \"lastName\": \"Jordan\",\n \"emailAddresses\": [\n {\n \"label\": \"Personal\",\n \"address\": \"ori.damary@compass.com\"\n }\n ],\n \"phoneNumbers\": [\n {\n \"label\": \"Work\",\n \"number\": \"(773) 281-8844\"\n }\n ],\n \"title\": \"Licensed Real Estate Broker\",\n \"company\": \"\",\n \"socialMediaProfiles\": [\n {\n \"url\": \"\",\n \"label\": \"Facebook\"\n }\n ],\n \"websites\": [\n {\n \"address\": \"\",\n \"label\": \"Personal\"\n }\n ]\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId/contacts/:contactId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId", | |
"contacts", | |
":contactId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
}, | |
{ | |
"key": "contactId", | |
"value": "{{contactId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Get People (paginated)", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/?json={\"excludeClosedDeals\":false, \"orderBy\":3,\"ascending\":false}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"excludeClosedDeals\":false, \"orderBy\":3,\"ascending\":false}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get People by email", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/?json={\"emails\": [\"kevin.liu@compass.com\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"emails\": [\"kevin.liu@compass.com\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Person Self", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/self?json={\"orderBy\":3,\"ascending\":false}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"self" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"orderBy\":3,\"ascending\":false}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Person (me)", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/:personId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
":personId" | |
], | |
"variable": [ | |
{ | |
"key": "personId", | |
"value": "{{myPersonId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Person", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"person\": {\n \"personId\": \"5b4f2e70bf21d07d1920b96f\",\n \"email\": \"nathaniel.brakeley@gmail.com\",\n \"firstName\": \"Nate\",\n \"lastName\": \"Brakeley\",\n \"displayName\": \"Nate Brakeley\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1531915920073,\n \"updatedAt\": 1544635150597,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5b8f169cf37cd71a7101f629\",\n \"role\": 0,\n \"isIndividual\": true\n }\n ],\n \"crmId\": \"user_8778\"\n }\n },\n \"phone\": \"\",\n \"roles\": [\n \"Renter\"\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Person", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"people\": [\n {\n \"personId\": \"5b46618cbf21d05517394e78\",\n \"email\": \"sana.sheikh@compass.com\",\n \"firstName\": \"Sana\",\n \"lastName\": \"Sheikh\",\n \"displayName\": \"Sana Sheikh\",\n \"selectedGeoId\": \"nyc\",\n \"createdAt\": 1531339168141,\n \"updatedAt\": 1546451439465,\n \"profile\": {\n \"agent\": {\n \"teams\": [\n {\n \"teamId\": \"5b60d50fd22c36734c94aa1f\",\n \"role\": 0\n }\n ],\n \"crmId\": \"user_6914\",\n \"profilePages\": [\n {\n \"geography\": \"nyc\",\n \"about\": \"\",\n \"isPublic\": false,\n \"revenue\": \"\",\n \"awards\": \"\",\n \"press\": \"\",\n \"otherMedia\": \"\",\n \"specialties\": \"\",\n \"education\": \"\",\n \"charity\": \"\",\n \"displayEmail\": \"sana.sheikh@compass.com\",\n \"aboutForPrint\": \"\",\n \"officePhone\": \"\"\n }\n ]\n }\n },\n \"phone\": \"\",\n \"roles\": [\n \"Renter\",\n \"Specialist\",\n \"BookableSpecialist\",\n \"Staff\",\n \"InsightsExecutive\",\n \"Admin\",\n \"SuperAdmin\",\n \"UserImpersonator\",\n \"ExperimentMaster\"\n ]\n }\n ],\n \"total\": 1\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/people/5b46618cbf21d05517394e78", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"people", | |
"5b46618cbf21d05517394e78" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Checkin With Broker", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"checkIn\": {\n \"listingTransactionId\": \"106437052026855217\",\n \"collectedBy\": \"5a7a1284479018047e50e698\",\n \"firstName\": \"BJ\",\n \"lastName\": \"Armstrong\",\n \"email\": \"ori.damary+110154200@compass.com\",\n \"consumerBrokerEmail\": \"ori.damary+111104411@compass.com\",\n \"consumerBrokerName\": \"Madonna\",\n \"createdAt\": 1546444211102,\n \"updatedAt\": 1546444211102,\n \"updatedBy\": \"5a7a1284479018047e50e698\",\n \"isAgent\": false\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/open_house/check_ins", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"open_house", | |
"check_ins" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Saved Search (new) (coming soon 2/2019)", | |
"item": [ | |
{ | |
"name": "Get Saved Search", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_search/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_search", | |
"" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Search Summaries", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"searchQueries\": {\n \t\"one\": {\n \"bedrooms\": [\n 2\n ],\n \"neighborhoods\": [\n \"Bedford-Stuyvesant\"\n ],\n \"start\": 0,\n \"num\": 24,\n \"availability\": 0,\n \"maxOriginalsPerListing\": 0,\n \"geography\": \"nyc\",\n \"listingTypes\": [\n 2\n ],\n \"sortOrder\": 5\n },\n \"two\": {\n \"bedrooms\": [\n 10\n ],\n \"neighborhoods\": [\n \"Bedford-Stuyvesant\"\n ],\n \"start\": 0,\n \"num\": 24,\n \"availability\": 0,\n \"maxOriginalsPerListing\": 0,\n \"geography\": \"nyc\",\n \"listingTypes\": [\n 2\n ],\n \"sortOrder\": 5\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_search/search_summary/bulk", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_search", | |
"search_summary", | |
"bulk" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Search Summary for Search Query", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"searchQuery\":{\"bedrooms\":[2],\"neighborhoods\":[\"Bedford-Stuyvesant\"],\"start\":0,\"num\":24,\"availability\":0,\"maxOriginalsPerListing\":0,\"geography\":\"nyc\",\"listingTypes\":[2],\"sortOrder\":5}}\n" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_search/search_summary/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_search", | |
"search_summary", | |
"" | |
] | |
}, | |
"description": "Agent Profile Save" | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Saved Searches", | |
"item": [ | |
{ | |
"name": "Create Saved Search AddNamedSearch", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"name\": \"DCM new search {{$guid}}\",\n \"search\": {\n \"listingTypes\": [2],\n \"agentSearch\": true,\n \"saleStatuses\": [9, 12],\n \"start\": 0,\n \"num\": 24,\n \"sortOrder\": 90,\n \"availability\": 0,\n \"geography\": \"nyc\",\n \"maxOriginalsPerListing\": 0,\n \"feedListingsSearch\": false,\n \"neighborhoods\": [\"Manhattan Beach\"]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Saved Searches", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches?json={\"includeSharedByUser\":true, \"limit\":10}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeSharedByUser\":true, \"limit\":10}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Saved Search", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/:savedSearchId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
":savedSearchId" | |
], | |
"variable": [ | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Saved Search Copy", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/5c898d6bd76e3e3806541f1f", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
"5c898d6bd76e3e3806541f1f" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Saved Searches Find for boardId", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches?json={\"boardId\":\"{{collectionId}}\"}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"boardId\":\"{{collectionId}}\"}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Saved Search List", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/list?savedSearchId={{savedSearchId}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
"list" | |
], | |
"query": [ | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Saved Search List Copy", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/list?savedSearchId={{savedSearchId}}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
"list" | |
], | |
"query": [ | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Saved Search", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"userId\": \"{{myPersonId}}\",\n \"name\": \"DCM6666 Edit SS\",\n \"removeFromBoard\": false\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/:savedSearchId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
":savedSearchId" | |
], | |
"variable": [ | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Saved Search with Search Query", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"userId\": \"{{myPersonId}}\",\n \"searchQuery\": {\n \"neighborhoods\": [\n \"Chelsea\",\n \"Castro\"\n ],\n \"available\": true,\n \"availability\": 2,\n \"enableGeohashClusters\": false,\n \"adjustLatLonBoundaries\": false,\n \"listingTypes\": [\n 2\n ],\n \"feedListingsSearch\": true,\n \"agentSearch\": true\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/:savedSearchId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
":savedSearchId" | |
], | |
"variable": [ | |
{ | |
"key": "savedSearchId", | |
"value": "{{savedSearchId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Saved Search with Search Query Copy", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"name\": \"Test Utopia\",\n \"searchQuery\": {\n \"neighborhoods\": [\n \"Hudson Yards\"\n ],\n \"saleStatuses\": [\n 9,\n 12\n ],\n \"sortOrder\": 1,\n \"availability\": 0,\n \"listingTypes\": [\n 2\n ],\n \"maxPrice\": 500001,\n \"geography\": \"nyc\",\n \"agentSearch\": true\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/saved_searches/5c8b0cf90ad2a73a7c9fa112", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"saved_searches", | |
"5c8b0cf90ad2a73a7c9fa112" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Search Suggest: Agent", | |
"item": [ | |
{ | |
"name": "Search Suggest Agent", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/search/suggest/agent?json={\"sources\":[\"agent\",\"staff\"],\"q\":\"e\"}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"search", | |
"suggest", | |
"agent" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"sources\":[\"agent\",\"staff\"],\"q\":\"e\"}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Search Listings", | |
"item": [ | |
{ | |
"name": "Search v3", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"searchQuery\": {\n \"neighborhoods\": [\n \"Hudson Yards\"\n ],\n \"saleStatuses\": [\n 9,\n 12\n ],\n \"sortOrder\": 1,\n \"availability\": 0,\n \"listingTypes\": [\n 2\n ],\n \"maxPrice\": 500001,\n \"geography\": \"nyc\",\n \"agentSearch\": true,\n \"locations\": [\n {\n \"city\": \"New York\",\n \"state\": \"NY\",\n \"neighborhood\": \"Hudson Yards\",\n \"geography\": \"nyc\"\n }\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/search/search", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"search", | |
"search" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Load Listings by listingIdSHAs", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"listingIdSHAs\":[\n\t\t\"1699f35bc202ef46f8af2cdb39aff3cf587c257a\"\n\t],\n\t\"optionalFieldsToInclude\":[0,1,2,3]\n}\n" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/load", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"load" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Search List Relations", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"searchQuery\": {\n \"neighborhoods\": [\n \"Hudson Yards\"\n ],\n \"saleStatuses\": [\n 9,\n 12\n ],\n \"sortOrder\": 1,\n \"availability\": 0,\n \"listingTypes\": [\n 2\n ],\n \"maxPrice\": 500001,\n \"geography\": \"nyc\",\n \"agentSearch\": true,\n \"locations\": [\n {\n \"city\": \"New York\",\n \"state\": \"NY\",\n \"neighborhood\": \"Hudson Yards\",\n \"geography\": \"nyc\"\n }\n ]\n },\n \"relationTypes\": [\n 0\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/search/list/relations", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"search", | |
"list", | |
"relations" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Search Map Relations", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"searchQuery\": {\n \"start\": 0,\n \"num\": 10,\n \"fieldsToInclude\": [\n \"latitude\"\n ],\n \"listingTypes\": [\n 2\n ],\n \"zoomLevel\": 13,\n \"nePoint\": {\n \"latitude\": 40.79143742144865,\n \"longitude\": -73.90000190429686\n },\n \"swPoint\": {\n \"latitude\": 40.758158411088324,\n \"longitude\": -74.02359809570311\n },\n \"maxThumbnailsPerListing\": 1,\n \"maxOriginalsPerListing\": 0,\n \"enableGeohashClusters\": true,\n \"maxResultsForGranularClustering\": 46,\n \"geohashLength\": 6,\n \"minGeohashDistanceInKm\": 1.2\n },\n \"relationTypes\": [\n 0\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/search/map/relations", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"search", | |
"map", | |
"relations" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Search Listings query", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"availability\": 0,\n \"owner_ids\": [\n \"59ea4a2841aa654a6a84c864\"\n ],\n \"start\": 0,\n \"num\": 25,\n \"order\": 1,\n \"geography\": \"la\",\n \"listingTypes\": [\n 2\n ],\n \"salesTransactionTypes\": [\n 0\n ]\n}" | |
}, | |
"url": { | |
"raw": "www.compass.com/api/search/listings/", | |
"host": [ | |
"www", | |
"compass", | |
"com" | |
], | |
"path": [ | |
"api", | |
"search", | |
"listings", | |
"" | |
] | |
}, | |
"description": "Search Query basic\n" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Search List by ownerId", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"ownerId\": \"59ea4a2841aa654a6a84c864\",\n \"geography\": \"la\",\n \"listingTypes\": [\n 0,\n 1,\n 2,\n 3\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/search/list/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"search", | |
"list", | |
"" | |
] | |
}, | |
"description": "Search Query basic\n" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Search List OpenHouses", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"minOpenHouseDate\": 1518716874000,\n \"maxOpenHouseDate\": 1523814474000,\n \"geography\": \"nyc\",\n \"listingTypes\": [\n 0,\n 1,\n 2,\n 3\n ],\n \"salesTransactionType\": [\n 0\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/search/list/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"search", | |
"list", | |
"" | |
] | |
}, | |
"description": "Search Query basic\n" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Search List (Statuscake)", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"searchQuery\": {\n \"listingTypes\": [\n 2\n ],\n \"zoom\": 13,\n \"bounds\": {\n \"ne\": [\n 40.79143742144865,\n -73.90000190429686\n ],\n \"sw\": [\n 40.758158411088324,\n -74.02359809570311\n ]\n },\n \"max_thumbnails_per_listing\": 1,\n \"max_originals_per_listing\": 0,\n \"enable_geohash_clusters\": true,\n \"max_results_for_granular_clustering\": 46,\n \"geohash_length\": 6,\n \"min_geohash_distance_in_km\": 1.2\n },\n \"relationTypes\": [\n 0\n ]\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/search/list", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"search", | |
"list" | |
] | |
}, | |
"description": "Search Query basic\n" | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"name": "Search Summary", | |
"item": [ | |
{ | |
"name": "[DEPRECATED] Get Search Summaries v1", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"searchQueries\": {\n \t\"one\": {\n \"bedrooms\": [\n 2\n ],\n \"neighborhoods\": [\n \"Bedford-Stuyvesant\"\n ],\n \"start\": 0,\n \"num\": 24,\n \"availability\": 0,\n \"maxOriginalsPerListing\": 0,\n \"geography\": \"nyc\",\n \"listingTypes\": [\n 2\n ],\n \"sortOrder\": 5\n },\n \"two\": {\n \"bedrooms\": [\n 10\n ],\n \"neighborhoods\": [\n \"Bedford-Stuyvesant\"\n ],\n \"start\": 0,\n \"num\": 24,\n \"availability\": 0,\n \"maxOriginalsPerListing\": 0,\n \"geography\": \"nyc\",\n \"listingTypes\": [\n 2\n ],\n \"sortOrder\": 5\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/search_summary/bulk", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"search_summary", | |
"bulk" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "[DEPRECATED] Get Search Summary for Search Query v1", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"searchQuery\":{\"bedrooms\":[2],\"neighborhoods\":[\"Bedford-Stuyvesant\"],\"start\":0,\"num\":24,\"availability\":0,\"maxOriginalsPerListing\":0,\"geography\":\"nyc\",\"listingTypes\":[2],\"sortOrder\":5}}\n" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/search_summary/", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"search_summary", | |
"" | |
] | |
}, | |
"description": "Agent Profile Save" | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Search UI Builder", | |
"item": [ | |
{ | |
"name": "Listings Search UI Builder", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/listings/search/ui_builder?json={\"geography\":\"miami\",\"searchType\":1,\"listingType\":2}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"listings", | |
"search", | |
"ui_builder" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"geography\":\"miami\",\"searchType\":1,\"listingType\":2}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Security", | |
"item": [ | |
{ | |
"name": "Login auth_token=", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json; charset=utf-8" | |
} | |
], | |
"url": { | |
"raw": "{{url}}?auth_token={{rememberToken}}", | |
"host": [ | |
"{{url}}" | |
], | |
"query": [ | |
{ | |
"key": "auth_token", | |
"value": "{{rememberToken}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"type\": \"string\",\n \"default\": \"{\\\"note\\\":\\\"Referral renter\\\",\\\"customerInterestType\\\":2,\\\"email\\\":\\\"blah11@waeland.com\\\",\\\"channel\\\":3,\\\"first\\\":\\\"Slinky\\\",\\\"last\\\":\\\"Waeland\\\",\\\"contactId\\\":\\\"contact_1234\\\",\\\"returnPerson\\\":true}\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/security/actions/create", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"security", | |
"actions", | |
"create" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Login", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json; charset=utf-8" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"type\": \"string\",\n \"default\": \"{\\\"email\\\":\\\"cameron.waeland@compass.com\\\",\\\"password\\\":\\\"To4man542\\\"}\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/security/actions/login", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"security", | |
"actions", | |
"login" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Login v2 Flask", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"email\":\"dan.mcclure@compass.com\", \"password\": \"\"}\n" | |
}, | |
"url": { | |
"raw": "{{url}}/api/security/login", | |
"host": [ | |
"{{url}}" | |
], | |
"path": [ | |
"api", | |
"security", | |
"login" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Facebook", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json; charset=utf-8" | |
}, | |
{ | |
"key": "Cookie", | |
"value": null | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"type\": \"string\",\n \"default\": \"{\\\"oauthToken\\\":\\\"EAACHLQhEySkBAIdxv97kYrYwXVHu1wcNK9lVTP74ZC0jOVSmIw1ZC9h15qaZAzAtOb8KVNShZASa9cAmJisPpZBJWOywHL3RXpBiyuehHZAyVsbZCZAryxo9CJL5wBGEPj5NKzToG13vZCvoGM0caiuZCqdxMq0o5bxCcQHhNBp43MNzEws4TTdsAWDPG8NNOr3xelhZBrh6FnKtmYJ8LIs4D0pW33ASZA9sBKCZCG77uiyVTAwZDZD\\\",\\\"createAccount\\\":false}\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/security/actions/facebook", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"security", | |
"actions", | |
"facebook" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Password", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"type\": \"string\",\n \"default\": \"{\\\"currentPassword\\\":\\\"rentbetter\\\",\\\"password\\\":\\\"rentbetter\\\",\\\"confirmPassword\\\":\\\"rentbetter\\\"}\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/security/actions/password", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"security", | |
"actions", | |
"password" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Register", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"first\": \"Kronos\",\n \"last\": \"Agent\",\n \"email\": \"apiagent_73ce0b69-e73b-490c-838d-998a63fc5690@compass.com\",\n \"password\": \"Work123456\",\n \"geography\": \"nyc\"\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/security/actions/register", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"security", | |
"actions", | |
"register" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Grant Role", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"userId\": \"596ce368fcd4b7784597f22c\",\n \"roleToAdd\": \"Specialist\"\n}" | |
}, | |
"url": { | |
"raw": "{{urlFlask}}{{apiv3}}/api/users/", | |
"host": [ | |
"{{urlFlask}}{{apiv3}}" | |
], | |
"path": [ | |
"api", | |
"users", | |
"" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Toursheet", | |
"item": [ | |
{ | |
"name": "Get Toursheet", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/toursheet/:toursheetId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"toursheet", | |
":toursheetId" | |
], | |
"variable": [ | |
{ | |
"key": "toursheetId", | |
"value": "{{toursheetId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Toursheet w/ Deal Summary", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/toursheet/:toursheetId?json={\"includeDealSummary\": true}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"toursheet", | |
":toursheetId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"includeDealSummary\": true}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "toursheetId", | |
"value": "{{toursheetId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Toursheets", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{url}}{{apiv3}}/toursheet/get_toursheets?json={\"toursheetIds\":[\"{{toursheetId}}\"]}", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"toursheet", | |
"get_toursheets" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"toursheetIds\":[\"{{toursheetId}}\"]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Toursheet", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"toursheet\": {\n \"metadata\": {\n \"appId\": 4,\n \"customers\": [],\n \"detail\": \"\",\n \"indexedText\": [\n \"Dan McClure\"\n ],\n \"isPublic\": false,\n \"title\": \"Dan's Toursheet\"\n },\n \"toursheet\": {\n \"agentIds\": [],\n \"folderId\": \"\",\n \"hostingTool\": 0,\n \"listingFormatOptions\": {\n \"isClientNotesEnabled\": true,\n \"isFloorPlanEnabled\": true,\n \"isListingAgentEnabled\": false,\n \"isNearbyTransitEnabled\": true,\n \"isOpenHouseEnabled\": true,\n \"isTravelDirectionsEnabled\": true\n },\n \"listingFormatPreset\": 0,\n \"notes\": \"\",\n \"previewTitle\": \"Dan toursheet\",\n \"startTimeMillis\": 1533830400000,\n \"timezone\": \"America/New_York\",\n \"transitType\": 2,\n \"waypoints\": [\n {\n \"emailInfo\": {},\n \"listingIdSHA\": \"d80ac3248309da93023873c52e7301c3b8a17f01\",\n \"location\": {\n \"latitude\": 40.7312439,\n \"longitude\": -73.9927271\n },\n \"note\": \"\",\n \"visitTimeMillis\": 1540828800000,\n \"waypointType\": 0\n },\n {\n \"emailInfo\": {},\n \"listingIdSHA\": \"3e00f4a77d274849d1d09467806bc049a347ae82\",\n \"location\": {\n \"latitude\": 40.7455942,\n \"longitude\": -73.9712817\n },\n \"note\": \"\",\n \"visitTimeMillis\": 1540828800000,\n \"waypointType\": 0\n },\n {\n \"emailInfo\": {},\n \"listingIdSHA\": \"d717464e183432efedc8a674815a1e9a9d723d21\",\n \"location\": {\n \"latitude\": 40.7212824,\n \"longitude\": -74.0011755\n },\n \"note\": \"\",\n \"visitTimeMillis\": 1540828800000,\n \"waypointType\": 0\n }\n ]\n },\n \"version\": 3\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/toursheet", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"toursheet" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Toursheet", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer {{rememberToken}}", | |
"type": "text" | |
}, | |
{ | |
"key": "Cookie", | |
"value": "{{cookie}}", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"toursheet\": {\n \"metadata\": {\n \"appId\": 4,\n \"customers\": [],\n \"detail\": \"\",\n \"indexedText\": [\n \"Dan McClure\"\n ],\n \"isPublic\": false,\n \"title\": \"Dan's Toursheet\"\n },\n \"toursheet\": {\n \"agentIds\": [],\n \"folderId\": \"\",\n \"hostingTool\": 0,\n \"listingFormatOptions\": {\n \"isClientNotesEnabled\": true,\n \"isFloorPlanEnabled\": true,\n \"isListingAgentEnabled\": false,\n \"isNearbyTransitEnabled\": true,\n \"isOpenHouseEnabled\": true,\n \"isTravelDirectionsEnabled\": true\n },\n \"listingFormatPreset\": 0,\n \"notes\": \"\",\n \"previewTitle\": \"Dan toursheet\",\n \"startTimeMillis\": 1533830400000,\n \"timezone\": \"America/New_York\",\n \"transitType\": 2,\n \"waypoints\": [\n {\n \"emailInfo\": {},\n \"listingIdSHA\": \"d80ac3248309da93023873c52e7301c3b8a17f01\",\n \"location\": {\n \"latitude\": 40.7312439,\n \"longitude\": -73.9927271\n },\n \"note\": \"\",\n \"visitTimeMillis\": 1540828800000,\n \"waypointType\": 0\n },\n {\n \"emailInfo\": {},\n \"listingIdSHA\": \"3e00f4a77d274849d1d09467806bc049a347ae82\",\n \"location\": {\n \"latitude\": 40.7455942,\n \"longitude\": -73.9712817\n },\n \"note\": \"\",\n \"visitTimeMillis\": 1540828800000,\n \"waypointType\": 0\n },\n {\n \"emailInfo\": {},\n \"listingIdSHA\": \"d717464e183432efedc8a674815a1e9a9d723d21\",\n \"location\": {\n \"latitude\": 40.7212824,\n \"longitude\": -74.0011755\n },\n \"note\": \"\",\n \"visitTimeMillis\": 1540828800000,\n \"waypointType\": 0\n }\n ]\n },\n \"version\": 3\n }\n}" | |
}, | |
"url": { | |
"raw": "{{url}}{{apiv3}}/toursheet/:toursheetId", | |
"host": [ | |
"{{url}}{{apiv3}}" | |
], | |
"path": [ | |
"toursheet", | |
":toursheetId" | |
], | |
"variable": [ | |
{ | |
"key": "toursheetId", | |
"value": "{{toursheetId}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Tasks", | |
"item": [ | |
{ | |
"name": "Workflows", | |
"item": [ | |
{ | |
"name": "Create Workflow", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflow\" : {\n\t\t\"title\" : \"manual email new\"\n\t}\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Clone Workflow", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"includeFunnels\": true\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:workflowId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":workflowId" | |
], | |
"variable": [ | |
{ | |
"key": "workflowId", | |
"value": "67917995-d7c5-4367-8edc-e02594086f62" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Workflows", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows?json={\"enrichOptions\":[1],\"filterQuery\":{\"globalShared\":false}}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[1],\"filterQuery\":{\"globalShared\":false}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Workflow", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:workflowId?json={\"enrichOptions\":[1, 4]}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":workflowId" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[1, 4]}" | |
} | |
], | |
"variable": [ | |
{ | |
"key": "workflowId", | |
"value": "aefad5a2-0e6e-4d49-a4e6-6198d34c8ac6" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Workflow", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflow\": {\n \"id\": \"dfccb4ed-3978-4326-9105-3348101ff46f\",\n \"title\": \"task, hook, REPEATING\",\n \"repeat\": true\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:workflowId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":workflowId" | |
], | |
"variable": [ | |
{ | |
"key": "workflowId", | |
"value": "dfccb4ed-3978-4326-9105-3348101ff46f" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Enrollment Action", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"enrollmentAction\":\n {\n \"id\": \"726e5e0b-5d53-4fdf-88de-747c34f72ba9\",\n \"title\": \"Template With Attachments!!!!!!!!!!!!!!!!!!!!!\",\n \"actionType\": 1,\n \"triggerType\": 0,\n \"scheduledFor\": 1590552000000,\n \"schedulingStatus\": 4,\n \"sendMessageConfiguration\": {\n \"autoSend\": true,\n \"messageTemplateId\": \"message_template_2543903\",\n \"delay\": 0,\n \"title\": \"Template With Attachments\",\n \"description\": \"Auto Message Action\",\n \"sendAtTime\": \"00:00\",\n \"timezone\": \"America/New_York\",\n \"accountId\": \"connected_account_402\",\n \"includeSignature\": false,\n \"subject\": \"Pics of Archie\",\n \"body\": \"<p>Some pics of Archie!!!!!!!!!!!!!!!!!!!!!!<br/><br/><img src=\\\"https://cdn.filestackcontent.com/DcC4jVbDSxS527HkrnGd\\\"/></p>\"\n },\n \"triggerTypeConfiguration\": {\n \"delay\": 0\n },\n \"enrollmentMetadata\": {\n \"enrollmentId\": \"8addaa0c-e2c0-4f57-9a42-2502f5e0d85f\",\n \"resourceId\": \"contact_4286091\",\n \"resourceType\": 0,\n \"workflowId\": \"ad43141e-1397-4a46-9fdb-fe3999dbe9b8\"\n }\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments/actions/:workflowId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments", | |
"actions", | |
":workflowId" | |
], | |
"variable": [ | |
{ | |
"key": "workflowId", | |
"value": "726e5e0b-5d53-4fdf-88de-747c34f72ba9" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Enrollment Actions", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments/actions", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments", | |
"actions" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Action Rules", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflow/actions/:resourceType", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflow", | |
"actions", | |
":resourceType" | |
], | |
"variable": [ | |
{ | |
"key": "resourceType", | |
"value": "CONTACT" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Workflow Enrollments", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments?json={\"enrichOptions\":[0,2], \"filterQuery\":{\"enrollmentIds\":[\"e3c6001b-b675-466c-8369-f72d2ef86d1b\"]}}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[0,2], \"filterQuery\":{\"enrollmentIds\":[\"e3c6001b-b675-466c-8369-f72d2ef86d1b\"]}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Workflow Enrollment", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments/:workflowEnrollmentId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments", | |
":workflowEnrollmentId" | |
], | |
"variable": [ | |
{ | |
"key": "workflowEnrollmentId", | |
"value": "57fb940c-afa1-4e7f-aee5-66046cef9b9a", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Workflow Action", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/actions/:workflowActionID", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"actions", | |
":workflowActionID" | |
], | |
"variable": [ | |
{ | |
"key": "workflowActionID", | |
"value": "f6e8911a-bfe8-4f3e-bb1f-52515f7d473e", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Workflow", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:wf", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":wf" | |
], | |
"variable": [ | |
{ | |
"key": "wf", | |
"value": "7d4ca875-5400-45a0-abd2-76a81448eeac" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Workflow Action", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json", | |
"type": "text" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflowAction\" : {\n \"title\": \"bday template email 2\",\n \"actionType\": 1,\n \"triggerType\": 0,\n \"sortOrder\": 0,\n \"sendMessageConfiguration\": {\n \"autoSend\": false,\n \"messageTemplateId\": \"f682e6b5-c307-49ee-9d1a-e1e6d4d4b062\",\n \"title\": \"Birthday\",\n \"description\": \"Manual Message Action\",\n \"accountId\": \"whatever\",\n \"accountEmail\": \"chloe.powell@compass.com\"\n },\n \"triggerTypeConfiguration\": {\n \"delay\": 4\n }\n \n\t}\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:wfID/actions", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":wfID", | |
"actions" | |
], | |
"variable": [ | |
{ | |
"key": "wfID", | |
"value": "734b0cc7-1773-42e8-a73e-0da15aae9544", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Admin Clone AP", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"workflowIds\":[\"d92ee357-03c0-4a1e-bb67-2d6a66fbf8c1\",\"4e871aa1-9afe-4d0b-b626-8fd4fae4edb2\",\"1032fffc-67e3-4ad2-bacd-549c79ebf291\",\"f5e3b0b1-aaae-4722-8344-d232e1e70558\",\"311f149a-0e56-479a-b920-9c4ce91428e9\",\"1f9434fc-2b23-44ef-91d0-77ec8ca7956b\",\"cc45339d-fa3b-48fa-9d53-3d9119347cbc\",\"196c1159-edc1-4ea3-8822-ab635fe565a4\"]\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/clone_global/:agentId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"clone_global", | |
":agentId" | |
], | |
"variable": [ | |
{ | |
"key": "agentId", | |
"value": "5c78390f32e833229e2efce1" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Pause Enrollment", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflowEnrollment\" : {\n\t\t\"resourceID\" : \"contact_4286091\",\n\t\t\"resourceType\" : 0,\n\t\t\"actionCustomizations\" : [{\n\t\t\t\"customAction\": {\n\t \"title\": \"birthday!\",\n\t \"actionType\": 0,\n\t \"triggerType\": 3,\n\t \"sortOrder\": 0,\n\t \"createTaskConfiguration\": {\n\t \"title\": \"birthday!\",\n\t \"description\": \"\",\n\t \"type\": 0\n\t },\n\t \"triggerTypeConfiguration\": {\n\t \"resourceTriggerName\": \"Birthday\",\n\t \"exactDate\" : 959439436000\n\t }\n\t },\n\t \"workflowActionId\": \"1fdb7ad3-fc03-4987-970f-61f74ad4c3e1\"\n\t\t}]\n\t}\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments/:enrollmentId/unpause", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments", | |
":enrollmentId", | |
"unpause" | |
], | |
"variable": [ | |
{ | |
"key": "enrollmentId", | |
"value": "c953eafd-edc7-4bf8-8139-8ab7a50dfa82", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "UnPause Enrollment", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflowEnrollment\" : {\n\t\t\"resourceID\" : \"contact_4286091\",\n\t\t\"resourceType\" : 0,\n\t\t\"actionCustomizations\" : [{\n\t\t\t\"customAction\": {\n\t \"title\": \"birthday!\",\n\t \"actionType\": 0,\n\t \"triggerType\": 3,\n\t \"sortOrder\": 0,\n\t \"createTaskConfiguration\": {\n\t \"title\": \"birthday!\",\n\t \"description\": \"\",\n\t \"type\": 0\n\t },\n\t \"triggerTypeConfiguration\": {\n\t \"resourceTriggerName\": \"Birthday\",\n\t \"exactDate\" : 959439436000\n\t }\n\t },\n\t \"workflowActionId\": \"1fdb7ad3-fc03-4987-970f-61f74ad4c3e1\"\n\t\t}]\n\t}\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments/:enrollmentId/unpause", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments", | |
":enrollmentId", | |
"unpause" | |
], | |
"variable": [ | |
{ | |
"key": "enrollmentId", | |
"value": "ed4f3941-d0bb-4dbd-b847-2e4e867fd961" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Enrollment", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflowEnrollment\" : {\n\t\t\"resourceID\" : \"contact_4286091\",\n\t\t\"resourceType\" : 0,\n\t\t\"actionCustomizations\" : [{\n\t\t\t\"customAction\": {\n\t \"title\": \"birthday!\",\n\t \"actionType\": 0,\n\t \"triggerType\": 3,\n\t \"sortOrder\": 0,\n\t \"createTaskConfiguration\": {\n\t \"title\": \"birthday!\",\n\t \"description\": \"\",\n\t \"type\": 0\n\t },\n\t \"triggerTypeConfiguration\": {\n\t \"resourceTriggerName\": \"Birthday\",\n\t \"exactDate\" : 959439436000\n\t }\n\t },\n\t \"workflowActionId\": \"1fdb7ad3-fc03-4987-970f-61f74ad4c3e1\"\n\t\t}]\n\t}\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/enrollments/:enrollmentId/unpause", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"enrollments", | |
":enrollmentId", | |
"unpause" | |
], | |
"variable": [ | |
{ | |
"key": "enrollmentId", | |
"value": "c953eafd-edc7-4bf8-8139-8ab7a50dfa82", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Share Workflow", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"globalShared\" : true\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:workflowId/share", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":workflowId", | |
"share" | |
], | |
"variable": [ | |
{ | |
"key": "workflowId", | |
"value": "" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Bulk Update Workflow Actions", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflowActions\" : [\n {\n \"id\": \"9658e17c-d161-4ae6-adca-1fc3285c8987\",\n \"title\": \"pause\",\n \"actionType\": 5,\n \"triggerType\": 4,\n \"sortOrder\": 0,\n \"triggerTypeConfiguration\": {\n \"hookEventName\": \"test_hook\"\n },\n \"pauseEnrollmentConfiguration\": {\n \"unpause\": false\n }\n },\n {\n \"id\": \"9627a9da-42c6-4ea7-bdf5-b0a6494b64ad\",\n \"title\": \"task june 2\",\n \"actionType\": 0,\n \"triggerType\": 0,\n \"sortOrder\": 1,\n \"createTaskConfiguration\": {\n \"title\": \"hey man\",\n \"delay\": 0,\n \"type\": 0\n },\n \"triggerTypeConfiguration\": {\n \"delay\": 0\n }\n }\n\t]\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/:workflowId/actions", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
":workflowId", | |
"actions" | |
], | |
"variable": [ | |
{ | |
"key": "workflowId", | |
"value": "c89cadc8-5a46-4564-8d3b-84e82cf6c7da" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Tasks", | |
"item": [ | |
{ | |
"name": "Delete Task", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/:taskId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
":taskId" | |
], | |
"variable": [ | |
{ | |
"key": "taskId", | |
"value": "04190f1f-d1bd-4699-a47b-4de70e905f50" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Tasks", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks?json={\"filterQuery\":{\"resourceIds\":[\"contact_7668520\"]},\"enrichOptions\":[0,1],\"pagination\":{\"limit\":100,\"skip\":0},\"sort\":[{\"orderAsc\":false,\"orderBy\":2},{\"orderAsc\":true,\"orderBy\":0}]}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"filterQuery\":{\"resourceIds\":[\"contact_7668520\"]},\"enrichOptions\":[0,1],\"pagination\":{\"limit\":100,\"skip\":0},\"sort\":[{\"orderAsc\":false,\"orderBy\":2},{\"orderAsc\":true,\"orderBy\":0}]}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Task Resource IDs", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/resource_ids?json={\"filterQuery\":{\"resourceIds\":[\"contact_4384869\"]}}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"resource_ids" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"filterQuery\":{\"resourceIds\":[\"contact_4384869\"]}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Task User IDs", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/user_ids?json={\"filterQuery\":{\"resourceIds\":[\"contact_4384869\"]}}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"user_ids" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"filterQuery\":{\"resourceIds\":[\"contact_4384869\"]}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Task", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/:taskId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
":taskId" | |
], | |
"variable": [ | |
{ | |
"key": "taskId", | |
"value": "e9ca93fb-d4e9-4dfb-aefc-2092554ba6c1" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Task Resource Map", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/sorted_resource_map", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"sorted_resource_map" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Complete Task", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"taskId\" : \"f946c99e-f014-4dcf-894a-a270680f87c4\",\n\t\"completed\" : true\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/completed", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"completed" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Task", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n \"taskV2\" : {\n \"title\":\"example task\",\n \"description\":\"Follow-Up\",\n \"type\":0,\n \"dueAt\":1582650283451,\n \"primaryResources\" : [\n \t{\n \t\t\"resourceType\" : 3,\n \t\t\"resourceId\" : \"whatever\"\n \t},\n \t{\n \t\t\"resourceType\" : 11,\n \t\t\"resourceId\" : \"contact_4286091\"\n \t}\n ],\n \"attachments\" : [\n \t{\n \t\t\"resourceType\" : 11,\n \t\t\"resourceId\" : \"contact_4286091\"\n \t}\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Task", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n \"taskV2\": {\n \"id\": \"981a2614-bcfa-400d-a777-189ce09e476b\",\n \"title\": \"1 day from enrollment\",\n \"type\": 0,\n \"primaryResources\": [\n {\n \"resourceType\": 11,\n \"resourceId\": \"contact_4181108\"\n }\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/:taskId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
":taskId" | |
], | |
"variable": [ | |
{ | |
"key": "taskId", | |
"value": "e9ca93fb-d4e9-4dfb-aefc-2092554ba6c1" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Hooks", | |
"item": [ | |
{ | |
"name": "Get Enrollments By Hook Event Name", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"hookEventNames\" : [\"test_hook\"],\n\t\"resourceIds\" : [\"contact_4286091\"]\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/hooks/enrollments ", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"hooks", | |
"enrollments " | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Trigger Hook By Event Name", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"hookEventName\" : \"test_hook\",\n\t\"enrollmentId\" : \"75d86ced-ee2b-43dd-8e02-0f7beeb5dd28\"\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/hooks/enrollments/trigger", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"hooks", | |
"enrollments", | |
"trigger" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Funnels", | |
"item": [ | |
{ | |
"name": "Delete Workflow Funnel", | |
"request": { | |
"method": "DELETE", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/funnels/:funnelId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"funnels", | |
":funnelId" | |
], | |
"variable": [ | |
{ | |
"key": "funnelId", | |
"value": "f35b9b34-4059-4c3b-aeed-e30e5ac7a69d", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Workflow Funnel", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"workflowFunnel\" : {\n \"funnelName\" :\"INTERNAL\",\n \"workflowId\" : \"03b335fa-0921-4f23-af80-558ebe1e3ee5\"\n\t}\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/funnels", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"funnels" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Activate Workflow Funnel", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"funnelName\" : \"chloe_test\",\n\t\"resourceId\" : \"contact_4286091\"\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/funnels/activate", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"funnels", | |
"activate" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Enable Funnel", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"funnelIds\" : [\"7a0054b3-b177-4c1f-ad87-64d26171a805\"],\n \"enable\" :false\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/funnels/enable", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"funnels", | |
"enable" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Workflow Funnels", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}", | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman." | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/tasks/workflows/funnels?json={\"enrichOptions\":[0],\"filterQuery\":{\"excludeDisabled\": true}}", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"workflows", | |
"funnels" | |
], | |
"query": [ | |
{ | |
"key": "json", | |
"value": "{\"enrichOptions\":[0],\"filterQuery\":{\"excludeDisabled\": true}}" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Resources", | |
"item": [ | |
{ | |
"name": "Remove Resources", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"resourceIds\" : [\"contact_8192065\"],\n \"resourceType\" : \"CONTACT\"\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/tasks/delete/resources", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"tasks", | |
"delete", | |
"resources" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"name": "Contacts", | |
"item": [ | |
{ | |
"name": "Get Contact", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/contacts/contact_4286091", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contacts", | |
"contact_4286091" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Contact Copy", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.", | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "{{apiv3}}/contacts/contact_4286091", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contacts", | |
"contact_4286091" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Contact", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"message\": {\n \"contactId\": \"contact_5412037\",\n \"subject\": \"Happy birthday! 🎉 postman draft\",\n \"body\": \"<p>Happy birthday, Tessa! Hope things are going great for you!<br/><br/>All the best,<br/>Chloé</p>\",\n \"responseTrackingEnabled\": true,\n \"openTrackingEnabled\": true,\n \"clickTrackingEnabled\": true,\n \"recipients\": [\n {\n \"recipientType\": 0,\n \"contactId\": \"contact_5412037\",\n \"handle\": \"chloe.powell+tessa@compass.com\",\n \"contactIdentityId\": \"contact_identity_7750687\",\n \"avatarUrl\": \"\",\n \"firstName\": \"Tessa\",\n \"lastName\": \"Powell\"\n }\n ]\n }\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Contact Email", | |
"item": [ | |
{ | |
"name": "Create Message", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"message\": {\n \"contactId\": \"contact_5412037\",\n \"subject\": \"Happy birthday! 🎉 postman draft\",\n \"body\": \"<p>Happy birthday, Tessa! Hope things are going great for you!<br/><br/>All the best,<br/>Chloé</p>\",\n \"responseTrackingEnabled\": true,\n \"openTrackingEnabled\": true,\n \"clickTrackingEnabled\": true,\n \"recipients\": [\n {\n \"recipientType\": 0,\n \"contactId\": \"contact_5412037\",\n \"handle\": \"chloe.powell+tessa@compass.com\",\n \"contactIdentityId\": \"contact_identity_7750687\",\n \"avatarUrl\": \"\",\n \"firstName\": \"Tessa\",\n \"lastName\": \"Powell\"\n }\n ]\n }\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Preview Messages", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"contactId\" : \"contact_4286091\",\n \"messages\" : [\n {\n \"body\" : \"123 {{ my_first_name }} {{ my_last_name }} abc {{ my_email }} {{ my_email_address }} {{ first_name }}\",\n \"subject\" : \"123 {{ my_first_name }} {{ my_last_name }} abc {{ my_email }} {{ my_email_address }} {{ first_name }}\"\n },\n {\n \"body\" : \"123 abc {{ my_email }} {{ my_email_address }} {{ first_name }} {{ my_first_name }} {{ my_last_name }} \",\n \"subject\" : \"subject with no variables\"\n }\n ]\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email/preview_messages", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
"preview_messages" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Deliver Message", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \"scheduledAt\": 1603659575000 }", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email/:messageId/deliver", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
":messageId", | |
"deliver" | |
], | |
"query": [ | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
} | |
], | |
"variable": [ | |
{ | |
"key": "messageId", | |
"value": "message_9300", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Message", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"message\":{\n \"id\":\"message_8724\",\n \"accountId\":\"connected_account_2033\",\n \"contactId\":\"contact_4401399\",\n \"subject\":\"Happy birthday! 🎉!\",\n \"body\":\"<div><div>Happy birthday, c! Hope things are going great for you!</div><br><div>All the best,</div>Chloé</div><div><div> </div><br><div><div> </div><br><div><div> </div><br><div><div> </div><br><div><div> </div><br><div><div> </div><br><div class=\\\"compass-jodit-signature\\\"><br><div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><b>Chloé Powell</b></div>\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\">Senior Software Engineer I</div>\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\">Engineering</div>\\n\\n\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><br></div><div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\">1313 14th Street NW <br>Washington DC 20005</div>\\n\\n\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><br></div>\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><br></div><div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><img style=\\\"height:126px;width:600px\\\" src=\\\"https://s3.amazonaws.com/images89845315676/national_2019.gif\\\"></div><br></div><br><div> </div></div><br><div> </div></div><br><div> </div></div><br><div> </div></div><br><div> </div></div><br><div> </div></div>\",\n \"messageTemplateId\":\"f682e6b5-c307-49ee-9d1a-e1e6d4d4b062\",\n \"responseTrackingEnabled\":true,\n \"openTrackingEnabled\":true,\n \"clickTrackingEnabled\":true,\n \"account\":{\n \"externalId\":\"chloe.powell@compass.com\",\n \"handle\":\"chloe.powell@compass.com\",\n \"id\":\"connected_account_2033\"\n },\n \"metadata\":{\n \"autoSend\":false,\n \"actionPlan\":true,\n \"objectId\": \"workflow_enroll_action_51373350-37ca-4a78-aca8-3062f3bbac93\"\n },\n \"attachments\":[\n \n ],\n \"recipients\":[\n {\n \"contact\":{\n \"id\":\"contact_4401399\",\n \"createdAt\":1569002467000,\n \"updatedAt\":1594926241000,\n \"firstName\":\"c\",\n \"lastName\":\"p\",\n \"company\":\"\",\n \"title\":\"\",\n \"avatarUrl\":\"\",\n \"tags\":[\n \"Real Estate Agent\"\n ],\n \"emailAddresses\":[\n {\n \"id\":\"contact_identity_4595739\",\n \"label\":\"Custom\",\n \"address\":\"chloe.powell+4@compass.com\"\n }\n ],\n \"recurringEvents\":[\n {\n \"contactId\":\"contact_4401399\",\n \"dueDate\":\"2020-06-06\",\n \"id\":\"recurring_event_100595\",\n \"title\":\"Anniversary\",\n \"eventType\":1\n }\n ],\n \"lastContacted\":1594925112000,\n \"groups\":[\n {\n \"id\":\"bucket_3842085\",\n \"name\":\"Sphere of influence\",\n \"reminderInterval\":182\n },\n {\n \"id\":\"bucket_3842082\",\n \"name\":\"Active clients\",\n \"reminderInterval\":182\n }\n ],\n \"associatedTags\":[\n {\n \"id\":\"audience_5492669\",\n \"name\":\"Real Estate Agent\"\n }\n ],\n \"manuallyUpdatedAt\":1593095033092,\n \"relationshipTypes\":[\n 1\n ],\n \"audiences\":[\n {\n \"id\":\"audience_5492669\",\n \"name\":\"Real Estate Agent\"\n }\n ],\n \"outboundInteractionCount\":9,\n \"inboundInteractionCount\":0,\n \"totalInteractionCount\":9,\n \"audienceList\":[\n \"Real Estate Agent\"\n ],\n \"baselineReplyHistogramHour\":[\n 25,\n 150,\n 0,\n 0,\n 0,\n 0,\n 0,\n 33,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 360,\n 570,\n 500,\n 410,\n 553,\n 170,\n 293,\n 110,\n 20,\n 0\n ],\n \"teamId\":\"team_486403\",\n \"daysToFollowup\":14,\n \"daysOverdue\":82\n },\n \"recipientType\":0,\n \"contactId\":\"contact_4401399\",\n \"handle\":\"chloe.powell+4@compass.com\",\n \"contactIdentityId\":\"contact_identity_4595739\",\n \"avatarUrl\":\"\",\n \"firstName\":\"c\",\n \"lastName\":\"p\"\n }\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email/:messageId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
":messageId" | |
], | |
"variable": [ | |
{ | |
"key": "messageId", | |
"value": "message_8724", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Delete Message", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}", | |
"disabled": true | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"message\":{\n \"id\":\"message_8724\",\n \"accountId\":\"connected_account_2033\",\n \"contactId\":\"contact_4401399\",\n \"subject\":\"Happy birthday! 🎉!\",\n \"body\":\"<div><div>Happy birthday, c! Hope things are going great for you!</div><br><div>All the best,</div>Chloé</div><div><div> </div><br><div><div> </div><br><div><div> </div><br><div><div> </div><br><div><div> </div><br><div><div> </div><br><div class=\\\"compass-jodit-signature\\\"><br><div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><b>Chloé Powell</b></div>\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\">Senior Software Engineer I</div>\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\">Engineering</div>\\n\\n\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><br></div><div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\">1313 14th Street NW <br>Washington DC 20005</div>\\n\\n\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><br></div>\\n\\n<div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><br></div><div style=\\\"color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:13px\\\"><img style=\\\"height:126px;width:600px\\\" src=\\\"https://s3.amazonaws.com/images89845315676/national_2019.gif\\\"></div><br></div><br><div> </div></div><br><div> </div></div><br><div> </div></div><br><div> </div></div><br><div> </div></div><br><div> </div></div>\",\n \"messageTemplateId\":\"f682e6b5-c307-49ee-9d1a-e1e6d4d4b062\",\n \"responseTrackingEnabled\":true,\n \"openTrackingEnabled\":true,\n \"clickTrackingEnabled\":true,\n \"account\":{\n \"externalId\":\"chloe.powell@compass.com\",\n \"handle\":\"chloe.powell@compass.com\",\n \"id\":\"connected_account_2033\"\n },\n \"metadata\":{\n \"autoSend\":false,\n \"actionPlan\":true,\n \"objectId\": \"workflow_enroll_action_51373350-37ca-4a78-aca8-3062f3bbac93\"\n },\n \"attachments\":[\n \n ],\n \"recipients\":[\n {\n \"contact\":{\n \"id\":\"contact_4401399\",\n \"createdAt\":1569002467000,\n \"updatedAt\":1594926241000,\n \"firstName\":\"c\",\n \"lastName\":\"p\",\n \"company\":\"\",\n \"title\":\"\",\n \"avatarUrl\":\"\",\n \"tags\":[\n \"Real Estate Agent\"\n ],\n \"emailAddresses\":[\n {\n \"id\":\"contact_identity_4595739\",\n \"label\":\"Custom\",\n \"address\":\"chloe.powell+4@compass.com\"\n }\n ],\n \"recurringEvents\":[\n {\n \"contactId\":\"contact_4401399\",\n \"dueDate\":\"2020-06-06\",\n \"id\":\"recurring_event_100595\",\n \"title\":\"Anniversary\",\n \"eventType\":1\n }\n ],\n \"lastContacted\":1594925112000,\n \"groups\":[\n {\n \"id\":\"bucket_3842085\",\n \"name\":\"Sphere of influence\",\n \"reminderInterval\":182\n },\n {\n \"id\":\"bucket_3842082\",\n \"name\":\"Active clients\",\n \"reminderInterval\":182\n }\n ],\n \"associatedTags\":[\n {\n \"id\":\"audience_5492669\",\n \"name\":\"Real Estate Agent\"\n }\n ],\n \"manuallyUpdatedAt\":1593095033092,\n \"relationshipTypes\":[\n 1\n ],\n \"audiences\":[\n {\n \"id\":\"audience_5492669\",\n \"name\":\"Real Estate Agent\"\n }\n ],\n \"outboundInteractionCount\":9,\n \"inboundInteractionCount\":0,\n \"totalInteractionCount\":9,\n \"audienceList\":[\n \"Real Estate Agent\"\n ],\n \"baselineReplyHistogramHour\":[\n 25,\n 150,\n 0,\n 0,\n 0,\n 0,\n 0,\n 33,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 360,\n 570,\n 500,\n 410,\n 553,\n 170,\n 293,\n 110,\n 20,\n 0\n ],\n \"teamId\":\"team_486403\",\n \"daysToFollowup\":14,\n \"daysOverdue\":82\n },\n \"recipientType\":0,\n \"contactId\":\"contact_4401399\",\n \"handle\":\"chloe.powell+4@compass.com\",\n \"contactIdentityId\":\"contact_identity_4595739\",\n \"avatarUrl\":\"\",\n \"firstName\":\"c\",\n \"lastName\":\"p\"\n }\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email/:messageId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
":messageId" | |
], | |
"variable": [ | |
{ | |
"key": "messageId", | |
"value": "message_8724", | |
"type": "string" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Messages", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "{{apiv3}}/contact_email/message_8920", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
"message_8920" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Templates", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "{{apiv3}}/contact_email", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Bulk Messages", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "{{apiv3}}/contact_email/bulk_messages", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
"bulk_messages" | |
], | |
"query": [ | |
{ | |
"key": "", | |
"value": null, | |
"disabled": true | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Create Bulk Message", | |
"request": { | |
"auth": { | |
"type": "bearer", | |
"bearer": [ | |
{ | |
"key": "token", | |
"value": "{{rememberToken}}", | |
"type": "string" | |
} | |
] | |
}, | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"bulkMessage\":{\n \"accountId\":\"connected_account_1607\",\n \"subject\":\"test create bulk\",\n \"body\":\"<p>test</p>\",\n \"shouldProcessMessage\":true,\n \"messageTemplateId\":null,\n \"clickTrackingEnabled\":true,\n \"openTrackingEnabled\":true,\n \"responseTrackingEnabled\":true,\n \"attachments\":[\n \n ],\n \"messages\":{\n \"contact_7359505\":{\n \"contactId\":\"contact_7359505\",\n \"subject\":\"test create bulk\",\n \"body\":\"<p>bulk message for contact 1/p>\",\n \"recipients\":[\n {\n \"index\":0,\n \"contactId\":\"contact_7359505\",\n \"contactIdentityId\":\"contact_identity_7261827\",\n \"handle\":\"reitz1994-123123123@gmail.com\",\n \"type\":0\n }\n ]\n },\n \"contact_7253691\":{\n \"contactId\":\"contact_7253691\",\n \"subject\":\"test create bulk\",\n \"body\":\"<p>bulk message for contact 2</p>\",\n \"recipients\":[\n {\n \"index\":0,\n \"contactId\":\"contact_7253691\",\n \"contactIdentityId\":\"contact_identity_7176834\",\n \"handle\":\"reitz1994@gmail.com\",\n \"type\":0\n }\n ]\n }\n },\n \"scheduledAt\":null,\n \"globalRecipients\":[\n \n ],\n \"status\":0\n }\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/contact_email/bulk_messages", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"contact_email", | |
"bulk_messages" | |
], | |
"query": [ | |
{ | |
"key": "", | |
"value": null, | |
"disabled": true | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "New Leads", | |
"item": [ | |
{ | |
"name": "Request Listing", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"firstName\":\"Baxter\",\n \"lastName\":\"L11\",\n \"email\":\"chloe.powell+baxter10@compass.com\",\n \"listingIdSHA\":\"480240262231381665\",\n \"note\":\"I would like more information about 37 West 12th Street, Unit 2J.\",\n \"phone\":\"1232432123\",\n \"requestedAgentId\":\"5d1a8bb04c09141976766521\"\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/leads/request", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"leads", | |
"request" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "Routed Leads", | |
"item": [ | |
{ | |
"name": "Get Routed Leads", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"type": "text", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{apiv3}}/routedleads", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"routedleads" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Submit Form", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"leadForm\" : {\n \"firstName\" : \"FirstName1\",\n \"emailAddress\" : \"chloe.powell+fname1@compass.com\",\n \"agentID\" : \"5d1a8bb04c09141976766521\",\n \"listingIdSHA\" : \"715274107018850865\"\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/routedleads/lead_form", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"routedleads", | |
"lead_form" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Update Routed Lead", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"type": "text", | |
"value": "Bearer {{rememberToken}}" | |
}, | |
{ | |
"key": "Cookie", | |
"type": "text", | |
"value": "{{cookie}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{ \n \"taskV2\": {\n \"id\": \"981a2614-bcfa-400d-a777-189ce09e476b\",\n \"title\": \"1 day from enrollment\",\n \"type\": 0,\n \"primaryResources\": [\n {\n \"resourceType\": 11,\n \"resourceId\": \"contact_4181108\"\n }\n ]\n }\n}" | |
}, | |
"url": { | |
"raw": "{{apiv3}}/qualified_leads/routed_leads/:routedLeadId", | |
"host": [ | |
"{{apiv3}}" | |
], | |
"path": [ | |
"qualified_leads", | |
"routed_leads", | |
":routedLeadId" | |
], | |
"variable": [ | |
{ | |
"key": "routedLeadId", | |
"value": "test" | |
} | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment