{
	"info": {
		"_postman_id": "12a03fa3-c763-4476-9122-74e465038c3b",
		"name": "GlobalXtreme Attendance",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "18967213"
	},
	"item": [
		{
			"name": "Annual Leave",
			"item": [
				{
					"name": "Get",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/annual-leave",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"annual-leave"
							]
						},
						"description": "List pengajuan cuti\n\nDi akhir URL dapat ditambahkan ID karyawan jika ingin menampilkan cuti yang diajukan karyawan tersebut  \nContoh `api/annual-leave/1`"
					},
					"response": [
						{
							"name": "Get",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/annual-leave",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 15:12:30 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 18,\n            \"date\": \"2023-09-30\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:12.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:12.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 17,\n            \"date\": \"2023-09-29\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:09.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:09.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 16,\n            \"date\": \"2023-09-28\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:07.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:07.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 15,\n            \"date\": \"2023-09-26\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:03.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:03.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 8,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 8,\n            \"created_at\": \"2023-09-21T15:00:11.000000Z\",\n            \"updated_at\": \"2023-09-21T15:00:11.000000Z\",\n            \"staff\": {\n                \"id\": 8,\n                \"name\": \"Rossie Schmitt\",\n                \"nip\": \"943856\"\n            }\n        },\n        {\n            \"id\": 7,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 7,\n            \"created_at\": \"2023-09-21T15:00:07.000000Z\",\n            \"updated_at\": \"2023-09-21T15:00:07.000000Z\",\n            \"staff\": {\n                \"id\": 7,\n                \"name\": \"Miss Celine Zieme\",\n                \"nip\": \"227564\"\n            }\n        },\n        {\n            \"id\": 6,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 6,\n            \"created_at\": \"2023-09-21T15:00:03.000000Z\",\n            \"updated_at\": \"2023-09-21T15:00:03.000000Z\",\n            \"staff\": {\n                \"id\": 6,\n                \"name\": \"Lola Mante\",\n                \"nip\": \"522324\"\n            }\n        },\n        {\n            \"id\": 5,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 5,\n            \"created_at\": \"2023-09-21T14:59:57.000000Z\",\n            \"updated_at\": \"2023-09-21T14:59:57.000000Z\",\n            \"staff\": {\n                \"id\": 5,\n                \"name\": \"Kali Kris\",\n                \"nip\": \"174333\"\n            }\n        },\n        {\n            \"id\": 4,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 4,\n            \"created_at\": \"2023-09-21T14:59:53.000000Z\",\n            \"updated_at\": \"2023-09-21T14:59:53.000000Z\",\n            \"staff\": {\n                \"id\": 4,\n                \"name\": \"Omari Mante\",\n                \"nip\": \"567680\"\n            }\n        },\n        {\n            \"id\": 3,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 3,\n            \"created_at\": \"2023-09-21T14:59:50.000000Z\",\n            \"updated_at\": \"2023-09-21T14:59:50.000000Z\",\n            \"staff\": {\n                \"id\": 3,\n                \"name\": \"Valerie Carter\",\n                \"nip\": \"342513\"\n            }\n        },\n        {\n            \"id\": 2,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 2,\n            \"created_at\": \"2023-09-21T14:59:46.000000Z\",\n            \"updated_at\": \"2023-09-21T14:59:46.000000Z\",\n            \"staff\": {\n                \"id\": 2,\n                \"name\": \"Miss Luisa Heidenreich DVM\",\n                \"nip\": \"502181\"\n            }\n        },\n        {\n            \"id\": 1,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T14:59:09.000000Z\",\n            \"updated_at\": \"2023-09-21T14:59:09.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        }\n    ],\n    \"pages\": 1\n}"
						},
						{
							"name": "Get specific staff's leaves",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/annual-leave/1",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"1"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 15:13:35 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 18,\n            \"date\": \"2023-09-30\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:12.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:12.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 17,\n            \"date\": \"2023-09-29\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:09.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:09.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 16,\n            \"date\": \"2023-09-28\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:07.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:07.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 15,\n            \"date\": \"2023-09-26\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T15:10:03.000000Z\",\n            \"updated_at\": \"2023-09-21T15:10:03.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        },\n        {\n            \"id\": 1,\n            \"date\": \"2023-09-25\",\n            \"staff_id\": 1,\n            \"created_at\": \"2023-09-21T14:59:09.000000Z\",\n            \"updated_at\": \"2023-09-21T14:59:09.000000Z\",\n            \"staff\": {\n                \"id\": 1,\n                \"name\": \"Mozell Heathcote\",\n                \"nip\": \"694837\"\n            }\n        }\n    ],\n    \"pages\": 1\n}"
						}
					]
				},
				{
					"name": "Apply",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "staff_id",
									"value": "1",
									"type": "text"
								},
								{
									"key": "date",
									"value": "2023-09-21",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/annual-leave/apply",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"annual-leave",
								"apply"
							]
						},
						"description": "Mengajukan cuti.\n\nOtomatis tidak diterima jika:  \n\\- Cuti pada hari libur mingguan  \n\\- Cuti pada hari libur nasional  \n\\- Cuti pada hari yang telah diatur shiftnya  \n\\- Cuti beberapa kali pada hari yang sama  \n\\- Cuti melebihi kuota cuti"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-25",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:59:08 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "57"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully created\",\n    \"data\": {\n        \"date\": \"2023-09-25\",\n        \"staff_id\": \"1\",\n        \"updated_at\": \"2023-09-21T14:59:09.000000Z\",\n        \"created_at\": \"2023-09-21T14:59:09.000000Z\",\n        \"id\": 1\n    }\n}"
						},
						{
							"name": "Applying on a national holiday",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-27",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:57:18 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Can not apply for a leave on a national holiday\"\n}"
						},
						{
							"name": "Applying on a weekly day off",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-24",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:57:48 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Can not apply for a leave on a weekly day off\"\n}"
						},
						{
							"name": "Applying on a day with assigned shift",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-23",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:58:43 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Can not apply for a leave on the day when you have a shift\"\n}"
						},
						{
							"name": "Applying multiple times on a single day",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-25",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:59:21 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "56"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Can not apply for multiple leaves on the same day\"\n}"
						},
						{
							"name": "Used All Leave Quota",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-10-02",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 15:10:15 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "55"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"You have used your leave quota for this year\"\n}"
						},
						{
							"name": "Applying for non-existent staff",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "90",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-21",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/annual-leave/apply",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"annual-leave",
										"apply"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 15:10:42 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "54"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "Attendance",
			"item": [
				{
					"name": "Get",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/attendance?date=2023-09-22",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"attendance"
							],
							"query": [
								{
									"key": "date",
									"value": "2023-09-22"
								}
							]
						},
						"description": "Mengambil data kehadiran\n\nTambahkan query `date` untuk menentukan tanggal yang diinginkan. Jika tidak diisi, maka akan menampilkan data kehadiran hari ini."
					},
					"response": []
				},
				{
					"name": "Clock In",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "nip",
									"value": "694837",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/attendance/clock-in",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"attendance",
								"clock-in"
							]
						}
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "nip",
											"value": "694837",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/attendance/clock-in",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"attendance",
										"clock-in"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Fri, 22 Sep 2023 08:12:11 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Clocked in successfully\",\n    \"data\": []\n}"
						},
						{
							"name": "Multiple Clock-in Attempts",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "nip",
											"value": "694837",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/attendance/clock-in",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"attendance",
										"clock-in"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Fri, 22 Sep 2023 08:16:23 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"You have already clocked in.\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "Auth",
			"item": [
				{
					"name": "Get Token",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "grant_type",
									"value": "password",
									"type": "text"
								},
								{
									"key": "client_id",
									"value": "{{client_id}}",
									"type": "text"
								},
								{
									"key": "client_secret",
									"value": "{{client_secret}}",
									"type": "text"
								},
								{
									"key": "username",
									"value": "admingx",
									"type": "text"
								},
								{
									"key": "password",
									"value": "admingx2023",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/oauth/token",
							"host": [
								"{{url}}"
							],
							"path": [
								"oauth",
								"token"
							]
						},
						"description": "Digunakan untuk mendapatkan token otentikasi.\n\nTapi hanya untuk penggunaan di postman, otentikasi di aplikasi akan menggunakan PKCE"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "grant_type",
											"value": "password",
											"type": "text"
										},
										{
											"key": "client_id",
											"value": "{{client_id}}",
											"type": "text"
										},
										{
											"key": "client_secret",
											"value": "{{client_secret}}",
											"type": "text"
										},
										{
											"key": "username",
											"value": "admingx",
											"type": "text"
										},
										{
											"key": "password",
											"value": "admingx2023",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/oauth/token",
									"host": [
										"{{url}}"
									],
									"path": [
										"oauth",
										"token"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Wed, 20 Sep 2023 08:31:16 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "pragma",
									"value": "no-cache"
								},
								{
									"key": "Cache-Control",
									"value": "no-store, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=UTF-8"
								}
							],
							"cookie": [],
							"body": "{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 31622400,\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5YTJkNGIwMC0zM2I5LTRjNDktYmViMC04OTczODUyNTZiMjYiLCJqdGkiOiJlMmRjNjI1NTBhODE3NzFlMjMzZmVlMTM0MThhMDdlNDliNGI0ZGE1Mjg4MWM5OTEwOWJjMzE5NjliMTAzODdmYzZiZDA5YjU3YTFmOWQ0NSIsImlhdCI6MTY5NTE5ODY5OS4yOTYwNjEsIm5iZiI6MTY5NTE5ODY5OS4yOTYwNjcsImV4cCI6MTcyNjgyMTA5OC4zNjQxODksInN1YiI6IjEiLCJzY29wZXMiOltdfQ.qWBjeDni6ICyetbjPmJYd_9FEDw2jIFas1cHPENg6oKcsMHRrd7KwPRsyllYZ2L36sqSXQTVJRe-HK4uKcfhazsnXiwzmZX31bt92rlPcQMFufDlQcP4tBh3j95bV0wsGFwiPkeb2y0D8sfdzAw4SORELlPTipVFR-eLbhsaY-1eS0thiV0gJiLXQGz8fGQLs5BxkSw6k0rSfY7WrReFY47IVZCPd_DVuiI9J6vL-T23f1aSPs4-CJHQOLE6z3-awg9BtGQO13twMmTJc8JVjaNJBooWjJLxiO9eeKFu3lIXlw3HLH6cqVSos4ZsAWORT8jFIxwLAFvSMYVE1FNCwj_7d-QMtYU-rg-sOtxxNvr_oXo0obrll7TojL0Ofc2Q79sEQFdpiQU7VabrJjw58rpTi6SLYZfyH8rmIithDjsm4qanSCauasrbelEEvh_JTzo5SbwyC4uN8b70_e0NMf8JjTC1ZtC-7zn4hxRJVtAWc6zVFnsuS9rmZW-veNVPn9VaEE465R55CDfIm9_JSzi84-zXbtjIBaga3URhBGMqK8Ho_2Zyz21BBe3Ja9FKkY48Ud5lkV-Sy05D3rYFMH_Z_jUqJ6AVgRbPdK2598fkmbMnV5r8U7h1cCm9ZtA4OYloM6bcs756hgLzjjwkOJurbGcyAhBqykwRIWh32XE\",\n    \"refresh_token\": \"def50200901a48f3e03d67f110e3f98c2bb3362ca2e6f8b79bd84c7880bca0b82fbf0698564d80420effa62fdc74d0c69ec2a7812ec309e5c78e38af4f010590102b20d7f1ae4145c105b96091254cd5aa8f842332b7263b0f594a2b011f3188be6d010c05cc1850a4d2264707158015ac63117f2878180826c67d4995769b31fa85f8b4efeaeb3e397114b1c9c8b4da40de6748f2e71f49df9478889aa0ede55f7176ccbc77b5c0852465cb64f533ad40d24d90e74d8acda940e9156a77242141eb38825ea5dcb9424866544c799a75c384450f7295d5edfa7aa3054e57d3efb81a453fa9e1a270dd6259eb380b7d05418dda2db21572c1fddef18d1987ac4d22e85d141207d0ee32dc8fbf53992f1f86f9411d2722d350842659836ba01d64abfd45aa6dd46db5380a01dec4a6002fb6bfbfd55302bb4e49d54d279c506fc1df770486db6568aaae2ae1469e388458ba4f440a74f143f5aa03cf719f26841f0340883e7d83aad2df2b888982484fef23d2717c3c4502639f5bd7ed54d2fc2bee5b6995\"\n}"
						},
						{
							"name": "Failed",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "grant_type",
											"value": "password",
											"type": "text"
										},
										{
											"key": "client_id",
											"value": "{{client_id}}",
											"type": "text"
										},
										{
											"key": "client_secret",
											"value": "{{client_secret}}",
											"type": "text"
										},
										{
											"key": "username",
											"value": "admingx",
											"type": "text"
										},
										{
											"key": "password",
											"value": "admingx2021",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/oauth/token",
									"host": [
										"{{url}}"
									],
									"path": [
										"oauth",
										"token"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Wed, 20 Sep 2023 08:32:13 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Connection",
									"value": "close"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"error\": \"invalid_grant\",\n    \"error_description\": \"The user credentials were incorrect.\",\n    \"message\": \"The user credentials were incorrect.\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "National Holiday",
			"item": [
				{
					"name": "Get",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/national-holiday",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"national-holiday"
							]
						},
						"description": "Mengambil data hari libur nasional\n\nTambahkan ID hari libur jika hanya ingin mengambil data hari libur tersebut.  \nContoh: `api/national-holiday/1`"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/national-holiday",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"national-holiday"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:17:57 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "57"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Maulid Nabi Muhammad SAW\",\n            \"date\": \"2023-09-28\",\n            \"created_at\": \"2023-09-21T14:16:49.000000Z\",\n            \"updated_at\": \"2023-09-21T14:16:49.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Natal\",\n            \"date\": \"2023-12-25\",\n            \"created_at\": \"2023-09-21T14:17:40.000000Z\",\n            \"updated_at\": \"2023-09-21T14:17:40.000000Z\"\n        }\n    ],\n    \"pages\": 1\n}"
						},
						{
							"name": "Get Specific Holiday",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/national-holiday/1",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"national-holiday",
										"1"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:36:41 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Maulid Nabi Muhammad SAW\",\n        \"date\": \"2023-09-27\",\n        \"created_at\": \"2023-09-21T14:16:49.000000Z\",\n        \"updated_at\": \"2023-09-21T14:20:50.000000Z\"\n    }\n}"
						}
					]
				},
				{
					"name": "Create",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "name",
									"value": "Natal",
									"type": "text"
								},
								{
									"key": "date",
									"value": "2023-12-25",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/national-holiday/create",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"national-holiday",
								"create"
							]
						},
						"description": "Membuat data hari libur nasional baru"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Maulid Nabi Muhammad SAW",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-28",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/national-holiday/create",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"national-holiday",
										"create"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:16:49 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully created\",\n    \"data\": {\n        \"name\": \"Maulid Nabi Muhammad SAW\",\n        \"date\": \"2023-09-28\",\n        \"updated_at\": \"2023-09-21T14:16:49.000000Z\",\n        \"created_at\": \"2023-09-21T14:16:49.000000Z\",\n        \"id\": 1\n    }\n}"
						}
					]
				},
				{
					"name": "Update",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "name",
									"value": "Maulid Nabi Muhammad SAW",
									"type": "text"
								},
								{
									"key": "date",
									"value": "2023-09-27",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/national-holiday/{id}/update",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"national-holiday",
								"{id}",
								"update"
							]
						},
						"description": "Mengubah data hari libur.\n\nUbah segment `{id}` di URL dengan ID hari libur yang ingin diubah."
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "PUT",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Maulid Nabi Muhammad SAW",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-27",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/national-holiday/1/update",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"national-holiday",
										"1",
										"update"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:20:49 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully updated\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Maulid Nabi Muhammad SAW\",\n        \"date\": \"2023-09-27\",\n        \"created_at\": \"2023-09-21T14:16:49.000000Z\",\n        \"updated_at\": \"2023-09-21T14:20:50.000000Z\"\n    }\n}"
						}
					]
				},
				{
					"name": "Delete",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/national-holiday/3/delete",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"national-holiday",
								"3",
								"delete"
							]
						}
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "DELETE",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/national-holiday/3/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"national-holiday",
										"3",
										"delete"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:22:59 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully deleted\",\n    \"data\": []\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "DELETE",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/national-holiday/3/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"national-holiday",
										"3",
										"delete"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:23:39 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "Operational Day",
			"item": [
				{
					"name": "Get",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{url}}/api/operational-day",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"operational-day"
							]
						},
						"description": "Mengambil data untuk hari operasional\n\nDay 0 = Minggu  \nDay 6 = Sabtu"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "{{url}}/api/operational-day",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"operational-day"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 13:59:08 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"day\": 0,\n            \"operating\": 0,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 2,\n            \"day\": 1,\n            \"operating\": 1,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 3,\n            \"day\": 2,\n            \"operating\": 1,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 4,\n            \"day\": 3,\n            \"operating\": 1,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 5,\n            \"day\": 4,\n            \"operating\": 1,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 6,\n            \"day\": 5,\n            \"operating\": 1,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 7,\n            \"day\": 6,\n            \"operating\": 0,\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Update",
					"request": {
						"method": "PUT",
						"header": [],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "day",
									"value": "6",
									"type": "text"
								},
								{
									"key": "operating",
									"value": "1",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/operational-day/update",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"operational-day",
								"update"
							]
						}
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "PUT",
								"header": [],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "day",
											"value": "6",
											"type": "text"
										},
										{
											"key": "operating",
											"value": "1",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/operational-day/update",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"operational-day",
										"update"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 14:01:02 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully updated\",\n    \"data\": null\n}"
						}
					]
				}
			]
		},
		{
			"name": "Shift",
			"item": [
				{
					"name": "Assignment",
					"item": [
						{
							"name": "Get",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/shift/assignment?page=1&limit=10",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"assignment"
									],
									"query": [
										{
											"key": "date",
											"value": "2023-09-21",
											"disabled": true
										},
										{
											"key": "page",
											"value": "1"
										},
										{
											"key": "limit",
											"value": "10"
										}
									]
								},
								"description": "Mendapatkan daftar karyawan beserta shift mereka pada tanggal yang diinputkan.\n\nDapat juga mengambil daftar shift yang diambil oleh seorang karyawan dengan menambahkan id di akhir URL  \nContoh: `api/shift/assignment/1?page=1&limit=10`"
							},
							"response": [
								{
									"name": "Get A Staff's Shift History / List",
									"originalRequest": {
										"method": "GET",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											}
										],
										"url": {
											"raw": "{{url}}/api/shift/assignment/1?page=1&limit=2",
											"host": [
												"{{url}}"
											],
											"path": [
												"api",
												"shift",
												"assignment",
												"1"
											],
											"query": [
												{
													"key": "date",
													"value": "2023-09-21",
													"disabled": true
												},
												{
													"key": "page",
													"value": "1"
												},
												{
													"key": "limit",
													"value": "2"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Date",
											"value": "Thu, 21 Sep 2023 08:03:58 GMT"
										},
										{
											"key": "Server",
											"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
										},
										{
											"key": "Vary",
											"value": "Authorization"
										},
										{
											"key": "X-Powered-By",
											"value": "PHP/8.1.6"
										},
										{
											"key": "Cache-Control",
											"value": "no-cache, private"
										},
										{
											"key": "X-RateLimit-Limit",
											"value": "60"
										},
										{
											"key": "X-RateLimit-Remaining",
											"value": "58"
										},
										{
											"key": "Access-Control-Allow-Origin",
											"value": "*"
										},
										{
											"key": "Keep-Alive",
											"value": "timeout=5, max=100"
										},
										{
											"key": "Connection",
											"value": "Keep-Alive"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Mozell Heathcote\",\n        \"nip\": \"694837\",\n        \"shifts\": [\n            {\n                \"id\": 3,\n                \"name\": \"Shift Pagi\",\n                \"clock_in\": \"08:00:00\",\n                \"clock_out\": \"17:00:00\",\n                \"pivot\": {\n                    \"staff_id\": 1,\n                    \"shift_id\": 3,\n                    \"date\": \"2023-09-24\"\n                }\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Shift Pagi\",\n                \"clock_in\": \"08:00:00\",\n                \"clock_out\": \"17:00:00\",\n                \"pivot\": {\n                    \"staff_id\": 1,\n                    \"shift_id\": 3,\n                    \"date\": \"2023-09-23\"\n                }\n            }\n        ]\n    },\n    \"pages\": 2\n}"
								},
								{
									"name": "Get Todays' Shifts",
									"originalRequest": {
										"method": "GET",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											}
										],
										"url": {
											"raw": "{{url}}/api/shift/assignment?page=1&limit=10",
											"host": [
												"{{url}}"
											],
											"path": [
												"api",
												"shift",
												"assignment"
											],
											"query": [
												{
													"key": "date",
													"value": "2023-09-21",
													"disabled": true
												},
												{
													"key": "page",
													"value": "1"
												},
												{
													"key": "limit",
													"value": "10"
												}
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Date",
											"value": "Thu, 21 Sep 2023 08:13:30 GMT"
										},
										{
											"key": "Server",
											"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
										},
										{
											"key": "Vary",
											"value": "Authorization"
										},
										{
											"key": "X-Powered-By",
											"value": "PHP/8.1.6"
										},
										{
											"key": "Cache-Control",
											"value": "no-cache, private"
										},
										{
											"key": "X-RateLimit-Limit",
											"value": "60"
										},
										{
											"key": "X-RateLimit-Remaining",
											"value": "59"
										},
										{
											"key": "Access-Control-Allow-Origin",
											"value": "*"
										},
										{
											"key": "Keep-Alive",
											"value": "timeout=5, max=100"
										},
										{
											"key": "Connection",
											"value": "Keep-Alive"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Mozell Heathcote\",\n            \"nip\": \"694837\",\n            \"shifts\": [\n                {\n                    \"id\": 3,\n                    \"name\": \"Shift Pagi\",\n                    \"clock_in\": \"08:00:00\",\n                    \"clock_out\": \"17:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 1,\n                        \"shift_id\": 3\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Miss Luisa Heidenreich DVM\",\n            \"nip\": \"502181\",\n            \"shifts\": [\n                {\n                    \"id\": 3,\n                    \"name\": \"Shift Pagi\",\n                    \"clock_in\": \"08:00:00\",\n                    \"clock_out\": \"17:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 2,\n                        \"shift_id\": 3\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Valerie Carter\",\n            \"nip\": \"342513\",\n            \"shifts\": []\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Omari Mante\",\n            \"nip\": \"567680\",\n            \"shifts\": [\n                {\n                    \"id\": 3,\n                    \"name\": \"Shift Pagi\",\n                    \"clock_in\": \"08:00:00\",\n                    \"clock_out\": \"17:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 4,\n                        \"shift_id\": 3\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Kali Kris\",\n            \"nip\": \"174333\",\n            \"shifts\": [\n                {\n                    \"id\": 3,\n                    \"name\": \"Shift Pagi\",\n                    \"clock_in\": \"08:00:00\",\n                    \"clock_out\": \"17:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 5,\n                        \"shift_id\": 3\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Lola Mante\",\n            \"nip\": \"522324\",\n            \"shifts\": []\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Miss Celine Zieme\",\n            \"nip\": \"227564\",\n            \"shifts\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"Shift Malam\",\n                    \"clock_in\": \"22:00:00\",\n                    \"clock_out\": \"07:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 7,\n                        \"shift_id\": 2\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Rossie Schmitt\",\n            \"nip\": \"943856\",\n            \"shifts\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"Shift Malam\",\n                    \"clock_in\": \"22:00:00\",\n                    \"clock_out\": \"07:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 8,\n                        \"shift_id\": 2\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Josh Weissnat\",\n            \"nip\": \"798834\",\n            \"shifts\": []\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Dayne Bauch\",\n            \"nip\": \"666599\",\n            \"shifts\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"Shift Malam\",\n                    \"clock_in\": \"22:00:00\",\n                    \"clock_out\": \"07:00:00\",\n                    \"pivot\": {\n                        \"staff_id\": 10,\n                        \"shift_id\": 2\n                    }\n                }\n            ]\n        }\n    ],\n    \"pages\": 5\n}"
								}
							]
						},
						{
							"name": "Assign",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "date",
											"value": "2023-09-21",
											"type": "text"
										},
										{
											"key": "shift_id",
											"value": "3",
											"type": "text"
										},
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/shift/assignment/assign",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"assignment",
										"assign"
									]
								}
							},
							"response": [
								{
									"name": "Success",
									"originalRequest": {
										"method": "POST",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": [
												{
													"key": "date",
													"value": "2023-09-21",
													"type": "text"
												},
												{
													"key": "shift_id",
													"value": "3",
													"type": "text"
												},
												{
													"key": "staff_id",
													"value": "1",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{url}}/api/shift/assignment/assign",
											"host": [
												"{{url}}"
											],
											"path": [
												"api",
												"shift",
												"assignment",
												"assign"
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Date",
											"value": "Thu, 21 Sep 2023 07:42:51 GMT"
										},
										{
											"key": "Server",
											"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
										},
										{
											"key": "Vary",
											"value": "Authorization"
										},
										{
											"key": "X-Powered-By",
											"value": "PHP/8.1.6"
										},
										{
											"key": "Cache-Control",
											"value": "no-cache, private"
										},
										{
											"key": "X-RateLimit-Limit",
											"value": "60"
										},
										{
											"key": "X-RateLimit-Remaining",
											"value": "59"
										},
										{
											"key": "Access-Control-Allow-Origin",
											"value": "*"
										},
										{
											"key": "Keep-Alive",
											"value": "timeout=5, max=100"
										},
										{
											"key": "Connection",
											"value": "Keep-Alive"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n    \"message\": \"Successfully assigned\",\n    \"data\": []\n}"
								},
								{
									"name": "Failed",
									"originalRequest": {
										"method": "POST",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": [
												{
													"key": "date",
													"value": "2023-09-21",
													"type": "text"
												},
												{
													"key": "shift_id",
													"value": "2",
													"type": "text"
												},
												{
													"key": "staff_id",
													"value": "1",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{url}}/api/shift/assignment/assign",
											"host": [
												"{{url}}"
											],
											"path": [
												"api",
												"shift",
												"assignment",
												"assign"
											]
										}
									},
									"status": "Bad Request",
									"code": 400,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Date",
											"value": "Thu, 21 Sep 2023 07:43:08 GMT"
										},
										{
											"key": "Server",
											"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
										},
										{
											"key": "Vary",
											"value": "Authorization"
										},
										{
											"key": "X-Powered-By",
											"value": "PHP/8.1.6"
										},
										{
											"key": "Cache-Control",
											"value": "no-cache, private"
										},
										{
											"key": "X-RateLimit-Limit",
											"value": "60"
										},
										{
											"key": "X-RateLimit-Remaining",
											"value": "58"
										},
										{
											"key": "Access-Control-Allow-Origin",
											"value": "*"
										},
										{
											"key": "Connection",
											"value": "close"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n    \"message\": \"This staff has already been assigned to a shift on this date\"\n}"
								}
							]
						},
						{
							"name": "Delete",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "staff_id",
											"value": "1",
											"type": "text"
										},
										{
											"key": "date",
											"value": "2023-09-24",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/shift/assignment/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"assignment",
										"delete"
									]
								}
							},
							"response": [
								{
									"name": "Success",
									"originalRequest": {
										"method": "DELETE",
										"header": [
											{
												"key": "Accept",
												"value": "application/json",
												"type": "text"
											}
										],
										"body": {
											"mode": "urlencoded",
											"urlencoded": [
												{
													"key": "staff_id",
													"value": "1",
													"type": "text"
												},
												{
													"key": "date",
													"value": "2023-09-24",
													"type": "text"
												}
											]
										},
										"url": {
											"raw": "{{url}}/api/shift/assignment/delete",
											"host": [
												"{{url}}"
											],
											"path": [
												"api",
												"shift",
												"assignment",
												"delete"
											]
										}
									},
									"status": "OK",
									"code": 200,
									"_postman_previewlanguage": "json",
									"header": [
										{
											"key": "Date",
											"value": "Thu, 21 Sep 2023 08:11:44 GMT"
										},
										{
											"key": "Server",
											"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
										},
										{
											"key": "Vary",
											"value": "Authorization"
										},
										{
											"key": "X-Powered-By",
											"value": "PHP/8.1.6"
										},
										{
											"key": "Cache-Control",
											"value": "no-cache, private"
										},
										{
											"key": "X-RateLimit-Limit",
											"value": "60"
										},
										{
											"key": "X-RateLimit-Remaining",
											"value": "59"
										},
										{
											"key": "Access-Control-Allow-Origin",
											"value": "*"
										},
										{
											"key": "Keep-Alive",
											"value": "timeout=5, max=100"
										},
										{
											"key": "Connection",
											"value": "Keep-Alive"
										},
										{
											"key": "Transfer-Encoding",
											"value": "chunked"
										},
										{
											"key": "Content-Type",
											"value": "application/json"
										}
									],
									"cookie": [],
									"body": "{\n    \"message\": \"Data successfully deleted\",\n    \"data\": []\n}"
								}
							]
						}
					]
				},
				{
					"name": "Get",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/shift",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"shift"
							]
						},
						"description": "Mengambil daftar shift\n\nTambahkan id di akhir URL apabila ingin mengambil satu data shift  \nContoh: `api/shift/1`"
					},
					"response": [
						{
							"name": "Get Shifts",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/shift",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:38:56 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Shift Pagi\",\n            \"clock_in\": \"08:00:00\",\n            \"clock_out\": \"17:00:00\",\n            \"default\": 1,\n            \"created_at\": \"2023-09-21T05:33:50.000000Z\",\n            \"updated_at\": \"2023-09-21T05:33:50.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Shift Malam\",\n            \"clock_in\": \"17:00:00\",\n            \"clock_out\": \"08:00:00\",\n            \"default\": 0,\n            \"created_at\": \"2023-09-21T05:37:20.000000Z\",\n            \"updated_at\": \"2023-09-21T05:37:20.000000Z\"\n        }\n    ],\n    \"pages\": 1\n}"
						},
						{
							"name": "Get Specific Shift",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/shift/1",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"1"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:43:44 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Shift Pagi\",\n        \"clock_in\": \"08:00:00\",\n        \"clock_out\": \"17:00:00\",\n        \"default\": 1,\n        \"created_at\": \"2023-09-21T05:33:50.000000Z\",\n        \"updated_at\": \"2023-09-21T05:33:50.000000Z\"\n    }\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/shift/3",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"3"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:47:58 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "56"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						},
						{
							"name": "After Deleting The Default Shift",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/shift",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:54:05 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "57"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"Shift Malam\",\n            \"clock_in\": \"22:00:00\",\n            \"clock_out\": \"07:00:00\",\n            \"default\": 1,\n            \"created_at\": \"2023-09-21T05:37:20.000000Z\",\n            \"updated_at\": \"2023-09-21T05:53:39.000000Z\"\n        }\n    ],\n    \"pages\": 1\n}"
						}
					]
				},
				{
					"name": "Create",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "name",
									"value": "Shift Pagi",
									"type": "text"
								},
								{
									"key": "clock_in",
									"value": "08:00",
									"type": "text"
								},
								{
									"key": "clock_out",
									"value": "17:00",
									"type": "text"
								},
								{
									"key": "default",
									"value": "1",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/shift/create",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"shift",
								"create"
							]
						},
						"description": "Membuat shift baru.\n\nApabila yang diinputkan memiliki field default, maka shift default yang tersimpan di database akan berubah nilainya menjadi `default = false`"
					},
					"response": [
						{
							"name": "Creating Default Shift",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Shift Pagi",
											"type": "text"
										},
										{
											"key": "clock_in",
											"value": "08:00",
											"type": "text"
										},
										{
											"key": "clock_out",
											"value": "17:00",
											"type": "text"
										},
										{
											"key": "default",
											"value": "1",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/shift/create",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"create"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:33:49 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully created\",\n    \"data\": {\n        \"name\": \"Shift Pagi\",\n        \"clock_in\": \"08:00\",\n        \"clock_out\": \"17:00\",\n        \"default\": true,\n        \"updated_at\": \"2023-09-21T05:33:50.000000Z\",\n        \"created_at\": \"2023-09-21T05:33:50.000000Z\",\n        \"id\": 1\n    }\n}"
						},
						{
							"name": "Creating Not Default Shift",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Shift Malam",
											"type": "text"
										},
										{
											"key": "clock_in",
											"value": "17:00",
											"type": "text"
										},
										{
											"key": "clock_out",
											"value": "08:00",
											"type": "text"
										},
										{
											"key": "default",
											"value": "1",
											"type": "text",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/shift/create",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"create"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:37:19 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully created\",\n    \"data\": {\n        \"name\": \"Shift Malam\",\n        \"clock_in\": \"17:00\",\n        \"clock_out\": \"08:00\",\n        \"default\": false,\n        \"updated_at\": \"2023-09-21T05:37:20.000000Z\",\n        \"created_at\": \"2023-09-21T05:37:20.000000Z\",\n        \"id\": 2\n    }\n}"
						}
					]
				},
				{
					"name": "Update",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "name",
									"value": "Shift Malam",
									"type": "text"
								},
								{
									"key": "clock_in",
									"value": "22:00",
									"type": "text"
								},
								{
									"key": "clock_out",
									"value": "07:00",
									"type": "text"
								},
								{
									"key": "default",
									"value": "1",
									"type": "text",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/shift/{id}/update",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"shift",
								"{id}",
								"update"
							]
						},
						"description": "Mengubah data shift.\n\nUbah segment `{id}` di url dengan id data yang ingin diubah.  \nContoh: `/api/shift/3/update`"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "PUT",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Shift Malam",
											"type": "text"
										},
										{
											"key": "clock_in",
											"value": "22:00",
											"type": "text"
										},
										{
											"key": "clock_out",
											"value": "07:00",
											"type": "text"
										},
										{
											"key": "default",
											"value": "1",
											"type": "text",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/shift/2/update",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"2",
										"update"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:47:19 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully updated\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Shift Malam\",\n        \"clock_in\": \"22:00\",\n        \"clock_out\": \"07:00\",\n        \"default\": false,\n        \"created_at\": \"2023-09-21T05:37:20.000000Z\",\n        \"updated_at\": \"2023-09-21T05:47:20.000000Z\"\n    }\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "PUT",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Shift Malam",
											"type": "text"
										},
										{
											"key": "clock_in",
											"value": "22:00",
											"type": "text"
										},
										{
											"key": "clock_out",
											"value": "07:00",
											"type": "text"
										},
										{
											"key": "default",
											"value": "1",
											"type": "text",
											"disabled": true
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/shift/3/update",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"3",
										"update"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:47:36 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "57"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				},
				{
					"name": "Delete",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{url}}/api/shift/{id}/delete",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"shift",
								"{id}",
								"delete"
							]
						},
						"description": "Menghapus data shift\n\nUbah segment `{id}` di URL menjadi id shift yang ingin dihapus.  \nContoh: `api/shift/1/delete`\n\nApabila shift yang dihapus adalah shift default, maka shift selanjutnya akan otomatis menjadi default."
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "DELETE",
								"header": [],
								"url": {
									"raw": "{{url}}/api/shift/1/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"1",
										"delete"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:53:38 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully deleted\",\n    \"data\": []\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "DELETE",
								"header": [],
								"url": {
									"raw": "{{url}}/api/shift/1/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"shift",
										"1",
										"delete"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:53:51 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				}
			]
		},
		{
			"name": "Staff",
			"item": [
				{
					"name": "Get",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/staff/",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"staff",
								""
							],
							"query": [
								{
									"key": "page",
									"value": "2",
									"disabled": true
								},
								{
									"key": "limit",
									"value": "10",
									"disabled": true
								}
							]
						},
						"description": "Digunakan untuk mengambil data karyawan."
					},
					"response": [
						{
							"name": "Get Staffs Without Any Settings",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/staff",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 04:53:42 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Mozell Heathcote\",\n            \"nip\": \"694837\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:40.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:40.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Miss Luisa Heidenreich DVM\",\n            \"nip\": \"502181\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:40.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:40.000000Z\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Valerie Carter\",\n            \"nip\": \"342513\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:40.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:40.000000Z\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Omari Mante\",\n            \"nip\": \"567680\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Kali Kris\",\n            \"nip\": \"174333\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Lola Mante\",\n            \"nip\": \"522324\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Miss Celine Zieme\",\n            \"nip\": \"227564\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Rossie Schmitt\",\n            \"nip\": \"943856\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Josh Weissnat\",\n            \"nip\": \"798834\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Dayne Bauch\",\n            \"nip\": \"666599\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"Tracey Dickens\",\n            \"nip\": \"773315\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Emelia Jacobs\",\n            \"nip\": \"526994\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Ruthie Leffler\",\n            \"nip\": \"945330\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Melba Blick\",\n            \"nip\": \"416096\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 15,\n            \"name\": \"Kennith Johnson\",\n            \"nip\": \"306657\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 16,\n            \"name\": \"Jaden Miller MD\",\n            \"nip\": \"886598\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 17,\n            \"name\": \"Addie Emard\",\n            \"nip\": \"501699\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 18,\n            \"name\": \"Stanford Lakin V\",\n            \"nip\": \"483062\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 19,\n            \"name\": \"Kaitlin Fritsch I\",\n            \"nip\": \"373888\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 20,\n            \"name\": \"Kelly Upton\",\n            \"nip\": \"597374\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 21,\n            \"name\": \"Shawn Wiegand\",\n            \"nip\": \"954146\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 22,\n            \"name\": \"Adella Dicki\",\n            \"nip\": \"785554\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 23,\n            \"name\": \"Virgie Weimann\",\n            \"nip\": \"549918\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 24,\n            \"name\": \"Dr. Jonatan Legros\",\n            \"nip\": \"866968\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        }\n    ],\n    \"pages\": 3\n}"
						},
						{
							"name": "Get 10 Staffs on the second page",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/staff?page=2&limit=10",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff"
									],
									"query": [
										{
											"key": "page",
											"value": "2"
										},
										{
											"key": "limit",
											"value": "10"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 04:55:30 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": [\n        {\n            \"id\": 11,\n            \"name\": \"Tracey Dickens\",\n            \"nip\": \"773315\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"Emelia Jacobs\",\n            \"nip\": \"526994\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 13,\n            \"name\": \"Ruthie Leffler\",\n            \"nip\": \"945330\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n        },\n        {\n            \"id\": 14,\n            \"name\": \"Melba Blick\",\n            \"nip\": \"416096\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 15,\n            \"name\": \"Kennith Johnson\",\n            \"nip\": \"306657\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 16,\n            \"name\": \"Jaden Miller MD\",\n            \"nip\": \"886598\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 17,\n            \"name\": \"Addie Emard\",\n            \"nip\": \"501699\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 18,\n            \"name\": \"Stanford Lakin V\",\n            \"nip\": \"483062\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 19,\n            \"name\": \"Kaitlin Fritsch I\",\n            \"nip\": \"373888\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        },\n        {\n            \"id\": 20,\n            \"name\": \"Kelly Upton\",\n            \"nip\": \"597374\",\n            \"leave_quota\": 5,\n            \"created_at\": \"2023-09-21T04:47:42.000000Z\",\n            \"updated_at\": \"2023-09-21T04:47:42.000000Z\"\n        }\n    ],\n    \"pages\": 5\n}"
						},
						{
							"name": "Get Specific Staff",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/staff/12",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"12"
									],
									"query": [
										{
											"key": "page",
											"value": "2",
											"disabled": true
										},
										{
											"key": "limit",
											"value": "10",
											"disabled": true
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 04:56:09 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully fetched\",\n    \"data\": {\n        \"id\": 12,\n        \"name\": \"Emelia Jacobs\",\n        \"nip\": \"526994\",\n        \"leave_quota\": 5,\n        \"created_at\": \"2023-09-21T04:47:41.000000Z\",\n        \"updated_at\": \"2023-09-21T04:47:41.000000Z\"\n    }\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/staff/51",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"51"
									],
									"query": [
										{
											"key": "page",
											"value": "2",
											"disabled": true
										},
										{
											"key": "limit",
											"value": "10",
											"disabled": true
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:19:33 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				},
				{
					"name": "Create",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "Saya",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/staff/create",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"staff",
								"create"
							]
						},
						"description": "Digunakan untuk menambahkan entry karyawan baru"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "name",
											"value": "Saya",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/staff/create",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"create"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:00:17 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully created\",\n    \"data\": {\n        \"name\": \"Saya\",\n        \"nip\": \"050020\",\n        \"updated_at\": \"2023-09-21T05:00:20.000000Z\",\n        \"created_at\": \"2023-09-21T05:00:20.000000Z\",\n        \"id\": 51\n    }\n}"
						},
						{
							"name": "Wrong Field Name",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "nama",
											"value": "Saya",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/staff/create",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"create"
									]
								}
							},
							"status": "Unprocessable Content",
							"code": 422,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:00:37 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"The name field is required.\",\n    \"errors\": {\n        \"name\": [\n            \"The name field is required.\"\n        ]\n    }\n}"
						}
					]
				},
				{
					"name": "Update",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "name",
									"value": "Kita",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{url}}/api/staff/{id}/update",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"staff",
								"{id}",
								"update"
							]
						},
						"description": "Digunakan untuk mengubah entry karyawan\n\nUbah segment {id} di url menjadi id karyawan yang hendak diubah"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "PUT",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Kita",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/staff/51/update",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"51",
										"update"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:02:45 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully updated\",\n    \"data\": {\n        \"id\": 51,\n        \"name\": \"Kita\",\n        \"nip\": \"050020\",\n        \"leave_quota\": 5,\n        \"created_at\": \"2023-09-21T05:00:20.000000Z\",\n        \"updated_at\": \"2023-09-21T05:02:45.000000Z\"\n    }\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "PUT",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": [
										{
											"key": "name",
											"value": "Kita",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{url}}/api/staff/52/update",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"52",
										"update"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:20:14 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				},
				{
					"name": "Delete",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{url}}/api/staff/{id}/delete",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"staff",
								"{id}",
								"delete"
							]
						},
						"description": "Menghapus entry karyawan.\n\nUbah segment {id} di url menjadi id karyawan yang hendak dihapus."
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "DELETE",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/staff/51/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"51",
										"delete"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:05:35 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "58"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Data successfully deleted\",\n    \"data\": []\n}"
						},
						{
							"name": "Not Found",
							"originalRequest": {
								"method": "DELETE",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{url}}/api/staff/51/delete",
									"host": [
										"{{url}}"
									],
									"path": [
										"api",
										"staff",
										"51",
										"delete"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Sep 2023 05:20:58 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"
								},
								{
									"key": "Vary",
									"value": "Authorization"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.1.6"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "60"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "59"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Could not find the data\"\n}"
						}
					]
				}
			]
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{bearer_token}}",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "url",
			"value": "http://localhost:82",
			"type": "string"
		},
		{
			"key": "client_secret",
			"value": "tWZN6Q5LZHh3klHPqyHQQGu59u2LpsnZ8RkWhv3l",
			"type": "string"
		},
		{
			"key": "client_id",
			"value": "9a2d4b00-33b9-4c49-beb0-897385256b26",
			"type": "string"
		},
		{
			"key": "bearer_token",
			"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5YTJkNGIwMC0zM2I5LTRjNDktYmViMC04OTczODUyNTZiMjYiLCJqdGkiOiJlMmRjNjI1NTBhODE3NzFlMjMzZmVlMTM0MThhMDdlNDliNGI0ZGE1Mjg4MWM5OTEwOWJjMzE5NjliMTAzODdmYzZiZDA5YjU3YTFmOWQ0NSIsImlhdCI6MTY5NTE5ODY5OS4yOTYwNjEsIm5iZiI6MTY5NTE5ODY5OS4yOTYwNjcsImV4cCI6MTcyNjgyMTA5OC4zNjQxODksInN1YiI6IjEiLCJzY29wZXMiOltdfQ.qWBjeDni6ICyetbjPmJYd_9FEDw2jIFas1cHPENg6oKcsMHRrd7KwPRsyllYZ2L36sqSXQTVJRe-HK4uKcfhazsnXiwzmZX31bt92rlPcQMFufDlQcP4tBh3j95bV0wsGFwiPkeb2y0D8sfdzAw4SORELlPTipVFR-eLbhsaY-1eS0thiV0gJiLXQGz8fGQLs5BxkSw6k0rSfY7WrReFY47IVZCPd_DVuiI9J6vL-T23f1aSPs4-CJHQOLE6z3-awg9BtGQO13twMmTJc8JVjaNJBooWjJLxiO9eeKFu3lIXlw3HLH6cqVSos4ZsAWORT8jFIxwLAFvSMYVE1FNCwj_7d-QMtYU-rg-sOtxxNvr_oXo0obrll7TojL0Ofc2Q79sEQFdpiQU7VabrJjw58rpTi6SLYZfyH8rmIithDjsm4qanSCauasrbelEEvh_JTzo5SbwyC4uN8b70_e0NMf8JjTC1ZtC-7zn4hxRJVtAWc6zVFnsuS9rmZW-veNVPn9VaEE465R55CDfIm9_JSzi84-zXbtjIBaga3URhBGMqK8Ho_2Zyz21BBe3Ja9FKkY48Ud5lkV-Sy05D3rYFMH_Z_jUqJ6AVgRbPdK2598fkmbMnV5r8U7h1cCm9ZtA4OYloM6bcs756hgLzjjwkOJurbGcyAhBqykwRIWh32XE",
			"type": "string"
		}
	]
}