{
	"info": {
		"_postman_id": "3e1feac6-0034-4fb8-81ab-c64a1450bf5e",
		"name": "Bubango API V2",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Sites",
			"item": [
				{
					"name": "All Sites",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Sites",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Sites"
							]
						}
					},
					"response": []
				},
				{
					"name": "Site by Id",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Sites/{{IdSite}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Sites",
								"{{IdSite}}"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "DashBoardUsers",
			"item": [
				{
					"name": "All Users",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/DashBoardUsers",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"DashBoardUsers"
							]
						}
					},
					"response": []
				},
				{
					"name": "User By Id",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/DashBoardUsers/{{IdDashBoardUser}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"DashBoardUsers",
								"{{IdDashBoardUser}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update User",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n  \"idUser\": 561,\r\n  \"name\": \"Tendero Test Bubango TFE\",\r\n  \"active\": true,\r\n  \"canSell\": true\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{ApiUrl}}/api/DashBoardUsers/{{IdDashBoardUser}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"DashBoardUsers",
								"{{IdDashBoardUser}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Users By Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/DashBoardUsers/GetDashBoardUsersBySite/{{IdSite}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"DashBoardUsers",
								"GetDashBoardUsersBySite",
								"{{IdSite}}"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "BillingTypes",
			"item": [
				{
					"name": "BillingTypes By Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{api_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/BillingTypes/GetBillingType/{{IdSite}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"BillingTypes",
								"GetBillingType",
								"{{IdSite}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "BillingTypes By Id",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/BillingTypes/GetBillingType/{{IdSite}}/{{IdBillingType}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"BillingTypes",
								"GetBillingType",
								"{{IdSite}}",
								"{{IdBillingType}}"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Users",
			"item": [
				{
					"name": "Users Active by Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/GetUserBySiteActive/{{IdSite}}?startdate=2020-06-01 00:00:00&enddate=2020-06-06 00:00:00",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"GetUserBySiteActive",
								"{{IdSite}}"
							],
							"query": [
								{
									"key": "startdate",
									"value": "2020-06-01 00:00:00"
								},
								{
									"key": "enddate",
									"value": "2020-06-06 00:00:00"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Users Disabled by Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/GetUserBySiteDisabled/{{IdSite}}?startdate=2020-06-01 00:00:00&enddate=2020-06-05 00:00:00",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"GetUserBySiteDisabled",
								"{{IdSite}}"
							],
							"query": [
								{
									"key": "startdate",
									"value": "2020-06-01 00:00:00"
								},
								{
									"key": "enddate",
									"value": "2020-06-05 00:00:00"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Vouchers by Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/GetVouchersBySite/{{IdSite}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"GetVouchersBySite",
								"{{IdSite}}"
							],
							"query": [
								{
									"key": "startdate",
									"value": "2021-10-01 00:00:00",
									"disabled": true
								},
								{
									"key": "enddate",
									"value": "2021-11-01 00:00:00",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Vouchers Active by Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/GetVouchersBySiteActive/{{IdSite}}?startdate=2021-10-01 00:00:00&enddate=2021-11-01 00:00:00",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"GetVouchersBySiteActive",
								"{{IdSite}}"
							],
							"query": [
								{
									"key": "startdate",
									"value": "2021-10-01 00:00:00"
								},
								{
									"key": "enddate",
									"value": "2021-11-01 00:00:00"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Vouchers Disabled by Site",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/GetVouchersBySiteDisabled/{{IdSite}}?startdate=2021-10-01 00:00:00&enddate=2021-11-01 00:00:00",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"GetVouchersBySiteDisabled",
								"{{IdSite}}"
							],
							"query": [
								{
									"key": "startdate",
									"value": "2021-10-01 00:00:00"
								},
								{
									"key": "enddate",
									"value": "2021-11-01 00:00:00"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Disabled User",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/Disabled/{{IdSite}}/user/{{IdUser}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"Disabled",
								"{{IdSite}}",
								"user",
								"{{IdUser}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Upgadre User",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/Upgrade/{{IdSite}}/user/{{IdUser}}/billingType/{{IdBillingType}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"Upgrade",
								"{{IdSite}}",
								"user",
								"{{IdUser}}",
								"billingType",
								"{{IdBillingType}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get User",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Users/GetUser/{{IdSite}}/user/{{IdUser}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"GetUser",
								"{{IdSite}}",
								"user",
								"{{IdUser}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "New User",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n  \"name\": \"user_demo_api\",\r\n  \"password\": \"string\",\r\n  \"validSince\": \"2021-11-19T17:04:09.626Z\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{ApiUrl}}/api/Users/NewUser/{{IdSite}}/billingtype/{{IdBillingType}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Users",
								"NewUser",
								"{{IdSite}}",
								"billingtype",
								"{{IdBillingType}}"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Cambium",
			"item": [
				{
					"name": "CambiumLocation by Id",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{api_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_api}}/api/Cambium/get/{{idsite}}",
							"host": [
								"{{url_api}}"
							],
							"path": [
								"api",
								"Cambium",
								"get",
								"{{idsite}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "CambiumLocation by IdSite",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{api_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Cambium/getBySite/{{IdSite}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Cambium",
								"getBySite",
								"{{IdSite}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "CambiumLocation by IdLocation",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/api/Cambium/GetByLocation/{{IdSite}}/Location/{{IdLocation}}",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"api",
								"Cambium",
								"GetByLocation",
								"{{IdSite}}",
								"Location",
								"{{IdLocation}}"
							]
						}
					},
					"response": []
				},
				{
					"name": "Upgrade CambiumLocation",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "token",
								"value": "{{api_token}}\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url_api}}/api/Cambium/Upgrade",
							"host": [
								"{{url_api}}"
							],
							"path": [
								"api",
								"Cambium",
								"Upgrade"
							]
						}
					},
					"response": []
				},
				{
					"name": "New CambiumLocation",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "{{Token\n}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{ApiUrl}}/Api/Cambium",
							"host": [
								"{{ApiUrl}}"
							],
							"path": [
								"Api",
								"Cambium"
							]
						}
					},
					"response": []
				}
			]
		}
	]
}