{"info":{"_postman_id":"c43f89ae-a69d-4fca-9208-33ad3b90c73d","name":"Final Project","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"28996754","collectionId":"c43f89ae-a69d-4fca-9208-33ad3b90c73d","publishedId":"2s9YkjAPGE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-12T17:26:38.000Z"},"item":[{"name":"auth","item":[{"name":"Register","event":[{"listen":"test","script":{"id":"747d2217-2d10-49e6-a556-44974ab4871d","exec":[""],"type":"text/javascript"}}],"id":"bfcd7f82-a7c5-4f10-bf50-5a4fda80de77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar5\",\r\n    \"email\": \"m.istighfaramal@gmail.com\",\r\n    \"password\" : \"123456\",\r\n    \"name\": \"John Doez\",\r\n    \"role\" : \"user\",\r\n    \"phone\": \"+6283188008093\",\r\n    \"provinceId\": \"11\",\r\n    \"additionalInfo\": \"Some additional info\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/register","urlObject":{"protocol":"http","port":"3000","path":["auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"caf8fdea-a817-4cf5-98b1-63d5c779b2f4","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar10zz\",\r\n    \"email\": \"istighfar.amalzz@gmail.com\",\r\n    \"password\" : \"123456\",\r\n    \"name\": \"John Doez\",\r\n    \"role\" : \"user\",\r\n    \"phone\": \"+626270663673\",\r\n    \"provinceId\": \"11\",\r\n    \"additionalInfo\": \"Some additional info\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"123"},{"key":"ETag","value":"W/\"7b-oW24tKsA6PBYAs40X35F9cjRc5U\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:10:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User successfully registered\",\n    \"data\": {\n        \"userId\": 28,\n        \"username\": \"tifar10zz\",\n        \"email\": \"istighfar.amalzz@gmail.com\"\n    }\n}"},{"id":"ce903741-f776-4408-95ae-75b8734306e9","name":"Username exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar\",\r\n    \"email\": \"istighfar.amal@gmail.com\",\r\n    \"password\" : \"123456\",\r\n    \"name\": \"John Doez\",\r\n    \"role\" : \"user\",\r\n    \"phone\": \"+626270663673\",\r\n    \"provinceId\": \"11\",\r\n    \"additionalInfo\": \"Some additional info\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"ETag","value":"W/\"23-T8MAkPyiwfq0p1FbgOLvpuzEOlQ\""},{"key":"Date","value":"Tue, 12 Dec 2023 08:59:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Username already exists\"\n}"},{"id":"23a6f738-bb38-47a4-8377-051330e8dc42","name":"Email exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar11\",\r\n    \"email\": \"istighfar.amal@gmail.com\",\r\n    \"password\" : \"123456\",\r\n    \"name\": \"John Doez\",\r\n    \"role\" : \"user\",\r\n    \"phone\": \"+626270663673\",\r\n    \"provinceId\": \"11\",\r\n    \"additionalInfo\": \"Some additional info\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"32"},{"key":"ETag","value":"W/\"20-N0CbDIzmlWyrjCtE3NXOzGCeBnY\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:09:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Email already exists\"\n}"}],"_postman_id":"bfcd7f82-a7c5-4f10-bf50-5a4fda80de77"},{"name":"Verify Email","id":"76d3efc2-0908-4938-bbb9-75f13de55021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/verify-email/69bc0813910b456844063cbc45c5e941ce6e23545a8cefec752e31ae4f42675d","urlObject":{"protocol":"http","port":"3000","path":["auth","verify-email","69bc0813910b456844063cbc45c5e941ce6e23545a8cefec752e31ae4f42675d"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6b9e6bcf-da65-4150-9510-7dbf16ceaefe","name":"success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/verify-email/c21b9b4c15812405ae3bbc2fb6a90aa72dd649c67c35bd9dcd72a26debb61d68"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-5/B0V+pPwuQJCtoG8as8Z/TI5yQ\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:13:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email verified successfully!\"\n}"},{"id":"67e05007-0332-4576-a9c8-55468713b760","name":"invalid token","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/verify-email/484055d7a811104ae86ffd11f4a45634cdaf0a948b0d7a795de74c87766c65e7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"39"},{"key":"ETag","value":"W/\"27-IAzVzfcYfHpWSwx0nB1RUwTSuQ0\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:12:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid verification token.\"\n}"}],"_postman_id":"76d3efc2-0908-4938-bbb9-75f13de55021"},{"name":"Login","event":[{"listen":"test","script":{"id":"9fe230b2-af62-4e6f-b8e3-ac0259bff166","exec":[""],"type":"text/javascript"}}],"id":"c80093ea-46ab-4549-a6f6-6b0ffd081eef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"Lukas_Fisher68_9_1702786587475\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login","urlObject":{"protocol":"http","port":"3000","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"50efb416-a15c-4e23-8fa6-03a6701c1193","name":"login success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"fitri\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"X-RateLimit-Limit","value":"5"},{"key":"X-RateLimit-Remaining","value":"4"},{"key":"Date","value":"Tue, 12 Dec 2023 09:15:38 GMT"},{"key":"X-RateLimit-Reset","value":"1702373439"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"513"},{"key":"ETag","value":"W/\"201-ZXSk9SpftbbtBfGfjsQlD7MSqSU\""},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Login successful\",\n    \"data\": {\n        \"userId\": 21,\n        \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImZpdHJpIiwiaWQiOjIxLCJyb2xlIjoidXNlciIsImlhdCI6MTcwMjM3MjUzOCwiZXhwIjoxNzAyMzc4NTM4fQ.qmMe3tJ58mz_u71pGcVR_MzFQkJkuq7E3JkthF7sPZM\",\n        \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImZpdHJpIiwiaWQiOjIxLCJyb2xlIjoidXNlciIsImlhdCI6MTcwMjM3MjUzOCwiZXhwIjoxNzAyOTc3MzM4fQ.X-Bqb9y7gED_oLV34x9VKSxv6igqa3Sr65HHU2EnkYw\",\n        \"accessTokenExp\": \"100m\",\n        \"refreshTokenExp\": \"7d\",\n        \"role\": \"user\"\n    }\n}"},{"id":"4cfe4f2e-c424-4afc-8c28-4cd1909fe8a7","name":"User doesnt exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar231\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"X-RateLimit-Limit","value":"5"},{"key":"X-RateLimit-Remaining","value":"4"},{"key":"Date","value":"Tue, 12 Dec 2023 09:13:28 GMT"},{"key":"X-RateLimit-Reset","value":"1702373309"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"ETag","value":"W/\"1f-Eu7acQ2UOG+Ax3bOeoQ6j2I+PFE\""},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"User does not exist\"\n}"},{"id":"d88240dc-e34f-4453-a9f0-9d0d4d552561","name":"email not verif","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar10\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"X-RateLimit-Limit","value":"5"},{"key":"X-RateLimit-Remaining","value":"4"},{"key":"Date","value":"Tue, 12 Dec 2023 09:14:15 GMT"},{"key":"X-RateLimit-Reset","value":"1702373356"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"63"},{"key":"ETag","value":"W/\"3f-Mh/TAB0N3+o1MjLMAT0u4pz98H0\""},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Email not verified. Please verify your email first.\"\n}"},{"id":"c0b5875a-05b8-42cd-ace5-f96fca9dd109","name":"PW salah","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar\",\r\n    \"password\": \"123456z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"X-RateLimit-Limit","value":"5"},{"key":"X-RateLimit-Remaining","value":"4"},{"key":"Date","value":"Tue, 12 Dec 2023 09:14:34 GMT"},{"key":"X-RateLimit-Reset","value":"1702373375"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-GMNX24QnbzLWLhhqgHOAIhK5QOc\""},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Password is incorrect\"\n}"},{"id":"aa871bbb-4847-48a7-9535-859fe2d47745","name":"Login limit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"tifar\",\r\n    \"password\": \"123456z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/login"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"X-RateLimit-Limit","value":"5"},{"key":"X-RateLimit-Remaining","value":"0"},{"key":"Date","value":"Tue, 12 Dec 2023 09:15:05 GMT"},{"key":"X-RateLimit-Reset","value":"1702373375"},{"key":"Retry-After","value":"869"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"ETag","value":"W/\"4e-X1Lh7aG5rpLNpvWIO8mSnHL6M1k\""},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Too many failed login attempts, please try again after 15 minutes.\"\n}"}],"_postman_id":"c80093ea-46ab-4549-a6f6-6b0ffd081eef"},{"name":"Request Reset Password","id":"dbe1925e-584b-4d79-933b-8c7e470099de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"fadilahsuryzza67@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/request-password-reset","urlObject":{"protocol":"http","port":"3000","path":["auth","request-password-reset"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d597c99d-6eee-411f-9879-901b9739eda4","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"fadilahsurya67@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/request-password-reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-vxo/+exyEOxX06DmSm6LE3SPIbI\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:17:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password reset email sent.\"\n}"},{"id":"49b236b9-b856-491b-8555-80dba405c154","name":"invalid email format","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"fadilahsurya67\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/request-password-reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"32"},{"key":"ETag","value":"W/\"20-ZXxU9PuyF+UpUGdndifSZ6AtgHo\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:16:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid email format\"\n}"},{"id":"d1a9f22b-933a-4a63-86ed-99a24a6382f4","name":"no account","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"fadilahsurya67212@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/request-password-reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-haI6cW7QaiJjo3k6OrHkV4hidvU\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:16:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No account with that email address exists.\"\n}"}],"_postman_id":"dbe1925e-584b-4d79-933b-8c7e470099de"},{"name":"Create New Password","id":"26d9c5a2-97e1-4096-a294-4fd72ed68aea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"newPassword\" : \"1234567\",\r\n    \"confirmPassword\" :\"1234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/reset-password/bfd04668721c3eb922e9dd54b6c2839e170c55a4","urlObject":{"protocol":"http","port":"3000","path":["auth","reset-password","bfd04668721c3eb922e9dd54b6c2839e170c55a4"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"257fccb9-81e6-4ae8-9e09-498a9f7fd542","name":"token invalid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"newPassword\" : \"1234567$24124\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/reset-password/9473d5e0e8ffb820aedc65804be1e4b335bbc311"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"ETag","value":"W/\"3b-XZnSBa0ixStMkEn+d/SDwd5cyCQ\""},{"key":"Date","value":"Tue, 12 Dec 2023 09:18:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Password reset token is invalid or has expired.\"\n}"},{"id":"121fa753-3ed6-492c-a802-4515f334639d","name":"sucess","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"newPassword\" : \"1234567\",\r\n    \"confirmPassword\" :\"1234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/auth/reset-password/b44b93991701e025703f6afbd27933ff3c73eb01"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-pLlnP56nRWUBxxy7Le6j2JDs0Ts\""},{"key":"Date","value":"Fri, 15 Dec 2023 12:11:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password successfully reset.\"\n}"}],"_postman_id":"26d9c5a2-97e1-4096-a294-4fd72ed68aea"}],"id":"183aafd6-86e9-4eb5-87d4-c32b917552b1","_postman_id":"183aafd6-86e9-4eb5-87d4-c32b917552b1","description":""},{"name":"emergency","item":[{"name":"create","id":"092ee64d-b443-4d06-86b7-bc84d4554afe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bloodType\": \"A+\",\n  \"additionalInfo\": \"Urgent need for blood donation\",\n  \"location\" : \"ACEH\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/request","urlObject":{"protocol":"http","port":"3000","path":["emergency","request"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2a3c697b-9a23-476a-b4fc-ba255200c850","name":"succes with default location","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"additionalInfo\": \"Urgent need for blood due to surgery\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/request"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"ETag","value":"W/\"148-utUSKqYkaw50qIBmCTFIkf/zu5E\""},{"key":"Date","value":"Tue, 12 Dec 2023 13:09:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency blood request created successfully\",\n    \"data\": {\n        \"RequestID\": 10,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"RequestDate\": \"2023-12-12T13:09:50.676Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"pending\",\n        \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n        \"CreatedAt\": \"2023-12-12T13:09:50.677Z\",\n        \"UpdatedAt\": \"2023-12-12T13:09:50.677Z\"\n    }\n}"},{"id":"e2d9f335-f329-42f3-80d4-00abce45fa70","name":"success with location choose","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bloodType\": \"AB+\",\n  \"location\": \"DKI JAKARTA\",\n  \"additionalInfo\": \"Urgent need for blood donation\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/request"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"326"},{"key":"ETag","value":"W/\"146-9JcJZKl4JxLbTJ/8WHv+ri6gWe0\""},{"key":"Date","value":"Wed, 13 Dec 2023 08:26:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency blood request created successfully\",\n    \"data\": {\n        \"RequestID\": 20,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"RequestDate\": \"2023-12-13T08:26:47.437Z\",\n        \"Location\": \"SUMATERA UTARA\",\n        \"Status\": \"pending\",\n        \"AdditionalInfo\": \"Urgent need for blood donation\",\n        \"CreatedAt\": \"2023-12-13T08:26:47.438Z\",\n        \"UpdatedAt\": \"2023-12-13T08:26:47.438Z\"\n    }\n}"}],"_postman_id":"092ee64d-b443-4d06-86b7-bc84d4554afe"},{"name":"get all","id":"8c9c0c34-bebd-4879-8336-b7e277557ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/emergency","urlObject":{"protocol":"http","port":"3000","path":["emergency"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c4229e41-2f76-4f07-a942-7885e0b1c8a2","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/emergency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3460"},{"key":"ETag","value":"W/\"d84-ggdbvlIIMsQltGyO74Zqm01B5DU\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:58:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency requests fetched successfully\",\n    \"data\": {\n        \"totalRequests\": 7,\n        \"emergencyRequests\": [\n            {\n                \"RequestID\": 2,\n                \"UserID\": 20,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-07T16:12:31.961Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-07T16:12:31.963Z\",\n                \"UpdatedAt\": \"2023-12-07T16:12:31.963Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 3,\n                \"UserID\": 20,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-07T16:13:21.304Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-07T16:13:21.305Z\",\n                \"UpdatedAt\": \"2023-12-07T16:13:21.305Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 4,\n                \"UserID\": 21,\n                \"BloodTypeID\": 2,\n                \"RequestDate\": \"2023-12-09T11:40:09.578Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Updated information about the request\",\n                \"CreatedAt\": \"2023-12-09T11:40:09.580Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:43.149Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 2,\n                    \"Type\": \"A-\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 5,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-12T07:44:48.213Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-12T07:44:48.214Z\",\n                \"UpdatedAt\": \"2023-12-12T07:44:48.214Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 6,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-12T08:07:42.663Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-12T08:07:42.666Z\",\n                \"UpdatedAt\": \"2023-12-12T08:07:42.666Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 7,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-12T08:47:42.484Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-12T08:47:42.486Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:42.486Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 8,\n                \"UserID\": 19,\n                \"BloodTypeID\": 2,\n                \"RequestDate\": \"2023-12-12T12:54:41.754Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Updated information about the request\",\n                \"CreatedAt\": \"2023-12-12T12:54:41.756Z\",\n                \"UpdatedAt\": \"2023-12-12T12:58:10.684Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 2,\n                    \"Type\": \"A-\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 1\n    }\n}"}],"_postman_id":"8c9c0c34-bebd-4879-8336-b7e277557ecd"},{"name":"get total","id":"38775eb3-f4a1-4ba7-b1ee-f83ace52a9d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/emergency/get/total","urlObject":{"protocol":"http","port":"3000","path":["emergency","get","total"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cdc37e7f-9abf-4e61-8636-3cf6f2358ea9","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/emergency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3460"},{"key":"ETag","value":"W/\"d84-ggdbvlIIMsQltGyO74Zqm01B5DU\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:58:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency requests fetched successfully\",\n    \"data\": {\n        \"totalRequests\": 7,\n        \"emergencyRequests\": [\n            {\n                \"RequestID\": 2,\n                \"UserID\": 20,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-07T16:12:31.961Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-07T16:12:31.963Z\",\n                \"UpdatedAt\": \"2023-12-07T16:12:31.963Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 3,\n                \"UserID\": 20,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-07T16:13:21.304Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-07T16:13:21.305Z\",\n                \"UpdatedAt\": \"2023-12-07T16:13:21.305Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 4,\n                \"UserID\": 21,\n                \"BloodTypeID\": 2,\n                \"RequestDate\": \"2023-12-09T11:40:09.578Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Updated information about the request\",\n                \"CreatedAt\": \"2023-12-09T11:40:09.580Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:43.149Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 2,\n                    \"Type\": \"A-\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 5,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-12T07:44:48.213Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-12T07:44:48.214Z\",\n                \"UpdatedAt\": \"2023-12-12T07:44:48.214Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 6,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-12T08:07:42.663Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-12T08:07:42.666Z\",\n                \"UpdatedAt\": \"2023-12-12T08:07:42.666Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 7,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"RequestDate\": \"2023-12-12T08:47:42.484Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n                \"CreatedAt\": \"2023-12-12T08:47:42.486Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:42.486Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            },\n            {\n                \"RequestID\": 8,\n                \"UserID\": 19,\n                \"BloodTypeID\": 2,\n                \"RequestDate\": \"2023-12-12T12:54:41.754Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"pending\",\n                \"AdditionalInfo\": \"Updated information about the request\",\n                \"CreatedAt\": \"2023-12-12T12:54:41.756Z\",\n                \"UpdatedAt\": \"2023-12-12T12:58:10.684Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 2,\n                    \"Type\": \"A-\"\n                },\n                \"User\": {\n                    \"Name\": \"John Doe\",\n                    \"Province\": {\n                        \"ProvinceID\": 11,\n                        \"Name\": \"ACEH\",\n                        \"Capital\": \"Banda Aceh\",\n                        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                    }\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 1\n    }\n}"}],"_postman_id":"38775eb3-f4a1-4ba7-b1ee-f83ace52a9d8"},{"name":"get all with query","id":"f70fbe3e-b9a5-4aea-a8b0-3106c8c87caf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency?page=1&limit=10","urlObject":{"protocol":"http","port":"3000","path":["emergency"],"host":["localhost"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"disabled":true,"key":"requestDate","value":"2023-06-15"},{"disabled":true,"key":"location","value":"Central+Hospital"},{"disabled":true,"key":"status","value":"pending"},{"disabled":true,"key":"searchBy","value":"location"},{"disabled":true,"key":"query","value":"Central\n"},{"disabled":true,"key":"query","value":"Central+Hospital"},{"disabled":true,"key":"orderBy","value":"RequestDate:desc"},{"disabled":true,"key":"bloodType","value":"A%2B"}],"variable":[]}},"response":[{"id":"7cf120e7-8954-400a-a87d-5ca24f9a5e34","name":"sucess","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:3000/emergency?page=1&limit=10&bloodType=1&startDate=2023-01-01&endDate=2023-12-31&provinceId=12&sortBy=RequestDate&sortOrder=asc&status=inProgress","protocol":"http","host":["localhost"],"port":"3000","path":["emergency"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"bloodType","value":"1"},{"key":"startDate","value":"2023-01-01"},{"key":"endDate","value":"2023-12-31"},{"key":"provinceId","value":"12"},{"key":"sortBy","value":"RequestDate"},{"key":"sortOrder","value":"asc"},{"key":"status","value":"inProgress"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"134"},{"key":"ETag","value":"W/\"86-TXHbwMQtcrUfmw5dK+71UcQFC2I\""},{"key":"Date","value":"Tue, 12 Dec 2023 13:08:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency requests fetched successfully\",\n    \"data\": {\n        \"totalRequests\": 0,\n        \"emergencyRequests\": [],\n        \"currentPage\": 1,\n        \"totalPages\": 0\n    }\n}"}],"_postman_id":"f70fbe3e-b9a5-4aea-a8b0-3106c8c87caf"},{"name":"get by id","id":"8eab9423-e411-4d8c-b749-9425d2dc0156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/8","urlObject":{"protocol":"http","port":"3000","path":["emergency","8"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d3ae1115-5873-47dd-9e2f-33a3b773ca25","name":"sucess","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"558"},{"key":"ETag","value":"W/\"22e-JJurj1BaT6Qmlxdbh90zpvN4pG4\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:58:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency request fetched successfully\",\n    \"data\": {\n        \"RequestID\": 8,\n        \"UserID\": 19,\n        \"BloodTypeID\": 2,\n        \"RequestDate\": \"2023-12-12T12:54:41.754Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"pending\",\n        \"AdditionalInfo\": \"Updated information about the request\",\n        \"CreatedAt\": \"2023-12-12T12:54:41.756Z\",\n        \"UpdatedAt\": \"2023-12-12T12:58:10.684Z\",\n        \"BloodType\": {\n            \"BloodTypeID\": 2,\n            \"Type\": \"A-\"\n        },\n        \"User\": {\n            \"UserID\": 19,\n            \"ProvinceID\": 11,\n            \"Name\": \"John Doe\",\n            \"Phone\": \"1234567890\",\n            \"AdditionalInfo\": \"Some additional info\",\n            \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n            \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n        }\n    }\n}"}],"_postman_id":"8eab9423-e411-4d8c-b749-9425d2dc0156"},{"name":"update all","id":"cb9b640c-0bf7-4f4b-bacf-75938110aa72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"additionalInfo\": \"Updated information about the request\",\n  \"bloodType\" : \"AB+\",\n  \"location\" : \"DKI JAKARTA\",\n  \"status\" : \"pending\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/96","urlObject":{"protocol":"http","port":"3000","path":["emergency","96"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b46326a2-004c-4f55-a20a-d89681b86cf3","name":"succes with chosoe locatiom","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"additionalInfo\": \"Updated information about the request\",\n  \"bloodType\" : \"A+\",\n  \"location\" : \"SUMATERA UTARA\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/8"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"326"},{"key":"ETag","value":"W/\"146-9T4Zc1ROMyqPeK1GaWekogTCz7Q\""},{"key":"Date","value":"Wed, 13 Dec 2023 08:36:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency request updated successfully\",\n    \"data\": {\n        \"RequestID\": 8,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"RequestDate\": \"2023-12-12T12:54:41.754Z\",\n        \"Location\": \"SUMATERA UTARA\",\n        \"Status\": \"pending\",\n        \"AdditionalInfo\": \"Updated information about the request\",\n        \"CreatedAt\": \"2023-12-12T12:54:41.756Z\",\n        \"UpdatedAt\": \"2023-12-13T08:36:09.368Z\"\n    }\n}"}],"_postman_id":"cb9b640c-0bf7-4f4b-bacf-75938110aa72"},{"name":"update status","id":"a80b7e34-0fab-4102-a12d-8a36797a2799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"inProgress\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/3/status","urlObject":{"protocol":"http","port":"3000","path":["emergency","3","status"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dda16200-a5a0-46d3-b480-4905982a7c4b","name":"success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"inProgress\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/9/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"331"},{"key":"ETag","value":"W/\"14b-J9h0F9CaOVGoSjrickFwdcjez6s\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:56:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency request status updated successfully\",\n    \"data\": {\n        \"RequestID\": 9,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"RequestDate\": \"2023-12-12T12:56:41.033Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"inProgress\",\n        \"AdditionalInfo\": \"Urgent need for blood due to surgery\",\n        \"CreatedAt\": \"2023-12-12T12:56:41.034Z\",\n        \"UpdatedAt\": \"2023-12-12T12:56:47.751Z\"\n    }\n}"}],"_postman_id":"a80b7e34-0fab-4102-a12d-8a36797a2799"},{"name":"delete","id":"ac6273d8-6610-4f05-8c42-f1df63edca5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"inProgress\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/10","urlObject":{"protocol":"http","port":"3000","path":["emergency","10"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"41a303b8-13e6-4299-b5ca-a46493d41be9","name":"sucess","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"inProgress\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/emergency/9"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-DA/JQjZJU45SC3sKlzKWUdVTXeU\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:57:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emergency request deleted successfully\"\n}"}],"_postman_id":"ac6273d8-6610-4f05-8c42-f1df63edca5b"}],"id":"007884d0-5b9e-412e-916a-3c0831860d75","_postman_id":"007884d0-5b9e-412e-916a-3c0831860d75","description":""},{"name":"appoint","item":[{"name":"get all","id":"0b7a547e-cfbc-4da9-b027-b45b25908783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/appointments","urlObject":{"protocol":"http","port":"3000","path":["appointments"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ca575433-f50a-42fc-a743-3fe2df76c698","name":"get all","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/appointments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2696"},{"key":"ETag","value":"W/\"a88-v+i2lf7uKdnuz6Zin38DMtaynuA\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:20:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointments fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 15,\n        \"appointments\": [\n            {\n                \"AppointmentID\": 11,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-10T14:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"cancelled\",\n                \"CreatedAt\": \"2023-12-08T17:43:48.698Z\",\n                \"UpdatedAt\": \"2023-12-08T17:53:18.075Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 12,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-13T14:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"rescheduled\",\n                \"CreatedAt\": \"2023-12-12T07:40:52.309Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:44.244Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 19,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-27T07:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"rescheduled\",\n                \"CreatedAt\": \"2023-12-12T09:42:08.195Z\",\n                \"UpdatedAt\": \"2023-12-12T09:43:15.160Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 13,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-21T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T07:54:04.323Z\",\n                \"UpdatedAt\": \"2023-12-12T07:54:04.323Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 14,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-22T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T07:54:10.853Z\",\n                \"UpdatedAt\": \"2023-12-12T07:54:10.853Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 15,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-23T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:32:58.507Z\",\n                \"UpdatedAt\": \"2023-12-12T09:32:58.507Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 16,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-24T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:33:33.936Z\",\n                \"UpdatedAt\": \"2023-12-12T09:33:33.936Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 17,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-25T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:39:49.281Z\",\n                \"UpdatedAt\": \"2023-12-12T09:39:49.281Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 18,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-26T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:40:32.957Z\",\n                \"UpdatedAt\": \"2023-12-12T09:40:32.957Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 20,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-27T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:54:35.424Z\",\n                \"UpdatedAt\": \"2023-12-12T09:54:35.424Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 2\n    }\n}"}],"_postman_id":"0b7a547e-cfbc-4da9-b027-b45b25908783"},{"name":"get total","id":"1be40c00-450a-41cb-a84f-2ce0553523d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/appointments/get/total","urlObject":{"protocol":"http","port":"3000","path":["appointments","get","total"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8a5128ce-328e-4543-bb52-bac5af757912","name":"get all","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/appointments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2696"},{"key":"ETag","value":"W/\"a88-v+i2lf7uKdnuz6Zin38DMtaynuA\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:20:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointments fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 15,\n        \"appointments\": [\n            {\n                \"AppointmentID\": 11,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-10T14:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"cancelled\",\n                \"CreatedAt\": \"2023-12-08T17:43:48.698Z\",\n                \"UpdatedAt\": \"2023-12-08T17:53:18.075Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 12,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-13T14:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"rescheduled\",\n                \"CreatedAt\": \"2023-12-12T07:40:52.309Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:44.244Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 19,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-27T07:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"rescheduled\",\n                \"CreatedAt\": \"2023-12-12T09:42:08.195Z\",\n                \"UpdatedAt\": \"2023-12-12T09:43:15.160Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 13,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-21T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T07:54:04.323Z\",\n                \"UpdatedAt\": \"2023-12-12T07:54:04.323Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 14,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-22T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T07:54:10.853Z\",\n                \"UpdatedAt\": \"2023-12-12T07:54:10.853Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 15,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-23T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:32:58.507Z\",\n                \"UpdatedAt\": \"2023-12-12T09:32:58.507Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 16,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-24T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:33:33.936Z\",\n                \"UpdatedAt\": \"2023-12-12T09:33:33.936Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 17,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-25T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:39:49.281Z\",\n                \"UpdatedAt\": \"2023-12-12T09:39:49.281Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 18,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-26T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:40:32.957Z\",\n                \"UpdatedAt\": \"2023-12-12T09:40:32.957Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"AppointmentID\": 20,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2024-12-27T03:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"scheduled\",\n                \"CreatedAt\": \"2023-12-12T09:54:35.424Z\",\n                \"UpdatedAt\": \"2023-12-12T09:54:35.424Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 2\n    }\n}"}],"_postman_id":"1be40c00-450a-41cb-a84f-2ce0553523d2"},{"name":"get all with query","id":"f3aa3db2-87ff-44db-93c4-943e1883aa72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/appointments?searchBy=all&query=aceh&page=1&limit=10","urlObject":{"protocol":"http","port":"3000","path":["appointments"],"host":["localhost"],"query":[{"key":"searchBy","value":"all"},{"key":"query","value":"aceh"},{"disabled":true,"key":"bloodType","value":"A+"},{"disabled":true,"key":"status","value":"scheduled"},{"disabled":true,"key":"scheduledDate","value":"2024-01-18"},{"key":"page","value":"1"},{"key":"limit","value":"10"},{"disabled":true,"key":"location","value":"ace"}],"variable":[]}},"response":[{"id":"625a1e5a-c4d3-4a2c-88ef-0a0d2d45ab5b","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/appointments?page=1&limit=10&sortBy=ScheduledDate&sortOrder=desc&status=cancelled&startDate=2023-01-01&endDate=2023-12-31","protocol":"http","host":["localhost"],"port":"3000","path":["appointments"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"sortBy","value":"ScheduledDate"},{"key":"sortOrder","value":"desc"},{"key":"status","value":"cancelled"},{"key":"startDate","value":"2023-01-01"},{"key":"endDate","value":"2023-12-31"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"378"},{"key":"ETag","value":"W/\"17a-cF3NPXf6SunB71CGTtWONcUJYFY\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:20:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointments fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 1,\n        \"appointments\": [\n            {\n                \"AppointmentID\": 11,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"ScheduledDate\": \"2023-12-10T14:00:00.000Z\",\n                \"Location\": \"Banda Aceh\",\n                \"Status\": \"cancelled\",\n                \"CreatedAt\": \"2023-12-08T17:43:48.698Z\",\n                \"UpdatedAt\": \"2023-12-08T17:53:18.075Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 1\n    }\n}"}],"_postman_id":"f3aa3db2-87ff-44db-93c4-943e1883aa72"},{"name":"get by id","id":"e8100563-ec73-441f-aa19-7a8f36b422c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/appointments/11","urlObject":{"protocol":"http","port":"3000","path":["appointments","11"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"76db4628-ab0d-49c7-b02f-4c09e28d1374","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/appointments/11"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"310"},{"key":"ETag","value":"W/\"136-wAitYu++FjS6mntsyH9CkIY+03A\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:20:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment fetched successfully\",\n    \"data\": {\n        \"AppointmentID\": 11,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2023-12-10T14:00:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"cancelled\",\n        \"CreatedAt\": \"2023-12-08T17:43:48.698Z\",\n        \"UpdatedAt\": \"2023-12-08T17:53:18.075Z\",\n        \"BloodType\": {\n            \"BloodTypeID\": 1,\n            \"Type\": \"A+\"\n        }\n    }\n}"}],"_postman_id":"e8100563-ec73-441f-aa19-7a8f36b422c5"},{"name":"create","id":"9f953266-aa54-417f-b2b8-fae835678a15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"scheduledDate\": \"2024-12-02T21:40:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/create","urlObject":{"protocol":"http","port":"3000","path":["appointments","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8853a782-54f5-4506-afdc-65170601f654","name":"succes with optional loc","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"scheduledDate\": \"2025-12-03T10:00:00\",\n    \"location\": \"banda aceh\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"ETag","value":"W/\"10c-nTFAbF5+FQIZvj0fCu+Yhu7xAmM\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:19:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment created successfully\",\n    \"data\": {\n        \"AppointmentID\": 24,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2025-12-03T03:00:00.000Z\",\n        \"Location\": \"banda aceh\",\n        \"Status\": \"scheduled\",\n        \"CreatedAt\": \"2023-12-12T10:19:00.669Z\",\n        \"UpdatedAt\": \"2023-12-12T10:19:00.669Z\"\n    }\n}"},{"id":"cc24038b-59b9-45d2-ab59-ee99a238daa8","name":"succes with default user loc","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"scheduledDate\": \"2025-12-04T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"ETag","value":"W/\"10c-gmA/75E72fAtaZ12VwbEx426Mbg\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:19:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment created successfully\",\n    \"data\": {\n        \"AppointmentID\": 25,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2025-12-04T03:00:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"scheduled\",\n        \"CreatedAt\": \"2023-12-12T10:19:21.372Z\",\n        \"UpdatedAt\": \"2023-12-12T10:19:21.372Z\"\n    }\n}"}],"_postman_id":"9f953266-aa54-417f-b2b8-fae835678a15"},{"name":"update","id":"85f0dced-d904-4534-865b-ecc6613dc773","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"scheduledDate\": \"2023-12-12T21:40:00\",\n    \"location\" : \"ACEH\",\n    \"status\" : \"completed\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/update/2","urlObject":{"protocol":"http","port":"3000","path":["appointments","update","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"910b56d3-0091-47e9-99e0-fdc6496959ff","name":"succes with optional loc","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"scheduledDate\": \"2025-12-03T10:00:00\",\n    \"location\": \"banda aceh\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"ETag","value":"W/\"10c-nTFAbF5+FQIZvj0fCu+Yhu7xAmM\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:19:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment created successfully\",\n    \"data\": {\n        \"AppointmentID\": 24,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2025-12-03T03:00:00.000Z\",\n        \"Location\": \"banda aceh\",\n        \"Status\": \"scheduled\",\n        \"CreatedAt\": \"2023-12-12T10:19:00.669Z\",\n        \"UpdatedAt\": \"2023-12-12T10:19:00.669Z\"\n    }\n}"},{"id":"d172b3d2-8413-486e-b8e8-57ce06452f7d","name":"succes with default user loc","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"scheduledDate\": \"2025-12-04T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"ETag","value":"W/\"10c-gmA/75E72fAtaZ12VwbEx426Mbg\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:19:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment created successfully\",\n    \"data\": {\n        \"AppointmentID\": 25,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2025-12-04T03:00:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"scheduled\",\n        \"CreatedAt\": \"2023-12-12T10:19:21.372Z\",\n        \"UpdatedAt\": \"2023-12-12T10:19:21.372Z\"\n    }\n}"}],"_postman_id":"85f0dced-d904-4534-865b-ecc6613dc773"},{"name":"reschedule","id":"42d1631a-81c4-4ee8-9cc5-b7bd045a76bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 19,\n    \"newScheduledDate\": \"2023-12-27T14:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/reschedule","urlObject":{"protocol":"http","port":"3000","path":["appointments","reschedule"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ee599c1c-7ea9-4ac9-8879-a280c657200d","name":"sucess","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 19,\n    \"newScheduledDate\": \"2023-12-27T14:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/reschedule"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"274"},{"key":"ETag","value":"W/\"112-WvKVv8RBO9qdAyrmtIx5rThBAIc\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:21:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment rescheduled successfully\",\n    \"data\": {\n        \"AppointmentID\": 19,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2023-12-27T07:00:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"rescheduled\",\n        \"CreatedAt\": \"2023-12-12T09:42:08.195Z\",\n        \"UpdatedAt\": \"2023-12-12T10:21:08.767Z\"\n    }\n}"}],"_postman_id":"42d1631a-81c4-4ee8-9cc5-b7bd045a76bb"},{"name":"cancel","id":"29cf2adb-1323-41f3-ada6-8c90ac60ff3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 19\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/cancel","urlObject":{"protocol":"http","port":"3000","path":["appointments","cancel"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fb8e2fce-a031-4941-a9ee-25899a56e1a1","name":"cancel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 19\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"270"},{"key":"ETag","value":"W/\"10e-0S5Hs96bbc2B4PcuFciqLm7Ru2Q\""},{"key":"Date","value":"Tue, 12 Dec 2023 10:21:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment cancelled successfully\",\n    \"data\": {\n        \"AppointmentID\": 19,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2023-12-27T07:00:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"cancelled\",\n        \"CreatedAt\": \"2023-12-12T09:42:08.195Z\",\n        \"UpdatedAt\": \"2023-12-12T10:21:19.237Z\"\n    }\n}"}],"_postman_id":"29cf2adb-1323-41f3-ada6-8c90ac60ff3f"},{"name":"complete","id":"a474448e-1ba7-414c-99f0-13f9b34dc695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 31\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/complete","urlObject":{"protocol":"http","port":"3000","path":["appointments","complete"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"817a1724-d6c4-4c89-9b48-31a170cddb99","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 31\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/complete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"270"},{"key":"ETag","value":"W/\"10e-6SlB3aN+CDs44yiODQPbpMACHO4\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:38:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment completed successfully\",\n    \"data\": {\n        \"AppointmentID\": 31,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2023-12-12T12:38:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"completed\",\n        \"CreatedAt\": \"2023-12-12T12:37:19.504Z\",\n        \"UpdatedAt\": \"2023-12-12T12:38:02.476Z\"\n    }\n}"}],"_postman_id":"a474448e-1ba7-414c-99f0-13f9b34dc695"},{"name":"delete","id":"cb779fd9-d427-4a19-8ea5-b3a0434a29ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 31\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/delete/3","urlObject":{"protocol":"http","port":"3000","path":["appointments","delete","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"80bda712-8b2b-4bad-b5d6-2f50fcbb52b0","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"appointmentId\": 31\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/appointments/complete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"270"},{"key":"ETag","value":"W/\"10e-6SlB3aN+CDs44yiODQPbpMACHO4\""},{"key":"Date","value":"Tue, 12 Dec 2023 12:38:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Appointment completed successfully\",\n    \"data\": {\n        \"AppointmentID\": 31,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"ScheduledDate\": \"2023-12-12T12:38:00.000Z\",\n        \"Location\": \"Banda Aceh\",\n        \"Status\": \"completed\",\n        \"CreatedAt\": \"2023-12-12T12:37:19.504Z\",\n        \"UpdatedAt\": \"2023-12-12T12:38:02.476Z\"\n    }\n}"}],"_postman_id":"cb779fd9-d427-4a19-8ea5-b3a0434a29ee"}],"id":"9c320ccc-1666-4c92-bda1-a7ede26dfcf7","_postman_id":"9c320ccc-1666-4c92-bda1-a7ede26dfcf7","description":""},{"name":"help offer","item":[{"name":"create","id":"6a938507-b230-4274-b419-c0e8b3690b17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bloodType\": \"A+\",\n  \"isWillingToDonate\": true,\n  \"canHelpInEmergency\": true,\n  \"reason\": \"I want to help\",\n  \"location\": \"ACEH\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/help-offer/offer","urlObject":{"protocol":"http","port":"3000","path":["help-offer","offer"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0157af2d-e779-401d-b89c-b8fac583ad20","name":"sucess","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bloodType\": \"A+\",\n  \"isWillingToDonate\": true,\n  \"canHelpInEmergency\": true,\n  \"reason\": \"I want to help\",\n  \"location\": \"ACEH\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/help-offer/offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"ETag","value":"W/\"10c-eT3koYRSpDXUkPAfQHlkeG81cNY\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:07:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Help offer created successfully\",\n    \"data\": {\n        \"OfferID\": 18,\n        \"UserID\": 19,\n        \"BloodTypeID\": 1,\n        \"IsWillingToDonate\": true,\n        \"CanHelpInEmergency\": true,\n        \"Location\": \"ACEH\",\n        \"Reason\": \"I want to help\",\n        \"CreatedAt\": \"2023-12-12T17:07:19.703Z\",\n        \"UpdatedAt\": \"2023-12-12T17:07:19.703Z\"\n    }\n}"}],"_postman_id":"6a938507-b230-4274-b419-c0e8b3690b17"},{"name":"get all","id":"24de72e6-6f35-4167-b90f-38fde890b484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/help-offer","urlObject":{"protocol":"http","port":"3000","path":["help-offer"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"837a924a-fc9c-4dcc-a477-7da508f1ebfa","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/help-offer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4629"},{"key":"ETag","value":"W/\"1215-rqEkDCQrkMIZEbDF++5zyBTgoeM\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:07:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Help offers fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 14,\n        \"helpOffers\": [\n            {\n                \"OfferID\": 18,\n                \"UserID\": 19,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T17:07:19.703Z\",\n                \"UpdatedAt\": \"2023-12-12T17:07:19.703Z\",\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 17,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T08:47:44.762Z\",\n                \"UpdatedAt\": \"2023-12-12T08:47:44.762Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 16,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:29:54.303Z\",\n                \"UpdatedAt\": \"2023-12-12T07:29:54.303Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 15,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": null,\n                \"CreatedAt\": \"2023-12-12T07:28:58.491Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:58.491Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 14,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": null,\n                \"CreatedAt\": \"2023-12-12T07:28:57.677Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:57.677Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 13,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": null,\n                \"CreatedAt\": \"2023-12-12T07:28:56.745Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:56.745Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 12,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:28:50.856Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:50.856Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 11,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:28:29.952Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:29.952Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 10,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:28:28.690Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:28.690Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 9,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:27:39.070Z\",\n                \"UpdatedAt\": \"2023-12-12T07:27:39.070Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 2\n    }\n}"}],"_postman_id":"24de72e6-6f35-4167-b90f-38fde890b484"},{"name":"get all query","id":"03a690c9-4e62-4183-9604-a2b9f9c4ab49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/help-offer?searchBy=all&page=1&limit=10&query=aceh","urlObject":{"protocol":"http","port":"3000","path":["help-offer"],"host":["localhost"],"query":[{"key":"searchBy","value":"all"},{"disabled":true,"key":"bloodType","value":"A+"},{"disabled":true,"key":"isWillingToDonate","value":"true"},{"disabled":true,"key":"canHelpInEmergency","value":"true"},{"disabled":true,"key":"location","value":"New York"},{"disabled":true,"key":"reason","value":"emergency"},{"key":"page","value":"1"},{"key":"limit","value":"10"},{"disabled":true,"key":"orderBy","value":"CreatedAt:desc"},{"key":"query","value":"aceh"}],"variable":[]}},"response":[{"id":"486ca2f8-d2b2-440a-9058-27a025a7b1f1","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/help-offer/?page=1&limit=10&bloodType=1&isWillingToDonate=true&canHelpInEmergency=true&location=ACEH&sort=UpdatedAt:asc","protocol":"http","host":["localhost"],"port":"3000","path":["help-offer",""],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"bloodType","value":"1"},{"key":"isWillingToDonate","value":"true"},{"key":"canHelpInEmergency","value":"true"},{"key":"location","value":"ACEH"},{"key":"sort","value":"UpdatedAt:asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4645"},{"key":"ETag","value":"W/\"1225-BjafQJVcE0YB193PdDWTxK8ApPo\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:07:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Help offers fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 12,\n        \"helpOffers\": [\n            {\n                \"OfferID\": 7,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help people in need\",\n                \"CreatedAt\": \"2023-12-11T15:11:36.374Z\",\n                \"UpdatedAt\": \"2023-12-11T15:11:36.374Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 8,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-11T15:15:18.647Z\",\n                \"UpdatedAt\": \"2023-12-11T15:15:18.647Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 9,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:27:39.070Z\",\n                \"UpdatedAt\": \"2023-12-12T07:27:39.070Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 10,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:28:28.690Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:28.690Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 11,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:28:29.952Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:29.952Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 12,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:28:50.856Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:50.856Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 13,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": null,\n                \"CreatedAt\": \"2023-12-12T07:28:56.745Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:56.745Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 14,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": null,\n                \"CreatedAt\": \"2023-12-12T07:28:57.677Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:57.677Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 15,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": null,\n                \"CreatedAt\": \"2023-12-12T07:28:58.491Z\",\n                \"UpdatedAt\": \"2023-12-12T07:28:58.491Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            },\n            {\n                \"OfferID\": 16,\n                \"UserID\": 21,\n                \"BloodTypeID\": 1,\n                \"IsWillingToDonate\": true,\n                \"CanHelpInEmergency\": true,\n                \"Location\": \"ACEH\",\n                \"Reason\": \"I want to help\",\n                \"CreatedAt\": \"2023-12-12T07:29:54.303Z\",\n                \"UpdatedAt\": \"2023-12-12T07:29:54.303Z\",\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                },\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 2\n    }\n}"}],"_postman_id":"03a690c9-4e62-4183-9604-a2b9f9c4ab49"},{"name":"get by id","id":"29208aa4-fca6-4f49-bd92-c46db37083dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/help-offer/11","urlObject":{"protocol":"http","port":"3000","path":["help-offer","11"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d97b2ba6-c7a2-4879-87dc-5df37be5d33e","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/help-offer/11"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"507"},{"key":"ETag","value":"W/\"1fb-pdtR+BMUb+FDwyNL8hCNu7C27IE\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:08:04 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Help offer fetched successfully\",\n    \"data\": {\n        \"OfferID\": 11,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"IsWillingToDonate\": true,\n        \"CanHelpInEmergency\": true,\n        \"Location\": \"ACEH\",\n        \"Reason\": \"I want to help\",\n        \"CreatedAt\": \"2023-12-12T07:28:29.952Z\",\n        \"UpdatedAt\": \"2023-12-12T07:28:29.952Z\",\n        \"User\": {\n            \"UserID\": 21,\n            \"ProvinceID\": 11,\n            \"Name\": \"John Doe\",\n            \"Phone\": \"+626270663673\",\n            \"AdditionalInfo\": \"Some additional info\",\n            \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n            \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n        },\n        \"BloodType\": {\n            \"BloodTypeID\": 1,\n            \"Type\": \"A+\"\n        }\n    }\n}"}],"_postman_id":"29208aa4-fca6-4f49-bd92-c46db37083dd"},{"name":"update","id":"f29adeb8-1cfb-4896-aac8-c5e7bf66c73f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A-\",\n    \"isWillingToDonate\": true,\n    \"canHelpInEmergency\": false,\n    \"location\": \"SUMATERA UTARA\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/help-offer/9","urlObject":{"protocol":"http","port":"3000","path":["help-offer","9"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d77db57a-0467-4837-89af-b2b59002c89c","name":"success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"bloodType\": \"A+\",\n    \"isWillingToDonate\": false,\n    \"canHelpInEmergency\": false,\n    \"reason\": \"Updated reason\",\n    \"location\": \"ACEH\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/help-offer/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"269"},{"key":"ETag","value":"W/\"10d-OYKUVolDucLRmIpUtNKgqnwGWlc\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:08:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Help offer updated successfully\",\n    \"data\": {\n        \"OfferID\": 6,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"IsWillingToDonate\": false,\n        \"CanHelpInEmergency\": false,\n        \"Location\": \"ACEH\",\n        \"Reason\": \"Updated reason\",\n        \"CreatedAt\": \"2023-12-11T15:11:19.254Z\",\n        \"UpdatedAt\": \"2023-12-12T17:08:28.684Z\"\n    }\n}"}],"_postman_id":"f29adeb8-1cfb-4896-aac8-c5e7bf66c73f"},{"name":"delete","id":"45eea1b5-6ea3-4964-ad05-b7004bd28ba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/help-offer/11","urlObject":{"protocol":"http","port":"3000","path":["help-offer","11"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"866ed6dd-ef7f-431c-a9e1-c33e97f00972","name":"success","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/help-offer/11"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"ETag","value":"W/\"10c-HPXJSe87Wf4CRAyVY50DE6ryN2M\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:14:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Help offer deleted successfully\",\n    \"data\": {\n        \"OfferID\": 11,\n        \"UserID\": 21,\n        \"BloodTypeID\": 1,\n        \"IsWillingToDonate\": true,\n        \"CanHelpInEmergency\": true,\n        \"Location\": \"ACEH\",\n        \"Reason\": \"I want to help\",\n        \"CreatedAt\": \"2023-12-12T07:28:29.952Z\",\n        \"UpdatedAt\": \"2023-12-12T07:28:29.952Z\"\n    }\n}"}],"_postman_id":"45eea1b5-6ea3-4964-ad05-b7004bd28ba7"}],"id":"a4967f37-a5e8-44f8-a54b-3d863ef6d588","_postman_id":"a4967f37-a5e8-44f8-a54b-3d863ef6d588","description":""},{"name":"blood drive host","item":[{"name":"get all","id":"e0bbdf8f-0a40-4eb1-8c13-ef66c1716e02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"institute\": \"City Hospital\",\n    \"provinceId\": 13,\n    \"designation\": \"Annual City Hospital Blood Drive\",\n    \"scheduledDate\": \"2023-012-15T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive","urlObject":{"protocol":"http","port":"3000","path":["blood-drive"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"776aeb47-f136-4c56-94aa-8da600715789","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-drive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3616"},{"key":"ETag","value":"W/\"e20-UAa1+UToDv5PNr0hqNqU0313oq8\""},{"key":"Date","value":"Tue, 12 Dec 2023 16:59:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drives fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 6,\n        \"bloodDrives\": [\n            {\n                \"DriveID\": 2,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 13,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:09.916Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:09.916Z\",\n                \"Province\": {\n                    \"ProvinceID\": 13,\n                    \"Name\": \"SUMATERA BARAT\",\n                    \"Capital\": \"Padang\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.736Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.736Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 3,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 13,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:10.712Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:10.712Z\",\n                \"Province\": {\n                    \"ProvinceID\": 13,\n                    \"Name\": \"SUMATERA BARAT\",\n                    \"Capital\": \"Padang\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.736Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.736Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 4,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 12,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:14.494Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:14.494Z\",\n                \"Province\": {\n                    \"ProvinceID\": 12,\n                    \"Name\": \"SUMATERA UTARA\",\n                    \"Capital\": \"Medan\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 5,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 12,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:15.327Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:15.327Z\",\n                \"Province\": {\n                    \"ProvinceID\": 12,\n                    \"Name\": \"SUMATERA UTARA\",\n                    \"Capital\": \"Medan\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 7,\n                \"UserID\": 21,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 11,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-08T18:26:24.235Z\",\n                \"UpdatedAt\": \"2023-12-08T18:26:24.235Z\",\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                },\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                }\n            },\n            {\n                \"DriveID\": 8,\n                \"UserID\": 21,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 11,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-12T08:16:36.985Z\",\n                \"UpdatedAt\": \"2023-12-12T08:16:36.985Z\",\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                },\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 1\n    }\n}"}],"_postman_id":"e0bbdf8f-0a40-4eb1-8c13-ef66c1716e02"},{"name":"get total","id":"0741ef5e-d68b-4dce-9103-d9c6beac2599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"institute\": \"City Hospital\",\n    \"provinceId\": 13,\n    \"designation\": \"Annual City Hospital Blood Drive\",\n    \"scheduledDate\": \"2023-012-15T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive","urlObject":{"protocol":"http","port":"3000","path":["blood-drive"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"eca6bb90-92d7-4bcd-b847-5485d2599e5f","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-drive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3616"},{"key":"ETag","value":"W/\"e20-UAa1+UToDv5PNr0hqNqU0313oq8\""},{"key":"Date","value":"Tue, 12 Dec 2023 16:59:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drives fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 6,\n        \"bloodDrives\": [\n            {\n                \"DriveID\": 2,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 13,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:09.916Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:09.916Z\",\n                \"Province\": {\n                    \"ProvinceID\": 13,\n                    \"Name\": \"SUMATERA BARAT\",\n                    \"Capital\": \"Padang\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.736Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.736Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 3,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 13,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:10.712Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:10.712Z\",\n                \"Province\": {\n                    \"ProvinceID\": 13,\n                    \"Name\": \"SUMATERA BARAT\",\n                    \"Capital\": \"Padang\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.736Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.736Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 4,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 12,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:14.494Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:14.494Z\",\n                \"Province\": {\n                    \"ProvinceID\": 12,\n                    \"Name\": \"SUMATERA UTARA\",\n                    \"Capital\": \"Medan\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 5,\n                \"UserID\": 19,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 12,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-07T14:20:15.327Z\",\n                \"UpdatedAt\": \"2023-12-07T14:20:15.327Z\",\n                \"Province\": {\n                    \"ProvinceID\": 12,\n                    \"Name\": \"SUMATERA UTARA\",\n                    \"Capital\": \"Medan\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n                },\n                \"User\": {\n                    \"UserID\": 19,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"1234567890\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n                    \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n                }\n            },\n            {\n                \"DriveID\": 7,\n                \"UserID\": 21,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 11,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-08T18:26:24.235Z\",\n                \"UpdatedAt\": \"2023-12-08T18:26:24.235Z\",\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                },\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                }\n            },\n            {\n                \"DriveID\": 8,\n                \"UserID\": 21,\n                \"Institute\": \"City Hospital\",\n                \"ProvinceID\": 11,\n                \"Designation\": \"Annual City Hospital Blood Drive\",\n                \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n                \"CreatedAt\": \"2023-12-12T08:16:36.985Z\",\n                \"UpdatedAt\": \"2023-12-12T08:16:36.985Z\",\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                },\n                \"User\": {\n                    \"UserID\": 21,\n                    \"ProvinceID\": 11,\n                    \"Name\": \"John Doe\",\n                    \"Phone\": \"+626270663673\",\n                    \"AdditionalInfo\": \"Some additional info\",\n                    \"CreatedAt\": \"2023-12-07T15:54:12.095Z\",\n                    \"UpdatedAt\": \"2023-12-07T15:54:12.095Z\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 1\n    }\n}"}],"_postman_id":"0741ef5e-d68b-4dce-9103-d9c6beac2599"},{"name":"get all with query","id":"779c0b04-ffad-4332-a579-a77b59c79521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"institute\": \"City Hospital\",\n    \"provinceId\": 11,\n    \"designation\": \"Annual City Hospital Blood Drive\",\n    \"scheduledDate\": \"2023-012-15T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive?searchBy=all&limit=10&page=1&query=AKU","urlObject":{"protocol":"http","port":"3000","path":["blood-drive"],"host":["localhost"],"query":[{"key":"searchBy","value":"all"},{"disabled":true,"key":"institute","value":"a"},{"disabled":true,"key":"scheduledDate","value":"2023-12-19"},{"disabled":true,"key":"designation","value":"ulla"},{"key":"limit","value":"10"},{"disabled":true,"key":"orderBy","value":"ScheduledDate:asc"},{"disabled":true,"key":"location","value":"KALIMANTAN"},{"key":"page","value":"1"},{"key":"query","value":"AKU"}],"variable":[]}},"response":[{"id":"555d9c6d-95d9-4154-8e5f-373c007b3588","name":"sucess","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/blood-drive?page=1&limit=10&sortBy=ScheduledDate&sortOrder=asc&filterProvince=1&filterDesignation=a","protocol":"http","host":["localhost"],"port":"3000","path":["blood-drive"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"sortBy","value":"ScheduledDate"},{"key":"sortOrder","value":"asc"},{"key":"filterProvince","value":"1"},{"key":"filterDesignation","value":"a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"121"},{"key":"ETag","value":"W/\"79-xqVmarzIiFPBFJcmQF+QHRCwNoI\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:00:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drives fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 0,\n        \"bloodDrives\": [],\n        \"currentPage\": 1,\n        \"totalPages\": 0\n    }\n}"}],"_postman_id":"779c0b04-ffad-4332-a579-a77b59c79521"},{"name":"get by id","id":"7b7f8df7-bba6-4052-8b62-f36a234b6c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"institute\": \"City Hospital\",\n    \"provinceId\": 13,\n    \"designation\": \"Annual City Hospital Blood Drive\",\n    \"scheduledDate\": \"2023-012-15T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive/2","urlObject":{"protocol":"http","port":"3000","path":["blood-drive","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"88a6d70c-0e93-4b64-bd9c-51096510c608","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-drive/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"637"},{"key":"ETag","value":"W/\"27d-LYFZrlLOl8jYeXqtHt76wCoLlPc\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:01:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drive fetched successfully\",\n    \"data\": {\n        \"DriveID\": 2,\n        \"UserID\": 19,\n        \"Institute\": \"City Hospital\",\n        \"ProvinceID\": 13,\n        \"Designation\": \"Annual City Hospital Blood Drive\",\n        \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n        \"CreatedAt\": \"2023-12-07T14:20:09.916Z\",\n        \"UpdatedAt\": \"2023-12-07T14:20:09.916Z\",\n        \"Province\": {\n            \"ProvinceID\": 13,\n            \"Name\": \"SUMATERA BARAT\",\n            \"Capital\": \"Padang\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.736Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.736Z\"\n        },\n        \"User\": {\n            \"UserID\": 19,\n            \"ProvinceID\": 11,\n            \"Name\": \"John Doe\",\n            \"Phone\": \"1234567890\",\n            \"AdditionalInfo\": \"Some additional info\",\n            \"CreatedAt\": \"2023-12-07T12:52:20.451Z\",\n            \"UpdatedAt\": \"2023-12-07T12:52:20.451Z\"\n        }\n    }\n}"}],"_postman_id":"7b7f8df7-bba6-4052-8b62-f36a234b6c2b"},{"name":"create","id":"0284445f-4fba-4b1f-bc4a-6dc0e4c814ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"institute\": \"AKUzz\",\n    \"location\": \"ACEH\",\n    \"designation\": \"Annual City Hospital Blood Drive\",\n    \"scheduledDate\": \"2023-12-25T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive/create","urlObject":{"protocol":"http","port":"3000","path":["blood-drive","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1089678e-057b-441d-b718-574f2c8706a1","name":"sucess","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"institute\": \"City Hospital\",\n    \"provinceId\": 11,\n    \"designation\": \"Annual City Hospital Blood Drive\",\n    \"scheduledDate\": \"2023-12-15T10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"294"},{"key":"ETag","value":"W/\"126-IjLSey1i41RceNuD4OmFWu8vse4\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:01:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drive created successfully\",\n    \"data\": {\n        \"DriveID\": 10,\n        \"UserID\": 19,\n        \"Institute\": \"City Hospital\",\n        \"ProvinceID\": 11,\n        \"Designation\": \"Annual City Hospital Blood Drive\",\n        \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n        \"CreatedAt\": \"2023-12-12T17:01:48.417Z\",\n        \"UpdatedAt\": \"2023-12-12T17:01:48.417Z\"\n    }\n}"}],"_postman_id":"0284445f-4fba-4b1f-bc4a-6dc0e4c814ac"},{"name":"update","id":"16ee8e32-1f66-4197-bf1b-e4062bf0212d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"institute\": \"City Hospitalz\",\n  \"provinceName\": \"ACEH\",\n  \"designation\": \"Annual City Hospital Blood Drivez\",\n  \"scheduledDate\": \"2023-12-22T11:00:00\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive/58","urlObject":{"protocol":"http","port":"3000","path":["blood-drive","58"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"11821a0c-13ce-4052-b3f1-42cfd237ab77","name":"sucesss","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"institute\": \"City Hospital\",\n  \"provinceId\": 11,\n  \"designation\": \"Annual City Hospital Blood Drivez\",\n  \"scheduledDate\": \"2023-12-15T10:00:00\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-drive/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"294"},{"key":"ETag","value":"W/\"126-2k/zEOvFkFeCIZNC7TUFdPuorXc\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:02:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drive updated successfully\",\n    \"data\": {\n        \"DriveID\": 2,\n        \"UserID\": 19,\n        \"Institute\": \"City Hospital\",\n        \"ProvinceID\": 11,\n        \"Designation\": \"Annual City Hospital Blood Drivez\",\n        \"ScheduledDate\": \"2023-12-15T03:00:00.000Z\",\n        \"CreatedAt\": \"2023-12-07T14:20:09.916Z\",\n        \"UpdatedAt\": \"2023-12-12T17:02:03.295Z\"\n    }\n}"}],"_postman_id":"16ee8e32-1f66-4197-bf1b-e4062bf0212d"},{"name":"delete","id":"234e4cc0-a70b-40cf-9dd5-e408375f18b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/blood-drive/11","urlObject":{"protocol":"http","port":"3000","path":["blood-drive","11"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0098e346-b0d5-45ca-9254-639f433bea9b","name":"sucess","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/blood-drive/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"46"},{"key":"ETag","value":"W/\"2e-1t6um3iiyU0LPxaQHVa93ajMMS4\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:02:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood drive deleted successfully\"\n}"}],"_postman_id":"234e4cc0-a70b-40cf-9dd5-e408375f18b0"}],"id":"3354e5ca-3d3f-4929-8f60-215a396b3aec","_postman_id":"3354e5ca-3d3f-4929-8f60-215a396b3aec","description":""},{"name":"blood inventory","item":[{"name":"create","id":"40214893-08ff-4cd5-9bce-78d4703237a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bloodTypeID\": 1,\n  \"quantity\": 1,\n  \"provinceID\": 11\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-inventory","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1d088543-a5b9-4a9c-9dd6-cb2496a95edc","name":"create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"bloodTypeID\": 1,\n  \"quantity\": 1,\n  \"provinceID\": 11\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-inventory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"237"},{"key":"ETag","value":"W/\"ed-/gd9CkEFajrIrsP02hZtvx/aRAE\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:20:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventory added successfully\",\n    \"data\": {\n        \"InventoryID\": 32,\n        \"BloodTypeID\": 1,\n        \"Quantity\": 1,\n        \"ExpiryDate\": \"2024-01-23T17:00:00.000Z\",\n        \"ProvinceID\": 11,\n        \"CreatedAt\": \"2023-12-12T17:20:12.037Z\",\n        \"UpdatedAt\": \"2023-12-12T17:20:12.037Z\"\n    }\n}"}],"_postman_id":"40214893-08ff-4cd5-9bce-78d4703237a8"},{"name":"update","id":"f10ca521-9e2c-4ae3-acda-3a030cbac7de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"quantity\": 13,\n  \"expiryDate\": \"2024-05-01\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-inventory/22","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory","22"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"961b755b-ba86-4ba3-8adc-0373e09b3cf0","name":"update","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"quantity\": 15,\n  \"expiryDate\": \"2024-05-01\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/blood-inventory/31"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"240"},{"key":"ETag","value":"W/\"f0-3CN8BksQWBdIZ/g94LgVhAhk2Iw\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:20:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventory updated successfully\",\n    \"data\": {\n        \"InventoryID\": 31,\n        \"BloodTypeID\": 1,\n        \"Quantity\": 15,\n        \"ExpiryDate\": \"2024-05-01T00:00:00.000Z\",\n        \"ProvinceID\": 11,\n        \"CreatedAt\": \"2023-12-12T17:18:58.873Z\",\n        \"UpdatedAt\": \"2023-12-12T17:20:26.085Z\"\n    }\n}"}],"_postman_id":"f10ca521-9e2c-4ae3-acda-3a030cbac7de"},{"name":"delete","id":"0c99095c-2b5c-4083-b62a-db5e4ab76ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/blood-inventory/31","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory","31"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"208e8a16-6065-441c-9a0b-70f628a6c665","name":"delete","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:3000/blood-inventory/31"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-NGHWIOU3meJB64nsnMdYiDs3qss\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:20:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventory deleted successfully\"\n}"}],"_postman_id":"0c99095c-2b5c-4083-b62a-db5e4ab76ea2"},{"name":"get all","id":"cb6dd6a5-e4d3-4136-8a75-c6573a9d740e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4193f850-e007-40c9-810f-b459f75dc692","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3825"},{"key":"ETag","value":"W/\"ef1-QdsHrQ572uwITnc3UfHt8XkJtLw\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:20:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventories fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 23,\n        \"bloodInventories\": [\n            {\n                \"InventoryID\": 7,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:14:01.008Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:01.008Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 8,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 12,\n                \"CreatedAt\": \"2023-12-09T12:14:08.151Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:08.151Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 12,\n                    \"Name\": \"SUMATERA UTARA\",\n                    \"Capital\": \"Medan\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n                }\n            },\n            {\n                \"InventoryID\": 9,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:14:13.287Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:13.287Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 11,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:15:43.282Z\",\n                \"UpdatedAt\": \"2023-12-09T12:15:43.282Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 12,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:16.399Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:16.411Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:16.411Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 13,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:18.350Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:18.351Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:18.351Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 14,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:19.264Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:19.266Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:19.266Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 15,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:20.297Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:20.299Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:20.299Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 16,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2023-12-31T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:20:49.197Z\",\n                \"UpdatedAt\": \"2023-12-09T13:20:49.197Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 17,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2023-12-31T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:27:30.805Z\",\n                \"UpdatedAt\": \"2023-12-09T13:27:30.805Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 3\n    }\n}"}],"_postman_id":"cb6dd6a5-e4d3-4136-8a75-c6573a9d740e"},{"name":"get quantity in location","id":"92b2db1d-425a-4894-863d-9a44d2037057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory/total?provinceName=DKI JAKARTA","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory","total"],"host":["localhost"],"query":[{"key":"provinceName","value":"DKI JAKARTA"}],"variable":[]}},"response":[{"id":"e9fff31e-a65f-439c-8319-ab6d509b69ef","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3825"},{"key":"ETag","value":"W/\"ef1-QdsHrQ572uwITnc3UfHt8XkJtLw\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:20:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventories fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 23,\n        \"bloodInventories\": [\n            {\n                \"InventoryID\": 7,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:14:01.008Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:01.008Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 8,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 12,\n                \"CreatedAt\": \"2023-12-09T12:14:08.151Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:08.151Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 12,\n                    \"Name\": \"SUMATERA UTARA\",\n                    \"Capital\": \"Medan\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n                }\n            },\n            {\n                \"InventoryID\": 9,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:14:13.287Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:13.287Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 11,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:15:43.282Z\",\n                \"UpdatedAt\": \"2023-12-09T12:15:43.282Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 12,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:16.399Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:16.411Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:16.411Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 13,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:18.350Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:18.351Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:18.351Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 14,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:19.264Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:19.266Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:19.266Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 15,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:20.297Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:20.299Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:20.299Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 16,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2023-12-31T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:20:49.197Z\",\n                \"UpdatedAt\": \"2023-12-09T13:20:49.197Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 17,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2023-12-31T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:27:30.805Z\",\n                \"UpdatedAt\": \"2023-12-09T13:27:30.805Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 3\n    }\n}"}],"_postman_id":"92b2db1d-425a-4894-863d-9a44d2037057"},{"name":"get all query","id":"5ab8bac4-ff46-4b63-9d7c-177ac52547ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory?page=1&limit=10&provinceName=ACEH","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory"],"host":["localhost"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"disabled":true,"key":"orderBy","value":"expiriDate:asc"},{"disabled":true,"key":"bloodType","value":"A%2B"},{"disabled":true,"key":"expiriDate","value":"2024-01-25"},{"disabled":true,"key":"searchBy","value":"all"},{"disabled":true,"key":"query","value":"k"},{"key":"provinceName","value":"ACEH"}],"variable":[]}},"response":[{"id":"6c99dca9-5983-4252-923f-3a3911d5576b","name":"sucess","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/blood-inventory?page=1&limit=10&bloodTypeID=1&provinceID=11\n","protocol":"http","host":["localhost"],"port":"3000","path":["blood-inventory"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"bloodTypeID","value":"1"},{"key":"provinceID","value":"11\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3822"},{"key":"ETag","value":"W/\"eee-7Mc13aPykqW/KWAEG7E+JgLh580\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:22:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventories fetched successfully\",\n    \"data\": {\n        \"totalRecords\": 22,\n        \"bloodInventories\": [\n            {\n                \"InventoryID\": 7,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:14:01.008Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:01.008Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 9,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:14:13.287Z\",\n                \"UpdatedAt\": \"2023-12-09T12:14:13.287Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 11,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T12:15:43.282Z\",\n                \"UpdatedAt\": \"2023-12-09T12:15:43.282Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 12,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:16.399Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:16.411Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:16.411Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 13,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:18.350Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:18.351Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:18.351Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 14,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:19.264Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:19.266Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:19.266Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 15,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 10,\n                \"ExpiryDate\": \"2024-01-20T13:04:20.297Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:04:20.299Z\",\n                \"UpdatedAt\": \"2023-12-09T13:04:20.299Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 16,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2023-12-31T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:20:49.197Z\",\n                \"UpdatedAt\": \"2023-12-09T13:20:49.197Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 17,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2023-12-31T00:00:00.000Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-09T13:27:30.805Z\",\n                \"UpdatedAt\": \"2023-12-09T13:27:30.805Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            },\n            {\n                \"InventoryID\": 18,\n                \"BloodTypeID\": 1,\n                \"Quantity\": 100,\n                \"ExpiryDate\": \"2024-01-22T13:44:42.918Z\",\n                \"ProvinceID\": 11,\n                \"CreatedAt\": \"2023-12-11T13:44:42.920Z\",\n                \"UpdatedAt\": \"2023-12-11T13:44:42.920Z\",\n                \"BloodType\": {\n                    \"BloodTypeID\": 1,\n                    \"Type\": \"A+\"\n                },\n                \"Province\": {\n                    \"ProvinceID\": 11,\n                    \"Name\": \"ACEH\",\n                    \"Capital\": \"Banda Aceh\",\n                    \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n                    \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n                }\n            }\n        ],\n        \"currentPage\": 1,\n        \"totalPages\": 3\n    }\n}"}],"_postman_id":"5ab8bac4-ff46-4b63-9d7c-177ac52547ff"},{"name":"get by id","id":"54deddbc-a08d-4021-b2ca-a951c4c59bcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory/7","urlObject":{"protocol":"http","port":"3000","path":["blood-inventory","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6e50af45-5bf9-447c-80c8-13158b4a30de","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-inventory/7"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"425"},{"key":"ETag","value":"W/\"1a9-jZ0viHyMjMywUr4LWYxswZPnnqY\""},{"key":"Date","value":"Tue, 12 Dec 2023 17:21:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood inventory fetched successfully\",\n    \"data\": {\n        \"InventoryID\": 7,\n        \"BloodTypeID\": 1,\n        \"Quantity\": 10,\n        \"ExpiryDate\": \"2024-01-01T00:00:00.000Z\",\n        \"ProvinceID\": 11,\n        \"CreatedAt\": \"2023-12-09T12:14:01.008Z\",\n        \"UpdatedAt\": \"2023-12-09T12:14:01.008Z\",\n        \"BloodType\": {\n            \"BloodTypeID\": 1,\n            \"Type\": \"A+\"\n        },\n        \"Province\": {\n            \"ProvinceID\": 11,\n            \"Name\": \"ACEH\",\n            \"Capital\": \"Banda Aceh\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n        }\n    }\n}"}],"_postman_id":"54deddbc-a08d-4021-b2ca-a951c4c59bcb"}],"id":"ef1962fa-2219-4c43-82dc-df270cd6d382","_postman_id":"ef1962fa-2219-4c43-82dc-df270cd6d382","description":""},{"name":"province","item":[{"name":"get all","id":"997e50f9-caee-42d7-b894-e8b18b5de609","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/province","urlObject":{"protocol":"http","port":"3000","path":["province"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"86a178b8-8f30-4ed4-a0b2-809df844a3fa","name":"get all","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/province"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4798"},{"key":"ETag","value":"W/\"12be-6bkJXeEZt83xguJZQcI4YmJIi4k\""},{"key":"Date","value":"Wed, 13 Dec 2023 07:59:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Provinces fetched successfully\",\n    \"data\": [\n        {\n            \"ProvinceID\": 11,\n            \"Name\": \"ACEH\",\n            \"Capital\": \"Banda Aceh\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n        },\n        {\n            \"ProvinceID\": 12,\n            \"Name\": \"SUMATERA UTARA\",\n            \"Capital\": \"Medan\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.672Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.672Z\"\n        },\n        {\n            \"ProvinceID\": 13,\n            \"Name\": \"SUMATERA BARAT\",\n            \"Capital\": \"Padang\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.736Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.736Z\"\n        },\n        {\n            \"ProvinceID\": 14,\n            \"Name\": \"RIAU\",\n            \"Capital\": \"Pekanbaru\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.818Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.818Z\"\n        },\n        {\n            \"ProvinceID\": 15,\n            \"Name\": \"JAMBI\",\n            \"Capital\": \"Jambi\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.886Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.886Z\"\n        },\n        {\n            \"ProvinceID\": 16,\n            \"Name\": \"SUMATERA SELATAN\",\n            \"Capital\": \"Palembang\",\n            \"CreatedAt\": \"2023-12-07T10:00:55.965Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:55.965Z\"\n        },\n        {\n            \"ProvinceID\": 17,\n            \"Name\": \"BENGKULU\",\n            \"Capital\": \"Bengkulu\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.026Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.026Z\"\n        },\n        {\n            \"ProvinceID\": 18,\n            \"Name\": \"LAMPUNG\",\n            \"Capital\": \"Bandar Lampung\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.101Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.101Z\"\n        },\n        {\n            \"ProvinceID\": 19,\n            \"Name\": \"KEPULAUAN BANGKA BELITUNG\",\n            \"Capital\": \"Pangkal Pinang\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.161Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.161Z\"\n        },\n        {\n            \"ProvinceID\": 21,\n            \"Name\": \"KEPULAUAN RIAU\",\n            \"Capital\": \"Tanjung Pinang\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.220Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.220Z\"\n        },\n        {\n            \"ProvinceID\": 31,\n            \"Name\": \"DKI JAKARTA\",\n            \"Capital\": \"Jakarta\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.292Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.292Z\"\n        },\n        {\n            \"ProvinceID\": 32,\n            \"Name\": \"JAWA BARAT\",\n            \"Capital\": \"Bandung\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.339Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.339Z\"\n        },\n        {\n            \"ProvinceID\": 33,\n            \"Name\": \"JAWA TENGAH\",\n            \"Capital\": \"Semarang\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.393Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.393Z\"\n        },\n        {\n            \"ProvinceID\": 34,\n            \"Name\": \"DI YOGYAKARTA\",\n            \"Capital\": \"Yogyakarta\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.449Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.449Z\"\n        },\n        {\n            \"ProvinceID\": 35,\n            \"Name\": \"JAWA TIMUR\",\n            \"Capital\": \"Surabaya\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.507Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.507Z\"\n        },\n        {\n            \"ProvinceID\": 36,\n            \"Name\": \"BANTEN\",\n            \"Capital\": \"Serang\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.570Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.570Z\"\n        },\n        {\n            \"ProvinceID\": 51,\n            \"Name\": \"BALI\",\n            \"Capital\": \"Denpasar\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.622Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.622Z\"\n        },\n        {\n            \"ProvinceID\": 52,\n            \"Name\": \"NUSA TENGGARA BARAT\",\n            \"Capital\": \"Mataram\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.674Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.674Z\"\n        },\n        {\n            \"ProvinceID\": 53,\n            \"Name\": \"NUSA TENGGARA TIMUR\",\n            \"Capital\": \"Kupang\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.721Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.721Z\"\n        },\n        {\n            \"ProvinceID\": 61,\n            \"Name\": \"KALIMANTAN BARAT\",\n            \"Capital\": \"Pontianak\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.780Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.780Z\"\n        },\n        {\n            \"ProvinceID\": 62,\n            \"Name\": \"KALIMANTAN TENGAH\",\n            \"Capital\": \"Palangkaraya\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.830Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.830Z\"\n        },\n        {\n            \"ProvinceID\": 63,\n            \"Name\": \"KALIMANTAN SELATAN\",\n            \"Capital\": \"Banjarmasin\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.889Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.889Z\"\n        },\n        {\n            \"ProvinceID\": 64,\n            \"Name\": \"KALIMANTAN TIMUR\",\n            \"Capital\": \"Samarinda\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.937Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.937Z\"\n        },\n        {\n            \"ProvinceID\": 65,\n            \"Name\": \"KALIMANTAN UTARA\",\n            \"Capital\": \"Tanjung Selor\",\n            \"CreatedAt\": \"2023-12-07T10:00:56.983Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:56.983Z\"\n        },\n        {\n            \"ProvinceID\": 71,\n            \"Name\": \"SULAWESI UTARA\",\n            \"Capital\": \"Manado\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.033Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.033Z\"\n        },\n        {\n            \"ProvinceID\": 72,\n            \"Name\": \"SULAWESI TENGAH\",\n            \"Capital\": \"Palu\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.089Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.089Z\"\n        },\n        {\n            \"ProvinceID\": 73,\n            \"Name\": \"SULAWESI SELATAN\",\n            \"Capital\": \"Makassar\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.137Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.137Z\"\n        },\n        {\n            \"ProvinceID\": 74,\n            \"Name\": \"SULAWESI TENGGARA\",\n            \"Capital\": \"Kendari\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.185Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.185Z\"\n        },\n        {\n            \"ProvinceID\": 75,\n            \"Name\": \"GORONTALO\",\n            \"Capital\": \"Gorontalo\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.231Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.231Z\"\n        },\n        {\n            \"ProvinceID\": 76,\n            \"Name\": \"SULAWESI BARAT\",\n            \"Capital\": \"Mamuju\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.276Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.276Z\"\n        },\n        {\n            \"ProvinceID\": 81,\n            \"Name\": \"MALUKU\",\n            \"Capital\": \"Ambon\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.322Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.322Z\"\n        },\n        {\n            \"ProvinceID\": 82,\n            \"Name\": \"MALUKU UTARA\",\n            \"Capital\": \"Sofifi\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.368Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.368Z\"\n        },\n        {\n            \"ProvinceID\": 91,\n            \"Name\": \"PAPUA BARAT\",\n            \"Capital\": \"Manokwari\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.425Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.425Z\"\n        },\n        {\n            \"ProvinceID\": 94,\n            \"Name\": \"PAPUA\",\n            \"Capital\": \"Jayapura\",\n            \"CreatedAt\": \"2023-12-07T10:00:57.472Z\",\n            \"UpdatedAt\": \"2023-12-07T10:00:57.472Z\"\n        }\n    ]\n}"}],"_postman_id":"997e50f9-caee-42d7-b894-e8b18b5de609"},{"name":"get by id","id":"94e09a36-3ab3-41bf-98f3-59daf29f2e85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/province/11","urlObject":{"protocol":"http","port":"3000","path":["province","11"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"27960445-5ec9-4c01-8cb0-4361aa2d3b98","name":"get by id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/province/11"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"183"},{"key":"ETag","value":"W/\"b7-FWUjqBp+3SRZ8SdU79P3GRd0pHs\""},{"key":"Date","value":"Wed, 13 Dec 2023 07:59:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Province fetched successfully\",\n    \"data\": {\n        \"ProvinceID\": 11,\n        \"Name\": \"ACEH\",\n        \"Capital\": \"Banda Aceh\",\n        \"CreatedAt\": \"2023-12-07T10:00:55.515Z\",\n        \"UpdatedAt\": \"2023-12-07T10:00:55.515Z\"\n    }\n}"}],"_postman_id":"94e09a36-3ab3-41bf-98f3-59daf29f2e85"}],"id":"c26a02af-653c-4cd6-a331-32de95e7f937","_postman_id":"c26a02af-653c-4cd6-a331-32de95e7f937","description":""},{"name":"blood type","item":[{"name":"get all","id":"931af707-28e5-47de-87f7-cfbcbc6c5d11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/blood-type","urlObject":{"protocol":"http","port":"3000","path":["blood-type"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"49c2bc90-21f7-4efd-95f7-cf4130a8db55","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-type"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"297"},{"key":"ETag","value":"W/\"129-regLWB7xHflLBH+TxsCfqcO8ays\""},{"key":"Date","value":"Wed, 13 Dec 2023 07:58:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood types fetched successfully\",\n    \"data\": [\n        {\n            \"BloodTypeID\": 1,\n            \"Type\": \"A+\"\n        },\n        {\n            \"BloodTypeID\": 2,\n            \"Type\": \"A-\"\n        },\n        {\n            \"BloodTypeID\": 3,\n            \"Type\": \"B+\"\n        },\n        {\n            \"BloodTypeID\": 4,\n            \"Type\": \"B-\"\n        },\n        {\n            \"BloodTypeID\": 5,\n            \"Type\": \"AB+\"\n        },\n        {\n            \"BloodTypeID\": 6,\n            \"Type\": \"AB-\"\n        },\n        {\n            \"BloodTypeID\": 7,\n            \"Type\": \"O+\"\n        },\n        {\n            \"BloodTypeID\": 8,\n            \"Type\": \"O-\"\n        }\n    ]\n}"}],"_postman_id":"931af707-28e5-47de-87f7-cfbcbc6c5d11"},{"name":"get by id","id":"2a259c6c-80cc-45bf-80a3-e6f8e7d2d9eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/blood-type/1","urlObject":{"protocol":"http","port":"3000","path":["blood-type","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5cf05544-f419-4433-b780-db90bdbfa9de","name":"sucess","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/blood-type/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Vary","value":"Origin"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"ETag","value":"W/\"52-6I1+CKKy3s1rJarPNyJMdyPVl/4\""},{"key":"Date","value":"Wed, 13 Dec 2023 07:58:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blood type fetched successfully\",\n    \"data\": {\n        \"BloodTypeID\": 1,\n        \"Type\": \"A+\"\n    }\n}"}],"_postman_id":"2a259c6c-80cc-45bf-80a3-e6f8e7d2d9eb"}],"id":"c9272cd4-375c-4b05-a609-62d8dd05858c","_postman_id":"c9272cd4-375c-4b05-a609-62d8dd05858c","description":""},{"name":"payment","item":[{"name":"create","id":"e8b230b9-097b-418f-b37a-d300172a5a3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 10000,\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johndoe@example.com\",\n    \"phone\": \"1234567890\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/donation/create","urlObject":{"protocol":"http","port":"3000","path":["donation","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"94c3d395-135d-48ec-930c-8b851419008c","name":"create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 10000,\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johndoe@example.com\",\n    \"phone\": \"1234567890\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/donate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-vSgyyXvetwN2SDalYecTqvrWkRo\""},{"key":"Date","value":"Wed, 13 Dec 2023 10:42:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"redirectUrl\": \"https://app.sandbox.midtrans.com/snap/v3/redirection/e3a8f5da-a789-45aa-9f44-8d23ed4aa081\"\n}"}],"_postman_id":"e8b230b9-097b-418f-b37a-d300172a5a3b"},{"name":"notif local","id":"302700de-cd99-455e-bda4-d28090f8139c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"transaction_status\": \"settlement\",\n    \"order_id\": \"23\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/donation/midtrans-notification","urlObject":{"protocol":"http","port":"3000","path":["donation","midtrans-notification"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"73ccd315-dcea-4350-9bc3-501a7e15b138","name":"create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 10000,\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johndoe@example.com\",\n    \"phone\": \"1234567890\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/donate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-vSgyyXvetwN2SDalYecTqvrWkRo\""},{"key":"Date","value":"Wed, 13 Dec 2023 10:42:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"redirectUrl\": \"https://app.sandbox.midtrans.com/snap/v3/redirection/e3a8f5da-a789-45aa-9f44-8d23ed4aa081\"\n}"}],"_postman_id":"302700de-cd99-455e-bda4-d28090f8139c"},{"name":"notif ngrok","id":"208f50bb-e995-4b0e-8ede-9a16d4fe6e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"transaction_status\": \"settlement\",\n    \"order_id\": \"9\"\n}","options":{"raw":{"language":"json"}}},"url":"https://9036-2404-c0-1c10-00-111a-556c.ngrok-free.app/midtrans-notification","urlObject":{"protocol":"https","path":["midtrans-notification"],"host":["9036-2404-c0-1c10-00-111a-556c","ngrok-free","app"],"query":[],"variable":[]}},"response":[{"id":"6eddc5b7-680e-4631-938f-fdeb5faede51","name":"create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 10000,\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"johndoe@example.com\",\n    \"phone\": \"1234567890\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/donate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Permissions-Policy","value":"geolocation=self"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-vSgyyXvetwN2SDalYecTqvrWkRo\""},{"key":"Date","value":"Wed, 13 Dec 2023 10:42:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"redirectUrl\": \"https://app.sandbox.midtrans.com/snap/v3/redirection/e3a8f5da-a789-45aa-9f44-8d23ed4aa081\"\n}"}],"_postman_id":"208f50bb-e995-4b0e-8ede-9a16d4fe6e77"},{"name":"get total dpnate","id":"1dfca4a8-bbbb-4161-b28b-00523b0033b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/donation/total-donations","urlObject":{"protocol":"http","port":"3000","path":["donation","total-donations"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1dfca4a8-bbbb-4161-b28b-00523b0033b3"},{"name":"get all","id":"fa266066-ef96-46b9-aad2-b63b7f77a701","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/donation","urlObject":{"protocol":"http","port":"3000","path":["donation"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa266066-ef96-46b9-aad2-b63b7f77a701"}],"id":"6b670065-2193-48b9-aebf-650aad4cdb38","_postman_id":"6b670065-2193-48b9-aebf-650aad4cdb38","description":""},{"name":"user","item":[{"name":"get all","id":"c0306056-5028-4be4-84af-f39ae9380263","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/user/list-users","urlObject":{"protocol":"http","port":"3000","path":["user","list-users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0306056-5028-4be4-84af-f39ae9380263"},{"name":"get all with query","id":"e9ee84aa-b79e-4655-a135-150257f935eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{Barier Key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/user/list-users?page=1&limit=10&location=aceh","urlObject":{"protocol":"http","port":"3000","path":["user","list-users"],"host":["localhost"],"query":[{"disabled":true,"key":"searchBy","value":"all"},{"disabled":true,"key":"name","value":""},{"disabled":true,"key":"email","value":""},{"disabled":true,"key":"phone","value":""},{"disabled":true,"key":"query","value":"d"},{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"location","value":"aceh"}],"variable":[]}},"response":[],"_postman_id":"e9ee84aa-b79e-4655-a135-150257f935eb"}],"id":"d78ed1e5-aa3a-476c-8d07-345d53968753","_postman_id":"d78ed1e5-aa3a-476c-8d07-345d53968753","description":""},{"name":"New Request","id":"8d65ad97-e0b6-45c8-b9d5-0c43fb97bf5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"messageBody\": \"saranghe\",\n  \"recipientNumber\": \"+6285270663673\"\n}\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/send-message","urlObject":{"protocol":"http","port":"3000","path":["send-message"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d65ad97-e0b6-45c8-b9d5-0c43fb97bf5b"}]}