{
	"info": {
		"_postman_id": "94efb39e-2981-442d-b944-f2fcffa5c4b4",
		"name": "Domain Management",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "36183173"
	},
	"item": [
		{
			"name": "Admin Login",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.collectionVariables.set(\"FwdSessionId\", pm.response.headers.get(\"FwdSessionId\"));",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "basic",
					"basic": [
						{
							"key": "password",
							"value": "admin",
							"type": "string"
						},
						{
							"key": "username",
							"value": "tenantAdmin",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://localhost:7443/admin/tenant/login",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"login"
					]
				}
			},
			"response": []
		},
		{
			"name": "List Domains",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://localhost:7443/admin/legacy_auth/domain/fwd",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"legacy_auth",
						"domain",
						"fwd"
					]
				}
			},
			"response": []
		},
		{
			"name": "List Domain Types",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://localhost:7443/admin/legacy_auth/domain/fwd",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"legacy_auth",
						"domain",
						"fwd"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Domain",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://localhost:7443/admin/legacy_auth/domain/fwd",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"legacy_auth",
						"domain",
						"fwd"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Domain Type",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://localhost:7443/admin/legacy_auth/domain/fwd",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"legacy_auth",
						"domain",
						"fwd"
					]
				}
			},
			"response": []
		},
		{
			"name": "Add domain",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"_Domain-name\": \"dom0\",\n    \"_Domain-type\": \"_oeusertable\",\n    \"_Domain-description\": \"My new domain\",\n    \"_Domain-access-code\": \"31312c6a312a3736\",\n    \"_Auditing-context\": \"My Auditing Context\",\n    \"_Domain-runtime-options\": \"Some Options for Runtime\",\n    \"_Domain-enabled\": true,\n    \"_Domain-custom-detail\": \"No details here\",\n    \"_Tenant-Name\": \"tenant6\",\n    \"_Domain-Id\": 101,\n    \"_Domain-category\": 0\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://localhost:7443/admin/tenant/domain/fwd",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"domain",
						"fwd"
					]
				}
			},
			"response": []
		},
		{
			"name": "Add domain type",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"_Domain-name\": \"dom0\",\n    \"_Domain-type\": \"_oeusertable\",\n    \"_Domain-description\": \"My new domain\",\n    \"_Domain-access-code\": \"31312c6a312a3736\",\n    \"_Auditing-context\": \"My Auditing Context\",\n    \"_Domain-runtime-options\": \"Some Options for Runtime\",\n    \"_Domain-enabled\": true,\n    \"_Domain-custom-detail\": \"No details here\",\n    \"_Tenant-Name\": \"tenant6\",\n    \"_Domain-Id\": 101,\n    \"_Domain-category\": 0\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://localhost:7443/admin/tenant/domain/fwd",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"domain",
						"fwd"
					]
				}
			},
			"response": []
		},
		{
			"name": "Update domain",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"domain_name\": \"dom0\",\n    \"domain_type\": \"_oeusertable\",\n    \"domain_description\": \"My new domain Alter 1\",\n    \"domain_access_code\": \"31312c6a312a3736\",\n    \"auditing_context\": \"My Auditing Context\",\n    \"domain_runtime_options\": \"Some Options for Runtime\",\n    \"domain_enabled\": true,\n    \"domain_custom_detail\": \"No more details here\",\n    \"tenant_name\": \"tenant6\",\n    \"domain_id\": 101,\n    \"domain_category\": 0\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://localhost:7443/admin/tenant/domain/dom0",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"domain",
						"dom0"
					]
				}
			},
			"response": []
		},
		{
			"name": "Update domain type",
			"request": {
				"method": "PUT",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"domain_name\": \"dom0\",\n    \"domain_type\": \"_oeusertable\",\n    \"domain_description\": \"My new domain Alter 1\",\n    \"domain_access_code\": \"31312c6a312a3736\",\n    \"auditing_context\": \"My Auditing Context\",\n    \"domain_runtime_options\": \"Some Options for Runtime\",\n    \"domain_enabled\": true,\n    \"domain_custom_detail\": \"No more details here\",\n    \"tenant_name\": \"tenant6\",\n    \"domain_id\": 101,\n    \"domain_category\": 0\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://localhost:7443/admin/tenant/domain/dom0",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"domain",
						"dom0"
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete domain",
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://localhost:7443/admin/tenant/tenant_no5",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"tenant_no5"
					]
				}
			},
			"response": []
		},
		{
			"name": "Delete domain type",
			"request": {
				"method": "DELETE",
				"header": [
					{
						"key": "FwdSessionId",
						"value": "{{FwdSessionId}}",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://localhost:7443/admin/tenant/tenant_no5",
					"protocol": "https",
					"host": [
						"localhost"
					],
					"port": "7443",
					"path": [
						"admin",
						"tenant",
						"tenant_no5"
					]
				}
			},
			"response": []
		}
	],
	"variable": [
		{
			"key": "FwdSessionId",
			"value": ""
		}
	]
}