{ "info": { "_postman_id": "zoneco-org-api-collection", "name": "Zoneco ORG API", "description": "Complete API collection for Zoneco ORG backend - Campaign, Contact Us, and Composition endpoints", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Campaigns", "item": [ { "name": "GET All Campaigns", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/campaigns/", "host": [ "{{base_url}}" ], "path": [ "api", "campaigns", "" ] }, "description": "Get all campaigns" }, "response": [] }, { "name": "GET Campaign by ID", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/campaigns/1/", "host": [ "{{base_url}}" ], "path": [ "api", "campaigns", "1", "" ] }, "description": "Get a specific campaign by ID" }, "response": [] }, { "name": "POST Create Campaign", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"کمپین تست\",\n \"description\": \"این یک کمپین تستی است\",\n \"start_time\": \"2024-01-01T00:00:00Z\",\n \"end_time\": \"2024-12-31T23:59:59Z\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/api/campaigns/", "host": [ "{{base_url}}" ], "path": [ "api", "campaigns", "" ] }, "description": "Create a new campaign" }, "response": [] }, { "name": "GET Active Campaigns", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/campaigns/active/", "host": [ "{{base_url}}" ], "path": [ "api", "campaigns", "active", "" ] }, "description": "Get all currently active campaigns" }, "response": [] }, { "name": "GET Upcoming Campaigns", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/campaigns/upcoming/", "host": [ "{{base_url}}" ], "path": [ "api", "campaigns", "upcoming", "" ] }, "description": "Get all upcoming campaigns" }, "response": [] }, { "name": "GET Ended Campaigns", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/campaigns/ended/", "host": [ "{{base_url}}" ], "path": [ "api", "campaigns", "ended", "" ] }, "description": "Get all ended campaigns" }, "response": [] } ], "description": "Campaign management endpoints" }, { "name": "Contact Us", "item": [ { "name": "GET All Contact Us", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/contact-us/", "host": [ "{{base_url}}" ], "path": [ "api", "contact-us", "" ] }, "description": "Get all contact form submissions" }, "response": [] }, { "name": "GET Contact Us by ID", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/contact-us/1/", "host": [ "{{base_url}}" ], "path": [ "api", "contact-us", "1", "" ] }, "description": "Get a specific contact submission by ID" }, "response": [] }, { "name": "POST Create Contact Us", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"احمد محمدی\",\n \"email_or_phone\": \"ahmad@example.com\",\n \"description\": \"سلام، می‌خواستم در مورد خدمات شما اطلاعات بیشتری دریافت کنم.\",\n \"category\": \"پشتیبانی\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/api/contact-us/", "host": [ "{{base_url}}" ], "path": [ "api", "contact-us", "" ] }, "description": "Submit a new contact form" }, "response": [] }, { "name": "GET Contact Us by Category", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/contact-us/by_category/?category=پشتیبانی", "host": [ "{{base_url}}" ], "path": [ "api", "contact-us", "by_category", "" ], "query": [ { "key": "category", "value": "پشتیبانی", "description": "Category: همکاری, فروش, پشتیبانی, درخواست مشاور, سایر" } ] }, "description": "Get contacts filtered by category" }, "response": [] } ], "description": "Contact form submission endpoints" }, { "name": "Compositions", "item": [ { "name": "GET All Compositions", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/compositions/", "host": [ "{{base_url}}" ], "path": [ "api", "compositions", "" ] }, "description": "Get all compositions" }, "response": [] }, { "name": "GET Composition by ID", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/api/compositions/1/", "host": [ "{{base_url}}" ], "path": [ "api", "compositions", "1", "" ] }, "description": "Get a specific composition by ID" }, "response": [] }, { "name": "POST Create Composition", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"ترکیب تست\",\n \"description\": \"این یک ترکیب تستی است\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{base_url}}/api/compositions/", "host": [ "{{base_url}}" ], "path": [ "api", "compositions", "" ] }, "description": "Create a new composition" }, "response": [] } ], "description": "Composition management endpoints" } ], "variable": [ { "key": "base_url", "value": "http://localhost:8000", "type": "string" } ] }