{"info":{"_postman_id":"f8e55e5b-1697-4290-9021-5b560ec82fa8","name":"Event Volunteer Management","description":"<html><head></head><body><p>APIs designed to simplify managing event volunteers by handling registrations, schedules, &amp; roles. Ideal for organizing events efficiently and ensuring seamless coordination with volunteers.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29778371","collectionId":"f8e55e5b-1697-4290-9021-5b560ec82fa8","publishedId":"2sAYBbfA2g","public":true,"customColor":{"top-bar":"525FE1","right-sidebar":"FFA41B","highlight":"FF6C37"},"publishDate":"2025-01-04T13:23:01.000Z"},"item":[{"name":"Home","id":"74ec0fd6-7e62-4ae0-9fdf-a59ea76c7ec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-events}}/","urlObject":{"path":[""],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"74ec0fd6-7e62-4ae0-9fdf-a59ea76c7ec7"},{"name":"Get events","id":"680021b0-7ee1-452d-9df1-28faf6ffc2f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host-events}}/events","description":"<p>The endpoint retrieves a list of events. The response for this request can be represented as a JSON schema as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"_id\": { \"type\": \"string\" },\n      \"name\": { \"type\": \"string\" },\n      \"date\": { \"type\": \"string\" },\n      \"location\": { \"type\": \"string\" },\n      \"description\": { \"type\": \"string\" },\n      \"type\": { \"type\": \"string\" },\n      \"requiredVolunteers\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"roleName\": { \"type\": \"string\" },\n            \"roleRequirements\": { \"type\": \"string\" },\n            \"requiredNumber\": { \"type\": \"integer\" },\n            \"_id\": { \"type\": \"string\" }\n          }\n        }\n      },\n      \"registeredVolunteers\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"volunteer\": { \"type\": \"string\" },\n            \"role\": { \"type\": \"string\" },\n            \"_id\": { \"type\": \"string\" }\n          }\n        }\n      },\n      \"__v\": { \"type\": \"integer\" }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["events"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"cb517e22-0b1f-420c-9a29-acfd746e3b6c","name":"Get events","originalRequest":{"method":"GET","header":[],"url":"{{host-events}}/events"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"2"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 13:23:01 GMT"},{"key":"Etag","value":"W/\"2-l9Fw4VUO7kr8CvBlt4zaMCqXZ0w\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[]"},{"id":"4b25fcac-78c3-4341-8f59-4cb9cc7c3464","name":"Get events","originalRequest":{"method":"GET","header":[],"url":"{{host-events}}/events"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"535"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:10:08 GMT"},{"key":"Etag","value":"W/\"217-BneMPMll7arTn5NTRK4PeFMqFxw\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"66670184475a3dd635a2daf6\",\n        \"name\": \"Blood Donation\",\n        \"date\": \"2024-05-13T00:00:00.000Z\",\n        \"location\": \"MK Ground\",\n        \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n        \"type\": \"Offline\",\n        \"requiredVolunteers\": [\n            {\n                \"roleName\": \"Venue Organizers\",\n                \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n                \"requiredNumber\": 5,\n                \"_id\": \"66670184475a3dd635a2daf7\"\n            }\n        ],\n        \"registeredVolunteers\": [\n            {\n                \"volunteer\": \"66674f136bd65f4603006616\",\n                \"role\": \"First Aid\",\n                \"_id\": \"66674f146bd65f4603006619\"\n            }\n        ],\n        \"__v\": 0\n    }\n]"}],"_postman_id":"680021b0-7ee1-452d-9df1-28faf6ffc2f6"},{"name":"Create Events","id":"38fa126a-61b7-46bb-aa5f-dba6db626db9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation\",\n    \"date\": \"2024-05-13\",\n    \"location\": \"MK Ground\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ],\n    \"registeredVolunteers\" : []\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events","urlObject":{"path":["events"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"249e0203-87a9-47f4-8b70-1c51e0bedec3","name":"Create Events","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation\",\n    \"date\": \"2024-05-13\",\n    \"location\": \"MK Ground\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ],\n    \"registeredVolunteers\" : []\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"441"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 13:37:09 GMT"},{"key":"Etag","value":"W/\"1b9-zPM+6+WdSS2G4JlNwSEzm+tgCpg\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Blood Donation\",\n    \"date\": \"2024-05-13T00:00:00.000Z\",\n    \"location\": \"MK Ground\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5,\n            \"_id\": \"66670184475a3dd635a2daf7\"\n        }\n    ],\n    \"registeredVolunteers\": [],\n    \"_id\": \"66670184475a3dd635a2daf6\",\n    \"__v\": 0\n}"}],"_postman_id":"38fa126a-61b7-46bb-aa5f-dba6db626db9"},{"name":"Update Events","id":"0b90ea19-81b1-4c68-ad93-44bdd695ca8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation Camp\",\n    \"date\": \"2024-06-13\",\n    \"location\": \"MK Ground near GM road\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events/66670184475a3dd635a2daf6","description":"<h3 id=\"update-event-details\">Update Event Details</h3>\n<p>This endpoint is used to update the details of a specific event.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>name (string, required): The name of the event.</p>\n</li>\n<li><p>date (string, required): The date of the event.</p>\n</li>\n<li><p>location (string, required): The location of the event.</p>\n</li>\n<li><p>description (string, required): A brief description of the event.</p>\n</li>\n<li><p>type (string, required): The type of the event.</p>\n</li>\n<li><p>requiredVolunteers (array, required): An array of objects containing details about the volunteers required for the event.</p>\n<ul>\n<li><p>roleName (string, required): The role or position for which volunteers are required.</p>\n</li>\n<li><p>roleRequirements (string, required): The specific requirements or responsibilities for the role.</p>\n</li>\n<li><p>requiredNumber (number, required): The number of volunteers required for the role.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be in the form of a JSON schema with the following properties:</p>\n<ul>\n<li><p>_id (string): The unique identifier of the event.</p>\n</li>\n<li><p>name (string): The name of the event.</p>\n</li>\n<li><p>date (string): The date of the event.</p>\n</li>\n<li><p>location (string): The location of the event.</p>\n</li>\n<li><p>description (string): A brief description of the event.</p>\n</li>\n<li><p>type (string): The type of the event.</p>\n</li>\n<li><p>requiredVolunteers (array): An array of objects containing details about the required volunteers.</p>\n<ul>\n<li><p>roleName (string): The role or position for which volunteers are required.</p>\n</li>\n<li><p>roleRequirements (string): The specific requirements or responsibilities for the role.</p>\n</li>\n<li><p>requiredNumber (number): The number of volunteers required for the role.</p>\n</li>\n</ul>\n</li>\n<li><p>registeredVolunteers (array): An array of objects containing details about the volunteers who have registered for the event.</p>\n<ul>\n<li><p>volunteer (string): The name of the volunteer.</p>\n</li>\n<li><p>role (string): The role or position for which the volunteer has registered.</p>\n</li>\n</ul>\n</li>\n<li><p>__v (number): Version key for optimistic concurrency control.</p>\n</li>\n</ul>\n","urlObject":{"path":["events","66670184475a3dd635a2daf6"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"d09d5559-53c2-4e7b-b1a9-41001735334c","name":"Update Events","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation Camp\",\n    \"date\": \"2024-06-13\",\n    \"location\": \"MK Ground near GM road\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events/66670184475a3dd635a2daf6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"551"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:16:28 GMT"},{"key":"Etag","value":"W/\"227-YqO5rKPeHcsFjYc2ztpJtX+ILPE\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"66670184475a3dd635a2daf6\",\n    \"name\": \"Blood Donation Camp\",\n    \"date\": \"2024-06-13T00:00:00.000Z\",\n    \"location\": \"MK Ground near GM road\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5,\n            \"_id\": \"6667510c6bd65f4603006625\"\n        }\n    ],\n    \"registeredVolunteers\": [\n        {\n            \"volunteer\": \"66674f136bd65f4603006616\",\n            \"role\": \"First Aid\",\n            \"_id\": \"66674f146bd65f4603006619\"\n        }\n    ],\n    \"__v\": 0\n}"}],"_postman_id":"0b90ea19-81b1-4c68-ad93-44bdd695ca8a"},{"name":"Delete Events","id":"77dea1be-b676-4584-924a-a1f8d7ca63f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation\",\n    \"date\": \"2024-05-13\",\n    \"location\": \"MK Ground\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ],\n    \"registeredVolunteers\" : []\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events/666758366bd65f4603006635","description":"<h3 id=\"delete-event\">Delete Event</h3>\n<p>This endpoint is used to delete a specific event by providing the event ID in the URL.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: DELETE</p>\n</li>\n<li><p>URL: <code>{{host-events}}/events/666758366bd65f4603006635</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>Type: Raw</p>\n</li>\n<li><p>{ \"name\": \"Blood Donation\", \"date\": \"2024-05-13\", \"location\": \"MK Ground\", \"description\": \"Raise Awareness about Blood Donation\", \"type\": \"Offline\", \"requiredVolunteers\": [ { \"roleName\": \"Venue Organizers\", \"roleRequirements\": \"Prompt help to people, making arrangements\", \"requiredNumber\": 5 } ], \"registeredVolunteers\": []}</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is an empty JSON object.</p>\n<h4 id=\"response-schema\">Response Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["events","666758366bd65f4603006635"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"f0e27eee-341f-48e7-9597-76e9e5d3ffdc","name":"Delete Events","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation\",\n    \"date\": \"2024-05-13\",\n    \"location\": \"MK Ground\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ],\n    \"registeredVolunteers\" : []\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events/666758366bd65f4603006635"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"40"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:48:03 GMT"},{"key":"Etag","value":"W/\"28-wRdTlJ5aU6ll9KPBiGmQileIzOM\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Event deleted successfully\"\n}"},{"id":"35f0ae9d-1b98-4e0f-b9c3-611386bd5f4a","name":"Delete Events","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Blood Donation\",\n    \"date\": \"2024-05-13\",\n    \"location\": \"MK Ground\",\n    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n    \"type\": \"Offline\",\n    \"requiredVolunteers\": [\n        {\n            \"roleName\": \"Venue Organizers\",\n            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n            \"requiredNumber\": 5\n        }\n    ],\n    \"registeredVolunteers\" : []\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/events/6667576c6bd65f460300662b"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"27"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:49:08 GMT"},{"key":"Etag","value":"W/\"1b-SYF2p/oA29tiZWZPQlLAsiL8obA\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Event not found\"\n}"}],"_postman_id":"77dea1be-b676-4584-924a-a1f8d7ca63f7"},{"name":"Create Volunteer","id":"1ad28ffc-a6d0-4d0b-8f98-37b2f48297ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers/","description":"<p>The endpoint makes an HTTP POST request to create a new volunteer at the specified host. The request body should contain the volunteer's name, contact information, skills, availability, areas of interest, and assigned events.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p>name (string, required): The name of the volunteer.</p>\n</li>\n<li><p>contactInfo (object, required): The contact information of the volunteer.</p>\n<ul>\n<li><p>email (string, required): The email address of the volunteer.</p>\n</li>\n<li><p>phoneNumber (string, required): The phone number of the volunteer.</p>\n</li>\n</ul>\n</li>\n<li><p>skills (array of strings, required): The skills possessed by the volunteer.</p>\n</li>\n<li><p>availability (string, required): The availability of the volunteer.</p>\n</li>\n<li><p>areasOfInterest (array of strings, required): The areas of interest for the volunteer.</p>\n</li>\n<li><p>assignedEvents (array of objects, required): The events assigned to the volunteer.</p>\n<ul>\n<li><p>event (string, required): The ID of the assigned event.</p>\n</li>\n<li><p>role (string, required): The role of the volunteer in the event.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be in the form of a JSON schema. An example response for this request is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"\",\n  \"contactInfo\": {\n    \"email\": \"\",\n    \"phoneNumber\": \"\"\n  },\n  \"skills\": [\"\"],\n  \"availability\": \"\",\n  \"areasOfInterest\": [\"\"],\n  \"assignedEvents\": [\n    {\n      \"event\": \"\",\n      \"role\": \"\",\n      \"_id\": \"\"\n    }\n  ],\n  \"_id\": \"\",\n  \"__v\": 0\n}\n\n</code></pre>\n","urlObject":{"path":["volunteers",""],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"44570fd3-6aa1-44ae-8e0a-49624a9e8294","name":"Create Volunteer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"362"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:08:04 GMT"},{"key":"Etag","value":"W/\"16a-W66osNEONljsZTiG9M+0xaObAPg\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n        {\n            \"event\": \"66670184475a3dd635a2daf6\",\n            \"role\": \"First Aid\",\n            \"_id\": \"66674f136bd65f4603006617\"\n        }\n    ],\n    \"_id\": \"66674f136bd65f4603006616\",\n    \"__v\": 0\n}"}],"_postman_id":"1ad28ffc-a6d0-4d0b-8f98-37b2f48297ce"},{"name":"Get Volunteer","id":"ab5d7102-5be5-4781-b35e-cb8f9f66e521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers","description":"<h3 id=\"get-volunteers\">GET /volunteers</h3>\n<p>This endpoint retrieves information about volunteers.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"name\": { \"type\": \"string\" },\n    \"contactInfo\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"email\": { \"type\": \"string\" },\n        \"phoneNumber\": { \"type\": \"string\" }\n      }\n    },\n    \"skills\": {\n      \"type\": \"array\",\n      \"items\": { \"type\": \"string\" }\n    },\n    \"availability\": { \"type\": \"string\" },\n    \"areasOfInterest\": {\n      \"type\": \"array\",\n      \"items\": { \"type\": \"string\" }\n    },\n    \"assignedEvents\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"event\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"name\": { \"type\": \"string\" },\n              \"date\": { \"type\": \"string\" },\n              \"location\": { \"type\": \"string\" },\n              \"description\": { \"type\": \"string\" },\n              \"type\": { \"type\": \"string\" },\n              \"requiredVolunteers\": {\n                \"type\": \"array\",\n                \"items\": {\n                  \"type\": \"object\",\n                  \"properties\": {\n                    \"roleName\": { \"type\": \"string\" },\n                    \"roleRequirements\": { \"type\": \"string\" },\n                    \"requiredNumber\": { \"type\": \"integer\" }\n                  }\n                }\n              },\n              \"registeredVolunteers\": {\n                \"type\": \"array\",\n                \"items\": {\n                  \"type\": \"object\",\n                  \"properties\": {\n                    \"volunteer\": { \"type\": \"string\" },\n                    \"role\": { \"type\": \"string\" }\n                  }\n                }\n              }\n            }\n          },\n          \"role\": { \"type\": \"string\" },\n          \"_id\": { \"type\": \"string\" }\n        }\n      }\n    },\n    \"_id\": { \"type\": \"string\" },\n    \"__v\": { \"type\": \"integer\" }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["volunteers"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"d0719e1f-1d30-40e5-8509-aa42df721b16","name":"Create Volunteer","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*","uuid":"f7e4da65-5ba4-48f3-8eb8-8729b06fd70f"},{"key":"Content-Length","value":"362","uuid":"aa2ab79f-a1b5-4b40-a2b8-0215f98f0507"},{"key":"Content-Type","value":"application/json; charset=utf-8","uuid":"9e510011-6057-4dd5-863f-e8f42b33d437"},{"key":"Date","value":"Mon, 10 Jun 2024 19:08:04 GMT","uuid":"22355c6e-7e7a-4762-bc9b-b425ce884b60"},{"key":"Etag","value":"W/\"16a-W66osNEONljsZTiG9M+0xaObAPg\"","uuid":"cd586887-cc56-421e-9b79-66041098cf1e"},{"key":"Replit-Cluster","value":"kirk","uuid":"117a2b63-dd59-4f46-b5a8-d4e718b5e6a0"},{"key":"X-Powered-By","value":"Express","uuid":"007e8f6d-1234-4643-9cd1-d97b98fb1f2b"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex","uuid":"732f729c-f699-4293-9e59-522748cd9991"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex","uuid":"732f729c-f699-4293-9e59-522748cd9991"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n        {\n            \"event\": \"66670184475a3dd635a2daf6\",\n            \"role\": \"First Aid\",\n            \"_id\": \"66674f136bd65f4603006617\"\n        }\n    ],\n    \"_id\": \"66674f136bd65f4603006616\",\n    \"__v\": 0\n}"},{"id":"a5d889f0-a905-4e85-a1be-e8188878a98d","name":"Get Volunteer","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"871"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:12:25 GMT"},{"key":"Etag","value":"W/\"367-OKEmF5712JkPKs0elHlVI1Q0sl8\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"contactInfo\": {\n            \"email\": \"john.doe@example.com\",\n            \"phoneNumber\": \"9696546899\"\n        },\n        \"_id\": \"66674f136bd65f4603006616\",\n        \"name\": \"John Doe4\",\n        \"skills\": [\n            \"First Aid\",\n            \"Event Planning\"\n        ],\n        \"availability\": \"Weekends\",\n        \"areasOfInterest\": [\n            \"Community Service\",\n            \"Healthcare\"\n        ],\n        \"assignedEvents\": [\n            {\n                \"event\": {\n                    \"_id\": \"66670184475a3dd635a2daf6\",\n                    \"name\": \"Blood Donation\",\n                    \"date\": \"2024-05-13T00:00:00.000Z\",\n                    \"location\": \"MK Ground\",\n                    \"description\": \"Raise Awareness about Blood Donation and Organize Blood Donation camp\",\n                    \"type\": \"Offline\",\n                    \"requiredVolunteers\": [\n                        {\n                            \"roleName\": \"Venue Organizers\",\n                            \"roleRequirements\": \"Prompt help to people, making required arrangements at venue\",\n                            \"requiredNumber\": 5,\n                            \"_id\": \"66670184475a3dd635a2daf7\"\n                        }\n                    ],\n                    \"registeredVolunteers\": [\n                        {\n                            \"volunteer\": \"66674f136bd65f4603006616\",\n                            \"role\": \"First Aid\",\n                            \"_id\": \"66674f146bd65f4603006619\"\n                        }\n                    ],\n                    \"__v\": 0\n                },\n                \"role\": \"First Aid\",\n                \"_id\": \"66674f136bd65f4603006617\"\n            }\n        ],\n        \"__v\": 0\n    }\n]"}],"_postman_id":"ab5d7102-5be5-4781-b35e-cb8f9f66e521"},{"name":"Update Volunteer","id":"02f49514-8cae-48dd-86df-b44252955c36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Dev\",\n    \"contactInfo\": {\n        \"email\": \"john.dev@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\",\n        \"Help Elderly\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers/66674f136bd65f4603006616","description":"<p>The endpoint sends an HTTP PUT request to update the details of a volunteer with the specified ID. The request payload should include the volunteer's name, contact information, skills, availability, and areas of interest.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p>name (string): The name of the volunteer.</p>\n</li>\n<li><p>contactInfo (object): An object containing the volunteer's contact information.</p>\n<ul>\n<li><p>email (string): The email address of the volunteer.</p>\n</li>\n<li><p>phoneNumber (string): The phone number of the volunteer.</p>\n</li>\n</ul>\n</li>\n<li><p>skills (array of strings): The skills possessed by the volunteer.</p>\n</li>\n<li><p>availability (string): The availability of the volunteer.</p>\n</li>\n<li><p>areasOfInterest (array of strings): The areas of interest for the volunteer.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"contactInfo\": {\n    \"email\": \"\",\n    \"phoneNumber\": \"\"\n  },\n  \"_id\": \"\",\n  \"name\": \"\",\n  \"skills\": [\"\"],\n  \"availability\": \"\",\n  \"areasOfInterest\": [\"\"],\n  \"assignedEvents\": [\n    {\n      \"event\": \"\",\n      \"role\": \"\",\n      \"_id\": \"\"\n    }\n  ],\n  \"__v\": 0\n}\n\n</code></pre>\n<p>The response will include the volunteer's contact information, ID, name, skills, availability, areas of interest, and assigned events. All the fields except \"assignedEvents\" will be empty or default values in the response.</p>\n","urlObject":{"path":["volunteers","66674f136bd65f4603006616"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"867999cc-c7a3-4611-8f57-905821a7ddbd","name":"Update Volunteer","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Dev\",\n    \"contactInfo\": {\n        \"email\": \"john.dev@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\",\n        \"Help Elderly\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers/66674f136bd65f4603006616"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"376"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:20:39 GMT"},{"key":"Etag","value":"W/\"178-KTm3e/aRqzIyxkodpHDIfHJ4iPc\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"contactInfo\": {\n        \"email\": \"john.dev@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"_id\": \"66674f136bd65f4603006616\",\n    \"name\": \"John Dev\",\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\",\n        \"Help Elderly\"\n    ],\n    \"assignedEvents\": [\n        {\n            \"event\": \"66670184475a3dd635a2daf6\",\n            \"role\": \"First Aid\",\n            \"_id\": \"66674f136bd65f4603006617\"\n        }\n    ],\n    \"__v\": 0\n}"}],"_postman_id":"02f49514-8cae-48dd-86df-b44252955c36"},{"name":"Delete Volunteer","id":"2f686ded-7768-44b6-bd0a-58c78fe9d977","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers/6667576c6bd65f460300662b","description":"<h3 id=\"delete-volunteer\">Delete Volunteer</h3>\n<p>This endpoint is used to delete a specific volunteer by their unique identifier.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: DELETE</p>\n</li>\n<li><p>URL: <code>{{host-events}}/volunteers/6667576c6bd65f460300662b</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request does not require a request body.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is an empty JSON object.</p>\n<h4 id=\"response-json-schema\">Response JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["volunteers","6667576c6bd65f460300662b"],"host":["{{host-events}}"],"query":[],"variable":[]}},"response":[{"id":"7f4244dd-bf3b-443e-bb76-b992ec323b0d","name":"Delete Volunteer","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Doe4\",\n    \"contactInfo\": {\n        \"email\": \"john.doe@example.com\",\n        \"phoneNumber\": \"9696546899\"\n    },\n    \"skills\": [\n        \"First Aid\",\n        \"Event Planning\"\n    ],\n    \"availability\": \"Weekends\",\n    \"areasOfInterest\": [\n        \"Community Service\",\n        \"Healthcare\"\n    ],\n    \"assignedEvents\": [\n    {\n      \"event\": \"66670184475a3dd635a2daf6\",\n      \"role\": \"First Aid\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host-events}}/volunteers/6667576c6bd65f460300662b"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"44"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 10 Jun 2024 19:44:42 GMT"},{"key":"Etag","value":"W/\"2c-xZzFylmwbOGQEECpn7Va0fVfd28\""},{"key":"Replit-Cluster","value":"kirk"},{"key":"X-Powered-By","value":"Express"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"},{"key":"X-Robots-Tag","value":"none, noindex, noarchive, nofollow, nositelinkssearchbox, noimageindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Volunteer deleted successfully\"\n}"}],"_postman_id":"2f686ded-7768-44b6-bd0a-58c78fe9d977"}]}