{"info":{"_postman_id":"62f1c390-2626-46fa-b833-1927e20381b0","name":"@HQM - Doc API publique v2.1.4 (Summer 26)","description":"<html><head></head><body><p>Date de publication : 4 février 2026</p>\n<p>Vous trouverez ci-dessous la collection Postman pour faciliter la découverte des API Hubicus QM.</p>\n<p>La documentation de ces APIs est disponible sur : <a href=\"https://myviseo.atlassian.net/wiki/spaces/HQMAPI\">https://myviseo.atlassian.net/wiki/spaces/HQMAPI</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7598842","collectionId":"62f1c390-2626-46fa-b833-1927e20381b0","publishedId":"2sBXcAJNWQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-02-10T13:49:47.000Z"},"item":[{"name":"Global / Authentification","item":[{"name":"Login / Standard","event":[{"listen":"test","script":{"id":"fcf45099-109f-471d-a50a-65bd8803cb43","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"token\", jsonData.access_token);\r","postman.setEnvironmentVariable(\"refresh_token\", jsonData.refresh_token);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d21b9366-995e-4a55-980d-4f168810fa55","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","type":"text","value":"password"},{"description":"<p>Your username</p>\n","key":"username","type":"text","value":"{{username}}"},{"description":"<p>Your password</p>\n","key":"password","type":"text","value":"{{password}}"},{"description":"<p>API Key</p>\n","key":"client_id","type":"text","value":"{{client_id}}"},{"description":"<p>API Secret</p>\n","key":"client_secret","type":"text","value":"{{client_secret}}"}]},"url":"{{host}}/api/oauth/v2/token","urlObject":{"path":["api","oauth","v2","token"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d21b9366-995e-4a55-980d-4f168810fa55"},{"name":"Login / SSO","event":[{"listen":"test","script":{"id":"fcf45099-109f-471d-a50a-65bd8803cb43","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"token\", jsonData.access_token);\r","postman.setEnvironmentVariable(\"refresh_token\", jsonData.refresh_token);"],"type":"text/javascript"}}],"id":"cbfa4c5b-450e-48d6-ac11-17897ae52227","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"User-Agent","type":"text","value":"{{user_agent}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","type":"text","value":"client_credentials"},{"description":"<p>Your username</p>\n","key":"username","type":"text","value":"{{username}}"},{"description":"<p>API key</p>\n","key":"client_id","type":"text","value":"{{client_id}}"},{"description":"<p>API Secret</p>\n","key":"client_secret","type":"text","value":"{{client_secret}}"}]},"url":"{{host}}/api/oauth/v2/token","urlObject":{"path":["api","oauth","v2","token"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbfa4c5b-450e-48d6-ac11-17897ae52227"},{"name":"Token / Refresh","event":[{"listen":"test","script":{"id":"2d788109-041e-44d0-beaa-b8bc3d8a6e37","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"token\", jsonData.access_token);\r","postman.setEnvironmentVariable(\"refresh_token\", jsonData.refresh_token);"],"type":"text/javascript"}}],"id":"9afba7a8-d761-4bb5-942e-27604d46bc66","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>API key</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>API Secret</p>\n"},{"key":"refresh_token","value":"{{refresh_token}}","type":"text","description":"<p>Refresh token received on Login</p>\n"}]},"url":"{{host}}/api/oauth/v2/token","urlObject":{"path":["api","oauth","v2","token"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9afba7a8-d761-4bb5-942e-27604d46bc66"},{"name":"Logout","id":"a19a78f7-b60f-4649-8edb-ac679732d7c9","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"},{"key":"Accept","value":"g=Default","type":"text"}],"url":"{{host}}/api/logout","urlObject":{"path":["api","logout"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a19a78f7-b60f-4649-8edb-ac679732d7c9"}],"id":"a852ac5a-ed3e-4e55-bb11-7efabaa4441a","event":[{"listen":"prerequest","script":{"id":"2de411e7-856b-49d9-ab30-48ff9315b05d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d7d86a20-90f3-467e-80b7-a421104bf6b6","type":"text/javascript","exec":[""]}}],"_postman_id":"a852ac5a-ed3e-4e55-bb11-7efabaa4441a","description":""},{"name":"Global / Cloisonnement","item":[{"name":"Lister les valeurs de cloisonnement","id":"248f0d53-b50a-4727-b869-755253b1d9a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/partition-value","description":"<p>Contexts list can be :</p>\n<ul>\n<li>paginated</li>\n<li>ordered by<ul>\n<li>Context name</li>\n<li>Number of values</li>\n</ul>\n</li>\n<li>filtered by<ul>\n<li>Status</li>\n<li>Label</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api","partition-value"],"host":["{{host}}"],"query":[{"disabled":true,"key":"limit","value":"10"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"filters[contain][active][true]","value":"true"},{"disabled":true,"key":"filters[contain][label]","value":"Z"},{"disabled":true,"key":"sort[label]","value":"ASC"}],"variable":[]}},"response":[],"_postman_id":"248f0d53-b50a-4727-b869-755253b1d9a4"},{"name":"Afficher le détail d'une valeur de cloisonnement","id":"8c507645-c40e-4d67-ba24-fc2960e6e55f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/partition-value/2000","urlObject":{"path":["api","partition-value","2000"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c507645-c40e-4d67-ba24-fc2960e6e55f"}],"id":"573a1627-35c4-4885-ba90-0781d8662e62","_postman_id":"573a1627-35c4-4885-ba90-0781d8662e62","description":""},{"name":"Global / Contextes","item":[{"name":"Lister les contextes","id":"e7ac0af8-2b03-4193-aec6-eb0a39e00867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/contexts?limit=2&filters[contain][context]=num","urlObject":{"path":["api","contexts"],"host":["{{host}}"],"query":[{"key":"limit","value":"2"},{"disabled":true,"key":"page","value":"10"},{"key":"filters[contain][context]","value":"num"},{"disabled":true,"key":"filters[contain][active][true]","value":"false"},{"disabled":true,"key":"sort[context]","value":"DESC"},{"disabled":true,"key":"sort[context_values]","value":"ASC"}],"variable":[]}},"response":[],"_postman_id":"e7ac0af8-2b03-4193-aec6-eb0a39e00867"},{"name":"Afficher le détail d'un contexte","id":"bea0ad79-921e-497c-980b-55e9927ffc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/contexts/623","urlObject":{"path":["api","contexts","623"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bea0ad79-921e-497c-980b-55e9927ffc9d"},{"name":"Lister les valeurs de contextes","id":"9a604eac-2fcb-4647-b3fa-004e74466264","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/contexts-values","urlObject":{"path":["api","contexts-values"],"host":["{{host}}"],"query":[{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"filters[contain][active][true]","value":"true"},{"disabled":true,"key":"filters[contain][context_value_label]","value":"mail"},{"disabled":true,"key":"filters[contain][context_label]","value":"can"},{"disabled":true,"key":"filters[in][context_id][0]","value":"974"},{"disabled":true,"key":"sort[context]","value":"ASC"},{"disabled":true,"key":"sort[context_value]","value":"DESC"}],"variable":[]}},"response":[],"_postman_id":"9a604eac-2fcb-4647-b3fa-004e74466264"},{"name":"Afficher le détail d'une valeur de contexte","id":"89f6dd53-df78-4dda-b1f4-6ffd6325f214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/contexts-values/9860","urlObject":{"path":["api","contexts-values","9860"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89f6dd53-df78-4dda-b1f4-6ffd6325f214"}],"id":"fcb5fa64-bf38-436d-a391-ee23d67a132e","_postman_id":"fcb5fa64-bf38-436d-a391-ee23d67a132e","description":""},{"name":"Global / rôles, équipes et utilisateurs","item":[{"name":"Rôles","item":[{"name":"Lister tous les rôles","id":"41f7aaf9-2440-43a8-a7d6-8d45acc03543","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"}],"url":"{{host}}/api/roles/all","description":"<p>Lists all roles available on an instance.</p>\n","urlObject":{"path":["api","roles","all"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"41f7aaf9-2440-43a8-a7d6-8d45acc03543"}],"id":"23ae94a9-9c8d-45fd-adbe-f1bb999f0fec","_postman_id":"23ae94a9-9c8d-45fd-adbe-f1bb999f0fec","description":""},{"name":"Équipes","item":[{"name":"Lister les équipes","id":"df905d5a-0258-43f4-b064-f32abc6ff624","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"description":"<p>Lazy / Default / Detailed</p>\n","key":"Accept","value":"g=Detailed"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"url":"{{host}}/api/teams?limit=10&page=1&filters[in][active]=true","description":"<p>Teams list can be :</p>\n<ul>\n<li>paginated</li>\n<li>ordered by<ul>\n<li>Label</li>\n<li>Team path</li>\n<li>Status</li>\n<li>Users in team</li>\n<li>Users in team and subteams</li>\n</ul>\n</li>\n<li>filtered by <ul>\n<li>Status</li>\n<li>Label</li>\n<li>Creation date</li>\n<li>Team path</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api","teams"],"host":["{{host}}"],"query":[{"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"filters[in][active]","value":"true"},{"disabled":true,"key":"filters[contain][label]","value":"Eu"},{"disabled":true,"key":"filters[contain][team_path]","value":"europe"},{"disabled":true,"key":"sort[label]","value":"ASC"},{"disabled":true,"key":"sort[team_path]","value":"ASC"},{"disabled":true,"key":"sort[team_users]","value":"DESC"},{"disabled":true,"key":"sort[total_users]","value":"DESC"}],"variable":[]}},"response":[],"_postman_id":"df905d5a-0258-43f4-b064-f32abc6ff624"},{"name":"Afficher le détail d'une équipe","id":"4354d074-5bea-4c47-9df1-8f3156e0c954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed"}],"url":"{{host}}/api/teams/4679/component","urlObject":{"path":["api","teams","4679","component"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4354d074-5bea-4c47-9df1-8f3156e0c954"},{"name":"Récupérer les contextes et valeurs de contextes d'une équipe","id":"6cabd9bc-3c60-4bee-ba16-40d04abd94e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed"}],"url":"{{host}}/api/teams/2154/component","urlObject":{"path":["api","teams","2154","component"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cabd9bc-3c60-4bee-ba16-40d04abd94e9"},{"name":"Créer une équipe enfant avec accès à certaines valeurs de cloisonnement","id":"bd968879-0d7d-46f0-8536-5b0dc7b36b00","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Equipe Enfant\",\n    \"active\": true,\n    \"parent\": 4546,\n    \"partition_values\": [208,209]\n}"},"url":"{{host}}/api/teams","description":"<p>For a partitioned client, you must specify one or many partition values.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","teams"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd968879-0d7d-46f0-8536-5b0dc7b36b00"},{"name":"Créer une équipe racine avec accès à toutes les valeurs de cloisonnement","id":"47c293a9-c5e2-40eb-ac91-c4ebb11eed2e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Equipe Racine Full\",\n    \"active\": true,\n    \"parent\": null,\n    \"partition_values\": [-1]\n}"},"url":"{{host}}/api/teams","description":"<p>For a partitioned client, you must specify one or many partition values.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","teams"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"47c293a9-c5e2-40eb-ac91-c4ebb11eed2e"},{"name":"Créer une équipe enfant sans cloisonnement","id":"e9d4f3ef-a473-4c3d-afd3-4a044e568b40","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Equipe Enfant\",\n    \"active\": true,\n    \"parent\": 2147\n}"},"url":"{{host}}/api/teams","description":"<p>For a partitioned client, you must specify one or many partition values.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","teams"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9d4f3ef-a473-4c3d-afd3-4a044e568b40"},{"name":"Créer une équipe racine sans cloisonnement","id":"34d14986-c15d-4c41-9b52-7a3aa07aeb5d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Equipe Racine\",\n    \"active\": true,\n    \"parent\": null\n}"},"url":"{{host}}/api/teams","description":"<p>For a partitioned client, you must specify one or many partition values.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","teams"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"34d14986-c15d-4c41-9b52-7a3aa07aeb5d"},{"name":"Ecraser une équipe cloisonnée","id":"bcfc2cad-ff99-4b17-8b73-d9246791b498","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"label\": \"Equipe racine à jour\",\n  \"parent\": null,\n  \"partition_values\": [-1]\n}"},"url":"{{host}}/api/teams/4546","urlObject":{"path":["api","teams","4546"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bcfc2cad-ff99-4b17-8b73-d9246791b498"},{"name":"Ecraser une équipe sans cloisonnement","id":"d014a613-bd5b-4f8b-86d5-c816b7d5c543","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"label\": \"Allemagne modifiée\",\n  \"parent\": null\n}"},"url":"{{host}}/api/teams/2147","urlObject":{"path":["api","teams","2147"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d014a613-bd5b-4f8b-86d5-c816b7d5c543"},{"name":"Ecraser une équipe comprenant des valeurs de contexte","id":"72644638-bfc7-45d5-a5cc-73bf4509e330","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"label\": \"Allemage update\",\n  \"parent\": null,\n  \"components\": [\n    {\n      \"scope\": null,\n      \"type\": \"relation\",\n      \"context\": \"627\",\n      \"context_value\": \"5203\"\n    },\n    {\n      \"scope\": null,\n      \"type\": \"relation\",\n      \"context\": \"1041\",\n      \"value_string\": \"de_team_CRM_id_updated\"\n    }\n  ]\n}"},"url":"{{host}}/api/teams/2154","urlObject":{"path":["api","teams","2154"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72644638-bfc7-45d5-a5cc-73bf4509e330"},{"name":"Désactiver une équipe","id":"95a9ffc8-4b1b-4863-ba67-9b0767def7e4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true,"user-agent":true}},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": false\n}"},"url":"{{host}}/api/teams/4546","urlObject":{"path":["api","teams","4546"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"95a9ffc8-4b1b-4863-ba67-9b0767def7e4"}],"id":"9447050b-14bf-4666-b2cf-96d06be6a15c","_postman_id":"9447050b-14bf-4666-b2cf-96d06be6a15c","description":""},{"name":"Utilisateurs","item":[{"name":"Lister les utilisateurs","id":"0c82ca2a-b795-4274-992e-b5c5f5f46f50","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"description":"<p>Lazy / Default / Detailed</p>\n","key":"Accept","value":"g=Detailed"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"url":"{{host}}/api/users","description":"<p>Users list can be :</p>\n<ul>\n<li><p>paginated</p>\n</li>\n<li><p>ordered by</p>\n<ul>\n<li>role</li>\n<li>full name</li>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>team</li>\n<li>status,</li>\n<li>locale,</li>\n<li>role</li>\n</ul>\n</li>\n<li><p>filtered by </p>\n<ul>\n<li>Status</li>\n<li>role</li>\n<li>locale</li>\n<li>first name</li>\n<li>last name</li>\n<li>email</li>\n<li>combination of properties</li>\n<li>id </li>\n<li>team</li>\n<li>role_label</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api","users"],"host":["{{host}}"],"query":[{"disabled":true,"key":"limit","value":"50"},{"disabled":true,"key":"page","value":"100"},{"disabled":true,"key":"sort[full_name]","value":"ASC"},{"disabled":true,"key":"sort[first_name]","value":"ASC"},{"disabled":true,"key":"sort[last_name]","value":"ASC"},{"disabled":true,"key":"sort[email]","value":"ASC"},{"disabled":true,"key":"sort[team]","value":"ASC"},{"disabled":true,"key":"sort[active]","value":"ASC"},{"disabled":true,"key":"sort[locale]","value":"ASC"},{"disabled":true,"key":"sort[role]","value":"ASC"},{"disabled":true,"key":"filters[in][active]","value":"true"},{"disabled":true,"key":"filters[in][team]","value":"4470"},{"disabled":true,"key":"filters[in][role]","value":"497"},{"disabled":true,"key":"filters[in][locale]","value":"fr_FR"},{"disabled":true,"description":{"content":"<p>Filter / user's first name</p>\n","type":"text/plain"},"key":"filters[contain][first_name]","value":"phl"},{"disabled":true,"description":{"content":"<p>Filter / user's last name</p>\n","type":"text/plain"},"key":"filters[contain][last_name]","value":"eil"},{"disabled":true,"description":{"content":"<p>Filter / user's email</p>\n","type":"text/plain"},"key":"filters[contain][email]","value":"eil"},{"disabled":true,"description":{"content":"<p>Filter / Multi-filters on user's properties</p>\n","type":"text/plain"},"key":"filters[contain][first_name|last_name|email]","value":"consei"},{"disabled":true,"description":{"content":"<p>Filter / Role Label : string</p>\n","type":"text/plain"},"key":"filters[contain][role_label]","value":"Adm"}],"variable":[]}},"response":[],"_postman_id":"0c82ca2a-b795-4274-992e-b5c5f5f46f50"},{"name":"Afficher le détail d'un utilisateur","id":"275cbc0a-44a3-4be1-b118-6dfea7c8fed1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"description":"<p>Lazy / Default / Detailed</p>\n","key":"Accept","value":"g=Detailed"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"url":"{{host}}/api/users/21587","urlObject":{"path":["api","users","21587"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"275cbc0a-44a3-4be1-b118-6dfea7c8fed1"},{"name":"Récupérer les contextes et valeurs de contextes d'un utilisateur","id":"6f44b2f6-9633-4ccd-af4a-7bcc1938eca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed"}],"url":"{{host}}/api/users/21588/component","urlObject":{"path":["api","users","21588","component"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f44b2f6-9633-4ccd-af4a-7bcc1938eca3"},{"name":"Créer un utilisateur cloisonné, sans contexte","id":"a1e3696c-87c3-4974-9e6b-ac9ca0b1b421","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"utilisateur_cloisonne_equipe\",\n    \"login_type\": \"login\",\n    \"first_name\": \"Utilisateur\",\n    \"last_name\": \"Cloisonné\",\n    \"locale\": \"fr_FR\",\n    \"team\": 4547,\n    \"role\": 838,\n    \"active\": true,\n    \"send_password_definition\": false,\n    \"partition_values\": [209]\n}"},"url":"{{host}}/api/users","description":"<p>For a partitioned client, you must specify one or many partition values that is compatible with the team.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1e3696c-87c3-4974-9e6b-ac9ca0b1b421"},{"name":"Créer un utilisateur standard, sans contexte","id":"57ffdda6-8045-4883-92da-d2d96645becb","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"utilisateur_racine\",\n    \"login_type\": \"login\",\n    \"first_name\": \"Utilisateur\",\n    \"last_name\": \"Racine\",\n    \"locale\": \"fr_FR\",\n    \"team\": null,\n    \"role\": 495,\n    \"active\": true,\n    \"send_password_definition\": false\n}"},"url":"{{host}}/api/users","description":"<p>For a partitioned client, you must specify one or many partition values that is compatible with the team.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"57ffdda6-8045-4883-92da-d2d96645becb"},{"name":"Créer un utilisateur standard, avec contexte date","id":"0efee926-b306-416d-a2e8-0a086b44a3cc","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"utilisateur_racine2\",\n    \"login_type\": \"login\",\n    \"first_name\": \"Utilisateur\",\n    \"last_name\": \"Racine\",\n    \"locale\": \"fr_FR\",\n    \"team\": null,\n    \"role\": 495,\n    \"active\": true,\n    \"send_password_definition\": false,\n    \"components\": [\n        {\n            \"scope\": null,\n            \"type\": \"relation\",\n            \"context\": 623,\n            \"value_string\": \"2023-07-17 16:14:03\"\n        }\n    ]\n}"},"url":"{{host}}/api/users","description":"<p>For a partitioned client, you must specify one or many partition values that is compatible with the team.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0efee926-b306-416d-a2e8-0a086b44a3cc"},{"name":"Créer un utilisateur standard, avec contexte date et Liste de valeurs","id":"c14d01c4-44c1-4610-97a3-d29cb3beafe5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"utilisateur_racine6\",\n    \"login_type\": \"login\",\n    \"first_name\": \"Utilisateur\",\n    \"last_name\": \"Racine6\",\n    \"locale\": \"fr_FR\",\n    \"team\": null,\n    \"role\": 495,\n    \"active\": true,\n    \"send_password_definition\": false,\n    \"components\": [\n        {\n            \"scope\": null,\n            \"type\": \"relation\",\n            \"context\": 623,\n            \"value_string\": \"2023-07-17 16:22:03\"\n        },\n        {\n            \"scope\": null,\n            \"type\": \"relation\",\n            \"context\": 625,\n            \"context_value\": 5199\n        }\n    ]\n}"},"url":"{{host}}/api/users","description":"<p>For a partitioned client, you must specify one or many partition values that is compatible with the team.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c14d01c4-44c1-4610-97a3-d29cb3beafe5"},{"name":"Ecraser un utilisateur cloisonné, sans contexte","id":"4bb83858-1554-41ce-b41c-318c48684d77","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"utilisateur_cloisonne_equipe\",\n    \"login_type\": \"login\",\n    \"first_name\": \"Utilisateur\",\n    \"last_name\": \"Cloisonné et ecrasé\",\n    \"locale\": \"fr_FR\",\n    \"team\": 4547,\n    \"role\": 838,\n    \"active\": true,\n    \"send_password_definition\": false,\n    \"partition_values\": [209]\n}"},"url":"{{host}}/api/users/53816","description":"<p>For a partitioned client, you must specify one or many partition values that is compatible with the team.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","users","53816"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bb83858-1554-41ce-b41c-318c48684d77"},{"name":"Modifier un utilisateur","id":"713feca8-73e5-4340-b6b3-42e4efd1d265","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"last_name\": \"Cloisonné et désactivé\",\n    \"active\": false\n}"},"url":"{{host}}/api/users/53816","description":"<p>For a partitioned client, you must specify one or many partition values that is compatible with the team.<br />It's a mandatory field.</p>\n","urlObject":{"path":["api","users","53816"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"713feca8-73e5-4340-b6b3-42e4efd1d265"}],"id":"048657ef-862f-4509-afeb-d29852e10cf0","_postman_id":"048657ef-862f-4509-afeb-d29852e10cf0","description":""}],"id":"0a904581-bb17-4482-8a33-80f04e5f710c","_postman_id":"0a904581-bb17-4482-8a33-80f04e5f710c","description":""},{"name":"QM / Picking","item":[{"name":"V1","item":[{"name":"Identifier l'Agent","item":[{"name":"Identifier l'Agent par une Valeur de Contexte","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"4ee65445-bed6-45d8-a1ed-b0ede887b217","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"d4d807c3-0319-4d7d-a7f1-06b3c1c85821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_agent_contexte\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n           \"context\": {\n               \"id\": 964,\n               \"value\": \"conseiller_recorder_1\"\n           }\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4d807c3-0319-4d7d-a7f1-06b3c1c85821"},{"name":"Identifier l'Agent par Login","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"a0d0bb74-c796-4868-b740-741ce4f3aefa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_agent_login\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0d0bb74-c796-4868-b740-741ce4f3aefa"}],"id":"3a627072-4e35-47e9-88cd-8b2da6671635","_postman_id":"3a627072-4e35-47e9-88cd-8b2da6671635","description":""},{"name":"Renseigner des Contextes","item":[{"name":"Listes de Valeurs","item":[{"name":"Liste de valeur / valeur unique / par identifiant de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"2e9c4579-8dcb-4b06-9c99-80629df64897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_single_value_id\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 622,\n\t\t\t\t\"value\": 5139666666\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e9c4579-8dcb-4b06-9c99-80629df64897"},{"name":"Liste de valeur / valeurs multiples / par identifiant de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"6da26f1c-8210-433a-8ec8-7cb0d91d8ee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_multiple_value_id\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 965,\n\t\t\t\t\"value\": [9792,9791]\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6da26f1c-8210-433a-8ec8-7cb0d91d8ee7"},{"name":"Liste de valeur / valeur unique / par libellé de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"d0cf49b2-ffc9-43f1-a8ed-4c1db0d26ebf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_single_value_label\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 622,\n\t\t\t\t\"value\": \"Chat\"\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0cf49b2-ffc9-43f1-a8ed-4c1db0d26ebf"},{"name":"Liste de valeur / valeurs multiples / par libellé de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"a032eb8c-09c6-4d70-8068-cd6d9aaf9398","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_multiple_value_label\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 965,\n\t\t\t\t\"value\": [\"VIP\",\"Rappel\"]\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a032eb8c-09c6-4d70-8068-cd6d9aaf9398"}],"id":"53617b0a-ee51-4640-a653-25dd93c9788d","_postman_id":"53617b0a-ee51-4640-a653-25dd93c9788d","description":""},{"name":"Champs libre","item":[{"name":"Champs libre / valeur unique","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"30522c80-a1d8-40cc-b05c-2bb9d203773e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_free_text_single_value\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 624,\n\t\t\t\t\"value\": \"{{interactionRandomId}}_free_text_single_value\"\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"30522c80-a1d8-40cc-b05c-2bb9d203773e"}],"id":"6e685b9c-ef57-4daa-9730-df56e8cf2565","_postman_id":"6e685b9c-ef57-4daa-9730-df56e8cf2565","description":""},{"name":"Date","item":[{"name":"Date / valeur unique","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"a4144d80-8f72-4e25-8acd-f3468c156e70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_date\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 966,\n\t\t\t\t\"value\": \"2023-04-19\"\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4144d80-8f72-4e25-8acd-f3468c156e70"}],"id":"0d25ab09-4d54-4b81-867c-e31a317c0b7f","_postman_id":"0d25ab09-4d54-4b81-867c-e31a317c0b7f","description":""},{"name":"Numérique","item":[{"name":"Numérique / valeur unique","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"719f216c-ff23-445f-a909-ceaf14966d55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_numerical\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 967,\n\t\t\t\t\"value\": 5\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"719f216c-ff23-445f-a909-ceaf14966d55"}],"id":"a9e41c7e-044e-410d-b9b6-9500045b5a97","_postman_id":"a9e41c7e-044e-410d-b9b6-9500045b5a97","description":""},{"name":"Plusieurs contextes","item":[{"name":"Mix","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"d3438932-e66b-4167-8271-466b8172145c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_mix\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 965,\n\t\t\t\t\"value\": [\"VIP\",\"Rappel\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 622,\n\t\t\t\t\"value\": 5139\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 624,\n\t\t\t\t\"value\": \"{{interactionRandomId}}_mix\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 966,\n\t\t\t\t\"value\": \"{{currentDate}}\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 967,\n\t\t\t\t\"value\": 5\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3438932-e66b-4167-8271-466b8172145c"}],"id":"c14a36b2-cde6-49fc-8461-d752cfe24a32","_postman_id":"c14a36b2-cde6-49fc-8461-d752cfe24a32","description":""}],"id":"91dd6ab3-d9a8-49c9-9882-b5a155515c0e","_postman_id":"91dd6ab3-d9a8-49c9-9882-b5a155515c0e","description":""},{"name":"Cloisonner les interactions","item":[{"name":"Cloisonner par libellé de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"d922154f-e015-419e-8a7b-65569f203828","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_partition_by_label\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"conseillercloisonne\"\n        },\n        \"partition_value\": {\n            \"label\" : \"Brand C\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d922154f-e015-419e-8a7b-65569f203828"},{"name":"Cloisonner par identifiant de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"1380b238-49b6-4ea6-98e8-b5b1955c4be4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_partition_by_id\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"conseillercloisonne\"\n        },\n        \"partition_value\": {\n            \"id\" : \"208\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1380b238-49b6-4ea6-98e8-b5b1955c4be4"}],"id":"19aba14e-3a20-49a4-a606-483e2f57b545","_postman_id":"19aba14e-3a20-49a4-a606-483e2f57b545","description":""},{"name":"Renseigner le média distant","item":[{"name":"Interaction web dans un outil tiers","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"853a4b90-7d6b-405b-8719-99a9952f5be8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_external_web\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        }\n    },\n    \"media\": {\n        \"format\": \"external\", \n        \"source\": \"url\",\n        \"location\": \"http://digitaldemo.hubinside.com/email.html\",\n        \"mime\": \"text/plain\",\n        \"proxy\":false,\n        \"provider\": null\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"853a4b90-7d6b-405b-8719-99a9952f5be8"},{"name":"Interaction audio via https","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"14102d4c-0632-417f-80d5-e2a6b058fc5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_external_audio\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\", \n        \"location\": \"https://random.com/interaction/123456.mp3\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14102d4c-0632-417f-80d5-e2a6b058fc5e"},{"name":"Interaction audio via connecteur Hubicus QM","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"1ccf5744-dddd-43c5-9a97-c05c4e3ba5f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_external_connector\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456.mp3\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\",\n        \"proxy\":true,\n        \"provider\":\"[[NOM_DU_CONNECTEUR]]\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ccf5744-dddd-43c5-9a97-c05c4e3ba5f0"},{"name":"Interaction audio via sFTP","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript"}}],"id":"48a3cc5f-7ec3-4930-936e-e3dd5e4752ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_demo_picking_sftp\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"phlconseiller1\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"sftp://149.202.167.29:22/upload/demo_picking_sftp.mp3\",\n        \"duration\": 100,\n        \"provider\": \"sftp/test1hubicus\",\n        \"mime\": \"audio/mp3\"\n    }\n}"},"url":"{{host}}/api/picking/inject","urlObject":{"path":["api","picking","inject"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"48a3cc5f-7ec3-4930-936e-e3dd5e4752ce"}],"id":"42b3dc11-ef8d-4718-9cf9-8980d64209e5","_postman_id":"42b3dc11-ef8d-4718-9cf9-8980d64209e5","description":""}],"id":"89c48757-6a82-4937-94ef-448bd2130d66","_postman_id":"89c48757-6a82-4937-94ef-448bd2130d66","description":""},{"name":"V2","item":[{"name":"Identifier l'Agent","item":[{"name":"Identifier l'Agent par une Valeur de Contexte","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"4ee65445-bed6-45d8-a1ed-b0ede887b217","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"3cf292ce-b793-4a6f-ab96-712e66c1a4fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_agent_contexte\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n           \"context\": {\n               \"id\": 12,\n               \"value\": \"conseiller_recorder_1\"\n           }\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3cf292ce-b793-4a6f-ab96-712e66c1a4fa"},{"name":"Identifier l'Agent par Login","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"5f3c2eba-504e-460c-9c8e-f9a2725a328c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_agent_login\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f3c2eba-504e-460c-9c8e-f9a2725a328c"}],"id":"d30952e1-460b-4b4f-b9dd-e4dac5d65463","_postman_id":"d30952e1-460b-4b4f-b9dd-e4dac5d65463","description":""},{"name":"Renseigner des Contextes","item":[{"name":"Listes de Valeurs","item":[{"name":"Liste de valeur / valeur unique / par identifiant de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"823737c5-63eb-45b4-aeb9-dcdef93c920e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"interaction7_single_value_id\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 1763,\n\t\t\t\t\"value\": 16982\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"duration\": 68,\n        \"storage_recorder\": \"test-hqm-ia-produit\",\n        \"storage_location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"provider\": \"sftp\",\n        \"mime\": \"audio/mp3\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"823737c5-63eb-45b4-aeb9-dcdef93c920e"},{"name":"Liste de valeur / valeurs multiples / par identifiant de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"c7dc3f40-c36c-42df-a2ce-3feab91bf114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_multiple_value_id\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n        \"context\": [\n            {\n                \"id\": 965,\n                \"value\": [\n                    9792,\n                    9791\n                ]\n            }\n        ]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7dc3f40-c36c-42df-a2ce-3feab91bf114"},{"name":"Liste de valeur / valeur unique / par libellé de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"9bda2bfe-91c5-4ad7-b59a-4557591c7fdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_single_value_label\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 622,\n\t\t\t\t\"value\": \"Chat\"\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bda2bfe-91c5-4ad7-b59a-4557591c7fdb"},{"name":"Liste de valeur / valeurs multiples / par libellé de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"7681a083-741d-4368-9ea6-d70ef42280e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_LoV_multiple_value_label\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 965,\n\t\t\t\t\"value\": [\"VIP\",\"Rappel\"]\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7681a083-741d-4368-9ea6-d70ef42280e3"}],"id":"66a004e4-bd1f-4140-82cb-427dd4c46aa3","_postman_id":"66a004e4-bd1f-4140-82cb-427dd4c46aa3","description":""},{"name":"Champs libre","item":[{"name":"Champs libre / valeur unique","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"c06acd18-7ac9-4a54-9c0d-543372b5646a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_free_text_single_value\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 624,\n\t\t\t\t\"value\": \"{{interactionRandomId}}_free_text_single_value\"\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c06acd18-7ac9-4a54-9c0d-543372b5646a"}],"id":"e6d7f42b-b004-40cd-bf6d-b73e52adfbf9","_postman_id":"e6d7f42b-b004-40cd-bf6d-b73e52adfbf9","description":""},{"name":"Date","item":[{"name":"Date / valeur unique","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"a391a8a7-c443-419b-8abc-03cb65320bb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_date\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 966,\n\t\t\t\t\"value\": \"2023-04-19\"\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a391a8a7-c443-419b-8abc-03cb65320bb4"}],"id":"62fb3af1-b82d-4a5f-b71c-f9f4bd1cdc5e","_postman_id":"62fb3af1-b82d-4a5f-b71c-f9f4bd1cdc5e","description":""},{"name":"Numérique","item":[{"name":"Numérique / valeur unique","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"d14c6381-c8bc-4d37-9440-c1eeb18c1d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_numerical\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n        \"context\": [\n            {\n                \"id\": 967,\n                \"value\": 5\n            }\n        ]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d14c6381-c8bc-4d37-9440-c1eeb18c1d19"}],"id":"3ee43b4b-24df-4cb6-bd7a-6bee9b56ee91","_postman_id":"3ee43b4b-24df-4cb6-bd7a-6bee9b56ee91","description":""},{"name":"Plusieurs contextes","item":[{"name":"Mix","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"42bf7315-aebf-4afb-a714-a1c26cb4d0d1","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"a196e73d-61a6-46ab-98bf-ce2f1ca2f2c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_mix\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n\t\t\"context\": [\n\t\t\t{\n\t\t\t\t\"id\": 965,\n\t\t\t\t\"value\": [\"VIP\",\"Rappel\"]\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 622,\n\t\t\t\t\"value\": 5139\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 624,\n\t\t\t\t\"value\": \"{{interactionRandomId}}_mix\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 966,\n\t\t\t\t\"value\": \"{{currentDate}}\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 967,\n\t\t\t\t\"value\": 5\n\t\t\t}\n\t\t]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a196e73d-61a6-46ab-98bf-ce2f1ca2f2c9"}],"id":"4d3185fb-73b3-45d4-8cc1-8b58c6563694","_postman_id":"4d3185fb-73b3-45d4-8cc1-8b58c6563694","description":""}],"id":"58a80318-19dc-448d-98cf-9560ee848abf","_postman_id":"58a80318-19dc-448d-98cf-9560ee848abf","description":""},{"name":"Cloisonner les interactions","item":[{"name":"Cloisonner par libellé de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"00e05e68-924e-487d-804a-e405cf4c6584","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_partition_by_label\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"IAGeclot_ADMIN.PAULINE\"\n        },\n        \"partition_value\": {\n            \"label\": \"Marque A\"\n        }\n    },\n    \"media\": {\n        \"format\": \"text\",\n        \"canal\": \"chat\",\n        \"source\": \"url\",\n        \"location\": \"sftp:\\/\\/random.co:22\\/interaction\\/123456\",\n        \"storage_location\": \"\\/interaction\\/123456\",\n        \"storage_recorder\": \"engie\",\n        \"provider\": \"sftp\",\n        \"content\": [\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:32+01:00\",\n                \"message\": \"Bienvenue chez BYD france, quel véhicule recherchez vous ?\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:35+01:00\",\n                \"message\": \"Quelle couleurs disponible en hubride rechargeable\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:36+01:00\",\n                \"message\": \"modele atto\"\n            },\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:36+01:00\",\n                \"message\": \"e hzruhzeurhzehr izehrizehrizh erihzeir hizeh rizhe irhz ihrz hzih rizh rizhr ihzi hrizh rizhe rizhr izh rihz ihzih rzi hiz h\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:37+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:38+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:39+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:39+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:40+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:41+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:42+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:43+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:44+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n            {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:45+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:46+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n             {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:47+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:48+01:00\",\n                \"message\": \"ceci est un texte out\"\n            },\n             {\n                \"from\": \"in\",\n                \"created_at\": \"2025-12-04T10:28:49+01:00\",\n                \"message\": \"ceci est un texte in\"\n            },\n            {\n                \"from\": \"out\",\n                \"created_at\": \"2025-12-04T10:28:50+01:00\",\n                \"message\": \"ceci est un texte out\"\n            }\n        ]\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"00e05e68-924e-487d-804a-e405cf4c6584"},{"name":"Cloisonner par identifiant de valeur","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"1afd393d-372d-4e2b-a7fd-99c068bf2b09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_partition_by_id\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"conseillercloisonne\"\n        },\n        \"partition_value\": {\n            \"id\" : \"208\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1afd393d-372d-4e2b-a7fd-99c068bf2b09"}],"id":"e9b83949-5de3-4687-b257-707a723bc027","_postman_id":"e9b83949-5de3-4687-b257-707a723bc027","description":""},{"name":"Renseigner un média","item":[{"name":"Audio","item":[{"name":"Instances cloisonnées","item":[{"name":"Interaction audio via https (instance cloisonnée)","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c8364077-3f3a-480d-a6e8-19a97af05398","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"423{{interactionRandomId}}_external_audio\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n        \"partition_value\": {\n            \"label\": \"Marque A\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\", \n        \"location\": \"https://random.com/interaction/123456.mp3\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8364077-3f3a-480d-a6e8-19a97af05398"},{"name":"Interaction audio via sFTP (instance cloisonnée)","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6408244b-6f28-4a7d-87ae-af4b080b282e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"809interaction2_demo_picking_sftp\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n        \"partition_value\": {\n            \"label\": \"Marque A\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"duration\": 68,\n        \"storage_recorder\": \"test-hqm-ia-produit-cloisonnement\",\n        \"storage_location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"provider\": \"sftp\",\n        \"mime\": \"audio/mp3\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6408244b-6f28-4a7d-87ae-af4b080b282e"},{"name":"Interaction audio via sFTP + fichier de retranscription (instance cloisonnée)","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6784abab-f749-4413-ad9f-fba6d070ee3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"560interaction2_demo_picking_sftp\",\n            \"transcription_id\": 1\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n        \"partition_value\": {\n            \"label\": \"Marque A\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"duration\": 68,\n        \"storage_recorder\": \"test-hqm-ia-produit-cloisonnement\",\n        \"storage_location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"provider\": \"sftp\",\n        \"mime\": \"audio/mp3\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre><ul>\n<li><p>Pour avoir un id de transcription uploader celle-ci via la route : <a href=\"https://winter-resonance-4486.postman.co/workspace/Team-Workspace~1d7f3c92-f1af-485a-8da8-48def87055d4/request/7598842-fbbcdcae-75d1-4332-897a-2002bf7c5423?action=share&amp;creator=23717199&amp;ctx=documentation&amp;active-environment=23717199-f0cd7a7b-82f6-43ea-903c-25b7e4763d6a\">https://winter-resonance-4486.postman.co/workspace/Team-Workspace~1d7f3c92-f1af-485a-8da8-48def87055d4/request/7598842-fbbcdcae-75d1-4332-897a-2002bf7c5423?action=share&amp;creator=23717199&amp;ctx=documentation&amp;active-environment=23717199-f0cd7a7b-82f6-43ea-903c-25b7e4763d6a</a></p>\n</li>\n<li><p>Exemple de transcription audio à injecter:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"from\": \"in\",\n    \"content\": \"Text 1\",\n    \"datetime\": 0,\n    \"duration\": 8\n  },\n  {\n    \"from\": \"out\",\n    \"content\": \"blalblalbla ;)\",\n    \"datetime\": 20,\n    \"duration\": 6.25\n  },\n  {\n    \"from\": \"in\",\n    \"content\": \"Foo\",\n    \"datetime\": 40,\n    \"duration\": 9.04545545455\n  }\n]\n\n</code></pre>\n","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6784abab-f749-4413-ad9f-fba6d070ee3f"}],"id":"4b1ae6b7-e31a-47af-8ea4-b18ea7ea6a53","_postman_id":"4b1ae6b7-e31a-47af-8ea4-b18ea7ea6a53","description":""},{"name":"Interaction audio via sFTP","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"46eb777b-ca82-4dcd-a7b0-2236831fe3bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"interaction2_demo_picking_sftp_210\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"duration\": 68,\n        \"storage_recorder\": \"test-hqm-ia-produit\",\n        \"storage_location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"provider\": \"sftp\",\n        \"mime\": \"audio/mp3\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"46eb777b-ca82-4dcd-a7b0-2236831fe3bd"},{"name":"Interaction audio via sFTP + fichier de retranscription","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"49fe4f56-16c2-415b-9721-3c025a320131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"picking_sftp_684\",\n            \"transcription_id\": 5471205\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        },\n        \"context\": [\n        { // Motif\n        \"id\": 2310,\n        \"value\": 22656 //22658\n        }\n        ]\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"duration\": 70,\n        \"storage_recorder\": \"test-hqm-ia-produit\",\n        \"storage_location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\n        \"provider\": \"sftp\",\n        \"mime\": \"audio/mp3\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre><ul>\n<li><p>Pour avoir un id de transcription uploader celle-ci via la route : <a href=\"https://winter-resonance-4486.postman.co/workspace/Team-Workspace~1d7f3c92-f1af-485a-8da8-48def87055d4/request/7598842-fbbcdcae-75d1-4332-897a-2002bf7c5423?action=share&amp;creator=23717199&amp;ctx=documentation&amp;active-environment=23717199-f0cd7a7b-82f6-43ea-903c-25b7e4763d6a\">https://winter-resonance-4486.postman.co/workspace/Team-Workspace~1d7f3c92-f1af-485a-8da8-48def87055d4/request/7598842-fbbcdcae-75d1-4332-897a-2002bf7c5423?action=share&amp;creator=23717199&amp;ctx=documentation&amp;active-environment=23717199-f0cd7a7b-82f6-43ea-903c-25b7e4763d6a</a></p>\n</li>\n<li><p>Exemple de transcription audio à injecter:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"from\": \"in\",\n    \"content\": \"Text 1\",\n    \"datetime\": 0,\n    \"duration\": 8\n  },\n  {\n    \"from\": \"out\",\n    \"content\": \"blalblalbla ;)\",\n    \"datetime\": 20,\n    \"duration\": 6.25\n  },\n  {\n    \"from\": \"in\",\n    \"content\": \"Foo\",\n    \"datetime\": 40,\n    \"duration\": 9.04545545455\n  }\n]\n\n</code></pre>\n","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49fe4f56-16c2-415b-9721-3c025a320131"},{"name":"Interaction audio via HTTPS","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4ba6a115-f90f-44c5-8fcb-1108265238f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}{{randomId}}_external_audio\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\", \n        \"location\": \"https://random.com/interaction/123456.mp3\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ba6a115-f90f-44c5-8fcb-1108265238f7"},{"name":"Interaction audio ajout d'un fichier de retranscription","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"916c5c99-c71e-4a1c-84db-239c1a77e2d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_external_audio\",\n            \"callback\": \"{{callbackUri}}\",\n            \"transcription_id\": 1\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\", \n        \"location\": \"https://random.com/interaction/123456.mp3\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<ul>\n<li>Liste des types mime autorisée :</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre><ul>\n<li><p>Pour avoir un id de transcription uploader celle-ci via la route : <a href=\"https://winter-resonance-4486.postman.co/workspace/Team-Workspace~1d7f3c92-f1af-485a-8da8-48def87055d4/request/7598842-fbbcdcae-75d1-4332-897a-2002bf7c5423?action=share&amp;creator=23717199&amp;ctx=documentation&amp;active-environment=23717199-f0cd7a7b-82f6-43ea-903c-25b7e4763d6a\">https://winter-resonance-4486.postman.co/workspace/Team-Workspace~1d7f3c92-f1af-485a-8da8-48def87055d4/request/7598842-fbbcdcae-75d1-4332-897a-2002bf7c5423?action=share&amp;creator=23717199&amp;ctx=documentation&amp;active-environment=23717199-f0cd7a7b-82f6-43ea-903c-25b7e4763d6a</a></p>\n</li>\n<li><p>Exemple de transcription audio à injecter:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"from\": \"in\",\n    \"content\": \"Text 1\",\n    \"datetime\": 0,\n    \"duration\": 8\n  },\n  {\n    \"from\": \"out\",\n    \"content\": \"blalblalbla ;)\",\n    \"datetime\": 20,\n    \"duration\": 6.25\n  },\n  {\n    \"from\": \"in\",\n    \"content\": \"Foo\",\n    \"datetime\": 40,\n    \"duration\": 9.04545545455\n  }\n]\n\n</code></pre>\n","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"916c5c99-c71e-4a1c-84db-239c1a77e2d5"},{"name":"Interaction audio via connecteur Hubicus QM","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{}}}],"id":"1975fffe-010d-4607-827f-8ad434dc14a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_external_connector\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        }\n    },\n    \"media\": {\n        \"format\": \"audio\",\n        \"source\": \"url\",\n        \"location\": \"https://random.com/interaction/123456.mp3\",\n        \"duration\": 100,\n        \"mime\": \"audio/mpeg\",\n        \"proxy\":true,\n        \"provider\":\"[[NOM_DU_CONNECTEUR]]\"\n    }\n}"},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1975fffe-010d-4607-827f-8ad434dc14a0"},{"name":"Interaction audio avec uniquement une retranscription","id":"d12284c5-fc48-4bea-a90d-26eec2df6c2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"interaction\": {\r\n            \"date\": \"{{currentDate}}\",\r\n            \"id\": \"test-transcription-2\",\r\n            \"transcription_id\": 3938300 // ID du fichier de retranscription préalablement uploadé\r\n        },\r\n        \"agent\": {\r\n            \"login\": \"ConseillerHubicus\"\r\n        }\r\n    },\r\n    \"media\": {\r\n        \"format\": \"transcription\",\r\n        \"canal\": \"phone\",\r\n        \"duration\": 100\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d12284c5-fc48-4bea-a90d-26eec2df6c2a"},{"name":"Ajout de la retranscription via la route d'upload","id":"163592b6-913b-4b3b-87f8-158cd12ad3ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>Ajout du fichier de retranscription pour une interaction</p>\n","value":null},{"key":"context","value":"picking","type":"text"}]},"url":"{{base-url}}/api/files/upload","urlObject":{"path":["api","files","upload"],"host":["{{base-url}}"],"query":[{"disabled":true,"key":"_impersonate_client","value":"1"},{"disabled":true,"key":"_impersonate_user","value":"1"}],"variable":[]}},"response":[],"_postman_id":"163592b6-913b-4b3b-87f8-158cd12ad3ee"}],"id":"fcd72f60-9231-4f82-8e2b-b14fd71b0455","_postman_id":"fcd72f60-9231-4f82-8e2b-b14fd71b0455","description":""},{"name":"Text","item":[{"name":"Interaction texte (email) avec retranscription (via \"content\")","id":"ff077794-f8a5-407c-a1b5-cdc0ea72e8e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"interaction\": {\r\n            \"date\": \"{{currentDate}}\",\r\n            \"id\": \"interaction2_demo_picking_sftp_25\",\r\n            \"callback\": \"{{callbackUri}}\"\r\n        },\r\n        \"agent\": {\r\n            \"login\": \"{{agentLogin}}\"\r\n        }\r\n    },\r\n    \"media\": {\r\n        \"format\": \"text\",\r\n        \"canal\": \"email\",\r\n        \"source\": \"url\",\r\n        //\"location\": \"http://digitaldemo.hubinside.com/email.html\",\r\n        \"provider\": null,\r\n        \"content\": [\r\n                {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T10:28:32+01:00\",\r\n                \"message\": \"Bonjour, je viens de recevoir ma commande, mais j’ai malheureusement deux problèmes avec les articles reçus\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T10:35:35+01:00\",\r\n                \"message\": \"Bonjour, nous sommes désolés de l’apprendre. Nous allons regarder cela avec vous. Pouvez-vous nous préciser quels sont les problèmes rencontrés ?\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T10:40:32+01:00\",\r\n                \"message\": \"Le vase que j’ai commandé est arrivé cassé. Le carton était pourtant en bon état, mais le vase est complètement fissuré à l’intérieur\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T10:43:35+01:00\",\r\n                \"message\": \"Nous sommes vraiment désolés pour cet incident. Nous allons faire le nécessaire pour vous proposer une solution. Pouvez-vous nous communiquer le numéro de votre commande ?\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T10:55:32+01:00\",\r\n                \"message\": \"Oui, il s’agit de la commande [numéro de la commande]\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:00:35+01:00\",\r\n                \"message\": \"Merci. Je retrouve bien votre commande. Pour le vase endommagé, nous pouvons vous proposer un remplacement sans frais. Le nouvel article pourra être expédié dès que possible\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:06:32+01:00\",\r\n                \"message\": \"D’accord, merci. J’ai également un problème avec les coussins que j’ai commandés\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:12:35+01:00\",\r\n                \"message\": \"Quel est le problème avec ces articles ?\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:15:32+01:00\",\r\n                \"message\": \"J’avais commandé des coussins couleur beige clair, mais ceux que j’ai reçus sont beaucoup plus foncés, plutôt taupe. La couleur ne correspond pas du tout à ce que j’avais vu sur le site\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:20:35+01:00\",\r\n                \"message\": \"Je comprends. La perception des couleurs peut parfois varier selon les écrans et la luminosité, mais si la teinte reçue est très différente de celle présentée sur notre site, nous pouvons bien entendu étudier un retour\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:22:32+01:00\",\r\n                \"message\": \"Oui, je comprends qu’il puisse y avoir une petite différence, mais là la couleur est vraiment différente. Je souhaiterais donc les retourner\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:28:35+01:00\",\r\n                \"message\": \"Aucun problème. Nous pouvons organiser le retour des coussins et procéder à leur remboursement dès réception et vérification des articles\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:32:32+01:00\",\r\n                \"message\": \"Aucun problème. Nous pouvons organiser le retour des coussins et procéder à leur remboursement dès réception et vérification des articles\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:36:35+01:00\",\r\n                \"message\": \"Est-ce que les frais de retour seront à ma charge ?\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:39:32+01:00\",\r\n                \"message\": \"Non, compte tenu de la différence importante de couleur que vous nous signalez, nous allons vous transmettre une étiquette de retour prépayée. Vous n’aurez donc aucun frais à avancer\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:44:35+01:00\",\r\n                \"message\": \"Très bien. Et pour le vase cassé, dois-je également vous le retourner ?\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:50:32+01:00\",\r\n                \"message\": \"Non, dans ce cas, nous ne vous demanderons pas de nous retourner le vase endommagé. Nous allons simplement vous demander de nous envoyer quelques photos du produit et de son emballage afin de documenter le dommage\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:52:35+01:00\",\r\n                \"message\": \"D’accord, je peux vous envoyer les photos. Une fois que c’est fait, quand est-ce que le nouveau vase sera expédié ?\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T11:55:32+01:00\",\r\n                \"message\": \"Dès réception des photos, nous pourrons valider le remplacement. L’expédition sera ensuite effectuée dans les meilleurs délais\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T11:59:35+01:00\",\r\n                \"message\": \"Parfait. Et concernant les coussins, je vais donc utiliser l’étiquette de retour que vous allez m’envoyer\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T12:05:32+01:00\",\r\n                \"message\": \"Exactement. Nous venons de vous envoyer l’étiquette de retour par e-mail. Une fois le colis réceptionné dans notre entrepôt, nous procéderons au remboursement\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2026-09-07T12:12:35+01:00\",\r\n                \"message\": \"Très bien, merci pour votre aide et pour les solutions proposées\"\r\n            },\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2026-09-07T12:30:32+01:00\",\r\n                \"message\": \"Avec plaisir. Nous sommes désolés pour ces désagréments et nous faisons le nécessaire pour résoudre rapidement les deux problèmes liés à votre commande. Bonne journée !\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff077794-f8a5-407c-a1b5-cdc0ea72e8e2"},{"name":"Interaction texte (chat) avec retranscription (via \"content\")","id":"70bd0a44-e86c-4c6b-9e48-8a1586b9528c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"interaction\": {\r\n            \"date\": \"{{currentDate}}\",\r\n            \"id\": \"interaction2_demo_picking_sftp_489\"\r\n        },\r\n        \"agent\": {\r\n            \"login\": \"{{agentLogin}}\"\r\n        }\r\n    },\r\n    \"media\": {\r\n        \"format\": \"text\",\r\n        \"canal\": \"chat\",\r\n        \"source\": \"url\",\r\n        \"location\": \"sftp:\\/\\/random.co:22\\/interaction\\/123456\",\r\n        \"storage_location\": \"\\/interaction\\/123456\",\r\n        \"storage_recorder\": \"engie\",\r\n        \"provider\": \"sftp\",\r\n        \"content\": [\r\n            {\r\n                \"from\": \"in\",\r\n                \"created_at\": \"2025-12-04T10:28:32+01:00\",\r\n                \"message\": \"ceci est un texte in\"\r\n            },\r\n            {\r\n                \"from\": \"out\",\r\n                \"created_at\": \"2025-12-04T10:28:35+01:00\",\r\n                \"message\": \"ceci est un texte out\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70bd0a44-e86c-4c6b-9e48-8a1586b9528c"},{"name":"Interaction texte (chat) avec retranscription (via \"transcription_id\")","id":"fd5b658e-efe7-47c4-aa0d-11dfb84108d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"interaction\": {\r\n            \"date\": \"{{currentDate}}\",\r\n            \"id\": \"{{interactionRandomId}}564_demo_picking_email\",\r\n            \"transcription_id\": 3823146\r\n        },\r\n        \"agent\": {\r\n            \"login\": \"{{agentLogin}}\"\r\n        }\r\n    },\r\n    \"media\": {\r\n        \"format\": \"text\",\r\n        \"canal\": \"chat\",\r\n        \"source\": \"url\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{picking_host}}/picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["picking","inject"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd5b658e-efe7-47c4-aa0d-11dfb84108d2"},{"name":"Ajout de la retranscription via la route d'upload","id":"8e5e16c2-da3d-4cda-af5a-022b80de8d63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>Ajout du fichier de retranscription pour une interaction</p>\n","src":"Tj7f9eeVw/transcription_calldata_IZ (2).json"},{"key":"context","value":"interview","type":"text"}]},"url":"{{base-url}}/api/files/upload","urlObject":{"path":["api","files","upload"],"host":["{{base-url}}"],"query":[{"disabled":true,"key":"_impersonate_client","value":"1"},{"disabled":true,"key":"_impersonate_user","value":"1"}],"variable":[]}},"response":[],"_postman_id":"8e5e16c2-da3d-4cda-af5a-022b80de8d63"}],"id":"9130602c-19bd-4ec5-9d81-0a1f3634b869","_postman_id":"9130602c-19bd-4ec5-9d81-0a1f3634b869","description":""},{"name":"External","item":[{"name":"Interaction web dans un outil tiers","event":[{"listen":"test","script":{"id":"106aa222-0462-42f5-825a-e335f66bd90a","exec":["const interactionId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionId\", interactionId);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"21aa9a24-c275-4fd9-b83c-2352b259bf31","exec":["const interactionRandomId = Math.floor((Math.random()*100000 +1));","pm.globals.set(\"interactionRandomId\", interactionRandomId);","","const currentDate = new Date(new Date().toString().split('GMT')[0]+' UTC').toISOString().split('.')[0]+\"+01:00\";","pm.globals.set(\"currentDate\", currentDate);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"32291ab4-add1-4618-a992-c52ec2a6d534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"interaction\": {\n            \"date\": \"{{currentDate}}\",\n            \"id\": \"{{interactionRandomId}}_ybm7777\",\n            \"callback\": \"{{callbackUri}}\"\n        },\n        \"agent\": {\n            \"login\": \"{{agentLogin}}\"\n        }\n    },\n    \"media\": {\n        \"format\": \"external\",\n        \"source\": \"url\",\n        \"location\": \"http://digitaldemo.hubinside.com/email.html\",\n        \"mime\": \"text/plain\",\n        \"proxy\": false,\n        \"provider\": null\n    }\n}"},"url":"{{picking_host}}picking/inject","description":"<p>Liste des types mime autorisée :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>audio/mpeg\naudio/mp3\naudio/vnd.wav\naudio/vnd.wave\naudio/wav\naudio/x-pn-wav\naudio/x-wav\ntext/plain\napplication/pdf\nimage/jpeg\nimage/png\n\n</code></pre>","urlObject":{"path":["inject"],"host":["{{picking_host}}picking"],"query":[],"variable":[]}},"response":[],"_postman_id":"32291ab4-add1-4618-a992-c52ec2a6d534"}],"id":"90a2a6c9-d418-4cb6-a60c-840202dcd73b","_postman_id":"90a2a6c9-d418-4cb6-a60c-840202dcd73b","description":""}],"id":"a80d9dbf-310d-4859-b32d-46dc13a91e48","_postman_id":"a80d9dbf-310d-4859-b32d-46dc13a91e48","description":""},{"name":"Récupérer les informations du picking","item":[{"name":"Show Picking","id":"cc3a9b23-6f4a-4590-94ac-c0709764e02f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed"}],"url":"{{base-url}}/api/picking/1","description":"<h2 id=\"get-picking-details\">Get Picking Details</h2>\n<p>This endpoint retrieves detailed information about a specific picking record identified by its unique ID. In this case, the ID is <code>1</code>.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>{{host}}/api/picking/1</code></p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>On a successful request, the API returns a JSON object with the following structure:</p>\n<ul>\n<li><p><strong>format</strong>: (string) The format of the picking record.</p>\n</li>\n<li><p><strong>canal</strong>: (string) The channel associated with the picking.</p>\n</li>\n<li><p><strong>source</strong>: (string) The source of the picking data.</p>\n</li>\n<li><p><strong>mime_type</strong>: (string) The MIME type of the picking content.</p>\n</li>\n<li><p><strong>visible_picking_context_values</strong>: (array) An array of context values that are visible.</p>\n</li>\n<li><p><strong>picking_context_values</strong>: (array) An array of context values related to the picking.</p>\n</li>\n<li><p><strong>id</strong>: (integer) The unique identifier of the picking record.</p>\n</li>\n<li><p><strong>interaction_id</strong>: (string) The identifier for the interaction related to the picking.</p>\n</li>\n<li><p><strong>interaction_date</strong>: (string) The date of the interaction.</p>\n</li>\n<li><p><strong>callback</strong>: (string) A callback URL for further processing.</p>\n</li>\n<li><p><strong>locale</strong>: (string) The locale of the picking record.</p>\n</li>\n<li><p><strong>location</strong>: (string) The location associated with the picking.</p>\n</li>\n<li><p><strong>duration</strong>: (integer) The duration of the picking process.</p>\n</li>\n<li><p><strong>proxy</strong>: (boolean) Indicates if the request is proxied.</p>\n</li>\n<li><p><strong>provider</strong>: (null or object) Information about the provider, if applicable.</p>\n</li>\n<li><p><strong>summary</strong>: (array) A summary of the picking details.</p>\n</li>\n<li><p><strong>created_at</strong>: (string) The timestamp when the picking record was created.</p>\n</li>\n<li><p><strong>updated_at</strong>: (string) The timestamp when the picking record was last updated.</p>\n</li>\n<li><p><strong>_links</strong>: (object) Contains links related to the picking record:</p>\n<ul>\n<li><p><strong>self</strong>: (object) Link to the current resource.</p>\n</li>\n<li><p><strong>user_show</strong>: (object) Link to the user details.</p>\n</li>\n<li><p><strong>user_team_show</strong>: (object) Link to the user team details.</p>\n</li>\n<li><p><strong>client_show</strong>: (object) Link to the client details.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the ID provided in the URL corresponds to an existing picking record.</p>\n</li>\n<li><p>The response will include various metadata about the picking, which can be useful for further processing or display in user interfaces.</p>\n</li>\n</ul>\n","urlObject":{"path":["api","picking","1"],"host":["{{base-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc3a9b23-6f4a-4590-94ac-c0709764e02f"},{"name":"List Picking","id":"d0af25aa-8af7-4202-8245-6f5bc0521393","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{base-url}}/api/picking?filters[interaction_id][terms][0]=757_transcription_interaction&page=1&limit=10&filters[date][range][lte]=2025-01-01&filters[date][range][gte]=2025-01-31","urlObject":{"path":["api","picking"],"host":["{{base-url}}"],"query":[{"key":"filters[interaction_id][terms][0]","value":"757_transcription_interaction"},{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"filters[date][range][lte]","value":"2025-01-01"},{"key":"filters[date][range][gte]","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"d0af25aa-8af7-4202-8245-6f5bc0521393"},{"name":"Show Picking's Transcription","id":"d4d76081-f1cf-48d0-a128-e2e447850020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{base-url}}/api/picking/transcription/1","description":"<h3 id=\"get-transcription-details\">Get Transcription Details</h3>\n<p>This endpoint retrieves the transcription details for a specific picking operation identified by its unique ID.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>{{base-url}}/api/picking/transcription/{id}</code></p>\n</li>\n<li><p><strong>Path Parameter</strong>:</p>\n<ul>\n<li><code>id</code>: The unique identifier for the picking operation (in this case, <code>1</code>).</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><strong>Status Code</strong>: 200 OK</p>\n</li>\n<li><p><strong>Content-Type</strong>: application/json</p>\n</li>\n<li><p><strong>Response Body</strong>:</p>\n<ul>\n<li><p><code>transcription</code>: An array containing the transcription details, including:</p>\n<ul>\n<li><p><code>from</code>: The source of the transcription (string).</p>\n</li>\n<li><p><code>content</code>: The actual transcription content (string).</p>\n</li>\n<li><p><code>datetime</code>: The timestamp of the transcription (integer).</p>\n</li>\n<li><p><code>duration</code>: The length of the transcription in seconds (integer).</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p>This endpoint is useful for retrieving the transcription data associated with a specific picking operation, allowing users to access the details of the transcription for further analysis or record-keeping.</p>\n","urlObject":{"path":["api","picking","transcription","1"],"host":["{{base-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4d76081-f1cf-48d0-a128-e2e447850020"}],"id":"882d5827-27f8-41a6-aa5f-ee601e1d6b1d","_postman_id":"882d5827-27f8-41a6-aa5f-ee601e1d6b1d","description":""},{"name":"Renseigner des sous-motits","item":[{"name":"{{picking_host}}/v2/picking","id":"06c30419-435e-4c46-b2bd-39fef23f9290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"canal\": \"phone\",\r\n        \"interaction\": {\r\n            \"date\": \"{{currentDate}}\",\r\n            \"id\": \"interaction2_demo_picking_sftp_587\",\r\n            \"callback\": \"{{callbackUri}}\"\r\n        },\r\n        \"agent\": {\r\n            \"type\": \"login\",\r\n            \"login\": \"{{agentLogin}}\"\r\n        }\r\n    },\r\n    \"media\": [{\r\n        \"format\": \"audio\",\r\n        \"source\": \"url\",\r\n        \"location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\r\n        \"duration\": 68,\r\n        \"storage_recorder\": \"test-hqm-ia-produit\",\r\n        \"storage_location\": \"sftp://recette-file-transfert.hubicorp.com:2022/audios/101-1646822360.1156314.mp3\",\r\n        \"provider\": \"sftp\",\r\n        \"mime\": \"audio/mp3\"\r\n    }],\r\n    \"rootCauseIds\": [4]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{picking_host}}/v2/picking","urlObject":{"path":["v2","picking"],"host":["{{picking_host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06c30419-435e-4c46-b2bd-39fef23f9290"}],"id":"a1edd7e3-323c-4662-8f0a-b6953542b509","_postman_id":"a1edd7e3-323c-4662-8f0a-b6953542b509","description":""},{"name":"Connexion API","event":[{"listen":"test","script":{"id":"72e3b391-bc98-42f7-b9e7-fa1d8ca98ca3","exec":["var jsonData = JSON.parse(responseBody);\r","pm.globals.set(\"refresh_token\",jsonData.refresh_token);\r","pm.environment.set(\"token\", jsonData.access_token);\r","pm.globals.set(\"access_token\",jsonData.access_token); \r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"1f591d26-3d21-4f11-a3ae-1c4dc9e2c366","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"password","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"},{"key":"username","value":"{{username}}","type":"text"},{"key":"password","value":"{{password}}","type":"text"}]},"url":"{{base-url}}/api/oauth/v2/token","urlObject":{"path":["api","oauth","v2","token"],"host":["{{base-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f591d26-3d21-4f11-a3ae-1c4dc9e2c366"}],"id":"23b64c4e-3f53-4fa6-83fe-0b95d2ae3f52","_postman_id":"23b64c4e-3f53-4fa6-83fe-0b95d2ae3f52","description":""}],"id":"913e9c4c-5e87-4e8c-a38b-c047afceb58e","_postman_id":"913e9c4c-5e87-4e8c-a38b-c047afceb58e","description":""},{"name":"QM / Grilles, workflows, evaluations","item":[{"name":"Grilles","item":[{"name":"Lister les informations de base des grilles","id":"104d222b-60c1-4579-bf8c-66cae468f20e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"g=Default","description":"<p>Lazy, Default, Detailed</p>\n","type":"text"},{"key":"User-Agent","value":"{{user_agent}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/api/grid?page=1&active=true&grid=qual","description":"<p>Grids list can be:</p>\n<ul>\n<li>paginated, </li>\n<li>ordered: by name </li>\n<li>filtered: by status and name</li>\n</ul>\n","urlObject":{"path":["api","grid"],"host":["{{host}}"],"query":[{"disabled":true,"key":"limit","value":"10"},{"key":"page","value":"1"},{"key":"active","value":"true"},{"key":"grid","value":"qual"},{"disabled":true,"key":"sort_name","value":"ASC"}],"variable":[]}},"response":[],"_postman_id":"104d222b-60c1-4579-bf8c-66cae468f20e"},{"name":"Lister les informations détaillées des grilles","id":"cc34215f-a5f1-4963-ab95-e1ffc69a7027","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy, Default, Detailed</p>\n"},{"key":"User-Agent","value":"{{user_agent}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/api/grid?page=1&grid=qual","description":"<p>Grids list can be:</p>\n<ul>\n<li>paginated, </li>\n<li>ordered: by name </li>\n<li>filtered: by status and name</li>\n</ul>\n","urlObject":{"path":["api","grid"],"host":["{{host}}"],"query":[{"disabled":true,"key":"limit","value":"10"},{"key":"page","value":"1"},{"disabled":true,"key":"active","value":"true"},{"key":"grid","value":"qual"},{"disabled":true,"key":"sort_name","value":"ASC"}],"variable":[]}},"response":[],"_postman_id":"cc34215f-a5f1-4963-ab95-e1ffc69a7027"},{"name":"Afficher les détails d'une grille","id":"ae500247-d73d-4fcf-b8a3-d058d1490bc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"g=Detailed","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/api/grid/5510","urlObject":{"path":["api","grid","5510"],"host":["{{host}}"],"query":[{"disabled":true,"key":"_impersonate_client","value":"1"},{"disabled":true,"key":"_impersonate_user","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ae500247-d73d-4fcf-b8a3-d058d1490bc4"}],"id":"f83026e4-d3c3-43a5-a694-a837946052a6","_postman_id":"f83026e4-d3c3-43a5-a694-a837946052a6","description":""},{"name":"Evaluations","item":[{"name":"Lister les évaluations","id":"8e107254-fa5e-45b9-8f1e-8647d1828c24","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Export","description":"<p>Lazy / Default / Detailed / Export</p>\n"},{"key":"User-Agent","value":"{{user_agent}}"}],"url":"{{host}}/api/evaluation?page=1&orders[date]=DESC&limit=100","description":"<p>Evaluations list can be :</p>\n<ul>\n<li><p>paginated</p>\n</li>\n<li><p>order by</p>\n<ul>\n<li><p>Evaluation date</p>\n</li>\n<li><p>Evaluation rate</p>\n</li>\n</ul>\n</li>\n<li><p>filtered by</p>\n<ul>\n<li><p>Status</p>\n</li>\n<li><p>Date</p>\n</li>\n<li><p>Agent</p>\n</li>\n<li><p>Agent's team</p>\n</li>\n<li><p>Evaluator</p>\n</li>\n<li><p>Workflow status</p>\n</li>\n<li><p>Contexts</p>\n</li>\n<li><p>Picking</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Limitations &amp; best practices</p>\n<p>The list of evaluation can return a huge amount data and we limit pagination to 10.000 evaluations.</p>\n<p>No use case justify to reach that limit, it is common best practice to filter the query to hande much smaller results, for example by date.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">{{host}}/api/evaluation // Endpoint\n?limit=50 // Results per page\n&amp;page=1 // Pagination \n&amp;orders[date]=DESC // Order by \n&amp;filters[b650e2df014571cc667058cc86d6f87e][terms][true]=true // Only active evaluations\n&amp;filters[date][range][lte]=2022-04-03 // Creation date \"less than or equal\" to April 3rd, 2022\n&amp;filters[date][range][gte]=2022-04-01 // Creation date \"greater than or equal\" to April 1st, 2022\n\n</code></pre>\n","urlObject":{"path":["api","evaluation"],"host":["{{host}}"],"query":[{"description":{"content":"<p>Pagination / page : int or empty</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sorting / Date : Asc or Desc or empty</p>\n","type":"text/plain"},"key":"orders[date]","value":"DESC"},{"disabled":true,"description":{"content":"<p>Sorting / Rate : Asc or Desc or empty</p>\n","type":"text/plain"},"key":"orders[e1d44e417bbffee1b28cf8200ccba31f]","value":"ASC"},{"disabled":true,"description":{"content":"<p>Filer / Status / Active : True / False</p>\n","type":"text/plain"},"key":"filters[b650e2df014571cc667058cc86d6f87e][terms][]","value":"true"},{"disabled":true,"description":{"content":"<p>Filter / Agent : Int - Do not set if not used</p>\n","type":"text/plain"},"key":"filters[b9c26ad317ef67cc253a1fa390863935][terms][]","value":"21588"},{"disabled":true,"description":{"content":"<p>Filter / Agent's team : Int</p>\n","type":"text/plain"},"key":"filters[fe57d8d3bd84a1c854123c99a03063d4][terms][]","value":"496"},{"disabled":true,"description":{"content":"<p>Filter / Evaluator : Int</p>\n","type":"text/plain"},"key":"filters[c06728634e2d696db726a0e955b890bb][terms][]","value":"3676"},{"disabled":true,"description":{"content":"<p>Filter / Evaluator's role id</p>\n","type":"text/plain"},"key":"filters[evaluator_role][terms][495]","value":"495"},{"disabled":true,"description":{"content":"<p>Filter / Grid id</p>\n","type":"text/plain"},"key":"filters[grid][terms][5510]","value":"5510"},{"disabled":true,"description":{"content":"<p>Filter / Context : string</p>\n","type":"text/plain"},"key":"filters[622][match]","value":"vip"},{"disabled":true,"description":{"content":"<p>Filter / Workflow Status: ended, when no Workflow is attached to the grid</p>\n","type":"text/plain"},"key":"filters[626819605d07c2b2756338902a361f88][terms][]","value":"-2"},{"disabled":true,"description":{"content":"<p>Filter / Workflow Status: ended, when Workflow 168 is attached to the grid</p>\n","type":"text/plain"},"key":"filters[626819605d07c2b2756338902a361f88][terms][]","value":"-2-168"},{"disabled":true,"description":{"content":"<p>Filter / Workflow Status: specific step 488 when Workflow 168 is attached to the grid</p>\n","type":"text/plain"},"key":"filters[626819605d07c2b2756338902a361f88][terms][]","value":"488-168"},{"disabled":true,"description":{"content":"<p>Filter / Workflow Status: on hold, when no Workflow is attached to the grid</p>\n","type":"text/plain"},"key":"filters[626819605d07c2b2756338902a361f88][terms][]","value":"-1"},{"disabled":true,"description":{"content":"<p>Filter / Workflow Status: on hold, when Workflow 168 is attached to the grid</p>\n","type":"text/plain"},"key":"filters[626819605d07c2b2756338902a361f88][terms][]","value":"-1-168"},{"disabled":true,"description":{"content":"<p>Filter / Picking id </p>\n","type":"text/plain"},"key":"filters[picking_id][term]","value":"123456"},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"8e107254-fa5e-45b9-8f1e-8647d1828c24"},{"name":"Show evaluation","id":"2caabad5-f4f9-41e6-849c-f22fffbeb00c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Accept","value":"g=Detailed"}],"url":"{{host}}/api/evaluation/3337973","urlObject":{"path":["api","evaluation","3337973"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2caabad5-f4f9-41e6-849c-f22fffbeb00c"}],"id":"c523c821-85b5-4430-9ef6-8f9a25439aa0","_postman_id":"c523c821-85b5-4430-9ef6-8f9a25439aa0","description":""},{"name":"Workflows","item":[{"name":"Lister les workflows","id":"fa169433-bb47-4029-855a-b09444f09544","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"},{"key":"User-Agent","value":"{{user_agent}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/api/workflow?limit=10&page=1&sort[label]=ASC&filters[contain][active][]=1&filters[contain][label][0]=brief","description":"<p>Workflows list can be :</p>\n<ul>\n<li>paginated</li>\n<li>ordered by label</li>\n<li>filtered by <ul>\n<li>Status</li>\n<li>Label</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api","workflow"],"host":["{{host}}"],"query":[{"description":{"content":"<p>Pagination / items per page : int or empty</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Pagination / page : int or empty</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Sorting / Label : ASC or DESC or empty</p>\n","type":"text/plain"},"key":"sort[label]","value":"ASC"},{"description":{"content":"<p>Filter / Active : 1 / 0 or empty</p>\n","type":"text/plain"},"key":"filters[contain][active][]","value":"1"},{"description":{"content":"<p>Filter on Workflow label</p>\n","type":"text/plain"},"key":"filters[contain][label][0]","value":"brief"}],"variable":[]}},"response":[],"_postman_id":"fa169433-bb47-4029-855a-b09444f09544"},{"name":"Afficher les détails d'un workflow","id":"bfcb7c9b-6fc7-4776-bb43-d14c28e58e14","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"g=Detailed","description":"<p>Lazy / Default / Detailed</p>\n"},{"key":"User-Agent","value":"{{user_agent}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/api/workflow/168","urlObject":{"path":["api","workflow","168"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfcb7c9b-6fc7-4776-bb43-d14c28e58e14"}],"id":"e7b97231-2af0-4e0c-8634-d80750b9a899","event":[{"listen":"prerequest","script":{"id":"286323b0-bb8a-40b1-8411-ca6778d1dcad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c1b2166c-46c7-4594-b92d-8877f7200ca6","type":"text/javascript","exec":[""]}}],"_postman_id":"e7b97231-2af0-4e0c-8634-d80750b9a899","description":""}],"id":"0bfd6308-a2d4-4851-9c5d-a843195aff2b","_postman_id":"0bfd6308-a2d4-4851-9c5d-a843195aff2b","description":""},{"name":"QM / Automation","item":[{"name":"V3","item":[{"name":"Afficher une automatisation","id":"6cabe792-ff5d-4ed4-859b-2be4c3f6407f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{host}}/api/automation/rule/1","urlObject":{"path":["api","automation","rule","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cabe792-ff5d-4ed4-859b-2be4c3f6407f"},{"name":"Lister les automatisations","id":"0659c9f9-613c-4be9-8d1b-c0495389e59b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{host}}/api/automation/rule","urlObject":{"path":["api","automation","rule"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0659c9f9-613c-4be9-8d1b-c0495389e59b"},{"name":"Créer une automatisation","id":"132e23ea-b99e-4408-ac91-cf68852cc543","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"active\": true,\r\n        \"automation_type\": \"evaluation_workflow_criteria_threshold\"\r\n    },\r\n    \"trigger\": {\r\n        \"active\": true,\r\n        \"entity\": \"evaluation\",\r\n        \"events\": [\r\n            \"create\"\r\n        ],\r\n        \"conditions\": {\r\n            \"grids\": [\r\n                1\r\n            ],\r\n            \"note\": {\r\n                \"operator\": \"and\",\r\n                \"threshold\": [\r\n                    {\r\n                        \"gte\": 10\r\n                    }\r\n                ]\r\n            },\r\n            \"workflow\": {\r\n                \"id\": 2,\r\n                \"status\": -2\r\n            },\r\n            \"answers\": {\r\n                \"operator\": \"and\",\r\n                \"values\": {\r\n                    \"5\" : [63]\r\n                }\r\n            }\r\n        }\r\n    },\r\n    \"actions\": {\r\n        \"change_status\": [\r\n            {\r\n                \"id\": 1,\r\n                \"workflow_status\": 1,\r\n                \"commentary\": \"foo\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/automation/rule","urlObject":{"path":["api","automation","rule"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"132e23ea-b99e-4408-ac91-cf68852cc543"},{"name":"Modifier une automatisation","id":"55cae90a-574c-4358-bf75-8345d9b02af9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"metadata\": {\r\n        \"active\": true,\r\n        \"automation_type\": \"evaluation_workflow_criteria_threshold\"\r\n    },\r\n    \"trigger\": {\r\n        \"active\": true,\r\n        \"entity\": \"evaluation\",\r\n        \"events\": [\r\n            \"create\"\r\n        ],\r\n        \"conditions\": {\r\n            \"grids\": [\r\n                1\r\n            ],\r\n            \"note\": {\r\n                \"id\": 1,\r\n                \"operator\": \"and\",\r\n                \"threshold\": [\r\n                    {\r\n                        \"gte\": 10\r\n                    }\r\n                ]\r\n            },\r\n            \"workflow\": {\r\n                \"id\": 2,\r\n                \"status\": -2\r\n            },\r\n            \"answers\": {\r\n                \"operator\": \"and\",\r\n                \"values\": {\r\n                    \"5\" : [63]\r\n                }\r\n            }\r\n        }\r\n    },\r\n    \"actions\": {\r\n        \"change_status\": [\r\n            {\r\n                \"id\": 1,\r\n                \"workflow_status\": 1,\r\n                \"commentary\": \"foo\"\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/automation/rule/1","urlObject":{"path":["api","automation","rule","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"55cae90a-574c-4358-bf75-8345d9b02af9"}],"id":"7725585f-f2c8-4fdf-a7db-4a8e6d2f4b24","_postman_id":"7725585f-f2c8-4fdf-a7db-4a8e6d2f4b24","description":""}],"id":"d081aad0-54a0-4532-a0e9-f42bcd070b25","_postman_id":"d081aad0-54a0-4532-a0e9-f42bcd070b25","description":""}]}