Microsoft Dynamics 365 Sales

This page contains importable postman collection files which are ready to import into Postman for instant testing. This is in JSON format, please copy and save the text in JSON format before importing in Postman.

You'll need to provide the following variables in your postman collection:

VariableDescriptionExample
API_VERSIONRepresents the version of the Alloy Unified API you intend to make calls to. API versions are dated and new versions are released quarterly (in March, June, September, and December).2023-12
connectionIdThe Id of the connection. Call the GET List Connections endpoint to find a connectionId.
apiKeyYour API key. Never share this with anyone.

{
	"info": {
		"_postman_id": "98b59f14-facd-4a77-845a-c3911c87b838",
		"name": "Microsoft Dynamics CRM – Alloy UAPI",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "10048813",
		"_collection_link": ""
	},
	"item": [
		{
			"name": "Create Account",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] accounts is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('account');",
							"    pm.expect(jsonData.account).to.not.be.null;",
							"    pm.expect(jsonData.account).to.have.property('website');",
							"    pm.expect(jsonData.account).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.account).to.have.property('industry');",
							"    pm.expect(jsonData.account).to.have.property('addresses');",
							"    pm.expect(jsonData.account).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.account).to.have.property('remoteId');",
							"    pm.expect(jsonData.account).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.account).to.have.property('accountOwner');",
							"    pm.expect(jsonData.account).to.have.property('accountName');",
							"    pm.expect(jsonData.account).to.have.property('numberOfEmployees');",
							"    pm.expect(jsonData.account).to.have.property('description');",
							"    pm.expect(jsonData.account).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.account).to.have.property('id');",
							"});",
							"",
							"",
							"var jsonData = pm.response.json();",
							"let accountId = jsonData.account.id;",
							"postman.setEnvironmentVariable(\"accountId\", accountId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n   \"accountName\": \"{{$randomUserName}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/accounts?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"accounts"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Update Account",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] accounts is updated correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('account');",
							"    pm.expect(jsonData.account).to.not.be.null;",
							"    pm.expect(jsonData.account).to.have.property('website');",
							"    pm.expect(jsonData.account).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.account).to.have.property('industry');",
							"    pm.expect(jsonData.account).to.have.property('addresses');",
							"    pm.expect(jsonData.account).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.account).to.have.property('remoteId');",
							"    pm.expect(jsonData.account).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.account).to.have.property('accountOwner');",
							"    pm.expect(jsonData.account).to.have.property('accountName');",
							"    pm.expect(jsonData.account).to.have.property('numberOfEmployees');",
							"    pm.expect(jsonData.account).to.have.property('description');",
							"    pm.expect(jsonData.account).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.account).to.have.property('id');",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"description\": \"{{$randomJobDescriptor}}\",\n    \"website\": \"{{$randomDomainName}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/accounts/{{accountId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"accounts",
						"{{accountId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "List Accounts",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"[ZohoCRM] response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"accounts are listed correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('accounts');",
							"    pm.expect(jsonData.accounts[0]).to.not.be.null;",
							"    pm.expect(jsonData.accounts[0]).to.have.property('website');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('industry');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('addresses');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('remoteId');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('accountOwner');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('accountName');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('numberOfEmployees');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('description');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.accounts[0]).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let accountId = jsonData.accounts[0].id;",
							"postman.setEnvironmentVariable(\"accountId\", accountId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/accounts?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"accounts"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Account Count",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] accounts count is returned\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('count');",
							"    pm.expect(jsonData.count).to.be.a(\"number\");",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/accounts/count?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"accounts",
						"count"
					],
					"query": [
						{
							"key": "page",
							"value": "eyJpdGVtSWQiOnsiUyI6IjEyMCJ9LCJkYXRhQnVja2V0Ijp7IlMiOiI2MmIyYWM5ZGI4NWYzMjAwMTQzMDU5Y2YvYWNjb3VudCJ9fQ==",
							"disabled": true
						},
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Account",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"[ZohoCRM] response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] accounts is returned correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('account');",
							"    pm.expect(jsonData.account).to.not.be.null;",
							"    pm.expect(jsonData.account).to.have.property('website');",
							"    pm.expect(jsonData.account).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.account).to.have.property('industry');",
							"    pm.expect(jsonData.account).to.have.property('addresses');",
							"    pm.expect(jsonData.account).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.account).to.have.property('remoteId');",
							"    pm.expect(jsonData.account).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.account).to.have.property('accountOwner');",
							"    pm.expect(jsonData.account).to.have.property('accountName');",
							"    pm.expect(jsonData.account).to.have.property('numberOfEmployees');",
							"    pm.expect(jsonData.account).to.have.property('description');",
							"    pm.expect(jsonData.account).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.account).to.have.property('id');",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/accounts/{{accountId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"accounts",
						"{{accountId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete Account",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] account deleted correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('message');",
							"    pm.expect(jsonData.message).to.be.a(\"string\")",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/accounts/{{accountId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"accounts",
						"{{accountId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Contact",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] contact is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('contact');",
							"    pm.expect(jsonData.contact).to.not.be.null;",
							"    pm.expect(jsonData.contact).to.have.property('remoteId');",
							"    pm.expect(jsonData.contact).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.contact).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.contact).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.contact.emailAddresses).is.a('array');",
							"    pm.expect(jsonData.contact).to.have.property('lastName');",
							"    pm.expect(jsonData.contact).to.have.property('account');",
							"    pm.expect(jsonData.contact).to.have.property('addresses');",
							"    pm.expect(jsonData.contact).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.contact).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.contact).to.have.property('firstName');",
							"    pm.expect(jsonData.contact).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let contactId = jsonData.contact.id;",
							"let contactRemoteId = jsonData.contact.remoteId;",
							"postman.setEnvironmentVariable(\"contactRemoteId\", contactRemoteId);",
							"postman.setEnvironmentVariable(\"contactId\", contactId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"firstName\": \"{{$randomFirstName}}\",\n    \"lastName\": \"{{$randomLastName}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/contacts/?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"contacts",
						""
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Update Contact",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] contact is updated correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('contact');",
							"    pm.expect(jsonData.contact).to.not.be.null;",
							"    pm.expect(jsonData.contact).to.have.property('remoteId');",
							"    pm.expect(jsonData.contact).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.contact).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.contact).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.contact.emailAddresses).is.a('array');",
							"    pm.expect(jsonData.contact).to.have.property('lastName');",
							"    pm.expect(jsonData.contact).to.have.property('account');",
							"    pm.expect(jsonData.contact).to.have.property('addresses');",
							"    pm.expect(jsonData.contact).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.contact).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.contact).to.have.property('firstName');",
							"    pm.expect(jsonData.contact).to.have.property('id');",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"addresses\": [\n        {\n            \"country\": \"United States\",\n            \"street1\": \"6649 N Blue Gum St\",\n            \"state\": \"LA\",\n            \"city\": \"New Orleans\",\n            \"addressType\": \"address1\",\n            \"postalCode\": \"70116\"\n        }\n    ]\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/contacts/{{contactId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"contacts",
						"{{contactId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "List Contacts",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] contacts are listed correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('contacts');",
							"    pm.expect(jsonData.contacts[0]).to.not.be.null;",
							"    pm.expect(jsonData.contacts[0]).to.have.property('remoteId');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.contacts[0].emailAddresses).is.a('array');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('lastName');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('account');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('addresses');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('firstName');",
							"    pm.expect(jsonData.contacts[0]).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let contactId = jsonData.contacts[0].id;",
							"postman.setEnvironmentVariable(\"contactId\", contactId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/contacts/?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"contacts",
						""
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Contact Count",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] contacts count is returned\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('count');",
							"    pm.expect(jsonData.count).to.be.a(\"number\");",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/contacts/count?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"contacts",
						"count"
					],
					"query": [
						{
							"key": "page",
							"value": "eyJpdGVtSWQiOnsiUyI6IjEyMCJ9LCJkYXRhQnVja2V0Ijp7IlMiOiI2MmIyYWM5ZGI4NWYzMjAwMTQzMDU5Y2YvYWNjb3VudCJ9fQ==",
							"disabled": true
						},
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Contact",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] contact is returned correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('contact');",
							"    pm.expect(jsonData.contact).to.not.be.null;",
							"    pm.expect(jsonData.contact).to.have.property('remoteId');",
							"    pm.expect(jsonData.contact).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.contact).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.contact).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.contact.emailAddresses).is.a('array');",
							"    pm.expect(jsonData.contact).to.have.property('lastName');",
							"    pm.expect(jsonData.contact).to.have.property('account');",
							"    pm.expect(jsonData.contact).to.have.property('addresses');",
							"    pm.expect(jsonData.contact).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.contact).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.contact).to.have.property('firstName');",
							"    pm.expect(jsonData.contact).to.have.property('id');",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/contacts/{{contactId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"contacts",
						"{{contactId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete Contact",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] contact deleted correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('message');",
							"    pm.expect(jsonData.message).to.be.a(\"string\")",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/contacts/{{contactId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"contacts",
						"{{contactId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Lead",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] lead is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('lead');",
							"    pm.expect(jsonData.lead).to.not.be.null;",
							"    pm.expect(jsonData.lead).to.have.property('lastName');",
							"    pm.expect(jsonData.lead).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.lead).to.have.property('leadOwner');",
							"    pm.expect(jsonData.lead).to.have.property('addresses');",
							"    pm.expect(jsonData.lead).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.lead).to.have.property('leadTitle');",
							"    pm.expect(jsonData.lead).to.have.property('firstName');",
							"    pm.expect(jsonData.lead).to.have.property('leadSource');",
							"    pm.expect(jsonData.lead).to.have.property('remoteId');",
							"    pm.expect(jsonData.lead).to.have.property('company');",
							"    pm.expect(jsonData.lead).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.lead).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.lead).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let leadId = jsonData.lead.id;",
							"postman.setEnvironmentVariable(\"leadId\", leadId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"lastName\": \"{{$randomLastName}}\",\n    \"company\": \"{{$randomNoun}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/leads?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"leads"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Update Lead",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] leads are updated correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('lead');",
							"    pm.expect(jsonData.lead).to.not.be.null;",
							"    pm.expect(jsonData.lead).to.have.property('lastName');",
							"    pm.expect(jsonData.lead).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.lead).to.have.property('leadOwner');",
							"    pm.expect(jsonData.lead).to.have.property('addresses');",
							"    pm.expect(jsonData.lead).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.lead).to.have.property('leadTitle');",
							"    pm.expect(jsonData.lead).to.have.property('firstName');",
							"    pm.expect(jsonData.lead).to.have.property('leadSource');",
							"    pm.expect(jsonData.lead).to.have.property('remoteId');",
							"    pm.expect(jsonData.lead).to.have.property('company');",
							"    pm.expect(jsonData.lead).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.lead).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.lead).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"addresses\": [\n        {\n            \"country\": \"United States\",\n            \"street1\": \"6649 N Blue Gum St\",\n            \"state\": \"LA\",\n            \"city\": \"New Orleans\",\n            \"addressType\": \"address1\",\n            \"postalCode\": \"70116\"\n        }\n    ]\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/leads/{{leadId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"leads",
						"{{leadId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "List Leads",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] leads are listed correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('leads');",
							"    pm.expect(jsonData.leads[0]).to.not.be.null;",
							"    pm.expect(jsonData.leads[0]).to.have.property('lastName');",
							"    pm.expect(jsonData.leads[0]).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.leads[0]).to.have.property('leadOwner');",
							"    pm.expect(jsonData.leads[0]).to.have.property('addresses');",
							"    pm.expect(jsonData.leads[0]).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.leads[0]).to.have.property('leadTitle');",
							"    pm.expect(jsonData.leads[0]).to.have.property('firstName');",
							"    pm.expect(jsonData.leads[0]).to.have.property('leadSource');",
							"    pm.expect(jsonData.leads[0]).to.have.property('remoteId');",
							"    pm.expect(jsonData.leads[0]).to.have.property('company');",
							"    pm.expect(jsonData.leads[0]).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.leads[0]).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.leads[0]).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let leadId = jsonData.leads[0].id;",
							"postman.setEnvironmentVariable(\"leadId\", leadId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/leads?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"leads"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Lead Count",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] lead count is returned\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('count');",
							"    pm.expect(jsonData.count).to.be.a(\"number\");",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/leads/count?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"leads",
						"count"
					],
					"query": [
						{
							"key": "page",
							"value": "eyJpdGVtSWQiOnsiUyI6IjEyMCJ9LCJkYXRhQnVja2V0Ijp7IlMiOiI2MmIyYWM5ZGI4NWYzMjAwMTQzMDU5Y2YvYWNjb3VudCJ9fQ==",
							"disabled": true
						},
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Lead",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] lead is returned correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('lead');",
							"    pm.expect(jsonData.lead).to.not.be.null;",
							"    pm.expect(jsonData.lead).to.have.property('lastName');",
							"    pm.expect(jsonData.lead).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.lead).to.have.property('leadOwner');",
							"    pm.expect(jsonData.lead).to.have.property('addresses');",
							"    pm.expect(jsonData.lead).to.have.property('phoneNumbers');",
							"    pm.expect(jsonData.lead).to.have.property('leadTitle');",
							"    pm.expect(jsonData.lead).to.have.property('firstName');",
							"    pm.expect(jsonData.lead).to.have.property('leadSource');",
							"    pm.expect(jsonData.lead).to.have.property('remoteId');",
							"    pm.expect(jsonData.lead).to.have.property('company');",
							"    pm.expect(jsonData.lead).to.have.property('emailAddresses');",
							"    pm.expect(jsonData.lead).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.lead).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/leads/{{leadId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"leads",
						"{{leadId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete Lead",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] lead deleted correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('message');",
							"    pm.expect(jsonData.message).to.be.a(\"string\")",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/leads/{{leadId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"leads",
						"{{leadId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Task",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] task is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('task');",
							"    pm.expect(jsonData.task).to.not.be.null;",
							"    pm.expect(jsonData.task).to.have.property('remoteId');",
							"    pm.expect(jsonData.task).to.have.property('taskContent');",
							"    pm.expect(jsonData.task).to.have.property('taskSubject');",
							"    pm.expect(jsonData.task).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.task).to.have.property('taskStatus');",
							"    pm.expect(jsonData.task).to.have.property('dueDate');",
							"    pm.expect(jsonData.task).to.have.property('taskOwner');",
							"    pm.expect(jsonData.task).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.task).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let taskId = jsonData.task.id;",
							"postman.setEnvironmentVariable(\"taskId\", taskId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"taskSubject\": \"{{$randomNoun}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/tasks?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"tasks"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Update Task",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] task is updated correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('task');",
							"    pm.expect(jsonData.task).to.not.be.null;",
							"    pm.expect(jsonData.task).to.have.property('remoteId');",
							"    pm.expect(jsonData.task).to.have.property('taskContent');",
							"    pm.expect(jsonData.task).to.have.property('taskSubject');",
							"    pm.expect(jsonData.task).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.task).to.have.property('taskStatus');",
							"    pm.expect(jsonData.task).to.have.property('dueDate');",
							"    pm.expect(jsonData.task).to.have.property('taskOwner');",
							"    pm.expect(jsonData.task).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.task).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"taskContent\": \"{{$randomLoremSentence}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/tasks/{{taskId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"tasks",
						"{{taskId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "List Tasks",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] tasks are listed correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('tasks');",
							"    pm.expect(jsonData.tasks[0]).to.not.be.null;",
							"    pm.expect(jsonData.tasks[0]).to.have.property('remoteId');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('taskContent');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('taskSubject');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('taskStatus');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('dueDate');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('taskOwner');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.tasks[0]).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let taskId = jsonData.tasks[0].id;",
							"postman.setEnvironmentVariable(\"taskId\", taskId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/tasks?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"tasks"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Task Count",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] task count is returned\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('count');",
							"    pm.expect(jsonData.count).to.be.a(\"number\");",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/tasks/count?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"tasks",
						"count"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Task",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] tasks is returned correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('task');",
							"    pm.expect(jsonData.task).to.not.be.null;",
							"    pm.expect(jsonData.task).to.have.property('remoteId');",
							"    pm.expect(jsonData.task).to.have.property('taskContent');",
							"    pm.expect(jsonData.task).to.have.property('taskSubject');",
							"    pm.expect(jsonData.task).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.task).to.have.property('taskStatus');",
							"    pm.expect(jsonData.task).to.have.property('dueDate');",
							"    pm.expect(jsonData.task).to.have.property('taskOwner');",
							"    pm.expect(jsonData.task).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.task).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/tasks/{{taskId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"tasks",
						"{{taskId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete Task",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] task deleted correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('message');",
							"    pm.expect(jsonData.message).to.be.a(\"string\")",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/tasks/{{taskId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"tasks",
						"{{taskId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Create User",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] users is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('user');",
							"    pm.expect(jsonData.user).to.not.be.null;",
							"    pm.expect(jsonData.user).to.have.property('remoteId');",
							"    pm.expect(jsonData.user).to.have.property('userLastName');",
							"    pm.expect(jsonData.user).to.have.property('isActive');",
							"    pm.expect(jsonData.user).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.user).to.have.property('userEmail');",
							"    pm.expect(jsonData.user).to.have.property('userFirstName');",
							"    pm.expect(jsonData.user).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.user).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let userId = jsonData.user.id;",
							"postman.setEnvironmentVariable(\"userId\", userId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"userFirstName\": \"{{$randomFirstName}}\",\n    \"userLastName\": \"{{$randomLastName}}\",\n    \"userEmail\": \"{{$randomUserName}}@runalloy.com\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/users?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"users"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Update User",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"user is updated correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('user');",
							"    pm.expect(jsonData.user).to.not.be.null;",
							"    pm.expect(jsonData.user).to.have.property('remoteId');",
							"    pm.expect(jsonData.user).to.have.property('userLastName');",
							"    pm.expect(jsonData.user).to.have.property('isActive');",
							"    pm.expect(jsonData.user).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.user).to.have.property('userEmail');",
							"    pm.expect(jsonData.user).to.have.property('userFirstName');",
							"    pm.expect(jsonData.user).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.user).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"userFirstName\": \"{{$randomFirstName}}\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/users/{{userId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"users",
						"{{userId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "List Users",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] users are listed correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('users');",
							"    pm.expect(jsonData.users[0]).to.not.be.null;",
							"    pm.expect(jsonData.users[0]).to.have.property('remoteId');",
							"    pm.expect(jsonData.users[0]).to.have.property('userLastName');",
							"    pm.expect(jsonData.users[0]).to.have.property('isActive');",
							"    pm.expect(jsonData.users[0]).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.users[0]).to.have.property('userEmail');",
							"    pm.expect(jsonData.users[0]).to.have.property('userFirstName');",
							"    pm.expect(jsonData.users[0]).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.users[0]).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let userId = jsonData.users[0].id;",
							"postman.setEnvironmentVariable(\"userId\", userId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/users?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"users"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get User Count",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] get user count is returned\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('count');",
							"    pm.expect(jsonData.count).to.be.a(\"number\");",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/users/count?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"users",
						"count"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get User",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] users is returned correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('user');",
							"    pm.expect(jsonData.user).to.not.be.null;",
							"    pm.expect(jsonData.user).to.have.property('remoteId');",
							"    pm.expect(jsonData.user).to.have.property('userLastName');",
							"    pm.expect(jsonData.user).to.have.property('isActive');",
							"    pm.expect(jsonData.user).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.user).to.have.property('userEmail');",
							"    pm.expect(jsonData.user).to.have.property('userFirstName');",
							"    pm.expect(jsonData.user).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.user).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/users/{{userId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"users",
						"{{userId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete User",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"user deleted correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('message');",
							"    pm.expect(jsonData.message).to.be.a(\"string\")",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/users/{{userId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"users",
						"{{userId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Opportunity",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"opportunity is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('opportunity');",
							"    pm.expect(jsonData.opportunity).to.not.be.null;",
							"    pm.expect(jsonData.opportunity).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityStage');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityOwner');",
							"    pm.expect(jsonData.opportunity).to.have.property('remoteId');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityName');",
							"    pm.expect(jsonData.opportunity).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.opportunity).to.have.property('amount');",
							"    pm.expect(jsonData.opportunity).to.have.property('closeDate');",
							"    pm.expect(jsonData.opportunity).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityAccount');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityDescription');",
							"    pm.expect(jsonData.opportunity).to.have.property('id');",
							"});",
							"",
							"",
							"var jsonData = pm.response.json();",
							"let opportunityId = jsonData.opportunity.id;",
							"postman.setEnvironmentVariable(\"opportunityId\", opportunityId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"opportunityName\": \"{{$randomNoun}}\",\n    \"opportunityStage\": \"1\",\n    \"closeDate\": \"2023-11-17\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/opportunities?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"opportunities"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Update Opportunity",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"opportunity is updated correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('opportunity');",
							"    pm.expect(jsonData.opportunity).to.not.be.null;",
							"    pm.expect(jsonData.opportunity).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityStage');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityOwner');",
							"    pm.expect(jsonData.opportunity).to.have.property('remoteId');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityName');",
							"    pm.expect(jsonData.opportunity).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.opportunity).to.have.property('amount');",
							"    pm.expect(jsonData.opportunity).to.have.property('closeDate');",
							"    pm.expect(jsonData.opportunity).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityAccount');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityDescription');",
							"    pm.expect(jsonData.opportunity).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"opportunityName\": \"{{$randomNoun}}\",\n    \"opportunityStage\": \"1\",\n    \"closeDate\": \"2023-11-17\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/opportunities/{{opportunityId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"opportunities",
						"{{opportunityId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "List Opportunities",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] opportunities are listed correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('opportunities');",
							"    pm.expect(jsonData.opportunities[0]).to.not.be.null;",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('opportunityStage');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('opportunityOwner');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('remoteId');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('opportunityName');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('amount');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('closeDate');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('opportunityAccount');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('opportunityDescription');",
							"    pm.expect(jsonData.opportunities[0]).to.have.property('id');",
							"});",
							"",
							"var jsonData = pm.response.json();",
							"let opportunityId = jsonData.opportunities[0].id;",
							"postman.setEnvironmentVariable(\"opportunityId\", opportunityId);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/opportunities?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"opportunities"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Opportunity Count",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] opportunity count is returned\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('count');",
							"    pm.expect(jsonData.count).to.be.a(\"number\");",
							"});",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/opportunities/count?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"opportunities",
						"count"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Opportunity",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"[ZohoCRM] opportunity is created correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    pm.expect(jsonData).to.have.property('opportunity');",
							"    pm.expect(jsonData.opportunity).to.not.be.null;",
							"    pm.expect(jsonData.opportunity).to.have.property('updatedTimestamp');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityStage');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityOwner');",
							"    pm.expect(jsonData.opportunity).to.have.property('remoteId');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityName');",
							"    pm.expect(jsonData.opportunity).to.have.property('lastActivityAt');",
							"    pm.expect(jsonData.opportunity).to.have.property('amount');",
							"    pm.expect(jsonData.opportunity).to.have.property('closeDate');",
							"    pm.expect(jsonData.opportunity).to.have.property('createdTimestamp');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityAccount');",
							"    pm.expect(jsonData.opportunity).to.have.property('opportunityDescription');",
							"    pm.expect(jsonData.opportunity).to.have.property('id');",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				},
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/opportunities/{{opportunityId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"opportunities",
						"{{opportunityId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete Opportunity",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"tests[\"Status code is 200\"] = responseCode.code === 200;",
							"",
							"var contentTypeHeaderExists = responseHeaders.hasOwnProperty(\"Content-Type\");",
							"tests[\"Has Content-Type\"] = contentTypeHeaderExists;",
							" ",
							"if (contentTypeHeaderExists) {",
							"    tests[\"Content-Type is application/json\"] = ",
							"      responseHeaders[\"Content-Type\"].has(\"application/json\");",
							"}",
							"",
							"pm.test(\"response should be okay to process\", function () {",
							"    pm.response.to.have.status(200);",
							"    pm.response.to.not.be.error;",
							"    pm.response.to.not.have.jsonBody(\"error\");",
							"});",
							"",
							"pm.test(\"opportunity deleted correctly\", function () {",
							"    var jsonData = pm.response.json();",
							"    console.log(jsonData);",
							"    pm.expect(jsonData).to.have.property('message');",
							"    pm.expect(jsonData.message).to.be.a(\"string\")",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"accept": true
				}
			},
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "Authorization",
						"value": "Bearer {{apiKey}}",
						"type": "text"
					},
					{
						"key": "Accept",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://embedded.runalloy.com/{{API_VERSION}}/one/crm/opportunities/{{opportunityId}}?connectionId={{connectionId}}",
					"protocol": "https",
					"host": [
						"embedded",
						"runalloy",
						"com"
					],
					"path": [
						"{{API_VERSION}}",
						"one",
						"crm",
						"opportunities",
						"{{opportunityId}}"
					],
					"query": [
						{
							"key": "connectionId",
							"value": "{{connectionId}}"
						}
					]
				}
			},
			"response": []
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	]
}