{"info":{"_postman_id":"470eb18d-6f5e-42ec-a192-d61cc976ef27","name":"EpicEvents","description":"<html><head></head><body><p><strong>Introduction</strong></p>\n<p>Epic Events is a RESTful API designed for Customer Relationship Management (CRM). A CRM system enables a company to manage its relationships and interactions with customers and potential customers.<br>These users' access is determined by their team.</p>\n<p><strong>Users</strong></p>\n<p>Users are divided into three teams which determine the authorized access to the various points of the API:</p>\n<ul>\n<li>Management</li>\n<li>Sales</li>\n<li>Support</li>\n</ul>\n<p>The user's team is determined by a Manager via Django admin when it is created, and can be modified afterwards.</p>\n<p><strong>Authorization</strong></p>\n<p>JWT (JSON Web Token) authentication is used.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24753025","collectionId":"470eb18d-6f5e-42ec-a192-d61cc976ef27","publishedId":"2s93eSZFJw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-04-29T08:58:03.000Z"},"item":[{"name":"Authentication","item":[{"name":"Login","id":"96e0cc0b-c55e-4a77-b595-782a03abd6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"MANAGEMENT1","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/login/","description":"<p><strong>Description</strong></p>\n<p>When the user sends a POST request, if the data entered is valid, the API returns a JWT access token. This token provides access to all endpoints for 30 days.</p>\n<p>The user must have been previously created by a member of the management team via Django admin.</p>\n<p><strong>Permissions</strong><br />No permission</p>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","login",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c37c7641-bc75-4590-9638-07e3968d8b35","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"MANAGEMENT1","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 08:39:50 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"483"},{"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    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4Mjg0Mzk5MCwiaWF0IjoxNjgyNzU3NTkwLCJqdGkiOiI5N2I2ZjE4MTIwMzI0NzU2YjA2YTE0ZjhhMWZjZmFjNyIsInVzZXJfaWQiOjF9.0mDKIYA8lOgMgPXfUN2yo_pnfBDr0PM4QlHqLyIsRMI\",\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIxNTkwLCJpYXQiOjE2ODI3NTc1OTAsImp0aSI6ImM5MTk1MjI3MGMzYzQ4NjU5YzU4MDMxYTVmNWZhZTA5IiwidXNlcl9pZCI6MX0.R1tXOAQ_RVoXLV5L4QnBvt3Dh_nV_FQNNMr9_JVzMJ8\"\n}"}],"_postman_id":"96e0cc0b-c55e-4a77-b595-782a03abd6aa"}],"id":"13b9c923-7c99-400a-862a-9eeebabaab0a","_postman_id":"13b9c923-7c99-400a-862a-9eeebabaab0a","description":""},{"name":"Accounts","item":[{"name":"list_accounts","id":"28e7c43b-6f8f-4234-bdab-76aa554f29bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/accounts/list/","description":"<p><strong>Description</strong></p>\n<p>The user can see the list users.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team.</p>\n<p><strong>Content</strong><br />The list of users displayed depends on the user's team:<br />sales team: no permission.<br />support team: no permisison.<br />management team: all customers in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","list",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"bc57c225-cd4c-417c-b964-1d1b59a8b903","name":"list_accounts","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"url":"http://127.0.0.1:8000/accounts/list/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:13:49 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"467"},{"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    {\n        \"id\": 5,\n        \"username\": \"S.D\",\n        \"email\": \"user5@example.com\"\n    },\n    {\n        \"id\": 7,\n        \"username\": \"E.M\",\n        \"email\": \"user7@example.com\"\n    },\n    {\n        \"id\": 1,\n        \"username\": \"MANAGEMENT1\",\n        \"email\": \"management1@example.com\"\n    },\n    {\n        \"id\": 9,\n        \"username\": \"P.G\",\n        \"email\": \"user9@example.com\"\n    },\n    {\n        \"id\": 4,\n        \"username\": \"V.V.G\",\n        \"email\": \"user4@example.com\"\n    },\n    {\n        \"id\": 2,\n        \"username\": \"MANAGEMENT2\",\n        \"email\": \"management2@example.com\"\n    },\n    {\n        \"id\": 10,\n        \"username\": \"H.M\",\n        \"email\": \"user10@example.com\"\n    },\n    {\n        \"id\": 6,\n        \"username\": \"L.D.V\",\n        \"email\": \"user6@example.com\"\n    }\n]"}],"_postman_id":"28e7c43b-6f8f-4234-bdab-76aa554f29bf"},{"name":"details user","id":"2b59d091-3df4-4faf-be0d-52d91f0e8c99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"url":"http://127.0.0.1:8000/accounts/list/5/","description":"<p><strong>Description</strong></p>\n<p>The user can see details of a user.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team</p>\n<p><strong>Content</strong><br />The list of user displayed depends on the user's team:<br />sales team: no permission.<br />support team: no permission.<br />management team: all users in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","list","5",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d0625a7d-6efe-4cd2-9077-649949300c04","name":"personnal_informations_account","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"url":"http://127.0.0.1:8000/accounts/list/5/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:17:08 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"381"},{"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\": 5,\n    \"password\": \"pbkdf2_sha256$600000$qPPK6R8WEJsDsaWuntV7Qb$IzUmIAGSkFXFiSWRJL1n/2Zm8WZvx6nTXhhzAK3ORlk=\",\n    \"last_login\": \"2023-04-29T08:24:34.893167Z\",\n    \"first_name\": \"Salvador\",\n    \"last_name\": \"Dali\",\n    \"date_joined\": \"2023-04-22T11:58:16Z\",\n    \"username\": \"S.D\",\n    \"email\": \"user5@example.com\",\n    \"is_superuser\": false,\n    \"is_active\": true,\n    \"is_staff\": true,\n    \"role\": \"SALE\",\n    \"groups\": [\n        1\n    ],\n    \"user_permissions\": []\n}"}],"_postman_id":"2b59d091-3df4-4faf-be0d-52d91f0e8c99"},{"name":"create user","id":"d130fdbc-2e09-4454-9334-2b8f4f930b59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"password","type":"text"},{"key":"username","value":"test","type":"text"},{"key":"email","value":"test@example.com","type":"text"},{"key":"role","value":"SALE","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/list/5/","description":"<p><strong>Description</strong></p>\n<p>The user can create an user.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team</p>\n<p>A successful request will result in a <strong>HTTP 201 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","list","5",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"98fd0cb4-6fbd-4dd3-b7bc-eae76e6eeb5d","name":"create user","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"password","type":"text"},{"key":"username","value":"test","type":"text"},{"key":"email","value":"test@example.com","type":"text"},{"key":"role","value":"SALE","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/list/5/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:24:01 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"273"},{"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\": 13,\n    \"password\": \"password\",\n    \"last_login\": null,\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"date_joined\": \"2023-04-29T09:24:01.756571Z\",\n    \"username\": \"test\",\n    \"email\": \"test@example.com\",\n    \"is_superuser\": false,\n    \"is_active\": false,\n    \"is_staff\": false,\n    \"role\": \"SALE\",\n    \"groups\": [],\n    \"user_permissions\": []\n}"}],"_postman_id":"d130fdbc-2e09-4454-9334-2b8f4f930b59"},{"name":"update user","id":"682e2093-8a5e-400f-bac6-ac42d5423505","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"password","type":"text"},{"key":"username","value":"test2","type":"text"},{"key":"email","value":"changeemail@example.com","type":"text"},{"key":"role","value":"SALE","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/list/5/","description":"<p><strong>Description</strong></p>\n<p>The user can update an user.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team.</p>\n<p><strong>Content</strong>  </p>\n<p>management team: all users in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","list","5",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"3535680d-c914-46b6-99a7-9dc582ff0f5d","name":"update user","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"password","type":"text"},{"key":"username","value":"test2","type":"text"},{"key":"email","value":"changeemail@example.com","type":"text"},{"key":"role","value":"SALE","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/list/5/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:27:44 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"310"},{"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\": 5,\n    \"password\": \"password\",\n    \"last_login\": \"2023-04-29T08:24:34.893167Z\",\n    \"first_name\": \"Salvador\",\n    \"last_name\": \"Dali\",\n    \"date_joined\": \"2023-04-22T11:58:16Z\",\n    \"username\": \"test2\",\n    \"email\": \"changeemail@example.com\",\n    \"is_superuser\": false,\n    \"is_active\": false,\n    \"is_staff\": false,\n    \"role\": \"SALE\",\n    \"groups\": [],\n    \"user_permissions\": []\n}"}],"_postman_id":"682e2093-8a5e-400f-bac6-ac42d5423505"},{"name":"delete user","id":"a7230599-4c26-43f9-91d8-1e0cd979aa18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"password","type":"text"},{"key":"username","value":"test2","type":"text"},{"key":"email","value":"changeemail@example.com","type":"text"},{"key":"role","value":"SALE","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/list/14/","description":"<p><strong>Description</strong></p>\n<p>The user can see delete an user.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team.</p>\n<p>A successful request will result in a <strong>HTTP 204 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["accounts","list","14",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"59c4ec97-e562-4a48-8ee2-bbb2edfca2c6","name":"delete user","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjIzNjA3LCJpYXQiOjE2ODI3NTk2MDcsImp0aSI6IjI2YTVhNGM0NTFjYjQwMTQ4YzY5NDBlZjUwN2I3OTE5IiwidXNlcl9pZCI6MX0.UyWeND76TQEMUHEXMB9hoAEsqszCEgdvDDAX0BCk0Zc","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"password","value":"password","type":"text"},{"key":"username","value":"test2","type":"text"},{"key":"email","value":"changeemail@example.com","type":"text"},{"key":"role","value":"SALE","type":"text"}]},"url":"http://127.0.0.1:8000/accounts/list/14/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:34:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a7230599-4c26-43f9-91d8-1e0cd979aa18"}],"id":"9d6f5f42-6dc2-4d8b-bc15-43aad8f2f3af","_postman_id":"9d6f5f42-6dc2-4d8b-bc15-43aad8f2f3af","description":""},{"name":"Customers","item":[{"name":"list customers","id":"324acea2-2bf0-456a-81a6-92a65257accd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/customers/list/","description":"<p><strong>Description</strong></p>\n<p>The user can see the list of clients determined according to his team.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />The list of customers displayed depends on the user's team:<br />sales team: all customers assigned to it.<br />support team: all the customers assigned to it.<br />management team: all customers in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p><strong>Filters</strong></p>\n<p>Filter by: first name (ex: ?frist_name=céline)</p>\n<p>Filter by: email (ex: ?email=<a href=\"mailto:celinedion@example.com\">celinedion@example.com</a>)</p>\n","urlObject":{"protocol":"http","port":"8000","path":["customers","list",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4f045dca-e8f4-4576-b64e-4b081cd79999","name":"list customers","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/customers/list/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:46:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"478"},{"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    {\n        \"id\": 16,\n        \"first_name\": \"Joe\",\n        \"last_name\": \"Biden\"\n    },\n    {\n        \"id\": 17,\n        \"first_name\": \"Emmanuel\",\n        \"last_name\": \"Macron\"\n    },\n    {\n        \"id\": 18,\n        \"first_name\": \"François\",\n        \"last_name\": \"Hollande\"\n    },\n    {\n        \"id\": 19,\n        \"first_name\": \"Jean\",\n        \"last_name\": \"Bon\"\n    },\n    {\n        \"id\": 20,\n        \"first_name\": \"Mike\",\n        \"last_name\": \"Horn\"\n    },\n    {\n        \"id\": 21,\n        \"first_name\": \"Steve\",\n        \"last_name\": \"Jobs\"\n    },\n    {\n        \"id\": 23,\n        \"first_name\": \"Céline\",\n        \"last_name\": \"Dion\"\n    },\n    {\n        \"id\": 24,\n        \"first_name\": \"Charles\",\n        \"last_name\": \"de Gaulle\"\n    },\n    {\n        \"id\": 25,\n        \"first_name\": \"Napoléon\",\n        \"last_name\": \"Bonaparte\"\n    }\n]"}],"_postman_id":"324acea2-2bf0-456a-81a6-92a65257accd"},{"name":"detail customer","id":"05239891-8c40-41f2-a8d8-abd04a822a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/customers/list/16/","description":"<p><strong>Description</strong></p>\n<p>The user can see the details of a client.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />The list of customers displayed depends on the user's team:<br />sales team: all customers assigned to it.<br />support team: all the customers assigned to it.<br />management team: all customers in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["customers","list","16",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"45b58bca-54dc-4d32-a1ac-862109b01293","name":"detail customer","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/customers/list/16/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:47:56 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"286"},{"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\": 16,\n    \"first_name\": \"Joe\",\n    \"last_name\": \"Biden\",\n    \"email\": \"joebiden@example.com\",\n    \"phone\": \"01.02.03.04.09\",\n    \"mobile\": \"02.01.02.03.10\",\n    \"company\": \"company_2\",\n    \"status_client\": \"EXISTING\",\n    \"date_created\": \"2023-04-23T14:42:17.425189Z\",\n    \"date_updated\": \"2023-04-25T09:06:49.175105Z\",\n    \"sales_client\": 4\n}"}],"_postman_id":"05239891-8c40-41f2-a8d8-abd04a822a51"},{"name":"create customer","id":"8229453c-b9b5-4eb2-b6b8-92adfc48d881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"alex","type":"text"},{"key":"last_name","value":"andre","type":"text"},{"key":"email","value":"alexandre@example.com","type":"text"},{"key":"status_client","value":"EXISTING","type":"text"}]},"url":"http://127.0.0.1:8000/customers/list/16/","description":"<p><strong>Description</strong></p>\n<p>The user can create a customer.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />sales team: permission OK<br />support team: no permission<br />management team: permission OK</p>\n<p>A successful request will result in a <strong>HTTP 201 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["customers","list","16",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5d6fcd94-afbd-4ff0-92ee-cb37a8bda442","name":"create customer","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"alex","type":"text"},{"key":"last_name","value":"andre","type":"text"},{"key":"email","value":"alexandre@example.com","type":"text"},{"key":"status_client","value":"EXISTING","type":"text"}]},"url":"http://127.0.0.1:8000/customers/list/16/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:53:41 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"260"},{"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\": 26,\n    \"first_name\": \"alex\",\n    \"last_name\": \"andre\",\n    \"email\": \"alexandre@example.com\",\n    \"phone\": null,\n    \"mobile\": null,\n    \"company\": null,\n    \"status_client\": \"EXISTING\",\n    \"date_created\": \"2023-04-29T09:53:41.398602Z\",\n    \"date_updated\": \"2023-04-29T09:53:41.399106Z\",\n    \"sales_client\": null\n}"}],"_postman_id":"8229453c-b9b5-4eb2-b6b8-92adfc48d881"},{"name":"update customer","id":"039774d3-7ec1-45dc-941d-20c9db44559c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"alexandra","type":"text"},{"key":"last_name","value":"andre","type":"text"},{"key":"email","value":"alexandre@example.com","type":"text"},{"key":"status_client","value":"EXISTING","type":"text"}]},"url":"http://127.0.0.1:8000/customers/list/26/","description":"<p><strong>Description</strong></p>\n<p>The user can see update a customer.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong>  </p>\n<p>sales team: permissions OK<br />support team: no permissions.<br />management team: permissions OK</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["customers","list","26",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"768e8f96-69ca-4c13-b784-bdf79c9c89f4","name":"update customer","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"alexandra","type":"text"},{"key":"last_name","value":"andre","type":"text"},{"key":"email","value":"alexandre@example.com","type":"text"},{"key":"status_client","value":"EXISTING","type":"text"}]},"url":"http://127.0.0.1:8000/customers/list/26/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:55:44 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"265"},{"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\": 26,\n    \"first_name\": \"alexandra\",\n    \"last_name\": \"andre\",\n    \"email\": \"alexandre@example.com\",\n    \"phone\": null,\n    \"mobile\": null,\n    \"company\": null,\n    \"status_client\": \"EXISTING\",\n    \"date_created\": \"2023-04-29T09:53:41.398602Z\",\n    \"date_updated\": \"2023-04-29T09:55:44.283700Z\",\n    \"sales_client\": null\n}"}],"_postman_id":"039774d3-7ec1-45dc-941d-20c9db44559c"},{"name":"delete customer","id":"27003f55-7de6-4347-a893-9087412bf62d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"alexandra","type":"text"},{"key":"last_name","value":"andre","type":"text"},{"key":"email","value":"alexandre@example.com","type":"text"},{"key":"status_client","value":"EXISTING","type":"text"}]},"url":"http://127.0.0.1:8000/customers/list/27/","description":"<p><strong>Description</strong></p>\n<p>The user can delete a customer.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management</p>\n<p>A successful request will result in a <strong>HTTP 204 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["customers","list","27",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"773d5c1b-3b34-4c81-b8ac-ab54aef3f920","name":"delete customer","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"alexandra","type":"text"},{"key":"last_name","value":"andre","type":"text"},{"key":"email","value":"alexandre@example.com","type":"text"},{"key":"status_client","value":"EXISTING","type":"text"}]},"url":"http://127.0.0.1:8000/customers/list/27/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 29 Apr 2023 09:58:15 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"27003f55-7de6-4347-a893-9087412bf62d"}],"id":"7eabae9e-8101-4c69-aa1e-95aacfc337b5","_postman_id":"7eabae9e-8101-4c69-aa1e-95aacfc337b5","description":""},{"name":"Contracts","item":[{"name":"list contracts","id":"94ee017f-4dae-4c0b-8050-c23d7211348d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/contracts/list/","description":"<p><strong>Description</strong></p>\n<p>The user can see the list of a contracts.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />The list of contracts displayed depends on the user's team:<br />sales team: all contracts assigned to it.<br />support team: all contracts assigned to it.<br />management team: all contracts in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p><strong>Filters:</strong><br />Search by: first name (ex: ?frist_name=céline)<br />Filter by: email (ex: ?email=<a href=\"mailto:celinedion@example.com\">celinedion@example.com</a>)<br />Filter by: contract date (ex: ?date_created=2023-09-23)<br />Filter by amount: amount (ex: ?amount=500)</p>\n","urlObject":{"protocol":"http","port":"8000","path":["contracts","list",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1cc3a629-b91a-4bc0-865b-41568ffca907","name":"list contracts","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/contracts/list/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:02:57 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"81"},{"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    {\n        \"id\": 37\n    },\n    {\n        \"id\": 38\n    },\n    {\n        \"id\": 39\n    },\n    {\n        \"id\": 40\n    },\n    {\n        \"id\": 36\n    },\n    {\n        \"id\": 41\n    },\n    {\n        \"id\": 42\n    },\n    {\n        \"id\": 43\n    }\n]"}],"_postman_id":"94ee017f-4dae-4c0b-8050-c23d7211348d"},{"name":"detail contract","id":"25e7461a-b83b-4c35-a960-3c7f5ed76aba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjM3NzkzLCJpYXQiOjE2ODI3NzM3OTMsImp0aSI6IjcxNWFlYTJiNTEwYTQ3NDJhNWEyODA5ZDYzYWVjNDBlIiwidXNlcl9pZCI6OX0.lBLcR46G93yi3UWS-7tSHMzmZBkWPdqkBbLW0APLLIA","type":"text"}],"url":"http://127.0.0.1:8000/contracts/list/41/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can see the details of a contracts.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />The list of contracts displayed depends on the user's team:<br />sales team: all contracts assigned to it.<br />support team: all contracts assigned to it.<br />management team: all contracts in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["contracts","list","41",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ce25ab19-75f8-4956-a674-7f2b7f38841e","name":"detail contract","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/contracts/list/37/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:04:23 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"207"},{"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\": 37,\n    \"amount\": 7535,\n    \"payment_due\": \"2025-03-12\",\n    \"contract_status\": \"open\",\n    \"date_created\": \"2023-04-23T15:08:13.921648Z\",\n    \"date_updated\": \"2023-04-23T15:08:13.921648Z\",\n    \"client_contract\": 16,\n    \"sales_contract\": 4\n}"}],"_postman_id":"25e7461a-b83b-4c35-a960-3c7f5ed76aba"},{"name":"create contract","id":"c5837344-a002-49c1-9861-3ae35f4a89f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"contract_status","value":"open","type":"text"},{"key":"amount","value":"10","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/list/43/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can create a contract.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales team</p>\n<p><strong>Content</strong><br />The list of contracts displayed depends on the user's team:<br />sales team: all contracts assigned to it.<br />support team: no permissions.<br />management team: all contracts in the database.</p>\n<p>A successful request will result in a <strong>HTTP 201 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["contracts","list","43",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"cdc61a53-ae87-4ede-a54c-d5d3e743f85b","name":"create contract","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"contract_status","value":"open","type":"text"},{"key":"amount","value":"10","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/list/43/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:08:32 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, 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\": 47,\n    \"amount\": 10,\n    \"payment_due\": null,\n    \"contract_status\": \"open\",\n    \"date_created\": \"2023-04-29T10:08:32.847570Z\",\n    \"date_updated\": \"2023-04-29T10:08:32.848073Z\",\n    \"client_contract\": null,\n    \"sales_contract\": null\n}"}],"_postman_id":"c5837344-a002-49c1-9861-3ae35f4a89f8"},{"name":"update contract","id":"a3371e2f-f71b-4f3c-a055-ba0eff73a4b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"contract_status","value":"open","type":"text"},{"key":"amount","value":"100000000","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/list/43/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can update the list of contracts.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales team</p>\n<p><strong>Content</strong><br />The list of contracts displayed depends on the user's team:<br />sales team: all contracts assigned to it.<br />support team: no permissions.<br />management team: all contracts in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["contracts","list","43",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"af6501af-af89-4d15-89ac-de46279eb799","name":"update contract","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"contract_status","value":"open","type":"text"},{"key":"amount","value":"100000000","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/list/43/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:10:55 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"212"},{"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\": 43,\n    \"amount\": 100000000,\n    \"payment_due\": \"2026-03-30\",\n    \"contract_status\": \"open\",\n    \"date_created\": \"2023-04-28T09:15:33.762263Z\",\n    \"date_updated\": \"2023-04-29T10:10:55.395049Z\",\n    \"client_contract\": 25,\n    \"sales_contract\": 5\n}"}],"_postman_id":"a3371e2f-f71b-4f3c-a055-ba0eff73a4b2"},{"name":"delete contract","id":"9a3f4321-5cc4-42c5-b95a-3ebac032e3d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"contract_status","value":"open","type":"text"},{"key":"amount","value":"100000000","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/list/48/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can delete a contracts.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team</p>\n<p>A successful request will result in a <strong>HTTP 204 Status</strong> code.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["contracts","list","48",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8c52cb4a-77d7-4ce6-b9bb-7a8ad35a7f86","name":"update contract Copy","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"contract_status","value":"open","type":"text"},{"key":"amount","value":"100000000","type":"text"}]},"url":"http://127.0.0.1:8000/contracts/list/48/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:12:08 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9a3f4321-5cc4-42c5-b95a-3ebac032e3d4"}],"id":"f8a7f8fa-5b59-4d81-8d92-adede1ce1da6","_postman_id":"f8a7f8fa-5b59-4d81-8d92-adede1ce1da6","description":""},{"name":"Events","item":[{"name":"list_events","id":"6b013b01-7324-4d81-b34d-af9be2655dd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/events/list/","description":"<p><strong>Description</strong></p>\n<p>The user can see the list of events.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />The list of events displayed depends on the user's team:<br />sales team: all events assigned to it.<br />support team: all events assigned to it.<br />management team: all events in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p><strong>Filters:</strong><br />Search by: first name (ex: ?frist_name=céline)<br />Filter by: email (ex: ?email=<a href=\"mailto:celinedion@example.com\">celinedion@example.com</a>)<br />Filter by: event date (ex: ?event_date=2023-09-23)</p>\n","urlObject":{"protocol":"http","port":"8000","path":["events","list",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"20317064-d144-4730-81b0-3d3b6c1246b8","name":"list_events","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/events/list/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:14:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"55"},{"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    {\n        \"id\": 6\n    },\n    {\n        \"id\": 5\n    },\n    {\n        \"id\": 4\n    },\n    {\n        \"id\": 7\n    },\n    {\n        \"id\": 8\n    },\n    {\n        \"id\": 9\n    }\n]"}],"_postman_id":"6b013b01-7324-4d81-b34d-af9be2655dd7"},{"name":"detail event","id":"ac49aaee-7c21-419b-9125-87e94f3be817","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/events/list/8/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can see the details of an events.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales or support team</p>\n<p><strong>Content</strong><br />The list of events displayed depends on the user's team:<br />sales team: all events assigned to it.<br />support team: all events assigned to it.<br />management team: all events in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["events","list","8",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"fa7bc992-6695-4407-93a0-75e971229a82","name":"detail event","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"url":"http://127.0.0.1:8000/events/list/8/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:15:51 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"293"},{"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\": 8,\n    \"event_name\": \"event98\",\n    \"event_date\": \"2024-02-13T09:15:57Z\",\n    \"event_notes\": \"notes\",\n    \"attendees\": 16,\n    \"event_status\": \"open\",\n    \"date_created\": \"2023-04-28T09:16:38.953879Z\",\n    \"date_updated\": \"2023-04-28T09:16:38.953879Z\",\n    \"client_events\": 24,\n    \"contract_events\": 42,\n    \"sales_events\": 4,\n    \"support_events\": 10\n}"}],"_postman_id":"ac49aaee-7c21-419b-9125-87e94f3be817"},{"name":"create event","id":"a6440125-aa59-4758-b2a7-9a6aed58e7b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"event986","type":"text"},{"key":"event_date","value":"2023-11-23 10:18:25+01","type":"text"},{"key":"attendees","value":"12","type":"text"},{"key":"event_status","value":"open","type":"text"}]},"url":"http://127.0.0.1:8000/events/list/8/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can create an events.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, sales team</p>\n<p><strong>Content</strong><br />sales team: permisisons OK - (all contracts assigned to it)<br />support team: no permisisons<br />management team: permisisons OK - (all contracts)</p>\n<p>A successful request will result in a <strong>HTTP 201 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["events","list","8",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"fc7434ba-e439-4010-8b67-4cb51ed2e8f6","name":"create event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"event986","type":"text"},{"key":"event_date","value":"2023-11-23 10:18:25+01","type":"text"},{"key":"attendees","value":"12","type":"text"},{"key":"event_status","value":"open","type":"text"}]},"url":"http://127.0.0.1:8000/events/list/8/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:20:49 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"301"},{"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\": 10,\n    \"event_name\": \"event986\",\n    \"event_date\": \"2023-11-23T09:18:25Z\",\n    \"event_notes\": null,\n    \"attendees\": 12,\n    \"event_status\": \"open\",\n    \"date_created\": \"2023-04-29T10:20:49.767016Z\",\n    \"date_updated\": \"2023-04-29T10:20:49.767016Z\",\n    \"client_events\": null,\n    \"contract_events\": null,\n    \"sales_events\": null,\n    \"support_events\": null\n}"}],"_postman_id":"a6440125-aa59-4758-b2a7-9a6aed58e7b7"},{"name":"update event","id":"a01d09aa-4784-4ea5-8366-672497153a66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"event98600000000","type":"text"},{"key":"event_date","value":"2023-11-23 10:18:25+01","type":"text"},{"key":"attendees","value":"12","type":"text"},{"key":"event_status","value":"open","type":"text"}]},"url":"http://127.0.0.1:8000/events/list/10/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can update an events.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management, support team</p>\n<p><strong>Content</strong><br />The list of events displayed depends on the user's team:<br />sales team: no permissions.<br />support team: permissions OK - ( all contracts assigned to it)<br />management team: all events in the database.</p>\n<p>A successful request will result in a <strong>HTTP 200 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["events","list","10",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a1c664f3-ffa4-477a-9f8b-c429cf56d058","name":"update event","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"event98600000000","type":"text"},{"key":"event_date","value":"2023-11-23 10:18:25+01","type":"text"},{"key":"attendees","value":"12","type":"text"},{"key":"event_status","value":"open","type":"text"}]},"url":"http://127.0.0.1:8000/events/list/10/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:22:04 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"309"},{"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\": 10,\n    \"event_name\": \"event98600000000\",\n    \"event_date\": \"2023-11-23T09:18:25Z\",\n    \"event_notes\": null,\n    \"attendees\": 12,\n    \"event_status\": \"open\",\n    \"date_created\": \"2023-04-29T10:20:49.767016Z\",\n    \"date_updated\": \"2023-04-29T10:22:04.517405Z\",\n    \"client_events\": null,\n    \"contract_events\": null,\n    \"sales_events\": null,\n    \"support_events\": null\n}"}],"_postman_id":"a01d09aa-4784-4ea5-8366-672497153a66"},{"name":"delete event","id":"0fbbf529-cd6d-4199-ace4-f43e75658eaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"event98600000000","type":"text"},{"key":"event_date","value":"2023-11-23 10:18:25+01","type":"text"},{"key":"attendees","value":"12","type":"text"},{"key":"event_status","value":"open","type":"text"}]},"url":"http://127.0.0.1:8000/events/list/10/","description":"<p>StartFragment</p>\n<p><strong>Description</strong></p>\n<p>The user can delete an events.</p>\n<p><strong>Permissions</strong><br />The user must be logged in with their JWT<br />The user must be a member of the management team</p>\n<p>A successful request will result in a <strong>HTTP 204 Status</strong> code.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"http","port":"8000","path":["events","list","10",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"424058dc-bc76-4fc1-ae31-13e13cb14ece","name":"delete event","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjgzNjI1MzMxLCJpYXQiOjE2ODI3NjEzMzEsImp0aSI6IjNhOWYwYzY1NzVhZTQ1OTZhYTZkNzZkMjViYjlhMDFkIiwidXNlcl9pZCI6MX0.bSUQx9ytZrU7W9cWLm3ZIKrYLJEiFV24DiAFmFlp794","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"event_name","value":"event98600000000","type":"text"},{"key":"event_date","value":"2023-11-23 10:18:25+01","type":"text"},{"key":"attendees","value":"12","type":"text"},{"key":"event_status","value":"open","type":"text"}]},"url":"http://127.0.0.1:8000/events/list/10/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 29 Apr 2023 10:23:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.6"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0fbbf529-cd6d-4199-ace4-f43e75658eaf"}],"id":"7ee0d98c-a696-4a6b-bf4b-af16027138c8","_postman_id":"7ee0d98c-a696-4a6b-bf4b-af16027138c8","description":""}]}