{
	"info": {
		"_postman_id": "89783e94-36e4-4953-9aa5-ae381c618def",
		"name": "Seed Ananlytics API (devapi)",
		"description": "This is a demo API suite that demonstrates some of the useful functionalities of Client Reporting's Developer API.\n\n\nThis API suite retrieves relevant data for four categories of Brokers, namely:\n\n* a Parent Broker containing two sub Child Broker accounts.\n* Child Broker 1 of Parent Broker.\n* Child Broker 2 of Parent Broker.\n* a Single Standalone Broker with no Child accounts.\n\n--- Endpoints in this API suite are as follows ---\n\n- Broker Client Portfolio List {\n\tThis endpoint lists all of the portfolios of a specific Broker's client using the clientID.\n}\n\n- Broker Portfolio Details {\n\tThis endpoint lists details about a requested portfolioID.\n}\n\n- Broker Portfolio List {\n\tThis endpoint lists all of the portfolio ID's for the currently used brokerID. \n}\n\n- Broker Portfolio PDF {\n\tThis endpoint returns the PDF content of the requested portfolioID.\n}\n\n- Broker Details {\n\tThis endpoint returns details about the requested brokerID.\n}\n\n- Broker List {\n\tThis endpoint is only for use by parent brokers and lists all of their valid child brokers.\n}",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Astute PDF",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/astute/b956776a-bc7f-404e-b46a-1aa6ebb8ce2f/pdf",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"astute",
						"b956776a-bc7f-404e-b46a-1aa6ebb8ce2f",
						"pdf"
					]
				},
				"description": "This endpoint returns base-64 encoded content of the requested portfolio's PDF of the broker."
			},
			"response": []
		},
		{
			"name": "Broker List",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						""
					]
				},
				"description": "This endpoint lists all of the child brokers for the currently used API-key."
			},
			"response": []
		},
		{
			"name": "Broker Details",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502"
					]
				},
				"description": "This endpoint retrieves the data of the requested broker via the brokerID."
			},
			"response": []
		},
		{
			"name": "Broker Client Portfolio List",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502/client/9172504096453/portfolio/",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502",
						"client",
						"9172504096453",
						"portfolio",
						""
					]
				},
				"description": "This endpoint lists all of the portfolio ID's of the selected clientID under the current brokerID. "
			},
			"response": []
		},
		{
			"name": "Broker Portfolio List",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502/portfolio/",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502",
						"portfolio",
						""
					]
				},
				"description": "This endpoint lists all of the portfolio ID's for the requested brokerID. "
			},
			"response": []
		},
		{
			"name": "Broker Portfolio Details",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502/portfolio/106165",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502",
						"portfolio",
						"106165"
					]
				},
				"description": "This endpoint lists the portfolio for the broker with the requested portfolioID. "
			},
			"response": []
		},
		{
			"name": "Broker Portfolio Client List",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502/portfolio/106165/client",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502",
						"portfolio",
						"106165",
						"client"
					]
				},
				"description": "This endpoint lists all of the portfolio ID's for the requested brokerID. "
			},
			"response": []
		},
		{
			"name": "Broker Portfolio Client Details",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502/portfolio/106165/client/100580",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502",
						"portfolio",
						"106165",
						"client",
						"100580"
					]
				},
				"description": "This endpoint lists all of the portfolio ID's for the requested brokerID. "
			},
			"response": []
		},
		{
			"name": "Broker Portfolio PDF",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-api-key",
						"value": "XbygshUCvu2W5S9PCHJn312WAcfZWuHZYvVRqRb0"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "https://devapi.clientreporting.co.za/v1/broker/502/portfolio/106165/pdf",
					"protocol": "https",
					"host": [
						"devapi",
						"clientreporting",
						"co",
						"za"
					],
					"path": [
						"v1",
						"broker",
						"502",
						"portfolio",
						"106165",
						"pdf"
					]
				},
				"description": "This endpoint returns base-64 encoded content of the requested portfolio's PDF of the broker."
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"id": "5502f906-60fb-41a8-b04e-3bf54f0fc83a",
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"id": "bea982ca-f2c7-4753-ac74-f78b943ec61b",
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	]
}