{
	"info": {
		"_postman_id": "82d8934e-783f-4591-bd37-61b980546d7e",
		"name": "Maintenance Domain API",
		"description": "Complete Postman collection for Maintenance Domain with all endpoints separated by subdomain",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "50681087"
	},
	"item": [
		{
			"name": "01 - Technicians & Departments",
			"item": [
				{
					"name": "Technicians",
					"item": [
						{
							"name": "List All Technicians",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians?per_page=15",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians"
									],
									"query": [
										{
											"key": "per_page",
											"value": "15"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Create Technician",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"employee_code\": \"TECH001wqd\",\n  \"full_name\": \"Ahmed Hassan\",\n  \"role\": \"engineer\", // engineer,technician,worker,supervisor\n  \"department_id\": 1,\n  \"parent_id\": null,\n  \"skill_level\": \"expert\",\n  \"employment_type\": \"full_time\",\n  \"phone\": \"+966501234567\",\n  \"email\": \"ahmed@example.com\",\n  \"is_active\": true,\n  \"joined_at\": \"2025-01-01\"\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Technician",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Technician",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"employee_code\": \"TECH001\",\n  \"full_name\": \"Ahmed Hassan\",\n  \"role\": \"engineer\", // engineer,technician,worker,supervisor\n  \"department_id\": 1,\n  \"parent_id\": null,\n  \"skill_level\": \"expert\",\n  \"employment_type\": \"full_time\",\n  \"phone\": \"+966501234567\",\n  \"email\": \"ahmed@example.com\",\n  \"is_active\": true,\n  \"joined_at\": \"2025-01-01\"\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Delete Technician (Soft)",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Restore Technician",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/1/restore",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"1",
										"restore"
									]
								}
							},
							"response": []
						},
						{
							"name": "Force Delete Technician",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/5/force-delete",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"5",
										"force-delete"
									]
								}
							},
							"response": []
						},
						{
							"name": "List Active Technicians",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/list/active",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"list",
										"active"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Technicians by Department",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/department/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"department",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Technicians by Role",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/role/engineer",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"role",
										"engineer"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Technician Subordinates",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/technicians/1/subordinates",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"technicians",
										"1",
										"subordinates"
									]
								}
							},
							"response": []
						}
					],
					"description": "Manage maintenance technicians"
				},
				{
					"name": "Departments",
					"item": [
						{
							"name": "List All Departments",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments?per_page=15",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments"
									],
									"query": [
										{
											"key": "per_page",
											"value": "15"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Create Department",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"code\": \"DEPT00123525\",\n  \"name\": \"Preventive Maintenance\",\n  \"description\": \"Department handling preventive maintenance tasks\",\n  \"is_active\": true\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Department",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Department",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"name\": \"Preventive Maintenance Updated\",\n  \"description\": \"Updated department description\",\n  \"is_active\": true\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Delete Department (Soft)",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Restore Department",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/1/restore",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"1",
										"restore"
									]
								}
							},
							"response": []
						},
						{
							"name": "Force Delete Department",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/1/force-delete",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"1",
										"force-delete"
									]
								}
							},
							"response": []
						},
						{
							"name": "List Active Departments",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/list/active",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"list",
										"active"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Department with Technicians",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/departments/1/with-technicians",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"departments",
										"1",
										"with-technicians"
									]
								}
							},
							"response": []
						}
					],
					"description": "Manage maintenance departments"
				}
			],
			"description": "Master data management for technicians and departments"
		},
		{
			"name": "02 - Maintenance Requests & SLA",
			"item": [
				{
					"name": "Requests",
					"item": [
						{
							"name": "List All Requests",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests?per_page=15",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests"
									],
									"query": [
										{
											"key": "per_page",
											"value": "15"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Create Request",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"request_number\": \"REQ-2025-qwdqwd\",\n  \"customer_id\": 2,\n  \"customer_name\": \"Smith Industries\",\n  \"request_type\": \"emergency\", // preventive,corrective,emergency,inspection\n  \"priority\": \"critical\", // low,normal,high,critical\n  \"status\": \"new\", // assigned,scheduled,in_progress,completed,cancelled,closed\n  \"reported_issue\": \"Elevator malfunction - unit stopped between floors\",\n  \"requested_at\": \"2025-12-27 14:45:00\",\n  \"preferred_visit_date\": \"2025-12-27\",\n  \"sla_response_time\": 60,\n  \"sla_repair_time\": 240,\n  \"source\": \"manual\", // manual,portal,api,system\n  \"created_by\": 2,\n  \"closed_at\": null\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Request",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Request",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"customer_id\": 2,\n  \"customer_name\": \"Smith Industries\",\n  \"request_type\": \"emergency\", // preventive,corrective,emergency,inspection\n  \"priority\": \"normal\", // low,normal,high,critical\n  \"status\": \"new\", // assigned,scheduled,in_progress,completed,cancelled,closed\n  \"reported_issue\": \"Elevator malfunction - unit stopped between floors\",\n  \"requested_at\": \"2025-12-27 14:45:00\",\n  \"preferred_visit_date\": \"2025-12-27\",\n  \"sla_response_time\": 60,\n  \"sla_repair_time\": 240,\n  \"source\": \"manual\", // manual,portal,api,system\n  \"created_by\": 2,\n  \"closed_at\": null\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Request Status",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"status\": \"assigned\",\n  \"reason\": \"Assigned to technician\"\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/1/status",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"1",
										"status"
									]
								}
							},
							"response": []
						},
						{
							"name": "Delete Request (Soft)",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Restore Request",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/1/restore",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"1",
										"restore"
									]
								}
							},
							"response": []
						},
						{
							"name": "Force Delete Request",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/1/force-delete",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"1",
										"force-delete"
									]
								}
							},
							"response": []
						},
						{
							"name": "List Active Requests",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/list/active",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"list",
										"active"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Requests by Status",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/status/completed",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"status",
										"completed"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Requests by Priority",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/priority/high",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"priority",
										"high"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Requests by Customer",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/requests/customer/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"requests",
										"customer",
										"1"
									]
								}
							},
							"response": []
						}
					],
					"description": "Manage maintenance requests"
				},
				{
					"name": "Request Status History",
					"item": [
						{
							"name": "List Status Histories",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/request-history?per_page=15",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"request-history"
									],
									"query": [
										{
											"key": "per_page",
											"value": "15"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Status History",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/request-history/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"request-history",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Request History",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/request-history/request/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"request-history",
										"request",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Status Timeline",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/request-history/timeline/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"request-history",
										"timeline",
										"1"
									]
								}
							},
							"response": []
						}
					],
					"description": "Track request status changes"
				},
				{
					"name": "SLA Policies",
					"item": [
						{
							"name": "List SLA Policies",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies?per_page=15",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies"
									],
									"query": [
										{
											"key": "per_page",
											"value": "15"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Create SLA Policy",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"request_type\": \"preventive\", // preventive,corrective,emergency,inspection\n    \"priority\": \"critical\", // low,normal,high,critical\n    \"response_time_minutes\": 480,\n    \"resolution_time_minutes\": 1440,\n    \"escalation_after_minutes\": 720,\n    \"description\": \"Emergency critical priority - 1 hour response\",\n    \"is_active\": true\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Policy",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update SLA Policy",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"response_time_minutes\": 480,\n    \"resolution_time_minutes\": 1440,\n    \"escalation_after_minutes\": 720,\n    \"description\": \"Emergency critical priority - 1 hour response\",\n    \"is_active\": true\n}"
								},
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Delete SLA Policy (Soft)",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Restore SLA Policy",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies/1/restore",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies",
										"1",
										"restore"
									]
								}
							},
							"response": []
						},
						{
							"name": "List Active SLA Policies",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies/list/active",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies",
										"list",
										"active"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Policy by Type and Priority",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-policies/type-priority/emergency/critical",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-policies",
										"type-priority",
										"emergency",
										"critical"
									]
								}
							},
							"response": []
						}
					],
					"description": "Manage SLA policies"
				},
				{
					"name": "SLA Tracking",
					"item": [
						{
							"name": "List SLA Tracking",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking?per_page=15",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking"
									],
									"query": [
										{
											"key": "per_page",
											"value": "15"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Tracking Record",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Tracking by Request",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking/request/1",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking",
										"request",
										"1"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Breaches",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking/breaches",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking",
										"breaches"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Compliant Records",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking/compliant",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking",
										"compliant"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Metrics",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking/metrics?start_date=2025-01-01&end_date=2025-01-31",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking",
										"metrics"
									],
									"query": [
										{
											"key": "start_date",
											"value": "2025-01-01"
										},
										{
											"key": "end_date",
											"value": "2025-01-31"
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Get SLA Compliance Report",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "Bearer {{access_token}}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{BASE_URL}}/maintenance/sla-tracking/report?start_date=2025-01-01&end_date=2025-01-31",
									"host": [
										"{{BASE_URL}}"
									],
									"path": [
										"maintenance",
										"sla-tracking",
										"report"
									],
									"query": [
										{
											"key": "start_date",
											"value": "2025-01-01"
										},
										{
											"key": "end_date",
											"value": "2025-01-31"
										}
									]
								}
							},
							"response": []
						}
					],
					"description": "Monitor SLA compliance"
				}
			],
			"description": "Manage maintenance requests and SLA tracking"
		},
		{
			"name": "03 - Assets",
			"item": [
				{
					"name": "List All Assets",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets?per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Asset",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"asset_number\": \"ASSET-2025-001\",\n  \"customer_id\": 1,\n  \"maintenance_request_id\": 1,\n  \"name\": \"Building Floor 3 AC Unit\",\n  \"asset_type\": \"Air Conditioner\",\n  \"brand\": \"Daikin\",\n  \"model\": \"FTXM25R\",\n  \"serial_number\": \"SN123456789qqq\",\n  \"location_description\": \"Third floor main corridor\",\n  \"installation_date\": \"2024-01-15\",\n  \"warranty_expiry_date\": \"2026-12-31\",\n  \"status\": \"active\" // active - inactive - retired\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Asset",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Asset",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"asset_number\": \"ASSET-2025-00qwd1\",\n  \"customer_id\": 1,\n  \"maintenance_request_id\": 1,\n  \"name\": \"Building Floor 3 AC Unit\",\n  \"asset_type\": \"Air Conditioner\",\n  \"brand\": \"Daikin\",\n  \"model\": \"FTXM25R\",\n  \"serial_number\": \"SN123456789q222q\",\n  \"location_description\": \"Third floor main corridor\",\n  \"installation_date\": \"2024-01-15\",\n  \"warranty_expiry_date\": \"2026-12-31\",\n  \"status\": \"active\" // active - inactive - retired\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Asset (Soft)",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Restore Asset",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets/1/restore",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets",
								"1",
								"restore"
							]
						}
					},
					"response": []
				},
				{
					"name": "Force Delete Asset",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/assets/1/force-delete",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"assets",
								"1",
								"force-delete"
							]
						}
					},
					"response": []
				}
			],
			"description": "Manage maintenance assets"
		},
		{
			"name": "04 - Visits",
			"item": [
				{
					"name": "List All Visits",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits?per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Visit",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"visit_number\": \"VISIT-2025-001\",\n  \"maintenance_request_id\": 1,\n  \"maintenance_asset_id\": 2,\n  \"visit_type\": \"corrective\",\n  \"status\": \"in_progress\",\n  \"scheduled_at\": \"2025-12-28T10:00:00\",\n  \"started_at\": \"2025-12-28T10:30:00\",\n  \"completed_at\": null,\n  \"escalation_level\": 2,\n  \"response_deadline\": \"2025-12-29T10:00:00\",\n  \"sla_met\": false,\n  \"notes\": \"Updated maintenance visit notes\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Visit",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Visit",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"visit_number\": \"VISIT-2025-001wqd\",\n  \"maintenance_request_id\": 1,\n  \"maintenance_asset_id\": 2,\n  \"visit_type\": \"corrective\",\n  \"status\": \"in_progress\",\n  \"scheduled_at\": \"2025-12-28T10:00:00\",\n  \"started_at\": \"2025-12-28T10:30:00\",\n  \"completed_at\": null,\n  \"escalation_level\": 2,\n  \"response_deadline\": \"2025-12-29T10:00:00\",\n  \"sla_met\": false,\n  \"notes\": \"Updated maintenance visit notes\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Visit (Soft)",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Restore Visit",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits/1/restore",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits",
								"1",
								"restore"
							]
						}
					},
					"response": []
				},
				{
					"name": "Force Delete Visit",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/visits/1/force-delete",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"visits",
								"1",
								"force-delete"
							]
						}
					},
					"response": []
				}
			],
			"description": "Manage maintenance visits"
		},
		{
			"name": "05 - Invoices",
			"item": [
				{
					"name": "List All Invoices",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices?per_page=15",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices"
							],
							"query": [
								{
									"key": "per_page",
									"value": "15"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Create Invoice",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"invoice_number\": \"INV-2025-001\",\n  \"maintenance_visit_id\": 1,\n  \"customer_id\": 1,\n  \"status\": \"submitted\",\n  \"subtotal\": 6000.00,\n  \"tax_amount\": 600.00,\n  \"discount_amount\": 150.00,\n  \"total_amount\": 6450.00,\n  \"currency\": \"USD\",\n  \"due_date\": \"2026-01-31\",\n  \"paid_at\": \"2025-12-28T14:30:00\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Invoice",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Invoice",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"invoice_number\": \"INV-2025-00122\",\n  \"maintenance_visit_id\": 1,\n  \"customer_id\": 1,\n  \"status\": \"approved\",\n  \"subtotal\": 6000.00,\n  \"tax_amount\": 600.00,\n  \"discount_amount\": 150.00,\n  \"total_amount\": 6450.00,\n  \"currency\": \"USD\",\n  \"due_date\": \"2026-01-31\",\n  \"paid_at\": \"2025-12-28T14:30:00\"\n}"
						},
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Invoice (Soft)",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices/1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Restore Invoice",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices/1/restore",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices",
								"1",
								"restore"
							]
						}
					},
					"response": []
				},
				{
					"name": "Force Delete Invoice",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{access_token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{BASE_URL}}/maintenance/invoices/1/force-delete",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"maintenance",
								"invoices",
								"1",
								"force-delete"
							]
						}
					},
					"response": []
				}
			],
			"description": "Manage maintenance invoices"
		}
	],
	"variable": [
		{
			"key": "base_url",
			"value": "http://localhost:8000/api",
			"type": "string"
		},
		{
			"key": "access_token",
			"value": "your_bearer_token_here",
			"type": "string"
		}
	]
}