{"info":{"_postman_id":"001fa662-36a8-4af5-8ab7-1bff9a8079ce","name":"virtual-voucher-api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15378956","collectionId":"001fa662-36a8-4af5-8ab7-1bff9a8079ce","publishedId":"2s9YJaYj9r","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-09-30T14:13:06.000Z"},"item":[{"name":"Auth","item":[{"name":"Register User","id":"d0ce0975-ff03-4e16-a042-189d0c1d395e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"admin1@1234.com\",\n    \"password\":\"admin\",\n    \"fullname\":\"participant\",\n    \"role\":\"ORGANIZER\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/sign-up/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","sign-up",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cd1946a3-2333-4a5b-8594-2bd85d2be732","name":"Register User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"participant2@1234.com\",\n    \"password\":\"admin\",\n    \"fullname\":\"participant\",\n    \"role\":\"APP_USER\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/sign-up/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:22:11 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"237"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"email\": \"participant2@1234.com\",\n        \"fullname\": \"participant\",\n        \"role\": \"APP_USER\",\n        \"is_active\": true,\n        \"is_staff\": false,\n        \"created_at\": \"2023-09-30T14:22:11.010038Z\"\n    },\n    \"token\": \"4ed67bd0d46048b24ce22bbcf7d0b8c4bf4b3a7e5accb179e532fe20da0d0713\"\n}"}],"_postman_id":"d0ce0975-ff03-4e16-a042-189d0c1d395e"},{"name":"Login User","event":[{"listen":"test","script":{"id":"bb61952b-52b8-4c65-a95d-1606ca0138f7","exec":[""],"type":"text/javascript"}}],"id":"e918aa41-401c-4448-813b-9daa0a4ec629","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\":\"admin1@1234.com\",\n    \"password\":\"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/login/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","login",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f5c97382-6009-4d95-a758-3609a0401943","name":"Login User","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Token 4ed67bd0d46048b24ce22bbcf7d0b8c4bf4b3a7e5accb179e532fe20da0d0713","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\":\"participant2@1234.com\",\n    \"password\":\"admin\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:24:58 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"237"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Set-Cookie","value":"csrftoken=NOrKbLpGyF1o2WnpNGNvqVXXKD8mncsE; expires=Sat, 28 Sep 2024 14:24:58 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"sessionid=f5bk5ikk0hizetci27bofc0suqygn7lf; expires=Sat, 14 Oct 2023 14:24:58 GMT; HttpOnly; Max-Age=1209600; Path=/; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"email\": \"participant2@1234.com\",\n        \"fullname\": \"participant\",\n        \"role\": \"APP_USER\",\n        \"is_active\": true,\n        \"is_staff\": false,\n        \"created_at\": \"2023-09-30T14:22:11.010038Z\"\n    },\n    \"token\": \"32a9469264682b954dc2cd884bdcd7bcc849b536ea5c12961cdbc62ebf8652a0\"\n}"}],"_postman_id":"e918aa41-401c-4448-813b-9daa0a4ec629"},{"name":"Logout User","id":"0871c1f1-9ca6-4ea1-9b14-3284cede7957","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Token 51034342c077659fb9ccb5aaae5d1c703d358fb1014500dfafefb15f6e5a17db","type":"text"}],"url":"http://localhost:8000/api-v1/logout/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","logout",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"195ce86b-f10b-4af9-9d6c-7364bd113997","name":"Logout User","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 51034342c077659fb9ccb5aaae5d1c703d358fb1014500dfafefb15f6e5a17db","type":"text"}],"url":"http://localhost:8000/api-v1/logout/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:24:44 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0871c1f1-9ca6-4ea1-9b14-3284cede7957"},{"name":"Logout All User Sessions","id":"5354bb19-e9d9-4bcd-92c7-8b0db5f2a670","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Token 3db4b181a76ee7d2df02814c6cdbe2563f16669b34501456c0067ef107f33cc3","type":"text"}],"url":"http://localhost:8000/api-v1/logoutall/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","logoutall",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5354bb19-e9d9-4bcd-92c7-8b0db5f2a670"}],"id":"82cac3c2-dbaa-40bf-afe5-0d49c6b64d39","_postman_id":"82cac3c2-dbaa-40bf-afe5-0d49c6b64d39","description":""},{"name":"Events","item":[{"name":"Get All Events","id":"70d20339-fadf-414e-8953-786cae057b0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"url":"http://localhost:8000/api-v1/all-events/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","all-events",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"866d1981-c0df-440b-82ce-0360efc07b4c","name":"Get All Events","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"url":"http://localhost:8000/api-v1/all-events/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:29:54 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"316"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"events\": [\n        {\n            \"id\": 1,\n            \"created_by\": {\n                \"email\": \"admin1@1234.com\",\n                \"fullname\": \"participant\",\n                \"role\": \"ORGANIZER\",\n                \"is_active\": true,\n                \"is_staff\": false,\n                \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n            },\n            \"participants\": [],\n            \"event_id\": \"EV#42832\",\n            \"name\": \"Hacker X Career Fair\",\n            \"date\": \"2023-04-01\",\n            \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n        }\n    ]\n}"}],"_postman_id":"70d20339-fadf-414e-8953-786cae057b0e"},{"name":"Create Event","id":"dac234be-58b4-499f-9ac6-4c0aca21d271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Hacker X Career Fair\",\n    \"date\":\"2023-04-01\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-event/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","cud-event",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d9cc33fa-5e34-40ac-a630-7900469c534b","name":"Create Event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Hacker X Career Fair\",\n    \"date\":\"2023-04-01\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-event/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:29:40 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"313"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"event\": {\n        \"id\": 1,\n        \"created_by\": {\n            \"email\": \"admin1@1234.com\",\n            \"fullname\": \"participant\",\n            \"role\": \"ORGANIZER\",\n            \"is_active\": true,\n            \"is_staff\": false,\n            \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n        },\n        \"participants\": [],\n        \"event_id\": \"EV#42832\",\n        \"name\": \"Hacker X Career Fair\",\n        \"date\": \"2023-04-01\",\n        \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n    }\n}"}],"_postman_id":"dac234be-58b4-499f-9ac6-4c0aca21d271"},{"name":"Update Event","id":"f95647f5-9348-44b1-a3e9-ddb3018035c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \"event_id\": \"EV#42832\",\n    \"name\":\"Django Developers Conference Second Edition\",\n    \"date\":\"2023-08-04\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-event/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","cud-event",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8ec94992-b9a2-4784-aefa-557899569212","name":"Update Event","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \"event_id\": \"EV#42832\",\n    \"name\":\"Django Developers Conference Second Edition\",\n    \"date\":\"2023-08-04\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-event/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:31:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"336"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"event\": {\n        \"id\": 1,\n        \"created_by\": {\n            \"email\": \"admin1@1234.com\",\n            \"fullname\": \"participant\",\n            \"role\": \"ORGANIZER\",\n            \"is_active\": true,\n            \"is_staff\": false,\n            \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n        },\n        \"participants\": [],\n        \"event_id\": \"EV#42832\",\n        \"name\": \"Django Developers Conference Second Edition\",\n        \"date\": \"2023-08-04\",\n        \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n    }\n}"}],"_postman_id":"f95647f5-9348-44b1-a3e9-ddb3018035c6"},{"name":"Delete Event","id":"9162b620-6407-4f94-b02b-9eba21b7df4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"event_id\": \"EV#35910\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-event/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","cud-event",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0b663009-1fc9-41dd-9456-cbce7ab449f4","name":"Delete Event","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"event_id\": \"EV#35910\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-event/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:32:24 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"40"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Event Deleted Successfully\"\n}"}],"_postman_id":"9162b620-6407-4f94-b02b-9eba21b7df4f"},{"name":"Join Event","id":"58d1ec72-f75a-4413-9360-2a5c581376fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 51cc0511ce5198338834be4110720f3f57013c03829ba50e4c04ebe00c31bdd5","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event_id\":\"EV20230820203925218215\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/add-participant/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","add-participant",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2b337504-c199-4e95-9e88-3ed35fbd5438","name":"Join Event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 1e720edae96e29d61cb23812d1b8df7733c2d694cc6643854625afa1b6ca5298","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event_id\":\"EV#42832\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/add-participant/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:45:52 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"482"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"event\": {\n        \"id\": 1,\n        \"created_by\": {\n            \"email\": \"admin1@1234.com\",\n            \"fullname\": \"participant\",\n            \"role\": \"ORGANIZER\",\n            \"is_active\": true,\n            \"is_staff\": false,\n            \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n        },\n        \"participants\": [\n            {\n                \"email\": \"admin@1234.com\",\n                \"fullname\": \"participant\",\n                \"role\": \"APP_USER\",\n                \"is_active\": true,\n                \"is_staff\": false,\n                \"created_at\": \"2023-09-30T14:26:07.046468Z\"\n            }\n        ],\n        \"event_id\": \"EV#42832\",\n        \"name\": \"Django Developers Conference Second Edition\",\n        \"date\": \"2023-08-04\",\n        \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n    }\n}"}],"_postman_id":"58d1ec72-f75a-4413-9360-2a5c581376fe"}],"id":"66c425ea-fb04-4590-a1f1-1377d9e8547d","_postman_id":"66c425ea-fb04-4590-a1f1-1377d9e8547d","description":""},{"name":"Vouchers","item":[{"name":"Create Voucher","id":"d23246f4-3633-4b77-8360-863122c309f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"event_id\": \"EV#42832\",\n    \"amount\":\"30\",\n    \"voucher_type\":\"GOLD\"\n}\n\n\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-voucher/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","cud-voucher",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3c13710f-256d-467b-9ea3-886d5da799e8","name":"Create Voucher","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"event_id\": \"EV#42832\",\n    \"amount\":\"30\",\n    \"voucher_type\":\"GOLD\"\n}\n\n\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-voucher/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:34:37 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"580"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"voucher\": {\n        \"id\": 2,\n        \"event\": {\n            \"id\": 1,\n            \"created_by\": {\n                \"email\": \"admin1@1234.com\",\n                \"fullname\": \"participant\",\n                \"role\": \"ORGANIZER\",\n                \"is_active\": true,\n                \"is_staff\": false,\n                \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n            },\n            \"participants\": [],\n            \"event_id\": \"EV#42832\",\n            \"name\": \"Django Developers Conference Second Edition\",\n            \"date\": \"2023-08-04\",\n            \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n        },\n        \"created_by\": {\n            \"email\": \"admin1@1234.com\",\n            \"fullname\": \"participant\",\n            \"role\": \"ORGANIZER\",\n            \"is_active\": true,\n            \"is_staff\": false,\n            \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n        },\n        \"voucher_id\": \"VO#11969\",\n        \"amount\": \"30.00\",\n        \"voucher_type\": \"GOLD\"\n    }\n}"}],"_postman_id":"d23246f4-3633-4b77-8360-863122c309f1"},{"name":"Update Voucher","id":"bb241891-601f-4782-a086-b26a881a7e23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"voucher_id\":\"VO#11969\",\n    \"event_id\": \"EV#42832\",\n    \"amount\":\"100\",\n    \"voucher_type\":\"DIAMOND\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-voucher/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","cud-voucher",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"54d5c57d-5934-483c-aef7-233431447077","name":"Update Voucher","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"voucher_id\":\"VO#11969\",\n    \"event_id\": \"EV#42832\",\n    \"amount\":\"100\",\n    \"voucher_type\":\"DIAMOND\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-voucher/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:35:43 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"584"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"voucher\": {\n        \"id\": 2,\n        \"event\": {\n            \"id\": 1,\n            \"created_by\": {\n                \"email\": \"admin1@1234.com\",\n                \"fullname\": \"participant\",\n                \"role\": \"ORGANIZER\",\n                \"is_active\": true,\n                \"is_staff\": false,\n                \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n            },\n            \"participants\": [],\n            \"event_id\": \"EV#42832\",\n            \"name\": \"Django Developers Conference Second Edition\",\n            \"date\": \"2023-08-04\",\n            \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n        },\n        \"created_by\": {\n            \"email\": \"admin1@1234.com\",\n            \"fullname\": \"participant\",\n            \"role\": \"ORGANIZER\",\n            \"is_active\": true,\n            \"is_staff\": false,\n            \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n        },\n        \"voucher_id\": \"VO#11969\",\n        \"amount\": \"100.00\",\n        \"voucher_type\": \"DIAMOND\"\n    }\n}"}],"_postman_id":"bb241891-601f-4782-a086-b26a881a7e23"},{"name":"Get All Vouchers","id":"223b0119-e4db-4072-9447-9fb788ec25fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"url":"http://localhost:8000/api-v1/all-vouchers/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","all-vouchers",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6cf21459-4132-4b01-8e63-17b6a2edf66b","name":"Get All Vouchers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"url":"http://localhost:8000/api-v1/all-vouchers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:36:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"834"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"vouchers\": [\n        {\n            \"id\": 2,\n            \"event\": {\n                \"id\": 1,\n                \"created_by\": {\n                    \"email\": \"admin1@1234.com\",\n                    \"fullname\": \"participant\",\n                    \"role\": \"ORGANIZER\",\n                    \"is_active\": true,\n                    \"is_staff\": false,\n                    \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n                },\n                \"participants\": [],\n                \"event_id\": \"EV#42832\",\n                \"name\": \"Django Developers Conference Second Edition\",\n                \"date\": \"2023-08-04\",\n                \"created_at\": \"2023-09-30T14:29:40.397892Z\"\n            },\n            \"created_by\": {\n                \"email\": \"admin1@1234.com\",\n                \"fullname\": \"participant\",\n                \"role\": \"ORGANIZER\",\n                \"is_active\": true,\n                \"is_staff\": false,\n                \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n            },\n            \"voucher_id\": \"VO#11969\",\n            \"amount\": \"100.00\",\n            \"voucher_type\": \"DIAMOND\"\n        },\n        {\n            \"id\": 1,\n            \"event\": null,\n            \"created_by\": {\n                \"email\": \"admin1@1234.com\",\n                \"fullname\": \"participant\",\n                \"role\": \"ORGANIZER\",\n                \"is_active\": true,\n                \"is_staff\": false,\n                \"created_at\": \"2023-09-30T14:28:51.446738Z\"\n            },\n            \"voucher_id\": \"VO#66432\",\n            \"amount\": \"30.00\",\n            \"voucher_type\": \"GOLD\"\n        }\n    ]\n}"}],"_postman_id":"223b0119-e4db-4072-9447-9fb788ec25fe"},{"name":"Delete Voucher","id":"4c25b8c7-5669-41d3-8757-933f7427768e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"voucher_id\":\"VO#37478\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-voucher/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","cud-voucher",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5da71c03-8036-4a94-8381-f552131052da","name":"Delete Voucher","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"voucher_id\":\"VO#37478\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/cud-voucher/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:43:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"42"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Voucher Deleted Successfully\"\n}"}],"_postman_id":"4c25b8c7-5669-41d3-8757-933f7427768e"},{"name":"Get Voucher Stats","id":"81b9062d-5f30-495a-9fb3-93547d06f7cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"url":"http://localhost:8000/api-v1/stats/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","stats",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b46ead5f-aec0-4cb8-99c1-600405be17c2","name":"Get Voucher Stats","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"url":"http://localhost:8000/api-v1/stats/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:44:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"186"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"stats\": {\n        \"created\": {\n            \"all\": 2,\n            \"silver\": 0,\n            \"gold\": 1,\n            \"diamond\": 1\n        },\n        \"broadcasted\": {\n            \"all\": 0,\n            \"silver\": 0,\n            \"gold\": 0,\n            \"diamond\": 0\n        },\n        \"redeemed\": {\n            \"all\": 0,\n            \"silver\": 0,\n            \"gold\": 0,\n            \"diamond\": 0\n        },\n        \"balance\": 0\n    }\n}"}],"_postman_id":"81b9062d-5f30-495a-9fb3-93547d06f7cf"},{"name":"Broadcast Voucher","id":"a0b3de88-22b4-4912-926f-248241ff5f5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 204134a2eed0d7144d2947247a3b9e37f63910c3999fb0a553c43cfa17fcd05f","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event_id\":\"EV20230820203925218215\",\n    \"voucher_id\":\"VO20230820210759619695\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/broadcast-voucher/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","broadcast-voucher",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f0ff6623-1401-484f-98ec-ed3de6866ade","name":"Broadcast Voucher","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event_id\":\"EV#42832\",\n    \"voucher_id\":\"VO#66432\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/broadcast-voucher/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 14:46:56 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"47"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Vouchers Broadcasted Successfully\"\n}"}],"_postman_id":"a0b3de88-22b4-4912-926f-248241ff5f5b"},{"name":"Revoke Voucher Redeem","id":"3c907fb0-0a46-4ab1-b486-fd98494e2ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"redeemer_email\":\"admin@1234.com\",\n    \"voucher_id\":\"VO#66432\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/revoke-redeemer/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","revoke-redeemer",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bf0d3712-148a-482d-8c4a-6a855d911592","name":"Revoke Voucher Redeem","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"redeemer_email\":\"admin@1234.com\",\n    \"voucher_id\":\"VO#66432\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/revoke-redeemer/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 15:08:13 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"42"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Voucher Revoked Successfully\"\n}"}],"_postman_id":"3c907fb0-0a46-4ab1-b486-fd98494e2ce5"},{"name":"Redeem Voucher","id":"7d0bff85-d8b2-4918-a9a9-5aa81ff015a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Token 0abf45814ff07f3ab97d4cce87c06e29d13adeb0edb01f6e75eabf85fc1cdb1c","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"redeemer_email\": \"admin@1234.com\",\n    \"voucher_id\":\"VO#66432\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/redeem-voucher/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","redeem-voucher",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"791b2d00-b44f-426b-a203-a8d09b7262fc","name":"Redeem Voucher","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 0abf45814ff07f3ab97d4cce87c06e29d13adeb0edb01f6e75eabf85fc1cdb1c","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"redeemer_email\": \"admin@1234.com\",\n    \"voucher_id\":\"VO#66432\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/redeem-voucher/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 15:06:57 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"43"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Voucher Redeemed Successfully\"\n}"}],"_postman_id":"7d0bff85-d8b2-4918-a9a9-5aa81ff015a6"}],"id":"2e477985-e8a6-4488-a4ad-f4a34991a495","_postman_id":"2e477985-e8a6-4488-a4ad-f4a34991a495","description":""},{"name":"Wallet","item":[{"name":"Fund Wallet","id":"9c7de2c8-6cc5-4bcf-abed-f13fa35f24f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 100\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/credit-wallet/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","credit-wallet",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"244a083d-eadf-4981-8b21-cdab3e1cc5af","name":"Fund Wallet","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 100\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/credit-wallet/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 15:09:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"40"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Wallet Funded Successfully\"\n}"}],"_postman_id":"9c7de2c8-6cc5-4bcf-abed-f13fa35f24f7"},{"name":"Withdraw Funds","id":"c6415fee-30b8-4124-a9b5-5aecfa7515d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 50\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/debit-wallet/","urlObject":{"protocol":"http","port":"8000","path":["api-v1","debit-wallet",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"80c8224f-b279-4ee5-a31f-0dab9d2d99f6","name":"Withdraw Funds","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 6f7a8605c899c94a797464d1491c3d5f97099bac39c074193d7ac3eeef653a36","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 50\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api-v1/debit-wallet/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 30 Sep 2023 15:09:34 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"42"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Funds Withdrawn Successfully\"\n}"}],"_postman_id":"c6415fee-30b8-4124-a9b5-5aecfa7515d7"}],"id":"107f7f8f-afb7-4989-ab59-3ba48d288cf6","_postman_id":"107f7f8f-afb7-4989-ab59-3ba48d288cf6","description":""}]}