{"info":{"_postman_id":"e45a0823-ec53-4979-a509-be53ac03ff0a","name":"Epic Events API","description":"<html><head></head><body><p><strong>Introduction</strong></p>\n<p>This is the api-documentation for 12th project of the Python path of Openclassrooms.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20098177","collectionId":"e45a0823-ec53-4979-a509-be53ac03ff0a","publishedId":"2s8YmSsLVK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-20T21:26:53.000Z"},"item":[{"name":"Sales Team","item":[{"name":"Client","item":[{"name":"List of all clients","id":"10c3ea6d-7194-441b-be8b-7bc470339319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients","description":"<p>Enpoint that shows a list of all clients.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/clients\">http://127.0.0.1:8000/clients</a></p>\n<p>The GET Client supports search operations for:</p>\n<ul>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>any combination of those by using '+'</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={first_name+last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={email}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["clients"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"2642b555-d3c9-4432-94be-568b03711e59","name":"List of all clients","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Sep 2022 17:25:39 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2375"},{"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    \"count\": 22,\n    \"next\": \"http://127.0.0.1:8000/clients/?page=2\",\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4,\n            \"url\": \"http://127.0.0.1:8000/clients/4/\",\n            \"full_name\": \"Lyndel Durtnell\",\n            \"email\": \"ldurtnell3@pagesperso-orange.fr\",\n            \"phone\": \"914 949 2188\",\n            \"mobile\": \"819-835-0901\",\n            \"company_name\": \"Gigazoom\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 5,\n            \"url\": \"http://127.0.0.1:8000/clients/5/\",\n            \"full_name\": \"Anthiathia Lideard\",\n            \"email\": \"alideard4@over-blog.com\",\n            \"phone\": \"310 408 2958\",\n            \"mobile\": \"487-536-6821\",\n            \"company_name\": \"Skinder\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 7,\n            \"url\": \"http://127.0.0.1:8000/clients/7/\",\n            \"full_name\": \"Donni Van Niekerk\",\n            \"email\": \"dvanniekerk6@last.fm\",\n            \"phone\": \"422 698 7578\",\n            \"mobile\": \"926-558-9271\",\n            \"company_name\": \"Dabvine\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 9,\n            \"url\": \"http://127.0.0.1:8000/clients/9/\",\n            \"full_name\": \"Parrnell Beggi\",\n            \"email\": \"pbeggi8@biglobe.ne.jp\",\n            \"phone\": \"590 696 3351\",\n            \"mobile\": \"895-494-9832\",\n            \"company_name\": \"Edgeclub\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 10,\n            \"url\": \"http://127.0.0.1:8000/clients/10/\",\n            \"full_name\": \"Kev Mea\",\n            \"email\": \"kmea9@geocities.com\",\n            \"phone\": \"640 306 7132\",\n            \"mobile\": \"329-770-5327\",\n            \"company_name\": \"Jabbersphere\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 11,\n            \"url\": \"http://127.0.0.1:8000/clients/11/\",\n            \"full_name\": \"Marve McGorley\",\n            \"email\": \"mmcgorleya@oaic.gov.au\",\n            \"phone\": \"876 360 1844\",\n            \"mobile\": \"861-219-6971\",\n            \"company_name\": \"Vinte\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 13,\n            \"url\": \"http://127.0.0.1:8000/clients/13/\",\n            \"full_name\": \"Verile Bavridge\",\n            \"email\": \"vbavridgec@soup.io\",\n            \"phone\": \"341 212 9083\",\n            \"mobile\": \"854-759-2332\",\n            \"company_name\": \"Dynabox\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 15,\n            \"url\": \"http://127.0.0.1:8000/clients/15/\",\n            \"full_name\": \"Bendite Simkiss\",\n            \"email\": \"bsimkisse@lycos.com\",\n            \"phone\": \"732 859 1098\",\n            \"mobile\": \"114-197-5001\",\n            \"company_name\": \"Skyba\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 16,\n            \"url\": \"http://127.0.0.1:8000/clients/16/\",\n            \"full_name\": \"Ebony Brik\",\n            \"email\": \"ebrikf@boston.com\",\n            \"phone\": \"234 200 8753\",\n            \"mobile\": \"562-996-5471\",\n            \"company_name\": \"Linkbridge\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/clients/3/\",\n            \"full_name\": \"Read Lewinton\",\n            \"email\": \"rlewinton2@typepad.com\",\n            \"phone\": \"843 757 4407\",\n            \"mobile\": \"518-648-4601\",\n            \"company_name\": \"Browsecat\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"},{"id":"e80bdca8-b345-4c6f-932d-b9c1169c13ee","name":"Search for first name / last name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/clients?search=Read","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["clients"],"query":[{"key":"search","value":"Read"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:00:39 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"274"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/clients/3/\",\n            \"full_name\": \"Read Lewinton\",\n            \"email\": \"rlewinton2@typepad.com\",\n            \"phone\": \"843 757 4407\",\n            \"mobile\": \"518-648-4601\",\n            \"company_name\": \"Browsecat\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"},{"id":"69d28bcc-ba0c-4abd-aaab-edb6caeacd4e","name":"Search for email","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/clients?search=dvanniekerk6@last.fm","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["clients"],"query":[{"key":"search","value":"dvanniekerk6@last.fm"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:03:11 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"274"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 7,\n            \"url\": \"http://127.0.0.1:8000/clients/7/\",\n            \"full_name\": \"Donni Van Niekerk\",\n            \"email\": \"dvanniekerk6@last.fm\",\n            \"phone\": \"422 698 7578\",\n            \"mobile\": \"926-558-9271\",\n            \"company_name\": \"Dabvine\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"},{"id":"2001f421-7707-4a4d-89ac-e37f4b08d406","name":"Search for full name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/clients/?search=Nolana Ashworth","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["clients",""],"query":[{"key":"search","value":"Nolana Ashworth"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:12:14 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"274"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/clients/2/\",\n            \"full_name\": \"Nolana Ashworth\",\n            \"email\": \"nashworth1@ustream.tv\",\n            \"phone\": \"509 536 3701\",\n            \"mobile\": \"284-279-3026\",\n            \"company_name\": \"Feedfire\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"}],"_postman_id":"10c3ea6d-7194-441b-be8b-7bc470339319"},{"name":"List of potential clients","id":"78d833e3-8a72-47bb-890f-f483ed1797d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/potential_clients/","description":"<p>Enpoint that shows a list of all potential clients.</p>\n<p>(Clients that don't have an active contract)</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/potential_clients/\">http://127.0.0.1:8000/potential_clients/</a></p>\n<p>The GET potential client supports search operations for:</p>\n<ul>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>any combination of those by using '+'</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={first_name+last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={email}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["potential_clients",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c008580d-b27c-4dca-9652-dcc6ce21b399","name":"List of potential clients","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/potential_clients/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:04:26 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2384"},{"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    \"count\": 19,\n    \"next\": \"http://127.0.0.1:8000/potential_clients/?page=2\",\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/clients/1/\",\n            \"full_name\": \"Hinda Franzen\",\n            \"email\": \"hfranzen0@360.cn\",\n            \"phone\": \"365 796 3460\",\n            \"mobile\": \"883-329-0033\",\n            \"company_name\": \"Zoozzy\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/clients/2/\",\n            \"full_name\": \"Nolana Ashworth\",\n            \"email\": \"nashworth1@ustream.tv\",\n            \"phone\": \"509 536 3701\",\n            \"mobile\": \"284-279-3026\",\n            \"company_name\": \"Feedfire\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/clients/3/\",\n            \"full_name\": \"Read Lewinton\",\n            \"email\": \"rlewinton2@typepad.com\",\n            \"phone\": \"843 757 4407\",\n            \"mobile\": \"518-648-4601\",\n            \"company_name\": \"Browsecat\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 4,\n            \"url\": \"http://127.0.0.1:8000/clients/4/\",\n            \"full_name\": \"Lyndel Durtnell\",\n            \"email\": \"ldurtnell3@pagesperso-orange.fr\",\n            \"phone\": \"914 949 2188\",\n            \"mobile\": \"819-835-0901\",\n            \"company_name\": \"Gigazoom\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 5,\n            \"url\": \"http://127.0.0.1:8000/clients/5/\",\n            \"full_name\": \"Anthiathia Lideard\",\n            \"email\": \"alideard4@over-blog.com\",\n            \"phone\": \"310 408 2958\",\n            \"mobile\": \"487-536-6821\",\n            \"company_name\": \"Skinder\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 7,\n            \"url\": \"http://127.0.0.1:8000/clients/7/\",\n            \"full_name\": \"Donni Van Niekerk\",\n            \"email\": \"dvanniekerk6@last.fm\",\n            \"phone\": \"422 698 7578\",\n            \"mobile\": \"926-558-9271\",\n            \"company_name\": \"Dabvine\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 9,\n            \"url\": \"http://127.0.0.1:8000/clients/9/\",\n            \"full_name\": \"Parrnell Beggi\",\n            \"email\": \"pbeggi8@biglobe.ne.jp\",\n            \"phone\": \"590 696 3351\",\n            \"mobile\": \"895-494-9832\",\n            \"company_name\": \"Edgeclub\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 10,\n            \"url\": \"http://127.0.0.1:8000/clients/10/\",\n            \"full_name\": \"Kev Mea\",\n            \"email\": \"kmea9@geocities.com\",\n            \"phone\": \"640 306 7132\",\n            \"mobile\": \"329-770-5327\",\n            \"company_name\": \"Jabbersphere\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 11,\n            \"url\": \"http://127.0.0.1:8000/clients/11/\",\n            \"full_name\": \"Marve McGorley\",\n            \"email\": \"mmcgorleya@oaic.gov.au\",\n            \"phone\": \"876 360 1844\",\n            \"mobile\": \"861-219-6971\",\n            \"company_name\": \"Vinte\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 12,\n            \"url\": \"http://127.0.0.1:8000/clients/12/\",\n            \"full_name\": \"Maris De Fraine\",\n            \"email\": \"mdefraineb@home.pl\",\n            \"phone\": \"269 558 5838\",\n            \"mobile\": \"998-386-3872\",\n            \"company_name\": \"Edgeify\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        }\n    ]\n}"}],"_postman_id":"78d833e3-8a72-47bb-890f-f483ed1797d3"},{"name":"List of existing clients","id":"e33c0e1e-1506-49b5-beb3-0403d9e707dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/existing_clients/","description":"<p>Enpoint that shows a list of all existing clients.</p>\n<p>(Clients that have an active contract)</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/existing_clients/\">http://127.0.0.1:8000/existing_clients/</a></p>\n<p>The GET existing client supports search operations for:</p>\n<ul>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>any combination of those by using '+'</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={first_name+last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={email}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["existing_clients",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"533b593b-2040-4986-8a73-7d199da16fb5","name":"List of existing clients","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/existing_clients/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:04:47 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"724"},{"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    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 6,\n            \"url\": \"http://127.0.0.1:8000/clients/6/\",\n            \"full_name\": \"Wilie Thying\",\n            \"email\": \"wthying5@sphinn.com\",\n            \"phone\": \"384 613 7451\",\n            \"mobile\": \"869-514-1773\",\n            \"company_name\": \"Bubblebox\",\n            \"sales_contact\": null,\n            \"existing\": true\n        },\n        {\n            \"id\": 14,\n            \"url\": \"http://127.0.0.1:8000/clients/14/\",\n            \"full_name\": \"Davie Erat\",\n            \"email\": \"deratd@guardian.co.uk\",\n            \"phone\": \"953 743 5500\",\n            \"mobile\": \"722-901-7473\",\n            \"company_name\": \"Skimia\",\n            \"sales_contact\": null,\n            \"existing\": true\n        },\n        {\n            \"id\": 8,\n            \"url\": \"http://127.0.0.1:8000/clients/8/\",\n            \"full_name\": \"Geoffry Seagood\",\n            \"email\": \"gseagood7@devhub.com\",\n            \"phone\": \"327 804 8862\",\n            \"mobile\": \"828-880-6473\",\n            \"company_name\": \"InnoZ\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": true\n        }\n    ]\n}"}],"_postman_id":"e33c0e1e-1506-49b5-beb3-0403d9e707dd"},{"name":"Get a single client","id":"3fc3e33f-f946-4d7b-8023-25798b437db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients/1/","description":"<p>Endpoint that shows all details of a client.</p>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/{client-id}</a>/</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["clients","1",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e6bc417a-e6db-46fe-8fc9-8f1c8b398986","name":"Get a single client - example","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Aug 2022 14:15:19 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"302"},{"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    \"id\": 1,\n    \"url\": \"http://127.0.0.1:8000/clients/1/\",\n    \"first_name\": \"Hinda\",\n    \"last_name\": \"Franzen\",\n    \"email\": \"hfranzen0@360.cn\",\n    \"phone\": \"365 796 3460\",\n    \"mobile\": \"883-329-0033\",\n    \"company_name\": \"Zoozzy\",\n    \"date_created\": \"2021-12-26 23:00:00\",\n    \"date_updated\": \"2022-08-29 22:00:00\",\n    \"sales_contact\": null,\n    \"existing\": false\n}"}],"_postman_id":"3fc3e33f-f946-4d7b-8023-25798b437db8"},{"name":"Add a new client","id":"0033b46f-3b02-400a-bb4f-7e0680aa0d50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"Tom","type":"text"},{"key":"last_name","value":"Holland","type":"text"},{"key":"email","value":"tom.h@mail.com","type":"text"},{"key":"phone","value":"63789746364","description":"<p>can be Null</p>\n","type":"text"},{"key":"mobile","value":"88558543475","description":"<p>can be Null</p>\n","type":"text"},{"key":"company_name","value":"The Traditional Company","description":"<p>max lenght 100</p>\n","type":"text"},{"key":"sales_contact","value":"","description":"<p>user-email  (of a sales team member), current user by default (if empty)</p>\n","type":"text","contentType":""}]},"url":"http://127.0.0.1:8000/clients/","description":"<p>Endpoint that allowes Authenticated users to create/post a new client.</p>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/</a></p>\n<p>The Body has to contain the following key - value pairs:</p>\n<p>first_name : {first name}</p>\n<p>last_name : {last name}</p>\n<p>email : {email-address}</p>\n<p>phone : {phone number}</p>\n<p>mobile : {mobile number}</p>\n<p>company_name: {company name}</p>\n<p>sales_contact : {user_id} -&gt; (current user by default)</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["clients",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"3be72fc2-d3ac-41c2-bcd4-957a24a8c743","name":"New Client added","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"Mark","type":"text"},{"key":"last_name","value":"Tomson","type":"text"},{"key":"email","value":"m.tomson@mail.com","type":"text"},{"key":"phone","value":"1518554131","description":"can be Null","type":"text"},{"key":"mobile","value":"11681531531","description":"can be Null","type":"text"},{"key":"company_name","value":"A Startup Company","description":"max lenght 100","type":"text"},{"key":"sales_contact","value":"","description":"ForeingKey (user_id), current user by default (if empty)","type":"text","contentType":""}]},"url":"http://127.0.0.1:8000/clients/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Aug 2022 16:09:38 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Location","value":"http://127.0.0.1:8000/clients/21/"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"344"},{"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    \"id\": 21,\n    \"url\": \"http://127.0.0.1:8000/clients/21/\",\n    \"first_name\": \"Mark\",\n    \"last_name\": \"Tomson\",\n    \"email\": \"m.tomson@mail.com\",\n    \"phone\": \"1518554131\",\n    \"mobile\": \"11681531531\",\n    \"company_name\": \"A Startup Company\",\n    \"date_created\": \"2022-08-31 16:09:38\",\n    \"date_updated\": \"2022-08-31 16:09:38\",\n    \"sales_contact\": \"http://127.0.0.1:8000/auth/users/3/\",\n    \"existing\": false\n}"}],"_postman_id":"0033b46f-3b02-400a-bb4f-7e0680aa0d50"},{"name":"Update a client","id":"b15c9e2b-c0df-4383-92a3-7d64305282ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"","type":"text","disabled":true},{"key":"last_name","value":"","type":"text","disabled":true},{"key":"email","value":"","type":"text","disabled":true},{"key":"phone","value":"","type":"text","disabled":true},{"key":"mobile","value":"12345655","type":"text"},{"key":"company_name","value":"","type":"text","disabled":true},{"key":"sales_contact","value":"","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/clients/21/","description":"<p>Endpoint to update a Client.</p>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/{client-id}/</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["clients","21",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1243d0ed-e8c3-41da-b845-646355395dce","name":"Client updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"","type":"text","disabled":true},{"key":"last_name","value":"","type":"text","disabled":true},{"key":"email","value":"","type":"text","disabled":true},{"key":"phone","value":"","type":"text","disabled":true},{"key":"mobile","value":"123456","type":"text"},{"key":"company_name","value":"","type":"text","disabled":true},{"key":"sales_contact","value":"","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/clients/21/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Aug 2022 16:36:51 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"339"},{"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    \"id\": 21,\n    \"url\": \"http://127.0.0.1:8000/clients/21/\",\n    \"first_name\": \"Mark\",\n    \"last_name\": \"Tomson\",\n    \"email\": \"m.tomson@mail.com\",\n    \"phone\": \"1518554131\",\n    \"mobile\": \"123456\",\n    \"company_name\": \"A Startup Company\",\n    \"date_created\": \"2022-08-31 16:09:38\",\n    \"date_updated\": \"2022-08-31 16:36:51\",\n    \"sales_contact\": \"http://127.0.0.1:8000/auth/users/3/\",\n    \"existing\": false\n}"}],"_postman_id":"b15c9e2b-c0df-4383-92a3-7d64305282ef"}],"id":"e018859a-052b-48cb-bebd-24fd9b4782de","description":"<p>Contains all client related enpoints</p>\n","_postman_id":"e018859a-052b-48cb-bebd-24fd9b4782de","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}}},{"name":"Contract","item":[{"name":"List all contracts","id":"6c951224-3293-4d3f-b3cb-79b581046fac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts","description":"<p>Enpoint that shows a list of all Contracts.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/</a></p>\n<p>The GET Contracts supports search operations for:</p>\n<ul>\n<li>Client - first name</li>\n<li>Client - last name</li>\n<li>date created</li>\n<li>amount</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={client_first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={client_first_name+client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={date(yyyy-mm-dd)}</a></p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/?search={amount}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["contracts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"542049af-2864-4175-ada3-04aba6e0c869","name":"List all contracts","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:06:44 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"587"},{"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    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/contracts/1/\",\n            \"client\": \"Wilie Thying\",\n            \"status\": \"SIGNED\",\n            \"amount\": \"1220.00\",\n            \"payment_due\": \"2022-10-30\",\n            \"date_created\": \"2022-08-30 17:54:49\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"},{"id":"de920e6b-521b-40d3-a576-255b3c3882ec","name":"Serach for Clients first or last name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=davie","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"davie"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:09:07 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"228"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        }\n    ]\n}"},{"id":"6b22acad-a863-46ec-a7cd-5d17215f111e","name":"Search clients full name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=Geoffry Seagood","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"Geoffry Seagood"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:11:39 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"233"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"},{"id":"fa2ff8a1-2e55-4d19-821c-5653cc9826e6","name":"Search for clients email","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=gseagood7@devhub.com","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"gseagood7@devhub.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Sep 2022 18:17:42 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"234"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client_\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"},{"id":"dc3c365e-3bd1-4887-8fe7-e87cdfcd1613","name":"Search for date created (date only)","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=2022-08-30","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"2022-08-30"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:13:14 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"587"},{"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    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/contracts/1/\",\n            \"client\": \"Wilie Thying\",\n            \"status\": \"SIGNED\",\n            \"amount\": \"1220.00\",\n            \"payment_due\": \"2022-10-30\",\n            \"date_created\": \"2022-08-30 17:54:49\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"},{"id":"1217eb21-53cd-49d0-a174-aa875f92dd53","name":"Search for date created (date + time)","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=2022-08-30 17:54","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"2022-08-30 17:54"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:14:41 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"228"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/contracts/1/\",\n            \"client\": \"Wilie Thying\",\n            \"status\": \"SIGNED\",\n            \"amount\": \"1220.00\",\n            \"payment_due\": \"2022-10-30\",\n            \"date_created\": \"2022-08-30 17:54:49\"\n        }\n    ]\n}"},{"id":"99525f5f-1a30-40ee-8007-560cefb626cd","name":"Search for time created","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=18:03","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"18:03"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:16:53 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"228"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        }\n    ]\n}"},{"id":"f202f4c0-9b12-4279-8ae1-ba33a11aebd7","name":"Search for Amount","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=1000.00","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"1000.00"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:17:30 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"410"},{"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    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"}],"_postman_id":"6c951224-3293-4d3f-b3cb-79b581046fac"},{"name":"Get a single Contract","id":"69fe9130-9feb-400d-beb7-d548579f20fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts/2/","description":"<p>Endpoint that shows all details of a Contract.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/{contract-id}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["contracts","2",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"749306ba-c1ad-4d8b-bc94-9c57a7e68640","name":"Get a single Contract","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts/2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:07:51 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"252"},{"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    \"id\": 2,\n    \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n    \"client\": 14,\n    \"client_url\": \"http://127.0.0.1:8000/clients/14/\",\n    \"status\": \"APPROVED\",\n    \"amount\": \"1000.00\",\n    \"payment_due\": \"2022-11-01\",\n    \"date_created\": \"2022-08-30 18:03:04\",\n    \"date_updated\": \"2022-08-30 18:06:29\"\n}"}],"_postman_id":"69fe9130-9feb-400d-beb7-d548579f20fe"},{"name":"Create a new Contract","id":"c4117bcc-185f-49df-a173-63d17b730e65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"client","value":"22","description":"<p>client id</p>\n","type":"text"},{"key":"status","value":"OPEN","description":"<p>options: OPEN, SIGNED</p>\n","type":"text"},{"key":"amount","value":"500.00","description":"<p>Price (float)</p>\n","type":"text"},{"key":"payment_due","value":"2022-11-01","description":"<p>date until client has to pay {yyyy-mm-dd} (past dates not allowed)</p>\n","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/","description":"<p>Endpoint that allowes Authenticated users to create/post a new client.</p>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/</a></p>\n<p>The body has to contain the following key - value pairs:</p>\n<p>client : {client_id}</p>\n<p>status : {valid contract status} (sales team: only OPEN or SIGNED allowed)</p>\n<p>amount : {float}</p>\n<p>payment_due : {date (yyyy-mm-dd) - no past dates}</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["contracts",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"bb596902-c103-4b94-8f3a-a1a0c60559f9","name":"New Contract created","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"client","value":"22","description":"client id","type":"text"},{"key":"status","value":"OPEN","description":"options: OPEN, SIGNED, APPROVED, CLOSED, CANCELLED, EXPIRED","type":"text"},{"key":"amount","value":"500.00","description":"Price (float)","type":"text"},{"key":"payment_due","value":"2022-11-01","description":"date until client has to pay {yyyy-mm-dd} (past dates not allowed)","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 18:50:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Location","value":"http://127.0.0.1:8000/contracts/4/"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"173"},{"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    \"id\": 4,\n    \"url\": \"http://127.0.0.1:8000/contracts/4/\",\n    \"client_\": \"Tom Holland\",\n    \"status\": \"OPEN\",\n    \"amount\": \"500.00\",\n    \"payment_due\": \"2022-11-01\",\n    \"date_created\": \"2022-09-01 18:50:06\"\n}"}],"_postman_id":"c4117bcc-185f-49df-a173-63d17b730e65"},{"name":"Update a contract","id":"bf927e3b-4df3-4d98-b29e-aeb533e00a34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"client","value":"","description":"<p>client id</p>\n","type":"text","disabled":true},{"key":"status","value":"OPEN","description":"<p>options: OPEN, SIGNED</p>\n","type":"text","disabled":true},{"key":"amount","value":"1700.00","description":"<p>price (float)</p>\n","type":"text"},{"key":"payment_due","value":"","description":"<p>date until client has to pay {yyyy-mm-dd} (past dates not allowed)</p>\n","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/contracts/9/","description":"<p>Endpoint to update a Contract.</p>\n<p>Enter The URI in the following format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contract/{contract-id}/</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["contracts","9",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a2dac862-e680-4d30-819d-732b0df2a14c","name":"Contract updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"client","value":"","description":"client id","type":"text","disabled":true},{"key":"status","value":"OPEN","description":"options: OPEN, SIGNED","type":"text","disabled":true},{"key":"amount","value":"1700.00","description":"price (float)","type":"text"},{"key":"payment_due","value":"","description":"date until client has to pay {yyyy-mm-dd} (past dates not allowed)","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/contracts/9/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Sep 2022 17:51:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"246"},{"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    \"id\": 9,\n    \"url\": \"http://127.0.0.1:8000/contracts/9/\",\n    \"client\": 2,\n    \"client_url\": \"http://127.0.0.1:8000/clients/2/\",\n    \"status\": \"OPEN\",\n    \"amount\": \"1700.00\",\n    \"payment_due\": \"2022-09-30\",\n    \"date_created\": \"2022-09-05 15:32:32\",\n    \"date_updated\": \"2022-09-06 17:51:12\"\n}"}],"_postman_id":"bf927e3b-4df3-4d98-b29e-aeb533e00a34"}],"id":"e53b8ce2-1655-40a4-aa96-7a4ebc13d2ac","description":"<p>Contains all contract related endpoints.</p>\n","_postman_id":"e53b8ce2-1655-40a4-aa96-7a4ebc13d2ac","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}}},{"name":"Event","item":[{"name":"List of all events","id":"3b7320e7-1017-4bfb-b68a-c6ba45e7c473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/","description":"<p>Enpoint that shows a list of all Events.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/events/</a></p>\n<p>The GET Events supports search operations for:</p>\n<ul>\n<li>Client - first name</li>\n<li>Client - last name</li>\n<li>Client - full name</li>\n<li>Event date</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={client_first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={client_first_name+client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={date(yyyy-mm-dd)}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["events",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"9aafb942-1808-41cf-94c6-a5ea227a4498","name":"List of all events","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 19:27:31 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"456"},{"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    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/events/1/\",\n            \"event_name\": \"Company Party\",\n            \"client\": \"Davie Erat\",\n            \"support_contact\": \"p.flohr@gmail.com\",\n            \"contract\": 2,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-09-23\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/events/2/\",\n            \"event_name\": \"A random event\",\n            \"client\": \"Geoffry Seagood\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 3,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-08-31\"\n        }\n    ]\n}"},{"id":"a9e51e3e-17e2-4021-8edc-100f4c30925f","name":"Search for event date","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/events/?search=2022-09-23","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["events",""],"query":[{"key":"search","value":"2022-09-23"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 19:26:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"250"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/events/1/\",\n            \"event_name\": \"Company Party\",\n            \"client\": \"Davie Erat\",\n            \"support_contact\": \"p.flohr@gmail.com\",\n            \"contract\": 2,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-09-23\"\n        }\n    ]\n}"},{"id":"c6c15107-f17f-41b5-afc5-0a60c7f2a53d","name":"Search for client first or last name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/events/?search=geoffry","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["events",""],"query":[{"key":"search","value":"geoffry"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 19:28:09 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"257"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/events/2/\",\n            \"event_name\": \"A random event\",\n            \"client\": \"Geoffry Seagood\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 3,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-08-31\"\n        }\n    ]\n}"},{"id":"bb5dd6b4-43a6-4cb9-9207-1bbf580e2576","name":"Search fo client full name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/events/?search=geoffry seagood","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["events",""],"query":[{"key":"search","value":"geoffry seagood"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 19:28:34 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"257"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/events/2/\",\n            \"event_name\": \"A random event\",\n            \"client\": \"Geoffry Seagood\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 3,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-08-31\"\n        }\n    ]\n}"}],"_postman_id":"3b7320e7-1017-4bfb-b68a-c6ba45e7c473"},{"name":"Get a event","id":"1c9c4fe8-7844-472f-bb8f-9b836d388ed6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/2","description":"<p>Endpoint that shows all details of a Event.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/event/{event-id}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["events","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"295bd916-7272-4368-baf9-493d3bbafe4a","name":"Get a event","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 19:29:28 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"461"},{"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    \"id\": 2,\n    \"url\": \"http://127.0.0.1:8000/events/2/\",\n    \"event_name\": \"A random event\",\n    \"client\": 8,\n    \"client_url\": \"http://127.0.0.1:8000/clients/8/\",\n    \"support_contact\": \"m.brauns@gmail.com\",\n    \"support_contact_url\": \"http://127.0.0.1:8000/auth/users/4/\",\n    \"contract\": 3,\n    \"contract_url\": \"http://127.0.0.1:8000/contracts/3/\",\n    \"date_created\": \"2022-08-30 18:13:57\",\n    \"date_updated\": \"2022-08-30 18:14:56\",\n    \"status\": \"PROCESSING\",\n    \"attendees\": 50,\n    \"event_date\": \"2022-08-31\",\n    \"notes\": \"Another Test\"\n}"}],"_postman_id":"1c9c4fe8-7844-472f-bb8f-9b836d388ed6"},{"name":"Create a new event","id":"d919446a-3078-4a03-9421-be29457fe04e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"Spiderman Party","description":"<p>name of the event</p>\n","type":"text"},{"key":"support_contact","value":"m.brauns@gmail.com","description":"<p>user-email (off a support team member)</p>\n","type":"text"},{"key":"contract","value":"4","description":"<p>contract_id (of a signed contract)</p>\n","type":"text"},{"key":"status","value":"PROCESSING","description":"<p>options: PROCESSING, UPCOMING, ONGOING, COMPLETED, CANCELLED</p>\n","type":"text"},{"key":"attendees","value":"350","description":"<p>int (number of attendees)</p>\n","type":"text"},{"key":"event_date","value":"2023-02-01","description":"<p>date (yyyy-mm-dd)</p>\n","type":"text"},{"key":"notes","value":"A big spiderman party","description":"<p>text field for notes</p>\n","type":"text"}]},"url":"http://127.0.0.1:8000/events/","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["events",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8d86eec1-b4dd-479c-915b-5c236ce272f1","name":"Create a new event","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"Spiderman Party","description":"name of the event","type":"text"},{"key":"support_contact","value":"m.brauns@gmail.com","description":"user-email (off a support team member)","type":"text"},{"key":"contract","value":"4","description":"contract_id (of a signed contract)","type":"text"},{"key":"status","value":"PROCESSING","description":"options: PROCESSING, UPCOMING, ONGOING, COMPLETED, CANCELLED","type":"text"},{"key":"attendees","value":"350","description":"int (number of attendees)","type":"text"},{"key":"event_date","value":"2023-02-01","description":"date (yyyy-mm-dd)","type":"text"},{"key":"notes","value":"A big spiderman party","description":"text field for notes","type":"text"}]},"url":"http://127.0.0.1:8000/events/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 19:46:15 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Location","value":"http://127.0.0.1:8000/events/3/"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"202"},{"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    \"id\": 3,\n    \"url\": \"http://127.0.0.1:8000/events/3/\",\n    \"event_name\": \"Spiderman Party\",\n    \"client\": \"Tom Holland\",\n    \"support_contact\": \"m.brauns@gmail.com\",\n    \"contract\": 4,\n    \"status\": \"PROCESSING\",\n    \"event_date\": \"2023-02-01\"\n}"}],"_postman_id":"d919446a-3078-4a03-9421-be29457fe04e"}],"id":"8aa2da7e-07e8-43b1-90ce-ef0650667618","description":"<p>Contains all event related endpoints.</p>\n","_postman_id":"8aa2da7e-07e8-43b1-90ce-ef0650667618","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078","id":"78234e48-c313-43aa-88e6-282fa20f9078","name":"Sales Team","type":"folder"}}}],"id":"78234e48-c313-43aa-88e6-282fa20f9078","description":"<p>This folder contains all the endpoints a sales team member is able / allowed to use.</p>\n<p>To Authenticate select the type Basic Auth.</p>\n<p>Username: {user_email}</p>\n<p>Password: {user_password}</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"a9691462-2040-49a0-ba14-03db02a7c727","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"68d29baf-fea9-471b-b0f2-56bf630d5496","type":"text/javascript","exec":[""]}}],"_postman_id":"78234e48-c313-43aa-88e6-282fa20f9078"},{"name":"Support Team","item":[{"name":"Client","item":[{"name":"List of all clients","id":"8dfebc2e-5f21-46d3-86eb-e2b7a947da9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients","description":"<p>Enpoint that shows a list of all clients.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/clients\">http://127.0.0.1:8000/clients</a></p>\n<p>The GET Client supports search operations for:</p>\n<ul>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>any combination of those by using '+'</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={first_name+last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/?search={email}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["clients"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"58173106-e3a3-4c68-8cd4-8d93a5e25696","name":"List of all clients","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:43:31 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2354"},{"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    \"count\": 22,\n    \"next\": \"http://127.0.0.1:8000/clients/?page=2\",\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/clients/2/\",\n            \"full_name\": \"Nolana Ashworth\",\n            \"email\": \"nashworth1@ustream.tv\",\n            \"phone\": \"509 536 3701\",\n            \"mobile\": \"284-279-3026\",\n            \"company_name\": \"Feedfire\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/clients/3/\",\n            \"full_name\": \"Read Lewinton\",\n            \"email\": \"rlewinton2@typepad.com\",\n            \"phone\": \"843 757 4407\",\n            \"mobile\": \"518-648-4601\",\n            \"company_name\": \"Browsecat\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 4,\n            \"url\": \"http://127.0.0.1:8000/clients/4/\",\n            \"full_name\": \"Lyndel Durtnell\",\n            \"email\": \"ldurtnell3@pagesperso-orange.fr\",\n            \"phone\": \"914 949 2188\",\n            \"mobile\": \"819-835-0901\",\n            \"company_name\": \"Gigazoom\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 5,\n            \"url\": \"http://127.0.0.1:8000/clients/5/\",\n            \"full_name\": \"Anthiathia Lideard\",\n            \"email\": \"alideard4@over-blog.com\",\n            \"phone\": \"310 408 2958\",\n            \"mobile\": \"487-536-6821\",\n            \"company_name\": \"Skinder\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 7,\n            \"url\": \"http://127.0.0.1:8000/clients/7/\",\n            \"full_name\": \"Donni Van Niekerk\",\n            \"email\": \"dvanniekerk6@last.fm\",\n            \"phone\": \"422 698 7578\",\n            \"mobile\": \"926-558-9271\",\n            \"company_name\": \"Dabvine\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 9,\n            \"url\": \"http://127.0.0.1:8000/clients/9/\",\n            \"full_name\": \"Parrnell Beggi\",\n            \"email\": \"pbeggi8@biglobe.ne.jp\",\n            \"phone\": \"590 696 3351\",\n            \"mobile\": \"895-494-9832\",\n            \"company_name\": \"Edgeclub\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 10,\n            \"url\": \"http://127.0.0.1:8000/clients/10/\",\n            \"full_name\": \"Kev Mea\",\n            \"email\": \"kmea9@geocities.com\",\n            \"phone\": \"640 306 7132\",\n            \"mobile\": \"329-770-5327\",\n            \"company_name\": \"Jabbersphere\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 11,\n            \"url\": \"http://127.0.0.1:8000/clients/11/\",\n            \"full_name\": \"Marve McGorley\",\n            \"email\": \"mmcgorleya@oaic.gov.au\",\n            \"phone\": \"876 360 1844\",\n            \"mobile\": \"861-219-6971\",\n            \"company_name\": \"Vinte\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 13,\n            \"url\": \"http://127.0.0.1:8000/clients/13/\",\n            \"full_name\": \"Verile Bavridge\",\n            \"email\": \"vbavridgec@soup.io\",\n            \"phone\": \"341 212 9083\",\n            \"mobile\": \"854-759-2332\",\n            \"company_name\": \"Dynabox\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/clients/1/\",\n            \"full_name\": \"Hinda Franzen\",\n            \"email\": \"hfranzen0@360.cn\",\n            \"phone\": \"365 796 3460\",\n            \"mobile\": \"883-329-0033\",\n            \"company_name\": \"Zoozzy\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"},{"id":"6578aa85-2c73-4da1-8257-15b418fc8274","name":"Search for first name / last name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/clients?search=Read","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["clients"],"query":[{"key":"search","value":"Read"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:44:05 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"274"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/clients/3/\",\n            \"full_name\": \"Read Lewinton\",\n            \"email\": \"rlewinton2@typepad.com\",\n            \"phone\": \"843 757 4407\",\n            \"mobile\": \"518-648-4601\",\n            \"company_name\": \"Browsecat\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"},{"id":"9d26951f-c1be-46af-80ad-1f600683c5d2","name":"Search for email","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/clients?search=dvanniekerk6@last.fm","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["clients"],"query":[{"key":"search","value":"dvanniekerk6@last.fm"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:44:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"274"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 7,\n            \"url\": \"http://127.0.0.1:8000/clients/7/\",\n            \"full_name\": \"Donni Van Niekerk\",\n            \"email\": \"dvanniekerk6@last.fm\",\n            \"phone\": \"422 698 7578\",\n            \"mobile\": \"926-558-9271\",\n            \"company_name\": \"Dabvine\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"},{"id":"32a00dc4-310f-4e03-bd54-4e0510d8b53d","name":"Search for full name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/clients/?search=Nolana Ashworth","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["clients",""],"query":[{"key":"search","value":"Nolana Ashworth"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:45:10 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"274"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/clients/2/\",\n            \"full_name\": \"Nolana Ashworth\",\n            \"email\": \"nashworth1@ustream.tv\",\n            \"phone\": \"509 536 3701\",\n            \"mobile\": \"284-279-3026\",\n            \"company_name\": \"Feedfire\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"}],"_postman_id":"8dfebc2e-5f21-46d3-86eb-e2b7a947da9d"},{"name":"List of potential clients","id":"70b86838-8663-456e-b9ec-11026395161f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/potential_clients/","description":"<p>Enpoint that shows a list of all potential clients.</p>\n<p>(Clients that don't have an active contract)</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/potential_clients/\">http://127.0.0.1:8000/potential_clients/</a></p>\n<p>The GET potential client supports search operations for:</p>\n<ul>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>any combination of those by using '+'</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={first_name+last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/potential_clients/?search={email}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["potential_clients",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"592a7d82-47c4-460b-85b6-c26c29f69c68","name":"List of potential clients","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/potential_clients/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:45:39 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2364"},{"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    \"count\": 18,\n    \"next\": \"http://127.0.0.1:8000/potential_clients/?page=2\",\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/clients/1/\",\n            \"full_name\": \"Hinda Franzen\",\n            \"email\": \"hfranzen0@360.cn\",\n            \"phone\": \"365 796 3460\",\n            \"mobile\": \"883-329-0033\",\n            \"company_name\": \"Zoozzy\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/clients/2/\",\n            \"full_name\": \"Nolana Ashworth\",\n            \"email\": \"nashworth1@ustream.tv\",\n            \"phone\": \"509 536 3701\",\n            \"mobile\": \"284-279-3026\",\n            \"company_name\": \"Feedfire\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/clients/3/\",\n            \"full_name\": \"Read Lewinton\",\n            \"email\": \"rlewinton2@typepad.com\",\n            \"phone\": \"843 757 4407\",\n            \"mobile\": \"518-648-4601\",\n            \"company_name\": \"Browsecat\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 4,\n            \"url\": \"http://127.0.0.1:8000/clients/4/\",\n            \"full_name\": \"Lyndel Durtnell\",\n            \"email\": \"ldurtnell3@pagesperso-orange.fr\",\n            \"phone\": \"914 949 2188\",\n            \"mobile\": \"819-835-0901\",\n            \"company_name\": \"Gigazoom\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 5,\n            \"url\": \"http://127.0.0.1:8000/clients/5/\",\n            \"full_name\": \"Anthiathia Lideard\",\n            \"email\": \"alideard4@over-blog.com\",\n            \"phone\": \"310 408 2958\",\n            \"mobile\": \"487-536-6821\",\n            \"company_name\": \"Skinder\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 7,\n            \"url\": \"http://127.0.0.1:8000/clients/7/\",\n            \"full_name\": \"Donni Van Niekerk\",\n            \"email\": \"dvanniekerk6@last.fm\",\n            \"phone\": \"422 698 7578\",\n            \"mobile\": \"926-558-9271\",\n            \"company_name\": \"Dabvine\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 9,\n            \"url\": \"http://127.0.0.1:8000/clients/9/\",\n            \"full_name\": \"Parrnell Beggi\",\n            \"email\": \"pbeggi8@biglobe.ne.jp\",\n            \"phone\": \"590 696 3351\",\n            \"mobile\": \"895-494-9832\",\n            \"company_name\": \"Edgeclub\",\n            \"sales_contact\": null,\n            \"existing\": false\n        },\n        {\n            \"id\": 10,\n            \"url\": \"http://127.0.0.1:8000/clients/10/\",\n            \"full_name\": \"Kev Mea\",\n            \"email\": \"kmea9@geocities.com\",\n            \"phone\": \"640 306 7132\",\n            \"mobile\": \"329-770-5327\",\n            \"company_name\": \"Jabbersphere\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 11,\n            \"url\": \"http://127.0.0.1:8000/clients/11/\",\n            \"full_name\": \"Marve McGorley\",\n            \"email\": \"mmcgorleya@oaic.gov.au\",\n            \"phone\": \"876 360 1844\",\n            \"mobile\": \"861-219-6971\",\n            \"company_name\": \"Vinte\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": false\n        },\n        {\n            \"id\": 13,\n            \"url\": \"http://127.0.0.1:8000/clients/13/\",\n            \"full_name\": \"Verile Bavridge\",\n            \"email\": \"vbavridgec@soup.io\",\n            \"phone\": \"341 212 9083\",\n            \"mobile\": \"854-759-2332\",\n            \"company_name\": \"Dynabox\",\n            \"sales_contact\": null,\n            \"existing\": false\n        }\n    ]\n}"}],"_postman_id":"70b86838-8663-456e-b9ec-11026395161f"},{"name":"List of existing clients","id":"36aedc8d-998d-4ea3-bc55-87f7bb01ebd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/existing_clients/","description":"<p>Enpoint that shows a list of all existing clients.</p>\n<p>(Clients that have an active contract)</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/existing_clients/\">http://127.0.0.1:8000/existing_clients/</a></p>\n<p>The GET existing client supports search operations for:</p>\n<ul>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>any combination of those by using '+'</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={first_name+last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/existing_clients/?search={email}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["existing_clients",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e283c715-e421-4922-8bf8-8212407b4578","name":"List of existing clients","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/existing_clients/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:45:50 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"963"},{"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    \"count\": 4,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 6,\n            \"url\": \"http://127.0.0.1:8000/clients/6/\",\n            \"full_name\": \"Wilie Thying\",\n            \"email\": \"wthying5@sphinn.com\",\n            \"phone\": \"384 613 7451\",\n            \"mobile\": \"869-514-1773\",\n            \"company_name\": \"Bubblebox\",\n            \"sales_contact\": null,\n            \"existing\": true\n        },\n        {\n            \"id\": 14,\n            \"url\": \"http://127.0.0.1:8000/clients/14/\",\n            \"full_name\": \"Davie Erat\",\n            \"email\": \"deratd@guardian.co.uk\",\n            \"phone\": \"953 743 5500\",\n            \"mobile\": \"722-901-7473\",\n            \"company_name\": \"Skimia\",\n            \"sales_contact\": null,\n            \"existing\": true\n        },\n        {\n            \"id\": 8,\n            \"url\": \"http://127.0.0.1:8000/clients/8/\",\n            \"full_name\": \"Geoffry Seagood\",\n            \"email\": \"gseagood7@devhub.com\",\n            \"phone\": \"327 804 8862\",\n            \"mobile\": \"828-880-6473\",\n            \"company_name\": \"InnoZ\",\n            \"sales_contact\": \"pascalhinze@hotmail.de\",\n            \"existing\": true\n        },\n        {\n            \"id\": 22,\n            \"url\": \"http://127.0.0.1:8000/clients/22/\",\n            \"full_name\": \"Tom Holland\",\n            \"email\": \"tom.h@mail.com\",\n            \"phone\": \"63789746364\",\n            \"mobile\": \"88558543475\",\n            \"company_name\": \"The Traditional Company\",\n            \"sales_contact\": \"cindy@gmail.com\",\n            \"existing\": true\n        }\n    ]\n}"}],"_postman_id":"36aedc8d-998d-4ea3-bc55-87f7bb01ebd6"},{"name":"Get a single client","id":"f62c7b73-f23d-443d-98cf-ec4ded165bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients/1/","description":"<p>Endpoint that shows all details of a client.</p>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/clients/{client-id}</a>/</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["clients","1",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"53d30392-75fe-48ab-a6b0-ced44dbcbe61","name":"Get a single client","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/clients/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:46:04 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"327"},{"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    \"id\": 1,\n    \"url\": \"http://127.0.0.1:8000/clients/1/\",\n    \"first_name\": \"Hinda\",\n    \"last_name\": \"Franzen\",\n    \"email\": \"hfranzen0@360.cn\",\n    \"phone\": \"365 796 3460\",\n    \"mobile\": \"883-329-0033\",\n    \"company_name\": \"Zoozzy\",\n    \"date_created\": \"2021-12-26 23:00:00\",\n    \"date_updated\": \"2022-08-29 22:00:00\",\n    \"sales_contact\": null,\n    \"sales_contact_url\": null,\n    \"existing\": false\n}"}],"_postman_id":"f62c7b73-f23d-443d-98cf-ec4ded165bed"}],"id":"7acd24cf-2b50-485a-9c98-873005f99763","description":"<p>Contains all client related endpoints.</p>\n","_postman_id":"7acd24cf-2b50-485a-9c98-873005f99763","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}}},{"name":"Contract","item":[{"name":"List all contracts","id":"0c5fd291-86e0-47fa-bb81-846c27700a50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts","description":"<p>Enpoint that shows a list of all Contracts.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/</a></p>\n<p>The GET Contracts supports search operations for:</p>\n<ul>\n<li>Client - first name</li>\n<li>Client - last name</li>\n<li>date created</li>\n<li>amount</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={client_first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={client_first_name+client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/contracts/?search={date(yyyy-mm-dd)}</a></p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/?search={amount}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["contracts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"02103801-5002-45fa-b268-b1678da8df4e","name":"List all contracts","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:48:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"768"},{"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    \"count\": 4,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/contracts/1/\",\n            \"client_\": \"Wilie Thying\",\n            \"status\": \"SIGNED\",\n            \"amount\": \"1220.00\",\n            \"payment_due\": \"2022-10-30\",\n            \"date_created\": \"2022-08-30 17:54:49\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client_\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client_\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        },\n        {\n            \"id\": 4,\n            \"url\": \"http://127.0.0.1:8000/contracts/4/\",\n            \"client_\": \"Tom Holland\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"499.90\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-09-01 18:50:06\"\n        }\n    ]\n}"},{"id":"84d440af-5821-4213-8da5-3bf3ed6d9735","name":"Search for clients first or last name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=davie","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"davie"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:48:40 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"229"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client_\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        }\n    ]\n}"},{"id":"36f9608d-3dad-45dd-a639-a3bf03cf710d","name":"Search for clients full name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=Geoffry Seagood","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"Geoffry Seagood"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:51:10 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"234"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client_\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"},{"id":"7811254b-f23a-4d0b-b778-3ce281c3f7db","name":"Search for date created (date only)","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=2022-08-30","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"2022-08-30"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:51:44 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"590"},{"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    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/contracts/1/\",\n            \"client_\": \"Wilie Thying\",\n            \"status\": \"SIGNED\",\n            \"amount\": \"1220.00\",\n            \"payment_due\": \"2022-10-30\",\n            \"date_created\": \"2022-08-30 17:54:49\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client_\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client_\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"},{"id":"a8b919c6-7cd3-4469-8a64-4af64b5a976c","name":"Search for date created (date + time)","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=2022-08-30 17:54","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"2022-08-30 17:54"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:52:42 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"229"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/contracts/1/\",\n            \"client_\": \"Wilie Thying\",\n            \"status\": \"SIGNED\",\n            \"amount\": \"1220.00\",\n            \"payment_due\": \"2022-10-30\",\n            \"date_created\": \"2022-08-30 17:54:49\"\n        }\n    ]\n}"},{"id":"a1f1d8a6-73ab-4535-9d3b-1a4c9222d885","name":"Search for time created","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=18:03","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"18:03"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:53:15 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"229"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client_\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        }\n    ]\n}"},{"id":"5f9aa94d-0cbf-4480-902a-f27cde0dd80d","name":"Search for amount","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/contracts/?search=1000.00","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["contracts",""],"query":[{"key":"search","value":"1000.00"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:53:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"412"},{"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    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n            \"client_\": \"Davie Erat\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-11-01\",\n            \"date_created\": \"2022-08-30 18:03:04\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/contracts/3/\",\n            \"client_\": \"Geoffry Seagood\",\n            \"status\": \"APPROVED\",\n            \"amount\": \"1000.00\",\n            \"payment_due\": \"2022-09-29\",\n            \"date_created\": \"2022-08-30 18:11:25\"\n        }\n    ]\n}"}],"_postman_id":"0c5fd291-86e0-47fa-bb81-846c27700a50"},{"name":"Get a single Contract","id":"ebf7facf-ea22-4eef-a8e7-6068b2fa4766","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts/2/","description":"<p>Endpoint that shows all details of a Contract.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/contracts/{contract-id}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["contracts","2",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"6873f70b-99c6-4ce9-8c9d-5cd5fa2c7ae2","name":"Get a single Contract","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/contracts/2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:54:19 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"252"},{"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    \"id\": 2,\n    \"url\": \"http://127.0.0.1:8000/contracts/2/\",\n    \"client\": 14,\n    \"client_url\": \"http://127.0.0.1:8000/clients/14/\",\n    \"status\": \"APPROVED\",\n    \"amount\": \"1000.00\",\n    \"payment_due\": \"2022-11-01\",\n    \"date_created\": \"2022-08-30 18:03:04\",\n    \"date_updated\": \"2022-08-30 18:06:29\"\n}"}],"_postman_id":"ebf7facf-ea22-4eef-a8e7-6068b2fa4766"}],"id":"01b251f8-2d1e-43ae-bd47-0602e682cf49","description":"<p>Contains all contract related endpoints.</p>\n","_postman_id":"01b251f8-2d1e-43ae-bd47-0602e682cf49","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}}},{"name":"Event","item":[{"name":"List of all events","id":"e70807bc-5274-416c-ad98-4f9d6f75ed5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/","description":"<p>Enpoint that shows a list of all Events.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/events/</a></p>\n<p>The GET Events supports search operations for:</p>\n<ul>\n<li>Client - first name</li>\n<li>Client - last name</li>\n<li>Client - full name</li>\n<li>Event date</li>\n</ul>\n<p>Enter The URI in the follwing format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={client_first_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={client_first_name+client_last_name}</a></p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/events/?search={date(yyyy-mm-dd)}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["events",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"84a97621-1af4-4595-a61b-1ebee8573cee","name":"List of all events","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:56:21 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"659"},{"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    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/events/1/\",\n            \"event_name\": \"Company Party\",\n            \"client\": \"Davie Erat\",\n            \"support_contact\": \"p.flohr@gmail.com\",\n            \"contract\": 2,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-09-23\"\n        },\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/events/2/\",\n            \"event_name\": \"A random event\",\n            \"client\": \"Geoffry Seagood\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 3,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-08-31\"\n        },\n        {\n            \"id\": 3,\n            \"url\": \"http://127.0.0.1:8000/events/3/\",\n            \"event_name\": \"Spiderman Party\",\n            \"client\": \"Tom Holland\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 4,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2023-02-01\"\n        }\n    ]\n}"},{"id":"719ccc73-a723-4288-b7ac-979f8de6842c","name":"Search for event date","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/events/?search=2022-09-23","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["events",""],"query":[{"key":"search","value":"2022-09-23"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:56:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"250"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"url\": \"http://127.0.0.1:8000/events/1/\",\n            \"event_name\": \"Company Party\",\n            \"client\": \"Davie Erat\",\n            \"support_contact\": \"p.flohr@gmail.com\",\n            \"contract\": 2,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-09-23\"\n        }\n    ]\n}"},{"id":"b70c9a74-71bb-4c81-a137-b13d70a5cf75","name":"Search for client first or last name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/events/?search=geoffry","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["events",""],"query":[{"key":"search","value":"geoffry"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:57:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"257"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/events/2/\",\n            \"event_name\": \"A random event\",\n            \"client\": \"Geoffry Seagood\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 3,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-08-31\"\n        }\n    ]\n}"},{"id":"de31a827-dc34-4bca-baa7-8fbe81a4d5de","name":"Search for clients full name","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/events/?search=geoffry seagood","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["events",""],"query":[{"key":"search","value":"geoffry seagood"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 13:57:58 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"257"},{"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    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"url\": \"http://127.0.0.1:8000/events/2/\",\n            \"event_name\": \"A random event\",\n            \"client\": \"Geoffry Seagood\",\n            \"support_contact\": \"m.brauns@gmail.com\",\n            \"contract\": 3,\n            \"status\": \"PROCESSING\",\n            \"event_date\": \"2022-08-31\"\n        }\n    ]\n}"}],"_postman_id":"e70807bc-5274-416c-ad98-4f9d6f75ed5c"},{"name":"Get an event","id":"c26cb813-f3e6-4cac-bf0d-1912558af8ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/2","description":"<p>Endpoint that shows all details of a Event.</p>\n<p>Enter the URI in the following format:</p>\n<p><a href=\"http://127.0.0.1:8000/contracts/\">http://127.0.0.1:8000/event/{event-id}</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["events","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5cf27805-ad9c-4edd-9ce0-5f11641127cd","name":"Get an event","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/events/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 14:29:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"461"},{"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    \"id\": 2,\n    \"url\": \"http://127.0.0.1:8000/events/2/\",\n    \"event_name\": \"A random event\",\n    \"client\": 8,\n    \"client_url\": \"http://127.0.0.1:8000/clients/8/\",\n    \"support_contact\": \"m.brauns@gmail.com\",\n    \"support_contact_url\": \"http://127.0.0.1:8000/auth/users/4/\",\n    \"contract\": 3,\n    \"contract_url\": \"http://127.0.0.1:8000/contracts/3/\",\n    \"date_created\": \"2022-08-30 18:13:57\",\n    \"date_updated\": \"2022-08-30 18:14:56\",\n    \"status\": \"PROCESSING\",\n    \"attendees\": 50,\n    \"event_date\": \"2022-08-31\",\n    \"notes\": \"Another Test\"\n}"}],"_postman_id":"c26cb813-f3e6-4cac-bf0d-1912558af8ed"},{"name":"Update an event","id":"3b85a8a1-d2b1-4b0b-b4c0-19d71393f59a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"","description":"<p>name of the event</p>\n","type":"text","disabled":true},{"key":"support_contact","value":"","description":"<p>user-email (off a support team member)</p>\n","type":"text","disabled":true},{"key":"contract","value":"","description":"<p>contract_id (of a signed contract)</p>\n","type":"text","disabled":true},{"key":"status","value":"","description":"<p>options: PROCESSING, UPCOMING, ONGOING, COMPLETED, CANCELLED</p>\n","type":"text","disabled":true},{"key":"attendees","value":"300","description":"<p>int (number of attendees)</p>\n","type":"text"},{"key":"event_date","value":"","description":"<p>date (yyyy-mm-dd)</p>\n","type":"text","disabled":true},{"key":"notes","value":"","description":"<p>text field for notes</p>\n","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/events/1/","description":"<p>Endpoint to update a Event.</p>\n<p>Enter The URI in the following format:</p>\n<p><a href=\"https://desktop.postman.com/?desktopVersion=9.15.2&amp;userId=20098177&amp;teamId=0\">http://127.0.0.1:8000/event/{event-id}/</a></p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["events","1",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4bdc68bb-7841-4747-9e55-36f1455fed0b","name":"Update an event","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"","description":"name of the event","type":"text","disabled":true},{"key":"support_contact","value":"","description":"user-email (off a support team member)","type":"text","disabled":true},{"key":"contract","value":"","description":"contract_id (of a signed contract)","type":"text","disabled":true},{"key":"status","value":"","description":"options: PROCESSING, UPCOMING, ONGOING, COMPLETED, CANCELLED","type":"text","disabled":true},{"key":"attendees","value":"450","description":"int (number of attendees)","type":"text"},{"key":"event_date","value":"","description":"date (yyyy-mm-dd)","type":"text","disabled":true},{"key":"notes","value":"","description":"text field for notes","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/events/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Sep 2022 16:11:57 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"461"},{"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    \"id\": 1,\n    \"url\": \"http://127.0.0.1:8000/events/1/\",\n    \"event_name\": \"Company Party\",\n    \"client\": 14,\n    \"client_url\": \"http://127.0.0.1:8000/clients/14/\",\n    \"support_contact\": \"p.flohr@gmail.com\",\n    \"support_contact_url\": \"http://127.0.0.1:8000/auth/users/2/\",\n    \"contract\": 2,\n    \"contract_url\": \"http://127.0.0.1:8000/contracts/2/\",\n    \"date_created\": \"2022-08-30 18:06:29\",\n    \"date_updated\": \"2022-09-05 16:11:57\",\n    \"status\": \"PROCESSING\",\n    \"attendees\": 450,\n    \"event_date\": \"2022-09-23\",\n    \"notes\": \"Just a Test\"\n}"}],"_postman_id":"3b85a8a1-d2b1-4b0b-b4c0-19d71393f59a"}],"id":"6af5135f-f916-41b8-a66e-ce2e40254183","description":"<p>Contains all contract related endpoints.</p>\n","_postman_id":"6af5135f-f916-41b8-a66e-ce2e40254183","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17","id":"e2cbba6e-b437-4295-8bfb-286470251b17","name":"Support Team","type":"folder"}}}],"id":"e2cbba6e-b437-4295-8bfb-286470251b17","description":"<p>This folder contains all the endpoints a support team member is able / allowed to use.</p>\n<p>To Authenticate select the type Basic Auth.</p>\n<p>Username: {user_email}</p>\n<p>Password: {user_password}</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c7d1c703-d0f7-4a99-870b-08ca5db56427","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"59e27367-0236-46db-a4ca-a5442fdfcffa","type":"text/javascript","exec":[""]}}],"_postman_id":"e2cbba6e-b437-4295-8bfb-286470251b17"}],"event":[{"listen":"prerequest","script":{"id":"1f9094a3-0ae9-469f-a799-7296a8445c9e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4661ab31-f54e-4f72-ab31-0c44e511b424","type":"text/javascript","exec":[""]}}]}