{"info":{"_postman_id":"78225e04-134e-4208-a224-db40add51de5","name":"Kiamo API v2","description":"<html><head></head><body><h1 id=\"operation-principles\">Operation Principles</h1>\n<h2 id=\"api-tokens\">API Tokens</h2>\n<p>For authentication purposes, the Kiamo APIs use an API token which must be transmitted when making each call so that the call is accepted by the system. This provides greater control over the use of Kiamo services.</p>\n<p><em>Remark</em> : The API token is string of 40 hexadecimal characters generated previously by Kiamo.</p>\n<p><strong>Token example</strong></p>\n<p><code>68d27ac06e53fef962c49a4b0d18691019c3a31a</code></p>\n<p><strong>Obtaining a token</strong></p>\n<p>You can obtain an API token via the token generation page in the Kiamo administration interface (in the Developer &gt; API &gt; Tokens menu).</p>\n<p>From this interface, you can:</p>\n<ul>\n<li><p>generate a token for one or more APIs: Agent, Contact Manager, Interaction, Supervision and/or Task.</p>\n</li>\n<li><p>manage the existing tokens, modify their labels or disable them without deleting them, however.</p>\n</li>\n<li><p>manage the various rights provided by the token. These rights concern the request types (GET, POST, PUT and DELETE).</p>\n</li>\n</ul>\n<p>By allowing retrieval (GET) on an Interaction API token, for example, you can execute all the get requests of the associated API, but receive an error message 403 (Forbidden) if other verbs are used (PUT for a modification for example).</p>\n<p>For more information on how to generate and manages API tokens, please refer to the \"Kiamo Developer” guide.</p>\n<p><strong>Using a token</strong></p>\n<p>To use an API token, you have to send it in the request headers when making the request, in format :</p>\n<p><strong><code>Kiamo-Api-Token:[API_token]</code></strong></p>\n<p><em>Example</em> :</p>\n<p><code>Kiamo-Api-Token:68d27ac06e53fef962c49a4b0d18691019c3a31a</code></p>\n<p>If the API token is not sent, the Web Service will return an error 401 \"The authentication token is not valid\". This error will also occur if a token is not recognized by the API (invalid, not active, etc.) or if a token does not the rights required.</p>\n<h2 id=\"error-messages\">Error messages</h2>\n<p>Generic errors can be returned by the API in the following cases :</p>\n<h3 id=\"unvalid-data-code-400\">Unvalid data (code 400)</h3>\n<p>List of errors returned when the data sent is unvalid :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_1000</td>\n<td>The json supplied is invalid. Fix it before trying again</td>\n</tr>\n<tr>\n<td>ERR_1010</td>\n<td>Json attributes are missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1020</td>\n<td>Invalid arguments. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1030</td>\n<td>Json attribute contacts is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1040</td>\n<td>Json attribute name is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1050</td>\n<td>Name field contain special chars</td>\n</tr>\n<tr>\n<td>ERR_1060</td>\n<td>Json attribute fields is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1070</td>\n<td>Json attribute label is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1080</td>\n<td>Json attribute datatype is invalid. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1090</td>\n<td>Json attribute batch is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1100</td>\n<td>Json attribute service is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1110</td>\n<td>Json attribute service is invalid, bad type. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1120</td>\n<td>Json attribute association contain invalid elements. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1130</td>\n<td>Json attribute command is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1140</td>\n<td>Json attribute field is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1150</td>\n<td>Invalid date supplied</td>\n</tr>\n<tr>\n<td>ERR_1160</td>\n<td>Json attribute id is missing. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_1170</td>\n<td>Invalid keyword length</td>\n</tr>\n<tr>\n<td>ERR_1180</td>\n<td>Destination is required</td>\n</tr>\n<tr>\n<td>ERR_1190</td>\n<td>Command parameters are not valid.</td>\n</tr>\n<tr>\n<td>ERR_1200</td>\n<td>Unknown library file</td>\n</tr>\n<tr>\n<td>ERR_1210</td>\n<td>AgentLogin is invalid</td>\n</tr>\n<tr>\n<td>ERR_1220</td>\n<td>AgentId is invalid</td>\n</tr>\n<tr>\n<td>ERR_1230</td>\n<td>Destination is invalid</td>\n</tr>\n<tr>\n<td>ERR_1240</td>\n<td>CallbackDate is invalid</td>\n</tr>\n<tr>\n<td>ERR_1250</td>\n<td>Agent id is missing</td>\n</tr>\n<tr>\n<td>ERR_1260</td>\n<td>Note content is empty</td>\n</tr>\n<tr>\n<td>ERR_1270</td>\n<td>Interaction with this taskref already exists</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"impossible-action-code-400\">Impossible action (code 400)</h3>\n<p>List of errors returned when the requested action is impossible:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_2000</td>\n<td>Cannot delete a base containing unfinished batches</td>\n</tr>\n<tr>\n<td>ERR_2010</td>\n<td>Batch must be stopped before deletion</td>\n</tr>\n<tr>\n<td>ERR_2015</td>\n<td>Batch has no association configured, destination is required</td>\n</tr>\n<tr>\n<td>ERR_2020</td>\n<td>No contact to import. Please add contact(s) before trying again</td>\n</tr>\n<tr>\n<td>ERR_2030</td>\n<td>Contact exists in at least one batch. Cannot be deleted</td>\n</tr>\n<tr>\n<td>ERR_2040</td>\n<td>Cannot update a default field</td>\n</tr>\n<tr>\n<td>ERR_2050</td>\n<td>Cannot delete a default field</td>\n</tr>\n<tr>\n<td>ERR_2060</td>\n<td>Name already in use. Please enter a new name before trying again</td>\n</tr>\n<tr>\n<td>ERR_2070</td>\n<td>The batch is stopped</td>\n</tr>\n<tr>\n<td>ERR_2080</td>\n<td>Only new batches can be renamed</td>\n</tr>\n<tr>\n<td>ERR_2090</td>\n<td>Cannot change state of a stopped batch</td>\n</tr>\n<tr>\n<td>ERR_2100</td>\n<td>Cannot set batch to this state</td>\n</tr>\n<tr>\n<td>ERR_2110</td>\n<td>No connector configured</td>\n</tr>\n<tr>\n<td>ERR_2120</td>\n<td>Connector ID must be a string</td>\n</tr>\n<tr>\n<td>ERR_2130</td>\n<td>Connector cannot validate ID</td>\n</tr>\n<tr>\n<td>ERR_2140</td>\n<td>Cannot create interactions in this service</td>\n</tr>\n<tr>\n<td>ERR_2150</td>\n<td>No tasks to add</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"code-type-403-404-and-405-errors\">Code type 403, 404 and 405 errors</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_2500</td>\n<td>Incoming calls modification is forbidden</td>\n</tr>\n<tr>\n<td>ERR_3000</td>\n<td>Cannot retrieve this resource. Please check if it exists</td>\n</tr>\n<tr>\n<td>ERR_3001</td>\n<td>Cannot retrieve this service. Please check if it exists</td>\n</tr>\n<tr>\n<td>ERR_3002</td>\n<td>Directory synchronization not found. Please check if it exists</td>\n</tr>\n<tr>\n<td>ERR_3003</td>\n<td>Directory synchronization failed</td>\n</tr>\n<tr>\n<td>ERR_3004</td>\n<td>LDAP search failed</td>\n</tr>\n<tr>\n<td>ERR_3100</td>\n<td>Method not implemented</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"specific-errors-codes-500-and-503\">Specific errors (codes 500 and 503)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_4000</td>\n<td>Cannot load the configuration file. Please check if the file exists before trying again</td>\n</tr>\n<tr>\n<td>ERR_4010</td>\n<td>Invalid char supplied. The string contains special chars</td>\n</tr>\n<tr>\n<td>ERR_4020</td>\n<td>Unknown Application. Please refer to the documentation for more information</td>\n</tr>\n<tr>\n<td>ERR_4030</td>\n<td>Unable to retrieve remote IP address</td>\n</tr>\n<tr>\n<td>ERR_4040</td>\n<td>No cluster available</td>\n</tr>\n<tr>\n<td>ERR_4050</td>\n<td>Bad cluster IP configuration</td>\n</tr>\n<tr>\n<td>ERR_4060</td>\n<td>No front-end server available</td>\n</tr>\n<tr>\n<td>ERR_4080</td>\n<td>Internal server error</td>\n</tr>\n<tr>\n<td>ERR_4090</td>\n<td>An error occurred with your third-party application</td>\n</tr>\n<tr>\n<td>ERR_4100</td>\n<td>Bad Gateway</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"deprecated-method-errors\">Deprecated method errors</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_5000</td>\n<td>agentCloseChat is deprecated and not available in JSON format, use AGENT_CLOSE_TASK instead</td>\n</tr>\n<tr>\n<td>ERR_5001</td>\n<td>closeAgentTask is deprecated and not available in JSON format, use AGENT_CLOSE_TASK instead</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"errors-when-sending-messages-to-the-kiamo-modules\">Errors when sending messages to the Kiamo modules</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_6000</td>\n<td>An error occurred in the communication with the Kiamo modules</td>\n</tr>\n<tr>\n<td>ERR_6001</td>\n<td>An error occurred in the communication with KFRONT</td>\n</tr>\n<tr>\n<td>ERR_6002</td>\n<td>An error occurred in the communication with KATE</td>\n</tr>\n<tr>\n<td>ERR_6003</td>\n<td>An error occurred in the communication with KLIB</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"unknown-error\">Unknown error</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error code</th>\n<th>Message</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ERR_7000</td>\n<td>Unknown error</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Operation Principles","slug":"operation-principles"}],"owner":"8283488","collectionId":"78225e04-134e-4208-a224-db40add51de5","publishedId":"2sBXijKC5r","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-23T13:12:15.000Z"},"item":[{"name":"agents","item":[{"name":"state","item":[{"name":"Update Agent State","id":"dcaee8f7-8304-411b-946a-71037fd06b21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_STATE_REQUEST\",\n\t\"params\": {\n\t\t\"state_id\": 20\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Change the status of an agent</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>state_id</td>\n<td>number</td>\n<td>Yes</td>\n<td>ID of the status to which you want to switch the agent. <br /> <em>Remark</em> : You can switch agent to one of the following statuses : <em>Break</em>, <em>Ready</em>, customized work and break states.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"1284eea1-1494-478f-951d-df71712b3456","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"b73ffb1e-7b31-42ca-8e52-993709146bd2","name":"Update Agent State","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_STATE_REQUEST\",\n\t\"params\": {\n\t\t\"state_id\": 20\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"dcaee8f7-8304-411b-946a-71037fd06b21"},{"name":"Logout Agent","id":"7caa4792-04b0-46c1-80e0-fd314cda10d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_LOGOUT\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Disconnect an agent</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"ecbf873e-be18-435b-b5e6-1ccfdcc5995e","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"43da8e2b-eabe-416e-a1d5-ec35c67a95ba","name":"Logout Agent","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_LOGOUT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7caa4792-04b0-46c1-80e0-fd314cda10d1"}],"id":"6165421b-a3d9-4ed9-8422-0c27dd0bd3ae","_postman_id":"6165421b-a3d9-4ed9-8422-0c27dd0bd3ae","description":""},{"name":"calls","item":[{"name":"customer","item":[{"name":"Dial Agent Call","id":"179a110c-c236-4635-b662-43826adc24d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DIAL\",\n\t\"params\": {\n\t\t\"called_number\": \"3351\",\n\t\t\"service_id\": 4\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Make a call</p>\n<p>The possible call parameters in the \"params\" (REST) object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>called_number</td>\n<td>number</td>\n<td>Yes</td>\n<td>Phone number of the person to be called. <br /> <em>Remark</em> : If the phone number contains prohibited characters (e.g. special characters, letters, etc.), they will be deleted automatically.</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>No</td>\n<td>ID of the service in which the phone call must be triggered. <br /> <em><strong>Caution</strong></em> : If several agent out call services are available, this parameter must be entered.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"30996480-30a8-4bf4-b5f0-4bc13da2751c","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"843b4537-3109-4635-a9e8-9d1ecca4d811","name":"Dial Agent Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DIAL\",\n\t\"params\": {\n\t\t\"called_number\": \"055657892526\",\n\t\t\"service_id\": 4\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f1410283-faa2-4e14-9cdd-e6b0de3efb5f","name":"Error : call license","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DIAL\",\n\t\"params\": {\n\t\t\"called_number\": \"3351\",\n\t\t\"service_id\": 4\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"api\":\"AGENT\", \r\n    \"event\":\"AGENT_ERROR_MESSAGE\", \r\n    \"ref\":23, \r\n    \"data\":{ \r\n        \"error_message\":\"you_dont_have_call_license\"\r\n    }\r\n}"},{"id":"11ac4d2c-fb55-4c8e-9fb1-08dcfbdcc3f0","name":"Error : customer line busy","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DIAL\",\n\t\"params\": {\n\t\t\"called_number\": \"055657892526\",\n\t\t\"service_id\": 4\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"api\": \"AGENT\",\n    \"event\": \"AGENT_CALL_RESULT\",\n    \"ref\": 23,\n    \"data\": {\n        \"task_ref\":100053, \n        \"result\":\"cust_busy\"\n    }\n}"}],"_postman_id":"179a110c-c236-4635-b662-43826adc24d2"},{"name":"Hold Customer Call","id":"e57a7cf0-f0af-4ae3-bb65-39835d3a9f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_HOLD\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Put a call on hold</p>\n<p>This command is used to put the customer call on hold while the customer is talking to an agent.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a6beeddb-50e2-4e4b-a6b5-146848f86c42","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"cb4fcc2a-005f-405b-a138-cd63060f263c","name":"Hold Customer Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_HOLD\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e57a7cf0-f0af-4ae3-bb65-39835d3a9f35"},{"name":"Resume Customer Call","id":"23df2c61-4c7c-4f8c-903b-71abbf54471d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_RETRIEVE\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Resume a call</p>\n<p>This command is used to resume the call between the caller and an agent, after a consultation call.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a3b36933-6b1e-4322-b149-653e80ea74c1","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"b3049c33-7364-414e-9a11-ac552325bd5e","name":"Resume Customer Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_RETRIEVE\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"23df2c61-4c7c-4f8c-903b-71abbf54471d"},{"name":"Transfer Number Agent Call","id":"537e106a-8f92-4bc1-b3c3-384ec2313791","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_TRANSFER_NUMBER\",\n\t\"params\": {\n\t\t\"called_number\": \"3351\"\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Blindly transfer a call to a number</p>\n<p>This command allows an agent making a call to transfer a call to a number without previously consulting the number.</p>\n<p><em>Remark</em> : If it is an external number, the conversations are no longer managed by Kiamo.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>called_number</td>\n<td>number</td>\n<td>Yes</td>\n<td>Phone number to which the call must be transferred. <br /> <em>Remark</em> : If the phone number contains prohibited characters (e.g. special characters, letters, etc.), they will be deleted automatically.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"519a61a6-d4d2-4571-a8b6-6a49262a57cc","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"7d329c05-8c03-4753-9cce-b2799b27d388","name":"Transfer Number Agent Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_TRANSFER_NUMBER\",\n\t\"params\": {\n\t\t\"called_number\": \"0123456789\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"537e106a-8f92-4bc1-b3c3-384ec2313791"},{"name":"Transfer Service Agent Call","id":"7bc5497c-2a0a-438d-9b12-8efccdf1bd06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_TRANSFER_SERVICE\",\n\t\"params\": {\n\t\t\"service_id\": 2, \n\t\t\"required_agent_id\": 2\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Transfer a call to a service</p>\n<p>This command is used to transfer an agent's call to an inbound call campaign type service, internal service or inbound call IVR.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>Yes</td>\n<td>ID of the service to which the call must be transferred. <br /> <em><strong>Caution</strong></em> : A call can only be transferred to an inbound call campaign type service, internal service or inbound call IVR.</td>\n</tr>\n<tr>\n<td>required_agent_id</td>\n<td>number</td>\n<td>No</td>\n<td>ID of the agent required to handle the transferred call.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a033ad60-a711-444d-a3c8-e4eb020ff6c9","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"9a7a864f-739e-43b6-bf6f-dcd2fa852ef8","name":"Transfer Service Agent Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_TRANSFER_SERVICE\",\n\t\"params\": {\n\t\t\"service_id\": 5, \n\t\t\"required_agent_id\": 15\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7bc5497c-2a0a-438d-9b12-8efccdf1bd06"},{"name":"Disconnect Customer Call","id":"c4cbc42f-2cdf-4361-889e-cf00a937d592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DISCONNECT\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Hang up a customer call</p>\n<p>This command is used, during a call between a customer and an agent, to hang up the customer's set.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"ef84753f-cdf9-4d28-bef3-d41027621340","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"cd6cc471-a1ea-4af1-8ea6-e6c512655fea","name":"Disconnect Customer Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DISCONNECT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c4cbc42f-2cdf-4361-889e-cf00a937d592"},{"name":"Disconnect Agent Call","id":"bb6a6eb1-cb81-46bc-a866-f0ea8957b67d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_DISCONNECT\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Hang up an agent call</p>\n<p>This command is used, during a call between a customer and an agent, to hang up the agent's set.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"e7d5b06a-27a8-410f-985d-a0509346aaf2","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"ab5d461e-fd3f-477c-801a-2b478bc6036e","name":"Disconnect Agent Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_DISCONNECT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"bb6a6eb1-cb81-46bc-a866-f0ea8957b67d"},{"name":"Answer Preview","id":"4308e48d-568a-400e-8c28-f395d6f4f6a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_ANSWER_PREVIEW\",\n\t\"params\": {\n\t\t\"answer\": \"REFUSED\"\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Answer a preview</p>\n<p>During an outbound call campaign, this command is used to accept or refuse a preview offered to an agent.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>answer</td>\n<td>string</td>\n<td>Yes</td>\n<td>Possible values of the answer to the preview : <br /> ✓ ACCEPTED <br /> ✓ REFUSED <br /> ✓ TIMEOUT: to be answered if the duration allocated to the agent to answer the preview is exceeded.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"1328a78d-6674-4b1e-84d9-cea6edf8191e","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"529efe77-a2fb-4715-9f31-b68070954461","name":"Answer Preview","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_ANSWER_PREVIEW\",\n\t\"params\": {\n\t\t\"answer\": \"REFUSED\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4308e48d-568a-400e-8c28-f395d6f4f6a5"}],"id":"98a3c28f-5cd1-40a0-88ac-e608fc929e9e","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5f046dc9-9397-43b4-b28f-bf75ed224949"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"40f2d3dc-0edc-462a-9ebd-30420fc732da"}}],"_postman_id":"98a3c28f-5cd1-40a0-88ac-e608fc929e9e","description":""},{"name":"consult","item":[{"name":"Dial Consult Call","id":"7c262c30-fd05-45aa-95fe-20d05b7105e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_DIAL\",\n\t\"params\": {\n\t\t\"called_number\": \"3351\"\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Consult a number</p>\n<p>This command allows an agent who is already talking to consult an external number or an agent.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>called_number</td>\n<td>number</td>\n<td>Yes</td>\n<td>Phone number that the agent wants to consult. <br /> <em>Remark</em> : If the phone number contains prohibited characters (e.g. special characters, letters, etc.), they will be deleted automatically.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"2e409650-35e6-4e6a-8ed2-ab8b677e2dcf","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"ecd076f1-3f70-4e59-a8f0-9a946d0af2cd","name":"Dial Consult Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_DIAL\",\n\t\"params\": {\n\t\t\"called_number\": \"0542132456\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7c262c30-fd05-45aa-95fe-20d05b7105e3"},{"name":"Hold Consult Call","id":"1135fda1-4f14-48a1-996a-e3eadcd476a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_CALL_HOLD\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Put the consulted call on hold</p>\n<p>During a consultation call between an agent and another agent/consulted number, this command is used to put the consulted set on hold.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"7f1ab5dd-b3eb-410e-8913-3bae2c81aef6","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"f1584618-8642-48c3-a64d-23455a9e44ad","name":"Hold Consult Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_CALL_HOLD\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1135fda1-4f14-48a1-996a-e3eadcd476a6"},{"name":"Resume Consult Call","id":"aa854b74-52f0-45c5-ad2b-c2852cbb3049","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_CALL_RETRIEVE\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Resume the consulted call</p>\n<p>This command is used to return to an agent the consulted call previously put on hold.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"fcf5b647-1e64-4a25-81a3-6ec4fc5ba7f9","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"e5338918-61e4-4f77-9bc5-18b1cd075a58","name":"Resume Consult Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_CALL_RETRIEVE\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"aa854b74-52f0-45c5-ad2b-c2852cbb3049"},{"name":"Transfer Consult Call","id":"0c86f5d7-f27c-4ef7-98d8-3cc40fd71489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_TRANSFER\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Transfer a call</p>\n<p>This command is used to transfer the agent-customer call to an external number or to another agent.</p>\n<p><em>Remark</em> : The agent must have previously made a consultation call :</p>\n<ul>\n<li>if consulting an external number, the command is used to transfer the call to this number;</li>\n<li>if consulting another agent, the command is used to transfer the call to this agent.</li>\n</ul>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"2247089f-b235-4c1c-989f-c09592b2a795","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"7f6ed9e1-336c-482c-b141-5a77d75519b0","name":"Transfer Consult Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_TRANSFER\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0c86f5d7-f27c-4ef7-98d8-3cc40fd71489"},{"name":"Conference Consult Call","id":"cfb056c6-9803-4fed-9851-759256a25f3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONFERENCE\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Set up a conference call</p>\n<p>This command is used to set up a conference call between the caller, the agent called and the consulted set.</p>\n<p><em>Remark</em> : The agent must have previously made a consultation call in order to set up a conference call between these 3 persons.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"5ab55ec0-a14f-4f5a-bc56-11a54a264347","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"cf906560-b885-49b9-afeb-4efb228bc567","name":"Conference Consult Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONFERENCE\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cfb056c6-9803-4fed-9851-759256a25f3c"},{"name":"Disconnect Consult Call","id":"02fc71fd-1f63-4ff7-a956-030c3020b9cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_CALL_DISC\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Hang up a consultation call</p>\n<p>During a consultation call between an agent and another agent/consulted number, this command is used to hang up the consulted set.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"8c2ced07-1f47-4bc0-babe-6ffeab0a0509","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"3ac846fb-c739-4d87-a4a4-15880c2c8380","name":"Disconnect Consult Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CONSULT_CALL_DISC\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"02fc71fd-1f63-4ff7-a956-030c3020b9cf"}],"id":"3ec48be7-31f5-4227-8a6e-4e1fd0d74de2","_postman_id":"3ec48be7-31f5-4227-8a6e-4e1fd0d74de2","description":""},{"name":"record","item":[{"name":"Record Agent Call","id":"eae95afc-f296-42d4-9282-f458109ece51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_RECORD\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Record a call</p>\n<p>This command is used to start the recording of an agent's current call.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"45f5ee7f-5fdb-4d91-ae63-7049cd36b681","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"5c380994-442d-4aca-b82e-fff5424f412a","name":"Record Agent Call","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_RECORD\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eae95afc-f296-42d4-9282-f458109ece51"},{"name":"Pause Agent Call Record","id":"78984973-1cf2-4b86-b64c-0610f12fa9de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_PAUSE_RECORD\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Pause a recording</p>\n<p>This command is used to pause the recording of an agent's current call.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"ad9db0f1-18ec-47f3-9d4e-1e7f5df2cd5b","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"ca1818d7-c74d-418e-b6d7-53f126927e62","name":"Pause Agent Call Record","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_PAUSE_RECORD\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"78984973-1cf2-4b86-b64c-0610f12fa9de"},{"name":"Keep Agent Call Record","id":"600ceb1f-62be-46fa-92a9-b6d995a63f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_KEEP_RECORD\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Keep a recording</p>\n<p>This command is used to force the keeping of a recording.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"cdb012cf-3339-41d3-97b3-abdf005cce07","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"2253d3ff-c3a2-4004-8e4b-e0eee815bfff","name":"Keep Agent Call Record","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_KEEP_RECORD\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"600ceb1f-62be-46fa-92a9-b6d995a63f35"},{"name":"Delete Agent Call Record","id":"3b89566d-fe64-47de-ac76-abe0ecf55a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DELETE_RECORD\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Cancel a recording</p>\n<p>This command is used to cancel the recording of an agent's current call.</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"dbb7a4c4-d6de-4883-b5e0-29edb7c58f36","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"b29eef08-202b-46cc-9ce3-c2fd317541bb","name":"Delete Agent Call Record","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CALL_DELETE_RECORD\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3b89566d-fe64-47de-ac76-abe0ecf55a3c"}],"id":"c51effe1-b10d-4996-ae53-9102298b71b5","_postman_id":"c51effe1-b10d-4996-ae53-9102298b71b5","description":""}],"id":"e3ea86f4-8f1f-4fad-9cb8-1b27a16d4d76","_postman_id":"e3ea86f4-8f1f-4fad-9cb8-1b27a16d4d76","description":""},{"name":"emails","item":[{"name":"Create Agent Mail","id":"ebc2ebb4-e749-4057-90f9-808ce87c1140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_MAIL_REQUEST\",\n\t\"params\": {\n\t\t\"mail_address\": \"asoulard@kiamo.fr\",\n\t\t\"service_id\": 7\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Request a new agent out email</p>\n<p>This command is used to open a new agent out email or create a new draft on the agent's computer.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mail_address</td>\n<td>string</td>\n<td>Yes</td>\n<td>Recipient's email address.</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>No</td>\n<td>Agent out email service to be used.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"9b4340cb-ee7d-4532-b7e2-0d368c03b2bc","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"90d0f747-de1a-40b8-b138-f37391af03d1","name":"Create Agent Mail","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_MAIL_REQUEST\",\n\t\"params\": {\n\t\t\"mail_address\": \"recipient_name@company.com\",\n\t\t\"service_id\": 18\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ebc2ebb4-e749-4057-90f9-808ce87c1140"}],"id":"199a4cca-fb78-496e-a821-370d8ab98e7d","_postman_id":"199a4cca-fb78-496e-a821-370d8ab98e7d","description":""},{"name":"tasks","item":[{"name":"Reopen Agent Task","id":"c4392752-89ff-4f08-a563-b96c8ca7b630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_REOPEN_TASK\",\n\t\"params\": {\n\t\t\"task_ref\": 100007,\n\t\t\"service_id\": 7\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Reopen a closed email</p>\n<p>This command is used to reopen a closed inbound email.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>task_ref</td>\n<td>number</td>\n<td>Yes</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>Yes</td>\n<td>Inbound email service in which the email to be reopened had been closed.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"93b5034b-0f94-4f9f-830b-7e01e82bab86","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"7f5a9bc0-93de-4081-b2d3-26c0cdbf1281","name":"Reopen Agent Task","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_REOPEN_TASK\",\n\t\"params\": {\n\t\t\"task_ref\": 100007,\n\t\t\"service_id\": 7\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c4392752-89ff-4f08-a563-b96c8ca7b630"},{"name":"Transfer Agent Task","id":"7d4a1b9d-8435-40b3-9c97-abcd1b6284e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_TRANSFER_SERVICE\",\n\t\"params\": {\n\t\t\"task_ref\": 100200,\n\t\t\"service_id\": 5\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Transfer a Messaging-type interaction</p>\n<p>This command is used to transfer a Messaging-type interaction to an Inbound message-type service.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>task_ref</td>\n<td>number</td>\n<td>Yes</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>Yes</td>\n<td>ID of the service to which the Messaging-type interaction should be transferred. <br /> <em><strong>Caution</strong></em> : Messaging-type interactions can only be transferred to Inbound message-type services.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"6431afa5-e4bc-46e6-bcc6-ca46beca089b","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"6eca64c6-1473-455e-9ba8-43e15a7a03e2","name":"Transfer Agent Task","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_TRANSFER_SERVICE\",\n\t\"params\": {\n\t\t\"task_ref\": 100200,\n\t\t\"service_id\": 5\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7d4a1b9d-8435-40b3-9c97-abcd1b6284e4"},{"name":"Postpone Agent Task","id":"7b73c6b2-cf54-402c-b6a7-b9bd64f82f5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_POSTPONE_TASK\",\n\t\"params\": {\n\t\t\"required_agent_id\": 1\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Postpone an interaction</p>\n<p>This command is used to postpone the interaction currently presented to an agent: call, email, Messaging-type interaction, customized task, etc.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>required_agent_id</td>\n<td>number</td>\n<td>Yes</td>\n<td>ID of the agent required to process the postponed task. <br /> <em>Remark</em> : If no agent is required, use NONE.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"dd548090-f10b-463a-9ed5-cde92eab09ce","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"807fe362-91b6-4aa6-8555-7442aee176f4","name":"Postpone Agent Task","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_POSTPONE_TASK\",\n\t\"params\": {\n\t\t\"required_agent_id\": 32\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7b73c6b2-cf54-402c-b6a7-b9bd64f82f5c"},{"name":"Close Agent Task","id":"05b72610-bcd7-45a5-a8df-b77eef5cd0e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CLOSE_TASK\",\n\t\"params\": {\n\t\t\"task_ref\": 100051\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Close an interaction</p>\n<p>This command is used to close the interaction (call, email, Messaging-type interaction, customized task, chat session, etc.) currently handled by the agent.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>task_ref</td>\n<td>number</td>\n<td>Yes</td>\n<td>Interaction ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"68a5bc78-a6f6-4bf3-a6f4-2e85f359f43c","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"cbddaa26-cbd3-4f3a-b143-22a21bb95571","name":"Close Agent Task","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_CLOSE_TASK\",\n\t\"params\": {\n\t\t\"task_ref\": 101256\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"05b72610-bcd7-45a5-a8df-b77eef5cd0e1"}],"id":"06fb1e4e-3b71-45aa-8d22-cfecf04942ce","_postman_id":"06fb1e4e-3b71-45aa-8d22-cfecf04942ce","description":""},{"name":"popup","item":[{"name":"Create Manual Popup","id":"f6545373-0ac2-4d17-9e58-08712d01df39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_MANUAL_POPUP_REQUEST\",\n\t\"params\": {\n\t\t\"popup_id\": 2\n\t}\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>Request a manual screen pop-up</p>\n<p>This command is used to trigger the opening of a manual screen pop-up in the agent's Kiwi application.</p>\n<p>The possible call parameters in the \"params\" object are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>popup_id</td>\n<td>number</td>\n<td>Yes</td>\n<td>ID of the manual screen pop-up.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"30759e90-4b97-4210-bca5-bf4eb4d917c4","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"d35ff43f-3698-48c7-b3c2-cbe0bbb48a6d","name":"Create Manual Popup","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_MANUAL_POPUP_REQUEST\",\n\t\"params\": {\n\t\t\"popup_id\": 15\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f6545373-0ac2-4d17-9e58-08712d01df39"}],"id":"7617d1b1-a090-47d6-b15a-4b3a7160fc24","_postman_id":"7617d1b1-a090-47d6-b15a-4b3a7160fc24","description":""},{"name":"messaging","item":[{"name":"ouverture d'un slot","id":"18c01f04-d158-431d-9542-7d3a7694a6e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_OPEN_SLOT\"\n}"},"url":"{{api_base_url}}/agents/:id","description":"<p>permettre à l’agent de se rendre disponible pour la distribution d’une conversation supplémentaire (ouverture d’un nouveau “slot”)</p>\n","urlObject":{"path":["agents",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a3427c6f-02da-4bbd-911c-aa95fc435084","description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"type":"any","value":"{{agent_id}}","key":"id"}]}},"response":[{"id":"44f8ca98-7c47-4bd3-9b87-ae2fb1bd888e","name":"ouverture d'un slot ","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_agents}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"command\": \"AGENT_OPEN_SLOT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/agents/:id","host":["{{api_base_url}}"],"path":["agents",":id"],"variable":[{"key":"id","value":"{{agent_id}}","description":"Agent Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"18c01f04-d158-431d-9542-7d3a7694a6e1"}],"id":"cfbeaf71-752e-4e35-95ef-a0c1917894b6","_postman_id":"cfbeaf71-752e-4e35-95ef-a0c1917894b6","description":""}],"id":"6e5a347b-74c2-4b27-b3cf-3044ea146b21","description":"<h1 id=\"agents-api\">AGENTS API</h1>\n<p>The following commands are the verbs composing the Kiamo Agents API in REST / JSON format.</p>\n<p><em>Remark</em> : a more complete ansynchronous Agent API exists, based on events and TCP socket connection to the Kiamo Front component. The related documentation is available on demand.</p>\n<h2 id=\"json-format-of-rest-commands\">JSON format of REST commands</h2>\n<p>Commands are sent to the server in TCP with a POST HTTP header.</p>\n<p><code>POST HTTP://kiamo_address/api/v2/agents/{agentId}</code></p>\n<p>The message body contains the commands to be sent.<br />Once the request has been sent, the API returns a JSON flow containing the answer.</p>\n<p>Commands have the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{ \n  \"command\":\"&lt;command to be sent&gt;\", \n  \"params\":{ \n    \"a_param\":\"&lt;parameter1&gt;\", \n    etc. \n  } \n}\n\n</code></pre>\n<p>The list of possible call parameters is as follows :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data Type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>command</td>\n<td>string</td>\n<td>Yes</td>\n<td>Command to be sent to the server.</td>\n</tr>\n<tr>\n<td>params</td>\n<td>object</td>\n<td>No</td>\n<td>Object containing the list of request parameters.  <br />This variable part of the request depends on each command.  <br />Several \"params\" objects are allowed, in order to make a series of commands with different parameters.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ce91e651-8021-4612-8f09-30b214a847e3"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"eacba4dc-bf68-4f5c-b150-583056bf844b"}}],"_postman_id":"6e5a347b-74c2-4b27-b3cf-3044ea146b21"},{"name":"build","item":[{"name":"activity planning","item":[{"name":"Plan Agent Activities","id":"2932530d-95e4-4e4f-b512-5b3256a3d1b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_activity_planning}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"periods\": [{\r\n        \"startTime\": \"2021-03-01T12:00:00+00:00\",\r\n        \"endTime\": \"2021-03-31T12:00:00+00:00\"\r\n    }],\r\n    \"activities\": [1,2,3],\r\n    \"agents\": [1]\r\n}"},"url":"{{api_base_url_v3}}/activities/planning","description":"<p>Plan agent activities.</p>\n<p>The JSON body is composed of the following parameters :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required?</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>period</td>\n<td>Yes</td>\n<td>Period</td>\n<td>Activity period (see upper)</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>Yes</td>\n<td>string (non empty)</td>\n<td>List of activity IDs <br /> ex : <em>activities=1,2,3</em></td>\n</tr>\n<tr>\n<td>agents</td>\n<td>Yes</td>\n<td>string (non empty)</td>\n<td>List of agent IDs <br /> ex : <em>agents=1,2,3</em></td>\n</tr>\n</tbody>\n</table>\n</div><p>In case of success, the response contains the complete list of planifications as shown below, sorted first by agent ID, second by activity ID.</p>\n<p>Response example :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"period\": &lt;Period&gt;,\n        \"activity\": {\n            \"id\": &lt;activity_id&gt;\n        }, \n        \"agent\": {\n            \"id\": &lt;agent_id&gt;\n        }\n    },\n    (...)\n]\n</code></pre>\n","urlObject":{"path":["activities","planning"],"host":["{{api_base_url_v3}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2932530d-95e4-4e4f-b512-5b3256a3d1b6"},{"name":"Get Activity Planning","id":"c59531d9-aa4e-4863-b1d6-984018dd18ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_activity_planning}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"periods\": [{\r\n        \"startTime\": \"2021-03-01T12:00:00+00:00\",\r\n        \"endTime\": \"2021-03-31T12:00:00+00:00\"\r\n    }],\r\n    \"activities\": [1,2,3],\r\n    \"group\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url_v3}}/activities/planning","description":"<p>Get existing activity planning.</p>\n<p>As it is a GET request, the parameters must be set in the request URL. The parameters are the following :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required?</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>period</td>\n<td>Yes</td>\n<td>Period</td>\n<td>Activity period (see upper)</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>No</td>\n<td>string</td>\n<td>Acts as a filter. <br /> List of target activity IDs <br /> ex : <em>activities=1,2,3</em> <br /> <em>Remark</em>: if the parameter is not present or if the list is empty, all the related activities will be returned.</td>\n</tr>\n<tr>\n<td>agents</td>\n<td>No</td>\n<td>string</td>\n<td>Acts as a filter. <br /> List of target agent IDs <br /> ex : <em>agents=1,2,3</em> <br /> <em>Remark</em>: if the parameter is not present or if the list is empty, all the related agents will be returned.</td>\n</tr>\n<tr>\n<td>team</td>\n<td>No</td>\n<td>int</td>\n<td>Acts as a filter. <br /> Target team ID <br /> <em>Remark</em>: if this parameter is present, all the related agents will be returned.</td>\n</tr>\n<tr>\n<td>group</td>\n<td>No</td>\n<td>int</td>\n<td>Acts as a filter. <br /> Target group ID <br /> <em>Remark</em>: if this parameter is present, all the related agents will be returned.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Caution</strong> : </p>\n<ul>\n<li>only one of the 3 parameters \"<em>agents</em>\", or \"<em>team</em>\", or \"<em>group</em>\" can be present in the request. Otherwise, the error code HTTP 400 \"Bad Request\" will be returned.</li>\n<li>only the activity planning that are fully included by the requested period will be returned. Ex.: <em>if the period is 10h00 to 11h00 and an existing activity is planned between 10h30 and 11h30, this specific activity will not be returned.</em></li>\n</ul>\n<p>Response example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"period\": &lt;Period&gt;,\n        \"activity\": {\n            \"id\": &lt;activity_id&gt;\n        }, \n        \"agent\": {\n            \"id\": &lt;agent_id&gt;\n        }\n    },\n    (...)\n]\n</code></pre>\n<p><em>Remark</em>: the response array can be empty if no activity planning matches the request parameters.</p>\n","urlObject":{"path":["activities","planning"],"host":["{{api_base_url_v3}}"],"query":[{"disabled":true,"key":"activities","value":null},{"disabled":true,"key":"team","value":"1"},{"disabled":true,"key":"group","value":"2"}],"variable":[]}},"response":[],"_postman_id":"c59531d9-aa4e-4863-b1d6-984018dd18ee"},{"name":"Delete Activity Planning","id":"7cb0f792-c951-478f-886a-911afba6c79d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_activity_planning}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"periods\": [{\r\n        \"startTime\": \"2021-03-01T12:00:00+00:00\",\r\n        \"endTime\": \"2021-03-31T12:00:00+00:00\"\r\n    }],\r\n    \"activities\": [1,2,3],\r\n    \"group\": 1\r\n}"},"url":"{{api_base_url_v3}}/activities/planning","description":"<p>Delete existing activity planning.</p>\n<p>The JSON body is composed of the following parameters :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required?</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>period</td>\n<td>Yes</td>\n<td>Period</td>\n<td>Activity period (see upper)</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>No</td>\n<td>string</td>\n<td>Acts as a filter. <br /> List of target activity IDs <br /> ex : <em>activities=1,2,3</em> <br /> <em>Remark</em>: if the parameter is not present or if the list is empty, all the related activities will be returned.</td>\n</tr>\n<tr>\n<td>agents</td>\n<td>No</td>\n<td>string</td>\n<td>Acts as a filter. <br /> List of target agent IDs <br /> ex : <em>agents=1,2,3</em> <br /> <em>Remark</em>: if the parameter is not present or if the list is empty, all the related agents will be returned.</td>\n</tr>\n<tr>\n<td>team</td>\n<td>No</td>\n<td>int</td>\n<td>Acts as a filter. <br /> Target team ID <br /> <em>Remark</em>: if this parameter is present, all the related agents will be returned.</td>\n</tr>\n<tr>\n<td>group</td>\n<td>No</td>\n<td>int</td>\n<td>Acts as a filter. <br /> Target group ID <br /> <em>Remark</em>: if this parameter is present, all the related agents will be returned.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Caution</strong> : only one of the 3 parameters \"<em>agents</em>\", or \"<em>team</em>\", or \"<em>group</em>\" can be present in the request. Otherwise, the error code HTTP 400 \"Bad Request\" will be returned.</p>\n<p>In case of success, the result is the HTTP code 204 - \"No content\".</p>\n","urlObject":{"path":["activities","planning"],"host":["{{api_base_url_v3}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cb0f792-c951-478f-886a-911afba6c79d"}],"id":"ba621bd4-17c5-4a17-9092-34d1ad9ef934","description":"<p>Activity Planing Operations</p>\n<h2 id=\"common-objects\">Common Objects</h2>\n<p><strong>Period</strong></p>\n<p>A Period object is composed of a start time and an end time, with the following constraints :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>startTime</td>\n<td>string</td>\n<td>Yes</td>\n<td>Start quarter</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>string</td>\n<td>Yes</td>\n<td>End quarter (excluded)</td>\n</tr>\n</tbody>\n</table>\n</div><p>where :</p>\n<ul>\n<li>dates are UTC ISO 8601 date strings (\"YYYY-MM-DDTHH:MM:SSZ\"),</li>\n<li>minutes can only be '00', '15', '30', '45' (the activity planing granularity is the quarter hour),</li>\n<li>seconds are ignored,</li>\n<li><strong>startTime</strong> is the initial quarter (included),</li>\n<li><strong>endTime</strong> is the final quarter (excluded).</li>\n</ul>\n<p><strong>Example</strong> : 60 minutes period, from 10h00 to 11h00 UTC :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">\"period\": {\n        \"startTime\": \"2021-01-18T10:00:00Z\",\n        \"endTime\": \"2021-01-18T11:00:00Z\"\n      }\n</code></pre>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4f605eef-de1c-44b9-aa04-d44658ed3fc7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"290d1fc8-80b3-44ff-97a6-41f996e8a356"}}],"_postman_id":"ba621bd4-17c5-4a17-9092-34d1ad9ef934"}],"id":"a3270e70-2070-41b7-8a17-1fef1a28f6b6","description":"<h1 id=\"build-domain-apis\">BUILD DOMAIN APIs</h1>\n<p>The APIs regrouped under the <strong>BUILD</strong> domain are dedicated to build and configure a Kiamo instance.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1a68993a-a273-4752-87bf-3b08e993cf70"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a7bb0701-e579-49a6-bf7e-2979263e6289"}}],"_postman_id":"a3270e70-2070-41b7-8a17-1fef1a28f6b6"},{"name":"contact_manager","item":[{"name":"bases","item":[{"name":"Get Contact Manager Bases","id":"6e7e90e8-71b6-4c26-bcda-3ca6e89719af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases","description":"<p>List of contacts databases</p>\n<p>The “bases” resource is used to create and retrieve a list of contact databases.\nThese databases contain the same data than the ones available for the <strong>Base</strong> resource.</p>\n<p><strong>Query parameters</strong></p>\n<p>Query parameters are a set of parameters placed in the URL in order to refine the results of your request.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Possible values</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>synchronization</td>\n<td>N/A</td>\n<td>N/A</td>\n<td>No</td>\n<td>Automatic synchronization <br /> To get the list of contact databases with an automatic synchronization <br /> <code>/contact_manager/bases?synchronization</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact_manager","bases"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"key":"synchronization","value":null}],"variable":[]}},"response":[{"id":"fc0acea2-0006-42af-896f-ee9ee1477a3c","name":"Get bases with an automatic synchronization","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/bases?synchronisation","host":["{{api_base_url}}"],"path":["contact_manager","bases"],"query":[{"key":"synchronisation","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:32:47 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"31"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbca09836a3372c50006143\",\n            \"name\": \"Base with synchro\",\n            \"contacts\": {\n                \"count\": 10\n            },\n            \"created_at\": \"2018-10-09T12:35:35+0000\"\n        }\n    ]\n}"},{"id":"17f7bfbc-16d5-44ed-b0a4-29b9d20d1e30","name":"Get All Bases","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:31:27 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"131"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa2\",\n            \"name\": \"CM Customer service\",\n            \"contacts\": {\n                \"count\": 11\n            },\n            \"created_at\": \"2018-10-09T12:27:30+0000\"\n        }\n    ]\n}"}],"_postman_id":"6e7e90e8-71b6-4c26-bcda-3ca6e89719af"},{"name":"Create Contact Manager Base","id":"aa1d429f-2e1c-4f58-a094-a8a3435f783b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Base\"\n}"},"url":"{{api_base_url}}/contact_manager/bases","description":"<p>Create a contacts database</p>\n<p>The JSON body is composed of the following parameters :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Yes</td>\n<td>The contacts database name</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact_manager","bases"],"host":["{{api_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5bac774d-fe9b-4ea0-ba1d-d6f8ecc11016","name":"Base creation","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Base\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:27:29 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"123"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbc9eb236a3373a34000fa2\",\n    \"name\": \"Test Base\",\n    \"contacts\": {\n        \"count\": 0\n    },\n    \"created_at\": \"2018-10-09T12:27:30+0000\"\n}"},{"id":"a8389039-19a9-487b-b010-6888eb313939","name":"Error : No \"name\" property","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"thename\": \"Test Base\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:30:02 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"149"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_1040\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Json attribute name is missing. Please refer to the documentation for more informations\"\n    }\n}"}],"_postman_id":"aa1d429f-2e1c-4f58-a094-a8a3435f783b"},{"name":"Get Contact Manager Base","id":"49e4052a-fa6a-4445-930c-4908b286f647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/:id","description":"<p>Get a contacts database</p>\n<p><em>Remark</em> : To get the IDs of databases, run a GET query on the <code>/contact_manager/bases</code> resource.</p>\n","urlObject":{"path":["contact_manager","bases",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"da145eed-1afa-4f80-b8f1-0b7da0b57cd5","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"f2c62c48-8e9e-49b4-ab5a-d3e9bb0a3ce2","name":"Get a contact base by ID","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:37:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"124"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbc9eb236a3373a34000fa2\",\n    \"name\": \"Test Base\",\n    \"contacts\": {\n        \"count\": 20\n    },\n    \"created_at\": \"2018-10-09T12:27:30+0000\"\n}"},{"id":"219fb049-c8b2-407b-bbb4-3940860093e7","name":"Error : base not found","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/12345"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:38:44 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"143"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 404,\n        \"code\": \"ERR_3000\",\n        \"title\": \"The requested resource was not found\",\n        \"detail\": \"Cannot retrieve this resource. Please check if it exists\"\n    }\n}"}],"_postman_id":"49e4052a-fa6a-4445-930c-4908b286f647"},{"name":"Update Contact Manager Base","id":"805d34fb-efb0-4a7c-8a3e-2c64c3840867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Renamed base\"\n}"},"url":"{{api_base_url}}/contact_manager/bases/:id","description":"<p>Update a contact database</p>\n<p><em>Remark</em> : only the database name can be modified.</p>\n<p><em><strong>Caution</strong></em> : The database name must be unique : if the name sent already exists, a 400 error will be displayed (ERR_2060).</p>\n","urlObject":{"path":["contact_manager","bases",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"c8cd97fb-3da1-4c0c-9bb2-22d7f11400c1","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"deaa1f5b-807f-472c-ae16-b4e4abbaa4aa","name":"Contact database name update","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Renamed Base\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:59:21 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"129"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbc9eb236a3373a34000fa2\",\n    \"name\": \"Renamed Base\",\n    \"contacts\": {\n        \"count\": 20\n    },\n    \"created_at\": \"2018-10-09T12:27:30+0000\"\n}"},{"id":"cbadd190-2121-417e-8734-4c224663122d","name":"Error : no \"name\" property","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"thename\": \"Renamed Base\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 12:30:02 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"149"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_1040\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Json attribute name is missing. Please refer to the documentation for more informations\"\n    }\n}"}],"_postman_id":"805d34fb-efb0-4a7c-8a3e-2c64c3840867"},{"name":"Delete Contact Manager Base","id":"8881fe83-6eff-4ea2-874c-8a5c311780c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/contact_manager/bases/:id","description":"<p>Delete a contacts database</p>\n<p><em>Remark</em> : the code \"204 No Content\" is returned when there is no problem.</p>\n","urlObject":{"path":["contact_manager","bases",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"ee4a85c8-9a17-4088-af0d-601453ecb441","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"faa98ec8-54d0-4f83-a306-0bf009d739ce","name":"Base deletion","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/contact_manager/bases/5bbca6ae36a3372c5000617d"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Tue, 09 Oct 2018 13:01:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8881fe83-6eff-4ea2-874c-8a5c311780c2"},{"name":"Create Base Batches","id":"b4cc11ac-875a-4cd8-939e-3390426891bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Batch\",\n\t\"service\": 1,\n\t\"association\": {\n\t\t\"destination\": \"5bbc9eb236a3373a34000fad\",\n\t\t\"reference\": \"5bbc9eb236a3373a34000fa3\"\n\t}\n}"},"url":"{{api_base_url}}/contact_manager/bases/:id/batches?include=association","description":"<p>Create a batch and insert it into a specific database</p>\n<p>It's also possible to add an association when the batch is created.</p>\n<p><em>Remark</em> : When a new batch is created, if an association is sent, the batch will be directly enabled. If not, its status will be : \"new\".</p>\n","urlObject":{"path":["contact_manager","bases",":id","batches"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Association</p>\n","type":"text/plain"},"key":"include","value":"association"}],"variable":[{"id":"55597520-d9ea-4baa-a8f4-ff53e327cb0a","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"904a4fe0-19d5-4109-8a18-969e9219408b","name":"Batch creation in a Base with Association","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Batch with Association\",\n\t\"service\": 1,\n\t\"association\": {\n\t\t\"destination\": \"5bbc9eb236a3373a34000fad\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/bases/:id/batches?include=association","host":["{{api_base_url}}"],"path":["contact_manager","bases",":id","batches"],"query":[{"key":"include","value":"association"}],"variable":[{"key":"id","value":"{{cm_base_id}}","description":"Base Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 10:02:17 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"181"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbdce2a36a3371038004f7b\",\n    \"name\": \"New Batch with Association\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 1,\n    \"state\": \"active\",\n    \"contacts\": {\n        \"count\": \"0\"\n    },\n    \"association\": {\n        \"destination\": \"5bbc9eb236a3373a34000fad\"\n    },\n    \"created_at\": \"2018-10-10T10:02:18+0000\"\n}"},{"id":"afa905ea-8ce1-4666-bf4d-9be300e54781","name":"Error : Unknown Service","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New batch\",\n\t\"service\": 2000\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/batches"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 15:16:38 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"159"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_1110\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Json attribute service is invalid, bad type. Please refer to the documentation for more informations\"\n    }\n}"},{"id":"c2f78fca-8ddf-43be-addf-d8e291309f83","name":"Batch creation in a Base","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New name\",\n\t\"service\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/bases/:id/batches","host":["{{api_base_url}}"],"path":["contact_manager","bases",":id","batches"],"variable":[{"key":"id","value":"{{cm_base_id}}","description":"Base Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 08:29:31 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"172"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbdb86f36a3372c5000619c\",\n    \"name\": \"New name\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 1,\n    \"state\": \"new\",\n    \"contacts\": {\n        \"count\": \"0\"\n    },\n    \"created_at\": \"2018-10-10T08:29:35+0000\"\n}"}],"_postman_id":"b4cc11ac-875a-4cd8-939e-3390426891bd"},{"name":"Get Base Batches","id":"12706b43-5c8b-472f-8901-0fa60959c325","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/:id/batches","description":"<p>Retrieve all the batches in a specific contacts database</p>\n","urlObject":{"path":["contact_manager","bases",":id","batches"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"108562f0-3ab8-4664-93b9-6553d0cbb4f9","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"53aa3041-e04d-4330-9c15-e6738c5498a5","name":"Retrieve all the batches in a specific contacts database","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/batches"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 08:30:13 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"177"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c811aa32017590fec005b0b\", \n            \"name\": \"CM API Batch\", \n            \"base\": \"5c81114220175916f4005d5c\", \n            \"service\": \"8\", \n            \"state\": \"new\", \n            \"contacts\": { \n                \"count\": 2 \n            },\n            \"created_at\": \"2019-03-07T13:20:35+0000\"\n        }\n    ]\n}"}],"_postman_id":"12706b43-5c8b-472f-8901-0fa60959c325"},{"name":"Add Base Contacts","id":"ebe0e7d0-0555-474b-897d-d498672e4579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n\t    \"fields\": {\n\t\t    \"5bbc9eb236a3373a34000fa4\": \"API\"\n    \t}\n    }\n]"},"url":"{{api_base_url}}/contact_manager/bases/:id/contacts","description":"<p>Add contacts to a base</p>\n<p>The JSON body is an array of contacts (see <strong>Contact</strong> object description bellow).</p>\n<p>Each contact is described by a list of fields (see <strong>Fields</strong> Contact sub-object description bellow), the field ID and it value.</p>\n","urlObject":{"path":["contact_manager","bases",":id","contacts"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"fa44080f-4f2e-4e4a-8092-1c1c99ebd257","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"bae501a0-1448-40ab-9862-86b6fc05ead1","name":"Create contacts","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n\t    \"fields\": {\n\t\t    \"5bbc9eb236a3373a34000fa4\": \"Contact name\"\n\t    }\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/bases/:id/contacts","host":["{{api_base_url}}"],"path":["contact_manager","bases",":id","contacts"],"variable":[{"key":"id","value":"{{cm_base_id}}","description":"Base Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 14:44:31 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"159"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://127.0.0.1/api/contact_manager/base/5bbc9eb236a3373a34000fa2/contacts?include=fields\"\n    }\n}"}],"_postman_id":"ebe0e7d0-0555-474b-897d-d498672e4579"},{"name":"Get Base Contacts","id":"34c69cd4-dce3-4544-9394-42fb86641f6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/:id/contacts","description":"<p>Retrieve the list of contacts of a base</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Possible values</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>fields <br /> tasks</td>\n<td>No</td>\n<td>To retrieve the contact fields, <code>include=fields</code> must be added to the query <br /> If the contact is attached to several batches, it's possible to get this information by adding <code>include=tasks</code> to the query <br /> Both values are possible by adding <code>include=fields,tasks</code> to the query</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact_manager","bases",":id","contacts"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>(optional) List of values in [fields|tasks]</p>\n","type":"text/plain"},"key":"include","value":""}],"variable":[{"id":"4a05c12c-2d42-4b1a-8c56-344f89da9fba","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"a9b2941f-2f9a-453f-b692-d6aa3c4c61d7","name":"Retrive base contact list with their associated tasks","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/bases/:id/contacts?include=tasks","host":["{{api_base_url}}"],"path":["contact_manager","bases",":id","contacts"],"query":[{"key":"include","value":"tasks"}],"variable":[{"key":"id","value":"{{cm_base_id}}","description":"Base Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 13:16:36 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"221"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbca10e36a3372c50006168\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006169\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616a\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616b\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616c\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616d\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616e\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616f\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006170\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"tasks\": {\n                \"data\": [\n                    {\n                        \"batch\": \"5bbdce2a36a3371038004f7b\",\n                        \"state\": \"PENDING\",\n                        \"qualif\": 0\n                    },\n                    {\n                        \"batch\": \"5bbdf80636a3372c5000619d\",\n                        \"state\": \"PENDING\",\n                        \"qualif\": 0\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006171\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006172\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006173\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006174\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006175\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006176\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006177\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006178\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006179\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000617a\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000617b\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        }\n    ]\n}"},{"id":"32dd8443-a981-451c-84ff-ecfdf254698f","name":"Retrieve base contact list with their related fields","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/bases/:id/contacts?include=fields","host":["{{api_base_url}}"],"path":["contact_manager","bases",":id","contacts"],"query":[{"key":"include","value":"fields"}],"variable":[{"key":"id","value":"{{cm_base_id}}","description":"Base Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 10:28:43 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"862"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbca10e36a3372c50006168\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Pierre\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"ornare.facilisis@acmetusvitae.net\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006169\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Thibault\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"Sed.congue@magna.ca\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616a\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Lamia\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"Integer@liberomauris.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616b\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Cédric\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"tortor.nibh.sit@imperdietnon.co.uk\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616c\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Élisa\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"ultricies.dignissim@tempor.org\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616d\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Titouan\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"molestie.in.tempus@eutelluseu.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616e\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Fanny\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"ac@vulputatelacusCras.org\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616f\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Jeanne\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"commodo@etliberoProin.ca\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006170\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Alexis\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"cursus@maurisaliquameu.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006171\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Solene\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"facilisis.lorem@Cras.com\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006172\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Florentin\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"tristique.ac.eleifend@ligulaconsectetuerrhoncus.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006173\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Gabriel\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"rhoncus.Donec@magnaet.ca\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006174\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Zacharis\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"Vestibulum.accumsan.neque@non.co.uk\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006175\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Mathis\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"dictum.augue.malesuada@ornare.com\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006176\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Valentin\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"lectus.Nullam@amet.ca\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006177\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Benjamin\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"In.condimentum@magnis.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006178\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Françoise\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"vulputate@vitaeerat.ca\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006179\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Anaël\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"augue.id.ante@magnaNam.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000617a\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Élisa\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"primis.in@Phasellus.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000617b\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Célia\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"parturient.montes@mauris.ca\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"449b1ec8-6097-484b-93f2-91f67ae30c05","name":"Retrive base contact list","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/bases/:id/contacts","host":["{{api_base_url}}"],"path":["contact_manager","bases",":id","contacts"],"variable":[{"key":"id","value":"{{cm_base_id}}","description":"Base Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 10:27:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"147"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbca10e36a3372c50006168\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006169\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616a\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616b\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616c\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616d\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616e\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000616f\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006170\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006171\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006172\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006173\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006174\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006175\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006176\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006177\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006178\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c50006179\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000617a\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        },\n        {\n            \"id\": \"5bbca10e36a3372c5000617b\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        }\n    ]\n}"}],"_postman_id":"34c69cd4-dce3-4544-9394-42fb86641f6b"},{"name":"Add Base Fields","id":"8f2e75dc-053e-4ed4-99b6-5dcd84c07c96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n\t    \"name\": \"fix_phone\",\n\t    \"label\": \"Fix phone\",\n\t    \"datatype\": \"phone\"\n    },\n    {\n\t    \"name\": \"mobile_phone\",\n\t    \"label\": \"Mobile phone\",\n\t    \"datatype\": \"phone\"\n    }\n]"},"url":"{{api_base_url}}/contact_manager/bases/:id/fields","description":"<p>Add fiedls to a contacts database</p>\n<p>The JSON body is an array of fields (see <strong>Field</strong> object description bellow).</p>\n<p><em>Remark</em> : Here is the list of \"datatypes\" available : <br />\n✓ int <br />\n✓ phone <br />\n✓ email <br />\n✓ string <br />\n✓ date <br /></p>\n","urlObject":{"path":["contact_manager","bases",":id","fields"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"36e5d03f-95a8-4f5e-a8c4-4dd4e70402fe","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"6efe4299-9dea-4b7c-91c9-1640e5c17f7b","name":"Error : wrong \"datatype\"","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"address\",\n        \"label\": \"Adresse\",\n        \"datatype\": \"unknown\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/fields"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 13:41:04 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"153"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_1080\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Json attribute datatype is invalid. Please refer to the documentation for more informations\"\n    }\n}"},{"id":"f70a0752-0c5e-4c61-bef5-53fcbe88e20b","name":"Error : empty \"name\"","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n\t\"name\": \"\",\n\t\"label\": \"Label\",\n\t\"datatype\": \"string\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/fields"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 13:42:26 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"149"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_1040\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Json attribute name is missing. Please refer to the documentation for more informations\"\n    }\n}"},{"id":"919ee16c-0068-4a79-a204-369b57fbf2b8","name":"Error : empty \"label\" vide","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n\t    \"name\": \"address\",\n\t    \"label\": \"\",\n\t    \"datatype\": \"string\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/fields"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 13:41:54 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"151"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_1070\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Json attribute label is missing. Please refer to the documentation for more informations\"\n    }\n}"},{"id":"a5087138-13db-4b2b-86f0-20fa6a675be5","name":"Create fields in a contacts database (email and phone-type)","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    { \n        \"name\": \"Home_phone\", \n        \"label\": \"Home\", \n        \"datatype\": \"phone\" \n    },\n    { \n        \"name\": \"Email2\", \n        \"label\": \"Email 2\", \n        \"datatype\": \"email\" \n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 13:40:10 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"460"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa3\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactTitle\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 1\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa4\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactLastName\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 2\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa5\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactFirstName\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 3\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa6\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactSex\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 4\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa7\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactBirthday\",\n            \"datatype\": \"date\",\n            \"type\": \"default\",\n            \"position\": 5\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa8\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactPrimaryAddress\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 6\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa9\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactSecondaryAddress\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 7\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000faa\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactZipCode\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 8\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fab\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactCity\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 9\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fac\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactCountry\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 10\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fad\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactPhoneNumber\",\n            \"datatype\": \"phone\",\n            \"type\": \"default\",\n            \"position\": 11\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fae\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactMobilePhoneNumber\",\n            \"datatype\": \"phone\",\n            \"type\": \"default\",\n            \"position\": 12\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000faf\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactWorkPhoneNumber\",\n            \"datatype\": \"phone\",\n            \"type\": \"default\",\n            \"position\": 13\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb0\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactEmail\",\n            \"datatype\": \"email\",\n            \"type\": \"default\",\n            \"position\": 14\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb1\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactReference\",\n            \"datatype\": \"reference\",\n            \"type\": \"default\",\n            \"position\": 15\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb2\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactNote\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 16\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb3\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactFacebookId\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 17\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb4\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactTwitterId\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 18\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb5\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactCreatedAt\",\n            \"datatype\": \"date\",\n            \"type\": \"default\",\n            \"position\": 19\n        },\n        {\n            \"id\": \"5bbcafbc36a3371038004f76\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"Home_phone\",\n            \"label\": \"Home\",\n            \"datatype\": \"phone\",\n            \"type\": \"user\"\n        },\n        {\n            \"id\": \"5bbcafbc36a3371038004f77\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"Email2\",\n            \"label\": \"Email 2\",\n            \"datatype\": \"email\",\n            \"type\": \"user\"\n        }\n    ]\n}"}],"_postman_id":"8f2e75dc-053e-4ed4-99b6-5dcd84c07c96"},{"name":"Get Base Fields","id":"afa7b3a5-73b3-4040-9c97-a97ec256b7df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/:id/fields","description":"<p>Retrieve the list of fields of a contacts database</p>\n","urlObject":{"path":["contact_manager","bases",":id","fields"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"44c7b286-d8b6-4800-a908-9234144742cf","description":{"content":"<p>Base Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_base_id}}","key":"id"}]}},"response":[{"id":"6cb9601d-1528-49c1-a19d-9306e63df229","name":"Retrieve the list of fields of a contacts database","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/bases/5bbc9eb236a3373a34000fa2/fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Oct 2018 13:07:54 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"391"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa3\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactTitle\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 1\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa4\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactLastName\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 2\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa5\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactFirstName\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 3\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa6\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactSex\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 4\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa7\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactBirthday\",\n            \"datatype\": \"date\",\n            \"type\": \"default\",\n            \"position\": 5\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa8\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactPrimaryAddress\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 6\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fa9\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactSecondaryAddress\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 7\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000faa\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactZipCode\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 8\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fab\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactCity\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 9\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fac\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactCountry\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 10\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fad\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactPhoneNumber\",\n            \"datatype\": \"phone\",\n            \"type\": \"default\",\n            \"position\": 11\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fae\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactMobilePhoneNumber\",\n            \"datatype\": \"phone\",\n            \"type\": \"default\",\n            \"position\": 12\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000faf\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactWorkPhoneNumber\",\n            \"datatype\": \"phone\",\n            \"type\": \"default\",\n            \"position\": 13\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb0\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactEmail\",\n            \"datatype\": \"email\",\n            \"type\": \"default\",\n            \"position\": 14\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb1\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactReference\",\n            \"datatype\": \"reference\",\n            \"type\": \"default\",\n            \"position\": 15\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb2\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactNote\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 16\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb3\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactFacebookId\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 17\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb4\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactTwitterId\",\n            \"datatype\": \"string\",\n            \"type\": \"default\",\n            \"position\": 18\n        },\n        {\n            \"id\": \"5bbc9eb236a3373a34000fb5\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"name\": \"contactCreatedAt\",\n            \"datatype\": \"date\",\n            \"type\": \"default\",\n            \"position\": 19\n        }\n    ]\n}"}],"_postman_id":"afa7b3a5-73b3-4040-9c97-a97ec256b7df"}],"id":"f5224d16-d320-4db9-a013-a8006f31516e","description":"<p>Operations on the Contact Manager Bases</p>\n<h2 id=\"elements-of-the-base-object\">Elements of the \"Base\" object</h2>\n<p><strong>“Base” object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>No</td>\n<td>Yes</td>\n<td>Database ID.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>Unique name of the database.</td>\n</tr>\n<tr>\n<td>synchro</td>\n<td>object (<strong>Synchro</strong>)</td>\n<td>No</td>\n<td>No</td>\n<td>Status of the database synchronization. <br /> (This node will not be included if synchronization is null)</td>\n</tr>\n<tr>\n<td>contacts.count</td>\n<td>number</td>\n<td>No</td>\n<td>Yes</td>\n<td>Number of contacts in the database.</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>dateTime</td>\n<td>No</td>\n<td>Yes</td>\n<td>Date of creation of the contact database (ISO8601 format). <br /> Example: 2030 10 24T16:00:00+0000.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>“Synchro” sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Type of synchronization applied to the database. <br /> The only type available is “phpscript” used to execute a PHP script to provide data to the database.</td>\n</tr>\n<tr>\n<td>hour</td>\n<td>number</td>\n<td>No</td>\n<td>No</td>\n<td>Full hour: Time the PHP script will be called by the KLIB module.</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>PHP code that will be executed to provide data to the contact database.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c3be8b53-b3fe-41f6-bb36-1a122ac3409b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"37ac9c74-9867-4e5d-a258-a85162e2a727"}}],"_postman_id":"f5224d16-d320-4db9-a013-a8006f31516e"},{"name":"batches","item":[{"name":"Get Contact Manager Batches","id":"49b94798-17a4-401b-9712-ba43334cc7f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/batches","description":"<p>Retrieve all the batches in all the databases</p>\n","urlObject":{"path":["contact_manager","batches"],"host":["{{api_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"00b2d627-cf66-431c-b2c1-3995b4420488","name":"Retrieve all the batches in all the databases","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/batches"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 08:37:20 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"178"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c811aa32017590fec005b0b\",\n            \"name\": \"CM API Batch\",\n            \"base_id\": \"5c81114220175916f4005d5c\",\n            \"service_id\": 8,\n            \"state\": \"new\",\n            \"contacts\": {\n                \"count\": \"2\"\n            },\n            \"created_at\": \"2019-03-07T13:20:35+0000\"\n        },\n        {\n            \"id\": \"5c811f5120175916f4005d8e\",\n            \"name\": \"Help desk CM batch\",\n            \"base_id\": \"5c811ee420175910e0002321\",\n            \"service_id\": 5,\n            \"state\": \"new\",\n            \"contacts\": {\n                \"count\": \"4\"\n            },\n            \"created_at\": \"2019-03-07T13:40:33+0000\"\n        }\n    ]\n}"}],"_postman_id":"49b94798-17a4-401b-9712-ba43334cc7f4"},{"name":"Get Contact Manager Batch","id":"4e403f3b-6a73-4083-8135-3d2028d5a350","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/batches/:id","description":"<p>Retrieve the content of a batch</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Possible values</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>association</td>\n<td>No</td>\n<td>By default, the batch association is not included in the answer. <br /> If you want to get this piece of information, you have to include the following parameter in the query: <code>include=association</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact_manager","batches",":id"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>(optional) Association</p>\n","type":"text/plain"},"key":"include","value":"association"}],"variable":[{"id":"e27ffdab-bef6-474e-a44a-4f9133da629f","description":{"content":"<p>Batch Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_batch_id}}","key":"id"}]}},"response":[{"id":"0fe90d42-54bb-447d-bc60-266268dcafaf","name":"Retrieve the content of a batch with association","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id?include=association","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id"],"query":[{"key":"include","value":"association"}],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 15:20:26 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"214"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbdce2a36a3371038004f7b\",\n    \"name\": \"Help Desk CM batch\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 5,\n    \"state\": \"active\",\n    \"contacts\": {\n        \"count\": \"4\"\n    },\n    \"created_at\": \"2018-10-10T10:02:18+0000\",\n    \"association\": {\n        \"agent_id\": \"\",\n        \"agent_login\": \"\",\n        \"destination\": \"5bbc9eb236a3373a34000fad\",\n        \"callback\": \"\",\n        \"reference\": \"\"\n    }\n}"},{"id":"c19154a0-80ee-4e06-91ec-f21c0fb16903","name":"Retrieve the content of a batch","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 15:20:13 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"164"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbdce2a36a3371038004f7b\",\n    \"name\": \"Help Desk CM batch\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 5,\n    \"state\": \"active\",\n    \"contacts\": {\n        \"count\": \"4\"\n    },\n    \"created_at\": \"2018-10-10T10:02:18+0000\"\n}"}],"_postman_id":"4e403f3b-6a73-4083-8135-3d2028d5a350"},{"name":"Update Contact Manager Batch","id":"e3aa1561-55c7-4eae-bbbd-8cd1474c78d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"state\": \"active\"\n}"},"url":"{{api_base_url}}/contact_manager/batches/:id?include=association","description":"<p>Update a Batch</p>\n<p><em>Remark</em> : see details and specificities about the state and the association items in the <strong>Batch</strong> and <strong>Association</strong> object definitions.</p>\n","urlObject":{"path":["contact_manager","batches",":id"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Association</p>\n","type":"text/plain"},"key":"include","value":"association"}],"variable":[{"id":"7d708f93-69db-4a93-91d1-dc576ae28f94","description":{"content":"<p>Batch Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_batch_id}}","key":"id"}]}},"response":[{"id":"4e91ffaa-4c82-4df9-aee1-ad568045aa58","name":"Association creation / update","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"association\": {\n\t\t\"destination\": \"5bbc9eb236a3373a34000fad\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 16:22:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"166"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbe249936a3371038004f80\",\n    \"name\": \"Batch name\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 1,\n    \"state\": \"active\",\n    \"contacts\": {\n        \"count\": \"0\"\n    },\n    \"created_at\": \"2018-10-10T16:11:05+0000\"\n}"},{"id":"ea194822-25c5-4e33-8ff3-bff1faceed48","name":"Update the name of a batch","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Updated name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/contact_manager/batches/5bbe1b0e36a3371038004f7f"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 15:30:43 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"158"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbe1b0e36a3371038004f7f\",\n    \"name\": \"Updated name\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 1,\n    \"state\": \"new\",\n    \"contacts\": {\n        \"count\": \"0\"\n    },\n    \"created_at\": \"2018-10-10T15:30:22+0000\"\n}"},{"id":"c25328b6-ad9a-49e9-905d-b804d2a5fa2b","name":"Enable a Batch","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"state\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 10 Oct 2018 16:19:19 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"167"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbdf80636a3372c5000619d\",\n    \"name\": \"Batch name\",\n    \"base_id\": \"5bbc9eb236a3373a34000fa2\",\n    \"service_id\": 1,\n    \"state\": \"active\",\n    \"contacts\": {\n        \"count\": \"1\"\n    },\n    \"created_at\": \"2018-10-10T13:00:54+0000\"\n}"},{"id":"25a9d03e-1e8e-460d-b72f-f0d3f57e6805","name":"Error : enable a batch with no association","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"state\": \"active\",\n    \"association\": { \n        \"destination\": \"5bbc9eb236a3373a34000fad\" \n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id?include=association","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id"],"query":[{"key":"include","value":"association","description":"(optional) Association"}],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"error\": { \r\n        \"status\": 400, \r\n        \"code\": \"ERR_2015\", \r\n        \"title\": \"Bad request\", \r\n        \"detail\": \"Batch has no association configured, destination is required\" \r\n    } \r\n}"}],"_postman_id":"e3aa1561-55c7-4eae-bbbd-8cd1474c78d0"},{"name":"Delete Contact Manager Batch","id":"77951f7b-30da-4fa6-b502-3411efbac862","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/contact_manager/batches/:id","description":"<p>Delete a batch</p>\n<p><em>Remark</em> : only the Batches with state <strong>new</strong> or <strong>stopped</strong> can be deleted.</p>\n","urlObject":{"path":["contact_manager","batches",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"1220bb34-dc3b-40d9-982f-ff500f66e7d3","description":{"content":"<p>Batch Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_batch_id}}","key":"id"}]}},"response":[{"id":"53908e73-26d3-4107-bf1a-4c1b136bea9b","name":"Delete a batch","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Wed, 10 Oct 2018 16:25:58 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"77951f7b-30da-4fa6-b502-3411efbac862"},{"name":"Get Batch Contacts","id":"02ae5600-644e-4d9a-9b99-3eb3beec25ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/batches/:id/contacts","description":"<p>Retrieve the list of contacts of a batch</p>\n<p><strong>Specificity</strong></p>\n<p>This operation returns the list of contacts which have the same specificities :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>batch</td>\n<td>string</td>\n<td>No</td>\n<td>Yes</td>\n<td>Batch ID.</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>Contact status in the batch. <br /> <em>Remark</em> : Values: “DONE”, “MAX_TRIES”, “PENDING”, “PENDING_ERROR”, and “POSTPONE”.</td>\n</tr>\n<tr>\n<td>qualif</td>\n<td>number</td>\n<td>No</td>\n<td>No</td>\n<td>Contact qualification ID.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Possible values</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>fields <br /> tasks</td>\n<td>No</td>\n<td>To retrieve the contact fields, <code>include=fields</code> must be added to the query <br /> If the contact is attached to several batches, it's possible to get this information by adding <code>include=tasks</code> to the query <br /> Both values are possible by adding <code>include=fields,tasks</code> to the query</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact_manager","batches",":id","contacts"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>(optional) List of values in [fields|tasks]</p>\n","type":"text/plain"},"key":"include","value":null}],"variable":[{"id":"ba362efe-8ef2-4a8c-8f00-351a9bf52274","type":"any","value":"{{cm_batch_id}}","key":"id"}]}},"response":[{"id":"9ecb124b-9aa2-4360-8d8f-4e11179b5eb9","name":"Retrieve batch contacts with their fields and tasks","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id/contacts?include=fields,tasks","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id","contacts"],"query":[{"key":"include","value":"fields,tasks"}],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 09:14:41 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"349"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbca10e36a3372c50006170\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            },\n            \"fields\": {\n                \"data\": [\n                    {\n                        \"value\": \"2018-10-09T12:37:34+0000\",\n                        \"id\": \"5bbc9eb236a3373a34000fb5\",\n                        \"name\": \"contactCreatedAt\",\n                        \"label\": \"Date de création\",\n                        \"type\": \"date\"\n                    },\n                    {\n                        \"value\": \"Alexis\",\n                        \"id\": \"5bbc9eb236a3373a34000fa4\",\n                        \"name\": \"contactLastName\",\n                        \"label\": \"Nom\",\n                        \"type\": \"string\"\n                    },\n                    {\n                        \"value\": \"cursus@maurisaliquameu.edu\",\n                        \"id\": \"5bbc9eb236a3373a34000fb0\",\n                        \"name\": \"contactEmail\",\n                        \"label\": \"Email\",\n                        \"type\": \"email\"\n                    },\n                    {\n                        \"value\": \"3708\",\n                        \"id\": \"5bbc9eb236a3373a34000fad\",\n                        \"name\": \"contactPhoneNumber\",\n                        \"label\": \"Fixe\",\n                        \"type\": \"phone\"\n                    }\n                ]\n            },\n            \"tasks\": {\n                \"data\": [\n                    {\n                        \"batch\": \"5bbdce2a36a3371038004f7b\",\n                        \"state\": \"PENDING\",\n                        \"qualif\": 0\n                    },\n                    {\n                        \"batch\": \"5bbdf80636a3372c5000619d\",\n                        \"state\": \"PENDING\",\n                        \"qualif\": 0\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"0a88c486-5db3-496e-8a5d-823018f11786","name":"Retrive batch contacts","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id/contacts","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id","contacts"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 09:14:18 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"90"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bbca10e36a3372c50006170\",\n            \"base\": {\n                \"id\": \"5bbc9eb236a3373a34000fa2\"\n            }\n        }\n    ]\n}"}],"_postman_id":"02ae5600-644e-4d9a-9b99-3eb3beec25ca"},{"name":"Add Batch Contacts","id":"62ce5a1b-efd5-47c5-8a2d-3d80c93d94f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t\"5bbca10e36a3372c50006179\", \"5bbca10e36a3372c50006177\", \"5bbca10e36a3372c5000616b\"\n]"},"url":"{{api_base_url}}/contact_manager/batches/:id/contacts","description":"<p>Add contacts to a batch</p>\n<p><em>Remark</em> : To add contacts to a batch, these contacts must exist in the associated database.</p>\n<p><strong>Answer codes</strong> :</p>\n<ul>\n<li>\"204 No content\" when there is no problem.</li>\n<li>\"400 Bad Request\" if the content is invalid (e.g.: invalid JSON), if there is no contact to import, if contacts are already included in the batch...</li>\n</ul>\n","urlObject":{"path":["contact_manager","batches",":id","contacts"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"55a01a8d-2b4b-4af8-80a4-e449fe0a5ad5","description":{"content":"<p>Batch Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_batch_id}}","key":"id"}]}},"response":[{"id":"9567155f-1c1c-4bb9-a04d-f6aae79ed3ab","name":"Error : No contact to add","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t\"5bbca10e36a3372c50006179\", \"5bbca10e36a3372c50006177\", \"5bbca10e36a3372c5000616b\"\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id/contacts","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id","contacts"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 12:57:55 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"136"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_2020\",\n        \"title\": \"Bad request\",\n        \"detail\": \"No contact to import. Please add contact(s) before trying again\"\n    }\n}"},{"id":"d74c2283-c725-4f82-a0ea-19b3f44aedab","name":"Add contacts to a batch","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t\"5bbca10e36a3372c50006179\", \"5bbca10e36a3372c50006177\", \"5bbca10e36a3372c5000616b\"\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/batches/:id/contacts","host":["{{api_base_url}}"],"path":["contact_manager","batches",":id","contacts"],"variable":[{"key":"id","value":"{{cm_batch_id}}","description":"Batch Id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 11 Oct 2018 12:37:19 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"62ce5a1b-efd5-47c5-8a2d-3d80c93d94f1"}],"id":"2b211853-0446-48b8-a1ad-1226ba73e8ba","description":"<p>Operations on the Contact Manager Batches</p>\n<h2 id=\"elements-of-the-batch-object\">Elements of the \"Batch\" object</h2>\n<p><strong>“Batch” object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>No</td>\n<td>Yes</td>\n<td>Batch ID.</td>\n</tr>\n<tr>\n<td>service.id</td>\n<td>string</td>\n<td>Yes</td>\n<td>Yes</td>\n<td>ID of the service associated with the batch.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>Batch name. <br /> <em>Remark</em> : It is unique.</td>\n</tr>\n<tr>\n<td>contacts.count</td>\n<td>number</td>\n<td>No</td>\n<td>Yes</td>\n<td>Number of contacts in the batch.</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>dateTime</td>\n<td>No</td>\n<td>Yes</td>\n<td>Date of creation of the batch (ISO8601 format). <br /> <em>Example</em> : 2030 10 24T16:00:00+0000.</td>\n</tr>\n<tr>\n<td>association</td>\n<td>object (Association)</td>\n<td>No</td>\n<td>No</td>\n<td>Association used to insert tasks in Kiamo.</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Batch status : <br /> ✓ \"new\",  <br /> ✓ \"active\", <br /> ✓ \"inactive\", <br /> ✓ \"stop \". <br /> <em>Remarks</em> : <br /> - you cannot edit a batch with the status : ”closed”. <br /> - a batch in the \"new\" status cannot be changed to “stop” or “inactive”. <br /> - if an association is provided, the batch directly changes status to “active”.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>“Association” sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>destination</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Filed ID in the Contact Manager associated with the \"destination” of the task.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Filed ID in the Contact Manager associated with the \"reference” of the task.</td>\n</tr>\n<tr>\n<td>callback_date</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Filed ID in the Contact Manager associated with the \"callback date” of the task (ISO8601 format).</td>\n</tr>\n<tr>\n<td>agent_id</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Filed ID in the Contact Manager associated with the ID of the agent to whom the task has been assigned.</td>\n</tr>\n<tr>\n<td>agent_login</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Filed ID in the Contact Manager associated with the login of the agent to whom the task has been assigned. <br /> <em>Remark</em> : If the “agent_id” is completed, this field will not be used.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Specificities of the \"Association\" sub-object</strong></p>\n<p>Associating a batch consists in mapping the fields available in the Contact Manager with the fields of a Kiamo task. This association is mandatory to enable a batch.</p>\n<p>It is made of several properties (“destination”, “agent_id”, etc.) used differently depending on the type of service.</p>\n<p><em><strong>Outbound call campaigns</strong></em></p>\n<p>For batches associated with an outbound call campaign in which the <em><strong>multi dialing option has not been configured</strong></em>, the \"destination” property is mandatory.</p>\n<p>For batches associated with an outbound call campaign in which the <em><strong>multi dialing option has been configured</strong></em>, the \"destination” property is optional.</p>\n<p>The other properties are optional.</p>\n<p><em><strong>Automatic processing</strong></em></p>\n<p>In the case of a batch associated with an automatic processing service, all properties are optional.</p>\n<p><em><strong>Task distribution</strong></em></p>\n<p>In the case of a batch associated with a task distribution service, the “destination” property is not available and should not be sent.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"59fb8b05-d191-4793-a6a5-efcfd78d98b7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3804a1dd-8ff8-4e62-8f42-e8c1ad1cd021"}}],"_postman_id":"2b211853-0446-48b8-a1ad-1226ba73e8ba"},{"name":"contacts","item":[{"name":"Get Contact Manager Contact","id":"1a8accae-24cd-4715-85e0-8aedc2cf7719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"}],"url":"{{api_base_url}}/contact_manager/contacts/:id","description":"<p>Retrieve contact data</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Possible values</th>\n<th>Required?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>fields <br /> tasks</td>\n<td>No</td>\n<td>To retrieve the contact fields, <code>include=fields</code> must be added to the query <br /> If the contact is attached to several batches, it's possible to get this information by adding <code>include=tasks</code> to the query <br /> Both values are possible by adding <code>include=fields,tasks</code> to the query</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["contact_manager","contacts",":id"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>(optional) List of values in [fields|tasks]</p>\n","type":"text/plain"},"key":"include","value":null}],"variable":[{"id":"4ada3dee-f6cb-40b0-a00a-1c013f1486da","description":{"content":"<p>Contact Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_contact_id}}","key":"id"}]}},"response":[{"id":"14ab3b12-e2bb-45af-9ddc-d0e17d4a30e3","name":"Retrieve a contact with its tasks","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"}],"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id?include=tasks","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"query":[{"key":"include","value":"tasks"}],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 13:13:52 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"142"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbca10e36a3372c50006177\",\n    \"base\": {\n        \"id\": \"5bbc9eb236a3373a34000fa2\"\n    },\n    \"tasks\": {\n        \"data\": [\n            {\n                \"batch\": \"5bbdce2a36a3371038004f7b\",\n                \"state\": \"PENDING\",\n                \"qualif\": 0\n            }\n        ]\n    }\n}"},{"id":"bf09f479-812d-4544-b21f-063c19d1360d","name":"Retrieve a contact","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"}],"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 13:13:14 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"81"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbca10e36a3372c50006177\",\n    \"base\": {\n        \"id\": \"5bbc9eb236a3373a34000fa2\"\n    }\n}"},{"id":"8b39fccd-fe5b-4469-a56c-b8cdfdd7a70c","name":"Retrieve a contact with its fields and tasks","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"}],"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id?include=fields,tasks","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"query":[{"key":"include","value":"fields,tasks"}],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 13:14:10 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"334"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbca10e36a3372c50006177\",\n    \"base\": {\n        \"id\": \"5bbc9eb236a3373a34000fa2\"\n    },\n    \"fields\": {\n        \"data\": [\n            {\n                \"value\": \"2018-10-09T12:37:34+0000\",\n                \"id\": \"5bbc9eb236a3373a34000fb5\",\n                \"name\": \"contactCreatedAt\",\n                \"label\": \"Date de création\",\n                \"type\": \"date\"\n            },\n            {\n                \"value\": \"Benjamin\",\n                \"id\": \"5bbc9eb236a3373a34000fa4\",\n                \"name\": \"contactLastName\",\n                \"label\": \"Nom\",\n                \"type\": \"string\"\n            },\n            {\n                \"value\": \"In.condimentum@magnis.edu\",\n                \"id\": \"5bbc9eb236a3373a34000fb0\",\n                \"name\": \"contactEmail\",\n                \"label\": \"Email\",\n                \"type\": \"email\"\n            },\n            {\n                \"value\": \"3708\",\n                \"id\": \"5bbc9eb236a3373a34000fad\",\n                \"name\": \"contactPhoneNumber\",\n                \"label\": \"Fixe\",\n                \"type\": \"phone\"\n            }\n        ]\n    },\n    \"tasks\": {\n        \"data\": [\n            {\n                \"batch\": \"5bbdce2a36a3371038004f7b\",\n                \"state\": \"PENDING\",\n                \"qualif\": 0\n            }\n        ]\n    }\n}"},{"id":"b3cadc9e-51e8-4014-b7b9-1374aa2a773d","name":"Retrieve a contact with its fields","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"}],"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id?include=fields","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"query":[{"key":"include","value":"fields"}],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 13:13:36 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"286"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbca10e36a3372c50006177\",\n    \"base\": {\n        \"id\": \"5bbc9eb236a3373a34000fa2\"\n    },\n    \"fields\": {\n        \"data\": [\n            {\n                \"value\": \"2018-10-09T12:37:34+0000\",\n                \"id\": \"5bbc9eb236a3373a34000fb5\",\n                \"name\": \"contactCreatedAt\",\n                \"label\": \"Date de création\",\n                \"type\": \"date\"\n            },\n            {\n                \"value\": \"Benjamin\",\n                \"id\": \"5bbc9eb236a3373a34000fa4\",\n                \"name\": \"contactLastName\",\n                \"label\": \"Nom\",\n                \"type\": \"string\"\n            },\n            {\n                \"value\": \"In.condimentum@magnis.edu\",\n                \"id\": \"5bbc9eb236a3373a34000fb0\",\n                \"name\": \"contactEmail\",\n                \"label\": \"Email\",\n                \"type\": \"email\"\n            },\n            {\n                \"value\": \"3708\",\n                \"id\": \"5bbc9eb236a3373a34000fad\",\n                \"name\": \"contactPhoneNumber\",\n                \"label\": \"Fixe\",\n                \"type\": \"phone\"\n            }\n        ]\n    }\n}"}],"_postman_id":"1a8accae-24cd-4715-85e0-8aedc2cf7719"},{"name":"Update Contact Manager Contact","id":"82ff1f3a-7135-4b97-be3b-2d3cbe0003b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"fields\": [{\n\t\t\"name\": \"contactTitle\",\n\t\t\"value\" : \"Mr\"\n\t},\n\t{\n\t\t\"name\": \"contactFirstName\",\n\t\t\"value\" : \"John\"\n\t},\n\t{\n\t\t\"name\": \"contactLastName\",\n\t\t\"value\" : \"Doo\"\n\t}]\n}"},"url":"{{api_base_url}}/contact_manager/contacts/:id?include=fields","description":"<p>Update a contact</p>\n","urlObject":{"path":["contact_manager","contacts",":id"],"host":["{{api_base_url}}"],"query":[{"key":"include","value":"fields"}],"variable":[{"id":"4eafffa5-4c52-4585-b018-7906b858240c","description":{"content":"<p>Contact Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_contact_id}}","key":"id"}]}},"response":[{"id":"2d916078-546d-43bc-8f82-be780ce88d8d","name":"Update a contact's field","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"fields\": [{\n\t\t\"name\": \"contactTitle\",\n\t\t\"value\" : \"Mr\"\n\t}]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id?include=fields","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"query":[{"key":"include","value":"fields"}],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 14:11:08 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"305"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbca10e36a3372c50006177\",\n    \"base\": {\n        \"id\": \"5bbc9eb236a3373a34000fa2\"\n    },\n    \"fields\": {\n        \"data\": [\n            {\n                \"value\": \"2018-10-09T12:37:34+0000\",\n                \"id\": \"5bbc9eb236a3373a34000fb5\",\n                \"name\": \"contactCreatedAt\",\n                \"label\": \"Date de création\",\n                \"type\": \"date\"\n            },\n            {\n                \"value\": \"John\",\n                \"id\": \"5bbc9eb236a3373a34000fa5\",\n                \"name\": \"contactFirstName\",\n                \"label\": \"Prenom\",\n                \"type\": \"string\"\n            },\n            {\n                \"value\": \"Doo\",\n                \"id\": \"5bbc9eb236a3373a34000fa4\",\n                \"name\": \"contactLastName\",\n                \"label\": \"Nom\",\n                \"type\": \"string\"\n            },\n            {\n                \"value\": \"In.condimentum@magnis.edu\",\n                \"id\": \"5bbc9eb236a3373a34000fb0\",\n                \"name\": \"contactEmail\",\n                \"label\": \"Email\",\n                \"type\": \"email\"\n            },\n            {\n                \"value\": \"0123456789\",\n                \"id\": \"5bbc9eb236a3373a34000fad\",\n                \"name\": \"contactPhoneNumber\",\n                \"label\": \"Fixe\",\n                \"type\": \"phone\"\n            },\n            {\n                \"value\": \"Mr\",\n                \"id\": \"5bbc9eb236a3373a34000fa3\",\n                \"name\": \"contactTitle\",\n                \"label\": \"Titre\",\n                \"type\": \"string\"\n            }\n        ]\n    }\n}"},{"id":"3d0d32fe-698c-49fa-9bc1-bced34c67b00","name":"Update of several contact's fields","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"fields\": [{\n\t\t\"name\": \"contactTitle\",\n\t\t\"value\" : \"Mr\"\n\t},\n\t{\n\t\t\"name\": \"contactFirstName\",\n\t\t\"value\" : \"John\"\n\t},\n\t{\n\t\t\"name\": \"contactLastName\",\n\t\t\"value\" : \"Doo\"\n\t}]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id?include=fields","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"query":[{"key":"include","value":"fields"}],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 14:12:19 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"304"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5bbca10e36a3372c50006177\",\n    \"base\": {\n        \"id\": \"5bbc9eb236a3373a34000fa2\"\n    },\n    \"fields\": {\n        \"data\": [\n            {\n                \"value\": \"2018-10-09T12:37:34+0000\",\n                \"id\": \"5bbc9eb236a3373a34000fb5\",\n                \"name\": \"contactCreatedAt\",\n                \"label\": \"Date de création\",\n                \"type\": \"date\"\n            },\n            {\n                \"value\": \"John\",\n                \"id\": \"5bbc9eb236a3373a34000fa5\",\n                \"name\": \"contactFirstName\",\n                \"label\": \"Prenom\",\n                \"type\": \"string\"\n            },\n            {\n                \"value\": \"Doo\",\n                \"id\": \"5bbc9eb236a3373a34000fa4\",\n                \"name\": \"contactLastName\",\n                \"label\": \"Nom\",\n                \"type\": \"string\"\n            },\n            {\n                \"value\": \"In.condimentum@magnis.edu\",\n                \"id\": \"5bbc9eb236a3373a34000fb0\",\n                \"name\": \"contactEmail\",\n                \"label\": \"Email\",\n                \"type\": \"email\"\n            },\n            {\n                \"value\": \"0123456789\",\n                \"id\": \"5bbc9eb236a3373a34000fad\",\n                \"name\": \"contactPhoneNumber\",\n                \"label\": \"Fixe\",\n                \"type\": \"phone\"\n            },\n            {\n                \"value\": \"Mr\",\n                \"id\": \"5bbc9eb236a3373a34000fa3\",\n                \"name\": \"contactTitle\",\n                \"label\": \"Titre\",\n                \"type\": \"string\"\n            }\n        ]\n    }\n}"}],"_postman_id":"82ff1f3a-7135-4b97-be3b-2d3cbe0003b1"},{"name":"Delete Contact Manager Contact","id":"c9891e60-1308-44ef-85e8-0c648be20284","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/contact_manager/contacts/:id","description":"<p>Delete a contact</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ \"204 No Content\" when there is no problem.</p>\n","urlObject":{"path":["contact_manager","contacts",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a54327f3-fd84-47f1-ab21-29cf8cacd18f","description":{"content":"<p>Contact Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_contact_id}}","key":"id"}]}},"response":[{"id":"74b43328-364e-46c0-828f-d269734c8e9b","name":"Delete a contact","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 11 Oct 2018 14:20:55 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""},{"id":"f9f76532-e935-44ef-9721-dac1d963aee1","name":"Error : contact belongs to a batch","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/contact_manager/contacts/:id","host":["{{api_base_url}}"],"path":["contact_manager","contacts",":id"],"variable":[{"key":"id","value":"{{cm_contact_id}}","description":"Contact Id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Oct 2018 14:21:26 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"status\": 400,\n        \"code\": \"ERR_2030\",\n        \"title\": \"Bad request\",\n        \"detail\": \"Contact exists in at least one batch. Impossible to delete him\"\n    }\n}"}],"_postman_id":"c9891e60-1308-44ef-85e8-0c648be20284"}],"id":"28766674-0f8f-40fb-bff3-d47fbe1536f5","description":"<p>Operations on the Contact Manager Contacts</p>\n<h2 id=\"elements-of-the-contact-object\">Elements of the \"Contact\" object</h2>\n<p><strong>“Contact” object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>No</td>\n<td>Yes</td>\n<td>Contact ID.</td>\n</tr>\n<tr>\n<td>base.id</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>Contacts database ID.</td>\n</tr>\n<tr>\n<td>fields</td>\n<td>object (<strong>Field</strong>)</td>\n<td>Yes</td>\n<td>No</td>\n<td>List of the fields for the contact</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>“Field” sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>Field name. <br /> <em>Remark</em> : It is unique.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td>Tes</td>\n<td>No</td>\n<td>Field value.</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Remark</em> : only the fields with a non empty value are stored in the Contacts Database and thus returned by a query request.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"108a6fd2-a602-459b-b363-0f0bdb33e689"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ea5798c6-18f1-4680-80da-8b1a5e5ad9d9"}}],"_postman_id":"28766674-0f8f-40fb-bff3-d47fbe1536f5"},{"name":"fields","item":[{"name":"Get Contact Manager Field","id":"fcdf9d6d-c1e6-44a3-aca5-487745aa931b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":"{{api_base_url}}/contact_manager/fields/:id","description":"<p>Retrieve the content of a field</p>\n","urlObject":{"path":["contact_manager","fields",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"5f9c1cf2-a637-46a5-b1f6-5d44140f702c","description":{"content":"<p>Field Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_field_id}}","key":"id"}]}},"response":[{"id":"ca3d9910-029c-4fd8-b058-ef53f590411f","name":"Retrieve the content of a field","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"url":{"raw":"{{api_base_url}}/contact_manager/fields/:id","host":["{{api_base_url}}"],"path":["contact_manager","fields",":id"],"variable":[{"key":"id","value":"{{cm_field_id}}","description":"Field Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"id\": \"5c81117620175910e0002314\", \r\n    \"base\": { \r\n        \"id\": \"5c81114220175916f4005d5c\" \r\n    }, \r\n    \"name\": \"Contract\", \r\n    \"label\": \"Contract\", \r\n    \"datatype\": \"string\", \r\n    \"type\": \"user\" \r\n}"}],"_postman_id":"fcdf9d6d-c1e6-44a3-aca5-487745aa931b"},{"name":"Update Contact Manager Field","id":"3c52e740-e283-4c71-9eaf-4e8e0c22c7cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"name\",\n    \"label\": \"label\",\n    \"datatype\": \"string\" \n}"},"url":"{{api_base_url}}/contact_manager/fields/:id","description":"<p>Edit a user-type field</p>\n<p><em>Remark</em> : You can only edit user type fields. Default type fields cannot be edited.</p>\n","urlObject":{"path":["contact_manager","fields",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"cdaa47e6-f24e-4fdd-be47-8e8f85a654b0","description":{"content":"<p>Field Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_field_id}}","key":"id"}]}},"response":[{"id":"553ccb42-6db4-485d-8bdf-f862b44db455","name":"Update a user-type field","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"New_Name\", \n    \"label\": \"New name\", \n    \"datatype\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/contact_manager/fields/:id","host":["{{api_base_url}}"],"path":["contact_manager","fields",":id"],"variable":[{"key":"id","value":"{{cm_field_id}}","description":"Field Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"id\": \"5c81364a20175910e0002339\", \r\n    \"base\": { \r\n        \"id\": \"5c81114220175916f4005d5c\" \r\n    }, \r\n    \"name\": \"New_Name\", \r\n    \"label\": \"New name\", \r\n    \"datatype\": \"string\", \r\n    \"type\": \"user\" \r\n}"}],"_postman_id":"3c52e740-e283-4c71-9eaf-4e8e0c22c7cc"},{"name":"Delete Contact Manager Field","id":"abd23021-6e8b-4efb-a34c-c0815d951a0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/contact_manager/fields/:id","description":"<p>Delete a user-type field</p>\n<p><em>Remark</em> : You can only delete user type fields. Default type fields cannot be deleted.</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ \"204 No Content\" when there is no problem.</p>\n","urlObject":{"path":["contact_manager","fields",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"364763ce-9e55-4311-a83b-a3f0de363946","description":{"content":"<p>Field Id</p>\n","type":"text/plain"},"type":"any","value":"{{cm_field_id}}","key":"id"}]}},"response":[{"id":"4440697e-5ab9-4ec4-8969-2dca7fbe957d","name":"Delete a user-type field","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_cm}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/contact_manager/fields/:id","host":["{{api_base_url}}"],"path":["contact_manager","fields",":id"],"variable":[{"key":"id","value":"{{cm_field_id}}","description":"Field Id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"abd23021-6e8b-4efb-a34c-c0815d951a0a"}],"id":"8db83373-9564-4bcd-b5c8-3ac9b6aa59cb","description":"<p>Operations on the fields</p>\n<h2 id=\"elements-of-the-field-object\">Elements of the \"Field\" object</h2>\n<p><strong>“Field” object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Required?</th>\n<th>Read Only?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>No</td>\n<td>Yes</td>\n<td>Field ID.</td>\n</tr>\n<tr>\n<td>base.id</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>ID of the database containing the field.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Field name. <br /> <em>Remark</em> : This name cannot contain accented or special characters.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Field label.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>No</td>\n<td>No</td>\n<td>Field type: \"User\" or \"Default\". <br /> <em>Remark</em> : Default fields cannot be edited or deleted. You can only add user fields.</td>\n</tr>\n<tr>\n<td>datatype</td>\n<td>string</td>\n<td>Yes</td>\n<td>No</td>\n<td>Field format : <br /> ✓ \"int\" <br /> ✓ \"date\" <br /> ✓ \"phone\" <br /> ✓ \"email\" <br /> ✓ \"string\"</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"cdc744e0-c40b-4982-9e8c-b77455b49c5b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"822598d4-4f27-4552-bca1-42b199448f18"}}],"_postman_id":"8db83373-9564-4bcd-b5c8-3ac9b6aa59cb"}],"id":"f717e568-bd37-484d-bfba-731701605075","description":"<h1 id=\"api-contact-manager\">API CONTACT MANAGER</h1>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5adff9e3-c363-484c-ad57-1b1b9e2878b9"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a913f49c-49f7-4c4b-9d99-886b09cba99f"}}],"_postman_id":"f717e568-bd37-484d-bfba-731701605075"},{"name":"interactions","item":[{"name":"interactions","item":[{"name":"Get Interactions","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"f85f033b-2686-4d09-a80e-f3eea9ce2898"}}],"id":"4a7e9ff5-6e60-4eed-b5cc-b43d153cb1ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":"{{api_base_url}}/interactions?include=media","description":"<p>Retrieve all the interactions, whatever the media or the interaction status</p>\n<p><strong>Query parameters</strong></p>\n<p>Query parameters are a set of parameters placed in the URL in order to refine the results of your request.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>contact_email</td>\n<td>string</td>\n<td>Contact’s email address.</td>\n</tr>\n<tr>\n<td>contact_phone</td>\n<td>number</td>\n<td>Contact’s phone number.</td>\n</tr>\n<tr>\n<td>contact_reference</td>\n<td>string</td>\n<td>Contact’s reference.</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media:  <br />✓ call  <br />✓ email  <br />✓ messaging  <br />✓ custom  <br />✓ chat</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>interaction_ref</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction.  <br /><em>Remark</em>: This element can have the following values:  <br />✓ wait,  <br />✓ work,  <br />✓ done.  <br /><em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed.  <br />Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n<tr>\n<td>next_id</td>\n<td>string</td>\n<td>ID of the interaction after which the next interactions will be returned.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>string</td>\n<td>ID of the qualifications given to the interaction.  <br /><em>Example</em>: tags=1+7 to retrieve the interactions that have been qualified with the qualifications that have the ID 1 and 7.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Elements of the “Interactions” collection</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>meta</td>\n<td>object</td>\n<td>Information about the result (e.g.: number of results, link to the following results...).</td>\n</tr>\n<tr>\n<td>data</td>\n<td>N <strong>Interaction</strong> Objects</td>\n<td>Interaction table.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example details</strong></p>\n<p>Here are some details about the provided examples.</p>\n<ul>\n<li><p><em><strong>1st example: Retrieve an email-type list of interactions</strong></em></p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions/emails?include=media</code></p>\n<p>  <em>Answer</em></p>\n<p>  This request returns a list of interactions with shared elements whatever the interaction type, and with specific elements depending on the type of media and the status of the interaction.</p>\n<p>  <strong>Caution</strong>: This example only contains shared elements. Elements specific to each media type are detailed in the next chapters.</p>\n<p>  Answer code</p>\n<p>  The API returns code \"200 Ok\" when there is no problem.</p>\n</li>\n<li><p><em><strong>2nd example: Retrieve a list of processed interactions for a contact using his phone number</strong></em></p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_phone=0556572020&amp;states=done</code></p>\n<p>  <em>Answer</em></p>\n<p>  This request returns the list of interactions that have been processed for the same contact, whatever the type of media.</p>\n</li>\n<li><p><em><strong>3rd example: Retrieve a list of interactions using the contact’s email address</strong></em></p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_email=didier.martin@mycompany.com</code></p>\n<p>  <em>Answer</em></p>\n<p>  This request returns the list of interactions for this contact, whatever the status of the interaction (See previous example).</p>\n</li>\n<li><p><em><strong>4th example: Retrieve a list of interactions using the contact’s reference</strong></em></p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_reference=CDS784</code></p>\n<p>  <em>Answer</em></p>\n<p>  This request returns the list of interactions for this contact, whatever the status of the interaction (See: 2nd example).</p>\n</li>\n<li><p><em><strong>5th example: Retrieve contact using several criteria (phone &amp; email)</strong></em></p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_email=didier.martin@mycompany.com&amp;contact_phone=0175235698</code></p>\n<p>  <em>Answer</em></p>\n<p>  This query request returns the list of interactions for contacts matching at least one of the defined criteria, whatever the status of the interaction.</p>\n</li>\n<li><p><em><strong>6th example: Retrieve a contact using several parameters of the same type</strong></em></p>\n<p>  You can combine several parameters of the same type: contact_email, contact_phone, contact_reference.</p>\n<p>  You just have to add brackets after the parameter (e.g.: contact_reference[]).</p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_email[]=didier.martin@mycompany.com&amp;contact_email[]=d.martin@myprivateemail.com</code></p>\n<p>  <em>Answer</em></p>\n<p>  This request returns the list of interactions for contacts matching at least one of the defined parameters, whatever the status of the interaction.</p>\n</li>\n<li><p><em><strong>7th example: Retrieve a contact using several criteria and several parameters of the same type</strong></em></p>\n<p>  <em>Request example</em></p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_email[]=john.martin@mycompany.com&amp;contact_email[]=d.martin@myprivateemail.com&amp;contact_phone[]=0175235698&amp;contact_reference[]=100153</code></p>\n<p>  <em>Remark</em>: If a type of parameter is unique, brackets are not mandatory. Thus, you can also send the following request:</p>\n<p>  <code>GET http://{{api_base_url}}/interactions?include=media&amp;contact_email[]=john.martin@mycompany.com&amp;contact_email[]=d.martin@myprivateemail.com&amp;contact_phone=0175235698&amp;contact_reference[]=100153</code></p>\n<p>  However, we recommend using brackets so as to avoid mistakes.</p>\n<p>  <em>Answer</em></p>\n<p>  This request returns the list of interactions for contacts matching at least one of the defined criteria and/or one of the defined parameters, whatever the status of the interaction.</p>\n</li>\n</ul>\n","urlObject":{"path":["interactions"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"},{"disabled":true,"key":"per_page","value":null},{"disabled":true,"key":"contact_phone","value":null},{"disabled":true,"key":"contact_email","value":null},{"disabled":true,"key":"contact_reference","value":null},{"disabled":true,"key":"company_reference","value":null},{"disabled":true,"key":"file_reference","value":null},{"disabled":true,"key":"ticket_reference","value":null},{"disabled":true,"key":"in_date_start","value":null},{"disabled":true,"key":"in_date_end","value":null},{"disabled":true,"key":"media","value":null},{"disabled":true,"key":"next_id","value":null},{"disabled":true,"key":"sort","value":null},{"disabled":true,"key":"task_ref","value":null},{"disabled":true,"key":"attached_ref","value":null},{"disabled":true,"key":"reference","value":null},{"disabled":true,"key":"states","value":null},{"disabled":true,"key":"service_ids","value":null},{"disabled":true,"key":"agent_ids","value":null},{"disabled":true,"key":"include_drafts","value":null}],"variable":[]}},"response":[{"id":"fffbc62c-0e76-4460-a576-deac2a6c266b","name":"Retrieve a contact using several parameters of the same type","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?contact_email[]=didier.martin@mycompa\nny.com&contact_email[]=d.martin@myprivateemail.com&include=media","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"per_page","value":null,"disabled":true},{"key":"contact_phone","value":null,"disabled":true},{"key":"contact_email","value":null,"disabled":true},{"key":"contact_reference","value":null,"disabled":true},{"key":"company_reference","value":null,"disabled":true},{"key":"file_reference","value":null,"disabled":true},{"key":"ticket_reference","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":null,"disabled":true},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true},{"key":"contact_email[]","value":"didier.martin@mycompa\nny.com"},{"key":"contact_email[]","value":"d.martin@myprivateemail.com"},{"key":"include","value":"media"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"task_ref\": 100051,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:49:00+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:49:01+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7e9a1849bfc6be58f99af8\",\r\n            \"task_ref\": 100050,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 2\r\n        }\r\n    }\r\n}"},{"id":"0d6771be-c876-4ff0-95e8-f2c33c261e9b","name":"Retrieve all interactions with media info","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?include=media","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"include","value":"media"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 15 Oct 2018 15:26:56 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"4030"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bc4aa8b36a3372f6c002bd6\",\n            \"task_ref\": 100060,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2018-10-15T14:56:11+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 3,\n                \"name\": \"Messages entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MESSAGINGIN\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"messaging\",\n                \"messages\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/api/interactions/messaging/100060/messages\"\n                    },\n                    \"count\": 1\n                },\n                \"connectors\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/api/interactions/messaging/100060/connectors\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342c\",\n            \"task_ref\": 100055,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100055,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"PJ\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\"><br clear=\\\"all\\\"><div><br></div>-- <br><div class=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><table width=\\\"600px\\\" style=\\\"font-family:&#39;Times New Roman&#39;\\\"><tbody><tr><td width=\\\"135px\\\"><img width=\\\"135px\\\" height=\\\"67px\\\" src=\\\"http://www.conecteo.fr/images/upload/logo-signature.png\\\"></td><td style=\\\"border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,132,0);padding-left:5px\\\"><span style=\\\"font-family:Arial;font-size:14px\\\"><strong>Riad Chebel</strong></span><br><span style=\\\"font-family:Arial;font-size:12px\\\"><i><font color=\\\"#e69138\\\">Développeur WEB</font></i><br>T. +33 5 47 48 33 20<br><a href=\\\"mailto:rchebel@conecteo.fr\\\" target=\\\"_blank\\\">rchebel@conecteo.fr</a> | <a href=\\\"http://www.conecteo.fr/\\\" style=\\\"color:rgb(0,0,0)\\\" target=\\\"_blank\\\">www.conecteo.fr</a><br><strong>Conecteo</strong> - 03 Allée Jacques Latrille - 33650 Martillac</span></td></tr></tbody></table></div></div></div></div></div></div>\\r\\n</div>\\r\\n\",\n                    \"text\": \"\\r\\n-- \\r\\n*Riad Chebel*\\r\\n*Développeur WEB*\\r\\nT. +33 5 47 48 33 20\\r\\nrchebel@conecteo.fr | www.conecteo.fr\\r\\n*Conecteo* - 03 Allée Jacques Latrille - 33650 Martillac\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2015-10-08T10:42:40+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@conecteo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@conecteo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100055/attachments?include=metadata\"\n                    },\n                    \"list\": [\n                        \"LicencesPHPStorm.pdf\",\n                        \"Rapport-TR0473SAN001 - DEVENIR TUTEUR ENTREPRISE_CLEFS DE LA REUSSITE-Riad-Chebel.pdf\",\n                        \"revocation-mandat-prelevement.pdf\"\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342d\",\n            \"task_ref\": 100057,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100057,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"Email simple\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\"><span style=\\\"color:rgb(0,0,0);font-family:Arial,Helvetica,sans;font-size:11px;line-height:14px;text-align:justify\\\">Maecenas cursus arcu dui, eget rutrum est rutrum commodo. Aenean id tristique erat. Curabitur porttitor urna sit amet sagittis commodo. Etiam vestibulum metus nec metus commodo congue. Integer sodales mi libero, eget laoreet ipsum interdum et. Nullam sit amet eros neque. Ut neque diam, tincidunt vel accumsan ac, posuere placerat massa. Suspendisse malesuada lacus non nulla bibendum efficitur. Cras ac pretium neque. Morbi arcu ante, aliquam ac nisi vitae, molestie ullamcorper ex. Praesent maximus, mi blandit finibus suscipit, mi velit dapibus lacus, et rutrum neque eros vel arcu. Maecenas vitae accumsan mauris, sed euismod ante. Pellentesque tristique nunc in lorem viverra porta.</span><br clear=\\\"all\\\"><div><br></div>-- <br><div class=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><div dir=\\\"ltr\\\"><div dir=\\\"ltr\\\"><table width=\\\"600px\\\" style=\\\"font-family:&#39;Times New Roman&#39;\\\"><tbody><tr><td width=\\\"135px\\\"><a href=\\\"http://my.kiamo.fr/\\\" target=\\\"_blank\\\"><span></span><span></span><img src=\\\"https://docs.google.com/uc?export=download&amp;id=0B-FoMqjnNS9XNXdEMDdLZzlPYWc&amp;revid=0B-FoMqjnNS9XdS9hcW5DUXlub21ybWVDUDg4VVI2MHhuU2tzPQ\\\"></a></td><td style=\\\"border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,132,0);padding-left:5px\\\"><span style=\\\"font-family:Arial;font-size:14px\\\"><strong>Riad Chebel</strong></span><br><span style=\\\"font-family:Arial;font-size:12px\\\"><i><font color=\\\"#e69138\\\">Développeur WEB</font></i><br>T. +33 5 47 48 33 20<br><a href=\\\"mailto:rchebel@conecteo.fr\\\" target=\\\"_blank\\\">rchebel@conecteo.fr</a> | <a href=\\\"http://www.conecteo.fr/\\\" style=\\\"color:rgb(0,0,0)\\\" target=\\\"_blank\\\">www.conecteo.fr</a><br><strong>Conecteo</strong> - 03 Allée Jacques Latrille - 33650 Martillac</span></td></tr></tbody></table></div></div></div></div></div></div>\\r\\n</div>\\r\\n\",\n                    \"text\": \"\\r\\nMaecenas cursus arcu dui, eget rutrum est rutrum commodo. Aenean id\\r\\ntristique erat. Curabitur porttitor urna sit amet sagittis commodo. Etiam\\r\\nvestibulum metus nec metus commodo congue. Integer sodales mi libero, eget\\r\\nlaoreet ipsum interdum et. Nullam sit amet eros neque. Ut neque diam,\\r\\ntincidunt vel accumsan ac, posuere placerat massa. Suspendisse malesuada\\r\\nlacus non nulla bibendum efficitur. Cras ac pretium neque. Morbi arcu ante,\\r\\naliquam ac nisi vitae, molestie ullamcorper ex. Praesent maximus, mi\\r\\nblandit finibus suscipit, mi velit dapibus lacus, et rutrum neque eros vel\\r\\narcu. Maecenas vitae accumsan mauris, sed euismod ante. Pellentesque\\r\\ntristique nunc in lorem viverra porta.\\r\\n\\r\\n-- \\r\\n<http://my.kiamo.fr/>*Riad Chebel*\\r\\n*Développeur WEB*\\r\\nT. +33 5 47 48 33 20\\r\\nrchebel@conecteo.fr | www.conecteo.fr\\r\\n*Conecteo* - 03 Allée Jacques Latrille - 33650 Martillac\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2015-11-27T16:25:02+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@conecteo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@conecteo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100057/attachments?include=metadata\"\n                    },\n                    \"list\": []\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342e\",\n            \"task_ref\": 100056,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100056,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"Sans pièces jointes\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\">Test<br clear=\\\"all\\\"><div><br></div><div class=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><div dir=\\\"ltr\\\"><div dir=\\\"ltr\\\"></div></div></div></div>\\r\\n</div>\\r\\n\",\n                    \"text\": \"\\r\\nTest\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2015-11-17T17:48:58+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@conecteo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@conecteo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100056/attachments?include=metadata\"\n                    },\n                    \"list\": []\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342f\",\n            \"task_ref\": 100058,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100008,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"Re: [#100008] Email simple\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\">Client qui répond une nouvelle fois à l&#39;agent</div><br><div class=\\\"gmail_quote\\\"><div dir=\\\"ltr\\\">Le ven. 22 sept. 2017 à 10:32, <a href=\\\"mailto:kiamodev_10@connecteo.fr\\\">kiamodev_10@connecteo.fr</a> &lt;<a href=\\\"mailto:kiamodev_10@connecteo.fr\\\">kiamodev_10@connecteo.fr</a>&gt; a écrit :<br></div><blockquote class=\\\"gmail_quote\\\" style=\\\"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex\\\"><div><p>Réponse de l&#39;agent au client</p></div>\\r\\n</blockquote></div><div dir=\\\"ltr\\\">-- <br></div><div class=\\\"gmail_signature\\\" data-smartmail=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><br class=\\\"inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-Apple-interchange-newline\\\"><table class=\\\"gmail_msg\\\" style=\\\"font-size:12.8px;font-family:tahoma,arial,sans-serif;border-collapse:collapse\\\"><tbody class=\\\"gmail_msg\\\"><tr class=\\\"gmail_msg\\\"><th colspan=\\\"2\\\" class=\\\"gmail_msg\\\" style=\\\"font-size:15px;color:rgb(28,14,60);text-align:left\\\">Riad Chebel</th></tr><tr class=\\\"gmail_msg\\\"><td colspan=\\\"2\\\" class=\\\"gmail_msg\\\" style=\\\"font-size:13px;color:rgb(28,14,60);padding-bottom:5px\\\">Lead développeur WEB</td></tr><tr class=\\\"gmail_msg\\\"><td class=\\\"gmail_msg\\\" style=\\\"width:30px;padding:10px 0px 0px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_enveloppe.png\\\"></td><td class=\\\"gmail_msg\\\" style=\\\"padding:10px 0px 0px\\\"><a href=\\\"mailto:rchebel@conecteo.fr\\\">rchebel@conecteo.fr</a></td></tr><tr class=\\\"gmail_msg\\\"><td class=\\\"gmail_msg\\\" style=\\\"width:20px;padding:5px 0px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_tel.png\\\"></td><td class=\\\"gmail_msg\\\" style=\\\"padding:5px 0px\\\"><font color=\\\"#000000\\\" class=\\\"gmail_msg\\\"><a href=\\\"tel:+33%205%2047%2048%2033%2020\\\" value=\\\"+33547483320\\\" class=\\\"gmail_msg\\\" target=\\\"_blank\\\">+33 5 47 48 33 20</a></font></td></tr><tr class=\\\"gmail_msg\\\"><td colspan=\\\"2\\\" class=\\\"gmail_msg\\\" style=\\\"padding-top:5px\\\"><span class=\\\"gmail_msg\\\" style=\\\"padding-right:50px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_logo_kiamo.png\\\"></span> <a href=\\\"http://www.conecteo.fr/\\\" class=\\\"gmail_msg\\\" target=\\\"_blank\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:4px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_web.png\\\"></a> <a href=\\\"https://www.linkedin.com/company/conecteo\\\" class=\\\"gmail_msg\\\" target=\\\"_blank\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:4px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_linkedin.png\\\"></a>\\t<a href=\\\"https://twitter.com/Conecteo\\\" class=\\\"gmail_msg\\\" target=\\\"_blank\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:0px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_twitter.png\\\"></a> <a href=\\\"https://www.facebook.com/conecteo\\\" class=\\\"gmail_msg\\\" target=\\\"_blank\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:0px\\\"><img class=\\\"gmail_msg\\\" src=\\\"http://www.conecteo.fr/images/upload/signature_fb.png\\\"></a></td></tr></tbody></table></div></div>\\r\\n\",\n                    \"text\": \"\\r\\nClient qui répond une nouvelle fois à l'agent\\r\\n\\r\\nLe ven. 22 sept. 2017 à 10:32, kiamodev_10@connecteo.fr <\\r\\nkiamodev_10@connecteo.fr> a écrit :\\r\\n\\r\\n> Réponse de l'agent au client\\r\\n>\\r\\n-- \\r\\n\\r\\nRiad Chebel\\r\\nLead développeur WEB\\r\\nrchebel@conecteo.fr\\r\\n+33 5 47 48 33 20 <+33%205%2047%2048%2033%2020>\\r\\n  <http://www.conecteo.fr/>  <https://www.linkedin.com/company/conecteo>\\r\\n<https://twitter.com/Conecteo>  <https://www.facebook.com/conecteo>\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2017-09-22T10:36:11+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@kiamo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    },\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@conecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@kiamo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100058/attachments?include=metadata\"\n                    },\n                    \"list\": []\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a34003432\",\n            \"task_ref\": 100059,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100059,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"Image imbriquée\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\"><img src=\\\"cid:ii_1606f5f6b3942083\\\" alt=\\\"Images intégrées 1\\\" width=\\\"180\\\" height=\\\"180\\\"><br clear=\\\"all\\\"><div><br></div>-- <br><div class=\\\"gmail_signature\\\" data-smartmail=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><div><table style=\\\"color:rgb(33,33,33);font-size:12.8px;font-family:tahoma,arial,sans-serif;border-collapse:collapse\\\"><tbody><tr><th colspan=\\\"2\\\" style=\\\"font-size:15px;color:rgb(28,14,60);text-align:left\\\">Riad Chebel</th></tr><tr><td colspan=\\\"2\\\" style=\\\"font-size:13px;color:rgb(28,14,60);padding-bottom:5px\\\">Lead Web Développeur</td></tr><tr><td style=\\\"width:30px;padding:10px 0px 0px\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_enveloppe.png\\\"></td><td style=\\\"padding:10px 0px 0px\\\"><a href=\\\"mailto:rchebel@conecteo.fr\\\" target=\\\"_blank\\\">rchebel@conecteo.fr</a></td></tr><tr><td style=\\\"width:20px;padding:5px 0px\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_tel.png\\\"></td><td style=\\\"padding:5px 0px\\\"><font color=\\\"#000000\\\"><a href=\\\"tel:+33%205%2047%2048%2033%2020\\\" value=\\\"+33547483320\\\" style=\\\"color:rgb(126,87,194)\\\" target=\\\"_blank\\\">+33 5 47 48 33 20</a></font></td></tr><tr><td colspan=\\\"2\\\" style=\\\"padding-top:5px\\\"><span style=\\\"padding-right:50px\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_logo_kiamo.png\\\"></span> <a href=\\\"http://www.kiamo.fr/\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:4px\\\" target=\\\"_blank\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_web.png\\\" alt=\\\"\\\"></a> <a href=\\\"https://www.linkedin.com/company/conecteo\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:4px\\\" target=\\\"_blank\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_linkedin.png\\\"></a>\\t<a href=\\\"https://twitter.com/kiamo_software\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:0px\\\" target=\\\"_blank\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_twitter.png\\\" alt=\\\"\\\"></a> <a href=\\\"https://www.facebook.com/kiamosoftware\\\" style=\\\"color:rgb(28,14,60);text-decoration:none;padding-right:0px\\\" target=\\\"_blank\\\"><img src=\\\"http://www.conecteo.fr/images/upload/signature_fb.png\\\" alt=\\\"\\\"></a></td></tr></tbody></table></div></div></div></div></div></div></div>\\r\\n</div>\\r\\n\",\n                    \"text\": \"\\r\\n[image: Images intégrées 1]\\r\\n\\r\\n-- \\r\\nRiad Chebel\\r\\nLead Web Développeur\\r\\nrchebel@conecteo.fr\\r\\n+33 5 47 48 33 20 <+33%205%2047%2048%2033%2020>\\r\\n  <http://www.kiamo.fr/>  <https://www.linkedin.com/company/conecteo>\\r\\n<https://twitter.com/kiamo_software>\\r\\n<https://www.facebook.com/kiamosoftware>\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2017-12-19T17:23:36+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@kiamo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@kiamo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100059/attachments?include=metadata\"\n                    },\n                    \"list\": [\n                        \"apps.64129.9007199266525906.acce8029-3eaa-4e54-8be0-8cab962ba1c9.png\"\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a69f36a3372a34003417\",\n            \"task_ref\": 100053,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100053,\n            \"kiamo_in_date\": \"2018-10-15T14:39:27+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"Factures\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\">Bonjour,<div><br></div><div>Pouvez-vous me renvoyer la facture n°2254936 ?</div><div><br></div><div>Merci.<br clear=\\\"all\\\"><div><br></div>-- <br><div class=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><table width=\\\"600px\\\" style=\\\"font-family:&#39;Times New Roman&#39;\\\"><tbody><tr><td width=\\\"135px\\\"><img width=\\\"135px\\\" height=\\\"67px\\\" src=\\\"http://www.conecteo.fr/images/upload/logo-signature.png\\\"></td><td style=\\\"border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,132,0);padding-left:5px\\\"><span style=\\\"font-family:Arial;font-size:14px\\\"><strong>Riad Chebel</strong></span><br><span style=\\\"font-family:Arial;font-size:12px\\\"><i><font color=\\\"#e69138\\\">Responsable Technique</font></i><br>T. +33 5 47 48 33 20<br><a href=\\\"mailto:rchebel@conecteo.fr\\\" target=\\\"_blank\\\">rchebel@conecteo.fr</a> | <a href=\\\"http://www.conecteo.fr/\\\" style=\\\"color:rgb(0,0,0)\\\" target=\\\"_blank\\\">www.conecteo.fr</a><br><strong>Conecteo</strong> - 03 Allée Jacques Latrille - 33650 Martillac</span></td></tr></tbody></table></div></div>\\r\\n</div></div>\\r\\n\",\n                    \"text\": \"\\r\\nBonjour,\\r\\n\\r\\nPouvez-vous me renvoyer la facture n°2254936 ?\\r\\n\\r\\nMerci.\\r\\n\\r\\n-- \\r\\n*Riad Chebel*\\r\\n*Responsable Technique*\\r\\nT. +33 5 47 48 33 20\\r\\nrchebel@conecteo.fr | www.conecteo.fr\\r\\n*Conecteo* - 03 Allée Jacques Latrille - 33650 Martillac\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2014-12-29T16:24:16+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@conecteo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@conecteo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100053/attachments?include=metadata\"\n                    },\n                    \"list\": [\n                        \"2-fiches.xls\"\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400341a\",\n            \"task_ref\": 100054,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100054,\n            \"kiamo_in_date\": \"2018-10-15T14:39:27+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"email\",\n                \"object\": \"Email avec des pièces jointes\",\n                \"is_draft\": false,\n                \"studio\": {\n                    \"id\": null,\n                    \"tabId\": null,\n                    \"versionId\": null\n                },\n                \"content\": {\n                    \"html\": \"\\r\\n<div dir=\\\"ltr\\\">Bonjour...<br clear=\\\"all\\\"><div><br></div>-- <br><div class=\\\"gmail_signature\\\"><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><div><div dir=\\\"ltr\\\"><table width=\\\"600px\\\" style=\\\"font-family:&#39;Times New Roman&#39;\\\"><tbody><tr><td width=\\\"135px\\\"><img width=\\\"135px\\\" height=\\\"67px\\\" src=\\\"http://www.conecteo.fr/images/upload/logo-signature.png\\\"></td><td style=\\\"border-left-width:1px;border-left-style:solid;border-left-color:rgb(255,132,0);padding-left:5px\\\"><span style=\\\"font-family:Arial;font-size:14px\\\"><strong>Riad Chebel</strong></span><br><span style=\\\"font-family:Arial;font-size:12px\\\"><i><font color=\\\"#e69138\\\">Développeur WEB</font></i><br>T. +33 5 47 48 33 20<br><a href=\\\"mailto:rchebel@conecteo.fr\\\" target=\\\"_blank\\\">rchebel@conecteo.fr</a> | <a href=\\\"http://www.conecteo.fr/\\\" style=\\\"color:rgb(0,0,0)\\\" target=\\\"_blank\\\">www.conecteo.fr</a><br><strong>Conecteo</strong> - 03 Allée Jacques Latrille - 33650 Martillac</span></td></tr></tbody></table></div></div></div></div></div></div>\\r\\n</div>\\r\\n\",\n                    \"text\": \"\\r\\nBonjour...\\r\\n\\r\\n-- \\r\\n*Riad Chebel*\\r\\n*Développeur WEB*\\r\\nT. +33 5 47 48 33 20\\r\\nrchebel@conecteo.fr | www.conecteo.fr\\r\\n*Conecteo* - 03 Allée Jacques Latrille - 33650 Martillac\\r\\n\",\n                    \"css\": \"\"\n                },\n                \"sent_at\": \"2015-09-25T16:03:36+0000\",\n                \"from\": {\n                    \"name\": \"Riad Chebel\",\n                    \"address\": \"rchebel@conecteo.fr\"\n                },\n                \"to\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"kiamodev_10@connecteo.fr\"\n                    }\n                ],\n                \"cc\": null,\n                \"bcc\": null,\n                \"replyTo\": [\n                    {\n                        \"name\": \"\",\n                        \"address\": \"rchebel@conecteo.fr\"\n                    }\n                ],\n                \"attachments\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/emails/100054/attachments?include=metadata\"\n                    },\n                    \"list\": [\n                        \"setup-log-1.txt\",\n                        \"readonomy_export_team_459.html\",\n                        \"Webservice_gestion_erreur.zip\",\n                        \"Migration Redmine Flyspray.zip\",\n                        \"Ports Reseau Kiamo.xls\",\n                        \"error.log\"\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"5bbf424c57399e12bef7e0b9\",\n            \"task_ref\": 100050,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100050,\n            \"kiamo_in_date\": \"2018-10-11T12:30:03+0000\",\n            \"batch_id\": \"5bbdce2a36a3371038004f7b\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 1,\n                \"name\": \"Campagne_sortante_1\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"CAMPOUT\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/followup\"\n                }\n            },\n            \"media\": {\n                \"type\": \"call\",\n                \"cust_number\": \"3708\",\n                \"cust_call_id\": null,\n                \"telco_name\": \"\",\n                \"sys_number\": \"\",\n                \"used_sda\": \"\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": \"5bc4aa8b36a3372f6c002bd6\",\n            \"prev\": null,\n            \"next\": null,\n            \"count\": 9\n        }\n    }\n}"},{"id":"985d5557-b043-4aa5-b18c-79cbc99070c2","name":"Retrieve contact using several criteria (phone & email)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?include=media&contact_phone=0123456789&contact_email=john.doo@mycompany.com","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"per_page","value":null,"disabled":true},{"key":"contact_phone","value":"0123456789"},{"key":"contact_email","value":"john.doo@mycompany.com"},{"key":"contact_reference","value":null,"disabled":true},{"key":"company_reference","value":null,"disabled":true},{"key":"file_reference","value":null,"disabled":true},{"key":"ticket_reference","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":null,"disabled":true},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"task_ref\": 100051,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:49:00+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:49:01+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7e9a1849bfc6be58f99af8\",\r\n            \"task_ref\": 100050,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 2\r\n        }\r\n    }\r\n}"},{"id":"b53bb797-cf24-4b41-80dd-2c1b409883f4","name":"Retrieve all interactions","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":"{{api_base_url}}/interactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 15 Oct 2018 15:14:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"724"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5bc4aa8b36a3372f6c002bd6\",\n            \"task_ref\": 100060,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2018-10-15T14:56:11+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 3,\n                \"name\": \"Messages entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MESSAGINGIN\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100060/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342c\",\n            \"task_ref\": 100055,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100055,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100055/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342d\",\n            \"task_ref\": 100057,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100057,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100057/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342e\",\n            \"task_ref\": 100056,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100056,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100056/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400342f\",\n            \"task_ref\": 100058,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100008,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100058/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a34003432\",\n            \"task_ref\": 100059,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100059,\n            \"kiamo_in_date\": \"2018-10-15T14:39:28+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100059/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a69f36a3372a34003417\",\n            \"task_ref\": 100053,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100053,\n            \"kiamo_in_date\": \"2018-10-15T14:39:27+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100053/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bc4a6a036a3372a3400341a\",\n            \"task_ref\": 100054,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100054,\n            \"kiamo_in_date\": \"2018-10-15T14:39:27+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 2,\n                \"name\": \"Emails entrants\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MAILIN\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100054/followup\"\n                }\n            }\n        },\n        {\n            \"id\": \"5bbf424c57399e12bef7e0b9\",\n            \"task_ref\": 100050,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100050,\n            \"kiamo_in_date\": \"2018-10-11T12:30:03+0000\",\n            \"batch_id\": \"5bbdce2a36a3371038004f7b\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 1,\n                \"name\": \"Campagne_sortante_1\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"CAMPOUT\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"followup\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100050/followup\"\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": \"5bc4aa8b36a3372f6c002bd6\",\n            \"prev\": null,\n            \"next\": null,\n            \"count\": 9\n        }\n    }\n}"},{"id":"585ee6de-8d10-44ea-a11b-c210d334af4f","name":"Retrieve a contact using several criteria and several parameters of the same type","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?contact_email[]=john.martin@mycompany\n.com&contact_email[]=d.martin@myprivateemail.com&contact_phone[]=0175235698&contact_referenc\ne[]=100153&include=media","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"per_page","value":null,"disabled":true},{"key":"contact_phone","value":null,"disabled":true},{"key":"contact_email","value":null,"disabled":true},{"key":"contact_reference","value":null,"disabled":true},{"key":"company_reference","value":null,"disabled":true},{"key":"file_reference","value":null,"disabled":true},{"key":"ticket_reference","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":null,"disabled":true},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true},{"key":"contact_email[]","value":"john.martin@mycompany\n.com"},{"key":"contact_email[]","value":"d.martin@myprivateemail.com"},{"key":"contact_phone[]","value":"0175235698"},{"key":"contact_referenc\ne[]","value":"100153"},{"key":"include","value":"media"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c7e9a6c49bfc6be58f99b1c\",\n            \"task_ref\": 100051,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2019-03-05T15:49:00+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/api/v2/interactions/100051/userdata\"\n                }\n            },\n            \"state\": \"done\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/api/v2/interactions/100051/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/api/v2/interactions/100051/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 4,\n                \"name\": \"CS Out calls\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MCO\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": \"2019-03-05T15:49:01+0000\",\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"call\",\n                \"cust_number\": \"0556572020\",\n                \"cust_name\": \"\",\n                \"cust_call_id\": null,\n                \"telco_name\": \"\",\n                \"sys_number\": \"\",\n                \"used_sda\": \"\",\n                \"result\": null\n            }\n        },\n        {\n            \"id\": \"5c7e9a1849bfc6be58f99af8\",\n            \"task_ref\": 100050,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2019-03-05T15:47:36+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/api/v2/interactions/100050/userdata\"\n                }\n            },\n            \"state\": \"done\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/api/v2/interactions/100050/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/api/v2/interactions/100050/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 4,\n                \"name\": \"CS Out calls\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MCO\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": \"2019-03-05T15:47:36+0000\",\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"call\",\n                \"cust_number\": \"0556572020\",\n                \"cust_name\": \"\",\n                \"cust_call_id\": null,\n                \"telco_name\": \"\",\n                \"sys_number\": \"\",\n                \"used_sda\": \"\",\n                \"result\": null\n            }\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": \"5c7e9a6c49bfc6be58f99b1c\",\n            \"prev\": null,\n            \"next\": null,\n            \"count\": 2\n        }\n    }\n}"},{"id":"c43cd29d-2502-4150-b3bf-a22298971102","name":"Retrieve a list of processed interactions for a contact using his phone number","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?include=media&contact_phone=0123456789&states=done","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"per_page","value":null,"disabled":true},{"key":"contact_phone","value":"0123456789"},{"key":"contact_email","value":null,"disabled":true},{"key":"contact_reference","value":null,"disabled":true},{"key":"company_reference","value":null,"disabled":true},{"key":"file_reference","value":null,"disabled":true},{"key":"ticket_reference","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":"done"},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"data\": [ \r\n        { \r\n            \"id\": \"5c7e9a6c49bfc6be58f99b1c\", \r\n            \"task_ref\": 100051, \r\n            \"interaction_ref\": null, \r\n            \"attached_ref\": null, \r\n            \"kiamo_in_date\": \"2019-03-05T15:49:00+0000\", \r\n            \"batch_id\": \"\", \r\n            \"duration\": { \r\n                \"wait\": 0, \r\n                \"work\": 0 \r\n            }, \r\n            \"label\": \"\",\r\n            \"userdata\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100051/userdata\" \r\n                } \r\n            }, \r\n            \"state\": \"done\", \r\n            \"reference\": \"\", \r\n            \"notes\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100051/notes\" \r\n                }, \r\n                \"count\": 0 \r\n            },\r\n            \"tags\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100051/tags\" \r\n                } \r\n            }, \r\n            \"current_service\": { \r\n                \"id\": 4, \r\n                \"name\": \"CS Out calls\", \r\n                \"distribution_mode\": \"stop\", \r\n                \"type\": \"MCO\" \r\n            }, \r\n            \"current_agent\": { \r\n                \"id\": null, \r\n                \"name\": \"\" \r\n            }, \r\n            \"kiamo_out_date\": \"2019-03-05T15:49:01+0000\", \r\n            \"scheduled_date\": null, \r\n            \"media\": { \r\n                \"type\": \"call\", \r\n                \"cust_number\": \"0556572020\", \r\n                \"cust_name\": \"\", \r\n                \"cust_call_id\": null, \r\n                \"telco_name\": \"\", \r\n                \"sys_number\": \"\", \r\n                \"used_sda\": \"\", \r\n                \"result\": null \r\n            } \r\n        },\r\n        { \r\n            \"id\": \"5c7e9a1849bfc6be58f99af8\", \r\n            \"task_ref\": 100050, \r\n            \"interaction_ref\": null, \r\n            \"attached_ref\": null, \r\n            \"kiamo_in_date\": \"2019-03-05T15:47:36+0000\", \r\n            \"batch_id\": \"\", \r\n            \"duration\": { \r\n                \"wait\": 0, \r\n                \"work\": 0 \r\n            }, \r\n            \"label\": \"\", \r\n            \"userdata\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100050/userdata\" \r\n                } \r\n            },\r\n            \"state\": \"done\", \r\n            \"reference\": \"\", \r\n            \"notes\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100050/notes\" \r\n                }, \r\n                \"count\": 0 \r\n            }, \r\n            \"tags\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100050/tags\" \r\n                } \r\n            }, \r\n            \"current_service\": { \r\n                \"id\": 4, \r\n                \"name\": \"CS Out calls\", \r\n                \"distribution_mode\": \"stop\", \r\n                \"type\": \"MCO\" \r\n            }, \r\n            \"current_agent\": { \r\n                \"id\": null, \r\n                \"name\": \"\" \r\n            }, \r\n            \"kiamo_out_date\": \"2019-03-05T15:47:36+0000\", \r\n            \"scheduled_date\": null, \r\n            \"media\": { \r\n                \"type\": \"call\", \r\n                \"cust_number\": \"0556572020\", \r\n                \"cust_name\": \"\", \r\n                \"cust_call_id\": null, \r\n                \"telco_name\": \"\", \r\n                \"sys_number\": \"\", \r\n                \"used_sda\": \"\", \r\n                \"result\": null \r\n            } \r\n        } \r\n    ], \r\n    \"meta\": { \r\n        \"cursor\": { \r\n            \"current\": \"5c7e9a6c49bfc6be58f99b1c\", \r\n            \"prev\": null, \r\n            \"next\": null, \r\n            \"count\": 2 \r\n        } \r\n    } \r\n}"},{"id":"7b8da853-8db8-44c5-a8bf-81aad53c1765","name":"Retrieve a list of interactions using the contact’s reference","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?include=media&contact_reference=CDS784","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"per_page","value":null,"disabled":true},{"key":"contact_phone","value":null,"disabled":true},{"key":"contact_email","value":null,"disabled":true},{"key":"contact_reference","value":"CDS784"},{"key":"company_reference","value":null,"disabled":true},{"key":"file_reference","value":null,"disabled":true},{"key":"ticket_reference","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":null,"disabled":true},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"task_ref\": 100051,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:49:00+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:49:01+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7e9a1849bfc6be58f99af8\",\r\n            \"task_ref\": 100050,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 2\r\n        }\r\n    }\r\n}"},{"id":"277d0ed3-637b-4c0c-9947-8450784025b2","name":"Retrieve a list of interactions using the contact’s email address","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions?include=media&contact_email=didier.martin@mycompany.com","host":["{{api_base_url}}"],"path":["interactions"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"per_page","value":null,"disabled":true},{"key":"contact_phone","value":null,"disabled":true},{"key":"contact_email","value":"didier.martin@mycompany.com"},{"key":"contact_reference","value":null,"disabled":true},{"key":"company_reference","value":null,"disabled":true},{"key":"file_reference","value":null,"disabled":true},{"key":"ticket_reference","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":null,"disabled":true},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"task_ref\": 100051,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:49:00+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100051/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:49:01+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7e9a1849bfc6be58f99af8\",\r\n            \"task_ref\": 100050,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100050/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 4,\r\n                \"name\": \"CS Out calls\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"MCO\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": \"2019-03-05T15:47:36+0000\",\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"0556572020\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7e9a6c49bfc6be58f99b1c\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 2\r\n        }\r\n    }\r\n}"}],"_postman_id":"4a7e9ff5-6e60-4eed-b5cc-b43d153cb1ae"},{"name":"Get Interaction","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"e016024e-cf5d-4397-bcfd-3b368485cfaf"}}],"id":"2ebfac1b-6531-43b9-9a63-1cbda03126e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":"{{api_base_url}}/interactions/:ref","description":"<p>Retrieve an interaction</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Remark</em> : For outbound call campaigns, the \"media\" object includes a \"result\" parameter used to know why a task has been closed. The possible values are available in the <strong>Interaction</strong> object description (see upper).</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “200 Ok” when there is no problem.</p>\n<p>✓ “404 Not Found” if the interaction could not be found.</p>\n","urlObject":{"path":["interactions",":ref"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"292841b3-e334-45fd-b9ed-8eef1a1af351","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"05e3d5be-9923-491a-92af-2e6d7336f813","name":"Answer example for an outbound call campaign (media object includes result)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/:ref","host":["{{api_base_url}}"],"path":["interactions",":ref"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data","disabled":true}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"id\": \"5c826c743f3a302386346a4e\", \r\n    \"task_ref\": 100150, \r\n    \"interaction_ref\": null, \r\n    \"attached_ref\": 100150, \r\n    \"kiamo_in_date\": \"2019-03-08T13:21:56+0000\", \r\n    \"batch_id\": \"0\", \r\n    \"duration\": { \r\n        \"wait\": 0, \r\n        \"work\": 0 \r\n    }, \r\n    \"label\": \"\", \r\n    \"userdata\": { \r\n        \"link\": { \r\n            \"rel\": \"related\", \r\n            \"href\": \"/api/v2/interactions/100150/userdata\" \r\n        } \r\n    }, \r\n    \"state\": \"done\", \r\n    \"reference\": \"\", \r\n    \"notes\": { \r\n        \"link\": { \r\n            \"rel\": \"related\", \r\n            \"href\": \"/api/v2/interactions/100150/notes\" \r\n        }, \r\n        \"count\": 0 \r\n    }, \r\n    \"tags\": { \r\n        \"link\": { \r\n            \"rel\": \"related\", \r\n            \"href\": \"/api/v2/interactions/100150/tags\" \r\n        }\r\n    }, \r\n    \"current_service\": { \r\n        \"id\": 17, \r\n        \"name\": \"Customer service outbound campaign\", \r\n        \"distribution_mode\": \"manual\", \r\n        \"type\": \"CAMPOUT\" \r\n    }, \r\n    \"current_agent\": { \r\n        \"id\": null, \r\n        \"name\": \"\" \r\n    }, \r\n    \"kiamo_out_date\": \"2019-03-08T13:22:29+0000\", \r\n    \"scheduled_date\": null, \r\n    \"media\": { \r\n        \"type\": \"call\", \r\n        \"cust_number\": \"0123456789\", \r\n        \"cust_name\": \"\", \r\n        \"cust_call_id\": null, \r\n        \"telco_name\": \"TELCOCSCSTEST\", \r\n        \"sys_number\": \"\", \r\n        \"used_sda\": \"\", \r\n        \"result\": \"ANOMALY\" \r\n    } \r\n}"},{"id":"a4f8559e-a412-44a7-bc6d-376a44ea11d3","name":"Retrieve information about a specific interaction","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/:ref","host":["{{api_base_url}}"],"path":["interactions",":ref"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 15 Oct 2018 15:32:21 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"359"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c7ea3d949bfc6be58f99c92\", \n    \"task_ref\": 100054, \n    \"interaction_ref\": null, \n    \"attached_ref\": 100054, \n    \"kiamo_in_date\": \"2019-03-05T16:29:13+0000\", \n    \"batch_id\": \"0\", \n    \"duration\": { \n        \"wait\": 0, \n        \"work\": 0 \n    }, \n    \"label\": \"\", \n    \"userdata\": { \n        \"link\": { \n            \"rel\": \"related\", \n            \"href\": \"/api/v2/interactions/100054/userdata\" \n        } \n    }, \n    \"state\": \"wait\", \n    \"reference\": \"\", \n    \"notes\": { \n        \"link\": { \n            \"rel\": \"related\", \n            \"href\": \"/api/v2/interactions/100054/notes\" \n        }, \n        \"count\": 0 \n    }, \n    \"tags\": { \n        \"link\": { \n            \"rel\": \"related\", \n            \"href\": \"/api/v2/interactions/100054/tags\" \n        } \n    }, \n    \"current_service\": { \n        \"id\": 5, \n        \"name\": \"Task distribution SC\", \n        \"distribution_mode\": \"manual\", \n        \"type\": \"MRA\" \n    }, \n    \"current_agent\": { \n        \"id\": null, \n        \"name\": \"\" \n    }, \n    \"kiamo_out_date\": null, \n    \"scheduled_date\": null, \n    \"media\": { \n        \"type\": \"custom\" \n    }\n}"}],"_postman_id":"2ebfac1b-6531-43b9-9a63-1cbda03126e5"},{"name":"Search Interactions","id":"07d63ee0-3ceb-43a2-b3dd-a850dfc24976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":"{{api_base_url}}/interactions/search?include=media","description":"<p>Search for interactions</p>\n<p><strong>Query parameters</strong></p>\n<p><em>Remark</em>: The default pagination value is 50. This value can be modified by using the <strong>per_page</strong> query parameter. See the pagination mechanism and parameters description upper.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ custom <br /> ✓ chat</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>interaction_ref</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done. <br /> <em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed. <br /> Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["interactions","search"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"},{"disabled":true,"key":"per_page","value":null},{"disabled":true,"key":"query","value":null},{"disabled":true,"key":"in_date_start","value":null},{"disabled":true,"key":"in_date_end","value":null},{"disabled":true,"key":"media","value":null},{"disabled":true,"key":"next_id","value":null},{"disabled":true,"key":"sort","value":null},{"disabled":true,"key":"task_ref","value":null},{"disabled":true,"key":"attached_ref","value":null},{"disabled":true,"key":"reference","value":null},{"disabled":true,"key":"states","value":null},{"disabled":true,"key":"service_ids","value":null},{"disabled":true,"key":"agent_ids","value":null},{"disabled":true,"key":"include_drafts","value":null}],"variable":[]}},"response":[{"id":"ae9b8da5-58ff-486e-976b-24d2be433aff","name":"Retrieve all the interactions in the \"To process\" status","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/search?include=media&states=wait","host":["{{api_base_url}}"],"path":["interactions","search"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"per_page","value":null,"disabled":true},{"key":"query","value":null,"disabled":true},{"key":"in_date_start","value":null,"disabled":true},{"key":"in_date_end","value":null,"disabled":true},{"key":"media","value":null,"disabled":true},{"key":"next_id","value":null,"disabled":true},{"key":"sort","value":null,"disabled":true},{"key":"task_ref","value":null,"disabled":true},{"key":"attached_ref","value":null,"disabled":true},{"key":"reference","value":null,"disabled":true},{"key":"states","value":"wait"},{"key":"service_ids","value":null,"disabled":true},{"key":"agent_ids","value":null,"disabled":true},{"key":"include_drafts","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \r\n    \"data\": [ \r\n        { \r\n            \"id\": \"5c7ea3d949bfc6be58f99c97\", \r\n            \"task_ref\": 100055, \r\n            \"interaction_ref\": null, \r\n            \"attached_ref\": 100055, \r\n            \"kiamo_in_date\": \"2019-03-05T16:29:13+0000\", \r\n            \"batch_id\": \"0\", \r\n            \"duration\": { \r\n                \"wait\": 0, \r\n                \"work\": 20 \r\n            }, \r\n            \"label\": \"\", \r\n            \"userdata\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100055/userdata\" \r\n                } \r\n            }, \r\n            \"state\": \"wait\", \r\n            \"reference\": \"\", \r\n            \"notes\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100055/notes\" \r\n                }, \r\n                \"count\": 0 \r\n            }, \r\n            \"tags\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100055/tags\" \r\n                } \r\n            }, \r\n            \"current_service\": { \r\n                \"id\": 5, \r\n                \"name\": \"Task distribution SC\", \r\n                \"distribution_mode\": \"manual\", \r\n                \"type\": \"MRA\" \r\n            }, \r\n            \"current_agent\": { \r\n                \"id\": null, \r\n                \"name\": \"\" \r\n            }, \r\n            \"kiamo_out_date\": null, \r\n            \"scheduled_date\": \"2019-03-05T16:29:41+0000\", \r\n            \"media\": { \r\n                \"type\": \"custom\" \r\n            } \r\n        }, \r\n        { \r\n            \"id\": \"5c7e5b432017591a480017bd\", \r\n            \"task_ref\": 100047, \r\n            \"interaction_ref\": null, \r\n            \"attached_ref\": 100039, \r\n            \"kiamo_in_date\": \"2019-03-05T11:19:31+0000\", \r\n            \"batch_id\": \"\", \r\n            \"duration\": { \r\n                \"wait\": 0, \r\n                \"work\": 40 \r\n            }, \r\n            \"label\": \"\", \r\n            \"userdata\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100047/userdata\" \r\n                } \r\n            }, \r\n            \"state\": \"wait\", \r\n            \"reference\": \"\", \r\n            \"notes\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100047/notes\" \r\n                }, \r\n                \"count\": 0 \r\n            }, \r\n            \"tags\": { \r\n                \"link\": { \r\n                    \"rel\": \"related\", \r\n                    \"href\": \"/api/v2/interactions/100047/tags\" \r\n                } \r\n            }, \r\n            \"current_service\": { \r\n                \"id\": 2, \r\n                \"name\": \"Customer service emails\", \r\n                \"distribution_mode\": \"manual\", \r\n                \"type\": \"MAILIN\"\r\n            }, \r\n            \"current_agent\": { \r\n                \"id\": null, \r\n                \"name\": \"\" \r\n            }, \r\n            \"kiamo_out_date\": null, \r\n            \"scheduled_date\": \"2019-03-05T11:22:40+0000\", \r\n            \"media\": { \r\n                \"type\": \"email\", \r\n                \"object\": \"[#100039] Home insurance\", \r\n                \"is_draft\": false, \r\n                \"studio\": { \r\n                    \"id\": null, \r\n                    \"tabId\": null, \r\n                    \"versionId\": null \r\n                }, \r\n                \"content\": {}, \r\n                \"sent_at\": \"2019-03-05T11:10:14+0000\", \r\n                \"from\": { \r\n                    \"name\": \"vbe\", \r\n                    \"address\": \"vbe@connecteo.com\" \r\n                }, \r\n                \"to\": [ \r\n                    { \r\n                        \"name\": \"\", \r\n                        \"address\": \"vbe@connecteo.com\" \r\n                    } \r\n                ], \r\n                \"cc\": null, \r\n                \"bcc\": null, \r\n                \"replyTo\": [ \r\n                    { \r\n                        \"name\": \"\", \r\n                        \"address\": \"vbe@connecteo.com\" \r\n                    } \r\n                ], \r\n                \"direction\": \"in\", \r\n                \"attachments\": { \r\n                    \"link\": { \r\n                        \"rel\": \"related\", \r\n                        \"href\": \"/api/v2/interactions/emails/100047/attachments?include=metadata\" \r\n                    }, \r\n                    \"list\": [] \r\n                }, \r\n                \"draft\": { \r\n                    \"ref\": \"100049\", \r\n                    \"link\": { \r\n                        \"rel\": \"related\", \r\n                        \"href\": \"/api/v2/interactions/emails/100049\" \r\n                    } \r\n                } \r\n            } \r\n        },\r\n    ],\r\n    \"meta\": { \r\n        \"cursor\": { \r\n            \"current\": \"5c7ea3d949bfc6be58f99c97\", \r\n            \"prev\": null, \r\n            \"next\": null, \r\n            \"count\": 11 \r\n        } \r\n    } \r\n}"}],"_postman_id":"07d63ee0-3ceb-43a2-b3dd-a850dfc24976"},{"name":"Create Interaction Notes","id":"65ac79ba-df7b-4c38-a609-5812a2598247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"content\" : \"Note 1\",\n\t\t\"agent\": {\n\t\t\t\"id\" : 1\n\t\t}\n\t},\n\t{\n\t\t\"content\" : \"Note 2\",\n\t\t\"agent\": {\n\t\t\t\"id\" : 1\n\t\t}\n\t}\n]"},"url":"{{api_base_url}}/interactions/:ref/notes","description":"<p>Add notes to an interaction</p>\n<p><em>Remark</em>: the JSON body is composed of an array of notes.</p>\n<p><strong>Caution</strong>: the agent's ID is mandatory.</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “201 Created” when there is no problem.</p>\n<p>✓ “400 Bad request” if the content is not valid (e.g.: Invalid JSON).</p>\n","urlObject":{"path":["interactions",":ref","notes"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"bb4592ac-d526-428b-82e0-d18065e7408e","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"0eb214cc-fb0d-4d55-9e9d-bbafe89cefe8","name":"Add several notes to an interaction","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"content\": \"My first add with the API\",\n        \"agent\": {\n            \"id\": 4\n        }\n    },\n    {\n        \"content\": \"My second note using the API\",\n        \"agent\": {\n            \"id\": 1\n        }\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/:ref/notes","host":["{{api_base_url}}"],"path":["interactions",":ref","notes"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 15:53:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"168"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c80e9212017590fec005af4\",\n            \"agent\": {\n                \"id\": \"4\",\n                \"name\": \"Aileen\"\n            },\n            \"content\": \"My note for this interaction\",\n            \"created_at\": \"2019-03-07T09:49:21+0000\",\n            \"updated_at\": \"2019-03-07T09:49:21+0000\"\n        },\n        {\n            \"id\": \"5c80ea2f20175916f4005d58\",\n            \"agent\": {\n                \"id\": 4,\n                \"name\": \"Aileen\"\n            },\n            \"content\": \"My first add with the API\",\n            \"created_at\": \"2019-03-07T09:53:51+0000\",\n            \"updated_at\": \"2019-03-07T09:53:51+0000\"\n        },\n        {\n            \"id\": \"5c80ea2f20175916f4005d5a\",\n            \"agent\": {\n                \"id\": 1,\n                \"name\": \"David\"\n            },\n            \"content\": \"My second note using the API\",\n            \"created_at\": \"2019-03-07T09:53:51+0000\",\n            \"updated_at\": \"2019-03-07T09:53:51+0000\"\n        }\n    ]\n}"}],"_postman_id":"65ac79ba-df7b-4c38-a609-5812a2598247"},{"name":"Get Interaction Notes","id":"f1d0b521-8095-4f51-b2fc-6e004350c5b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/:ref/notes","description":"<p>Retrieve all the notes associated with a specific interaction</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “200 Ok” when there is no problem.</p>\n<p>✓ “404 Not Found” if the interaction or service does not exist.</p>\n","urlObject":{"path":["interactions",":ref","notes"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"8b8ccfd9-9d34-452e-9ed5-8561f83bfa7a","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"ca3116a0-6e1b-4364-8cea-09a0687f5b8b","name":"Retrieve all the notes associated with a specific interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/:ref/notes","host":["{{api_base_url}}"],"path":["interactions",":ref","notes"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c80e9212017590fec005af4\",\n            \"agent\": {\n                \"id\": \"4\",\n                \"name\": \"Aileen\"\n            },\n            \"content\": \"My note about this interaction\",\n            \"created_at\": \"2019-03-07T09:49:21+0000\",\n            \"updated_at\": \"2019-03-07T09:49:21+0000\"\n        }\n    ]\n}"}],"_postman_id":"f1d0b521-8095-4f51-b2fc-6e004350c5b8"},{"name":"Update Interaction Note","id":"8ad666d6-0995-456a-9d43-c34b30947de2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"content\": \"Edited note content\",\n    \"agent\": {\n        \"id\": 4\n    }\n}"},"url":"{{api_base_url}}/interactions/:ref/notes/:id","description":"<p>Edit a note for a specific interaction</p>\n<p><em>Remark</em>: To get the ID of a note, use a GET request on the “Notes” resource.</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “200 OK” when there is no problem.</p>\n<p>✓ “400 Bad Request” if the “agent” node is provided but the “id” parameter is missing or the agent does not exist in the Kiamo configuration.</p>\n","urlObject":{"path":["interactions",":ref","notes",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"18a97e53-76a5-407c-8f2b-0a7994703f46","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"3c985766-de3b-49ed-8a25-c73a17e51693","description":{"content":"<p>Note Id</p>\n","type":"text/plain"},"type":"any","value":"{{note_id}}","key":"id"}]}},"response":[{"id":"09ff52b5-2a46-481a-ae1d-cc8f02d1a301","name":"Update the agent assigned to a note","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"agent\" : {\n\t\t\"id\": 2\n\t},\n\t\"content\": \"Note 2 updated\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/:ref/notes/:id","host":["{{api_base_url}}"],"path":["interactions",":ref","notes",":id"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"},{"key":"id","value":"{{note_id}}","description":"Note Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 16:21:59 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"183"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c1bbb118fa13445bd0063e7\",\n            \"agent\": {\n                \"id\": 2,\n                \"name\": \"New_Agent_2\"\n            },\n            \"content\": \"Note 2 updated\",\n            \"created_at\": \"2018-12-20T15:53:53+0000\",\n            \"updated_at\": \"2018-12-20T16:22:01+0000\"\n        },\n        {\n            \"id\": \"5c1bbb128fa13445bd0063e9\",\n            \"agent\": {\n                \"id\": \"1\",\n                \"name\": \"New_Agent_1\"\n            },\n            \"content\": \"Note 2\",\n            \"created_at\": \"2018-12-20T15:53:54+0000\",\n            \"updated_at\": \"2018-12-20T15:53:54+0000\"\n        }\n    ]\n}"},{"id":"4c48104d-80ec-4e7f-bccb-b56be14c868e","name":"Update a note content","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"content\" : \"Note 2 updated\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/:ref/notes/:id","host":["{{api_base_url}}"],"path":["interactions",":ref","notes",":id"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"},{"key":"id","value":"{{note_id}}","description":"Note Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 16:06:56 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"178"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c1bbb118fa13445bd0063e7\",\n            \"agent\": {\n                \"id\": \"1\",\n                \"name\": \"New_Agent_1\"\n            },\n            \"content\": \"Note 2 updated\",\n            \"created_at\": \"2018-12-20T15:53:53+0000\",\n            \"updated_at\": \"2018-12-20T16:07:02+0000\"\n        },\n        {\n            \"id\": \"5c1bbb128fa13445bd0063e9\",\n            \"agent\": {\n                \"id\": \"1\",\n                \"name\": \"New_Agent_1\"\n            },\n            \"content\": \"Note 2\",\n            \"created_at\": \"2018-12-20T15:53:54+0000\",\n            \"updated_at\": \"2018-12-20T15:53:54+0000\"\n        }\n    ]\n}"}],"_postman_id":"8ad666d6-0995-456a-9d43-c34b30947de2"},{"name":"Delete Interaction Note","id":"217f34d2-bdaf-478a-9773-b6e9003c0a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/interactions/:ref/notes/:id","description":"<p>Delete an interaction note</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “204 No Content” when there is no problem.</p>\n","urlObject":{"path":["interactions",":ref","notes",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"f149aeec-da03-430e-945c-0fda10f4d30d","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"4fb98c25-39fc-49a6-9588-7592d537ad65","description":{"content":"<p>Note Id</p>\n","type":"text/plain"},"type":"any","value":"{{note_id}}","key":"id"}]}},"response":[{"id":"13e94f06-6d25-4610-85b4-e97356f63492","name":"Delete a note","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/interactions/:ref/notes/:id","host":["{{api_base_url}}"],"path":["interactions",":ref","notes",":id"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"},{"key":"id","value":"{{note_id}}","description":"Note Id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 20 Dec 2018 16:26:43 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"217f34d2-bdaf-478a-9773-b6e9003c0a46"},{"name":"Create Interaction Tags","id":"b7770f32-1f18-42e5-89ec-8ef683e723ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"service_id\": 3,\n    \"agent_id\": 1,\n    \"level\": \"primary\"\n}"},"url":"{{api_base_url}}/interactions/:ref/tags","description":"<p>Create an interaction tag</p>\n<p><strong>Caution</strong>: If you want to add qualifications to an interaction, you have to send the request before the end of wrap up time for a call or before the end of processing time for the other types of tasks. If not done in time, the added qualifications will not be taken into account in the Kiamo statistical reports.</p>\n<p><em>Remark</em>: The <strong>level</strong> propriety is optional and can have the following values:</p>\n<p>✓ primary (default value, if nothing is specified): main qualification,</p>\n<p>✓ secondary: Additional qualification.</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “200 Ok” when there is no problem.</p>\n<p>✓ “400 Bad Request” if the content is not valid (e.g.: Invalid JSON), if an attribute is missing or if the service, the agent or the qualification provided does not exist in the Kiamo configuration.</p>\n<p>✓ “404 Not Found” if the interaction or service does not exist.</p>\n","urlObject":{"path":["interactions",":ref","tags"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"c9bcfd9b-c299-4b22-a127-f4819560ab17","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"44771c2b-7de2-4f92-9d8b-88b1e8e76ab2","name":"Add a qualification to an interaction","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"service_id\": 3,\n    \"agent_id\": 1,\n    \"level\": \"primary\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/:ref/tags","host":["{{api_base_url}}"],"path":["interactions",":ref","tags"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 08:41:26 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"label\": \"Qualification A\",\n            \"services\": {\n                \"id\": 3,\n                \"name\": \"Tasks Distribution 1\",\n                \"agent\": {\n                    \"id\": 1,\n                    \"name\": \"New_Agent_1\"\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"b7770f32-1f18-42e5-89ec-8ef683e723ce"},{"name":"Get Interaction Tags","id":"9362b997-d48c-48a7-9a70-acab225a5ab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/:ref/tags?service_id=3","description":"<p>Retrieve interaction tags</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>ID of the service.</td>\n</tr>\n<tr>\n<td>agent_id</td>\n<td>number</td>\n<td>Agent’s ID.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Result</strong></p>\n<p><em>Remark</em>: The “agent” property can be null when the interaction is qualified automatically.</p>\n","urlObject":{"path":["interactions",":ref","tags"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>Service Id</p>\n","type":"text/plain"},"key":"service_id","value":"3"},{"disabled":true,"description":{"content":"<p>Agent Id</p>\n","type":"text/plain"},"key":"agent_id","value":null}],"variable":[{"id":"0e3845e4-2493-4e72-96f1-be988132eb4a","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"c9dc12fc-0415-40a8-9db0-e56f28f6f309","name":"Retrieve the qualifications given by a specific agent to an interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/:ref/tags?agent_id=2","host":["{{api_base_url}}"],"path":["interactions",":ref","tags"],"query":[{"key":"agent_id","value":"2"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 16:51:32 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"label\": \"B\",\n            \"services\": {\n                \"id\": 3,\n                \"name\": \"Tasks distribution 1\",\n                \"agent\": {\n                    \"id\": 2,\n                    \"name\": \"New_Agent_2\"\n                }\n            }\n        }\n    ]\n}"},{"id":"638a84e5-6b88-480f-a4af-764ac9f60b86","name":"Retrieve all the tags of an interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/:ref/tags","host":["{{api_base_url}}"],"path":["interactions",":ref","tags"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 16:50:38 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"142"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"label\": \"A\",\n            \"services\": {\n                \"id\": 3,\n                \"name\": \"Tasks distribution 1\",\n                \"agent\": {\n                    \"id\": 1,\n                    \"name\": \"New_Agent_1\"\n                }\n            }\n        },\n        {\n            \"id\": 2,\n            \"label\": \"B\",\n            \"services\": {\n                \"id\": 3,\n                \"name\": \"Tasks distribution 1\",\n                \"agent\": {\n                    \"id\": 2,\n                    \"name\": \"New_Agent_2\"\n                }\n            }\n        }\n    ]\n}"},{"id":"323e4a2d-8230-4b4a-818c-a71fb88ef7d2","name":"Retrieve the qualifications given on a specific service","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/:ref/tags?service_id=3","host":["{{api_base_url}}"],"path":["interactions",":ref","tags"],"query":[{"key":"service_id","value":"3"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 16:52:07 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"142"},{"key":"Keep-Alive","value":"timeout=5, max=498"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"label\": \"A\",\n            \"services\": {\n                \"id\": 3,\n                \"name\": \"Tasks distribution 1\",\n                \"agent\": {\n                    \"id\": 1,\n                    \"name\": \"New_Agent_1\"\n                }\n            }\n        },\n        {\n            \"id\": 2,\n            \"label\": \"B\",\n            \"services\": {\n                \"id\": 3,\n                \"name\": \"Tasks distribution 1\",\n                \"agent\": {\n                    \"id\": 2,\n                    \"name\": \"New_Agent_2\"\n                }\n            }\n        }\n    ]\n}"}],"_postman_id":"9362b997-d48c-48a7-9a70-acab225a5ab3"},{"name":"Delete Interaction Tags","id":"c0037742-75c2-424a-8133-9801d87525c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{api_base_url}}/interactions/:ref/tags","description":"<p>Delete interaction tags</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>service_id</td>\n<td>number</td>\n<td>(Optional) ID of the service.</td>\n</tr>\n<tr>\n<td>agent_id</td>\n<td>number</td>\n<td>(Optional) Agent’s ID.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Outcome</strong></p>\n<p>Depending on the parameters, the outcome is:</p>\n<ul>\n<li><strong>No parameter</strong> : deletion of all the tags linked to the related inteaction,</li>\n<li><strong>agent_id</strong> : deletion of all the tags given by a specific agent to the related interaction,</li>\n<li><strong>service_id</strong> : deletion of all the tags given while processing on a specific service,</li>\n<li><strong>agent_id</strong> et <strong>service_id</strong> : deletion of all the tags of an interaction given by a specific agent while processing the interaction in a specific service.</li>\n</ul>\n<p><strong>Answer codes</strong></p>\n<p>✓ “204 No Content” when there is no problem.</p>\n<p>✓ “400” if the content is not valid (e.g.: Invalid JSON), if an attribute is missing or if the service, the agent or the qualification provided does not exist in the Kiamo configuration.</p>\n<p>✓ “404” if the interaction does not exist.</p>\n","urlObject":{"path":["interactions",":ref","tags"],"host":["{{api_base_url}}"],"query":[{"disabled":true,"description":{"content":"<p>(optional) Service Id</p>\n","type":"text/plain"},"key":"service_id","value":null},{"disabled":true,"description":{"content":"<p>(optional) Agent Id</p>\n","type":"text/plain"},"key":"agent_id","value":null}],"variable":[{"id":"5455354c-5695-4a7e-958b-d7358e4434c0","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"a2fac476-1566-4a62-be3e-443d1868e937","name":"Delete all the qualifications of an interaction","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{api_base_url}}/interactions/:ref/tags","host":["{{api_base_url}}"],"path":["interactions",":ref","tags"],"query":[{"key":"service_id","value":null,"description":"(optional) Service Id","disabled":true},{"key":"agent_id","value":null,"description":"(optional) Agent Id","disabled":true}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"60d2eec8-5862-46b1-9611-aef3085a7720","name":"Delete all the qualifications of an interaction given by a specific agent while processing the interaction in a specific service","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{api_base_url}}/interactions/:ref/tags?service_id=8&agent_id=4","host":["{{api_base_url}}"],"path":["interactions",":ref","tags"],"query":[{"key":"service_id","value":"8","description":"(optional) Service Id"},{"key":"agent_id","value":"4","description":"(optional) Agent Id"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c0037742-75c2-424a-8133-9801d87525c3"},{"name":"Get Interactions Drafts","id":"5b131287-a9a1-4ab0-ba73-e84e18418b9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"}],"url":"{{api_base_url}}/interactions/drafts?include=media","description":"<p>Retrieve interaction drafts</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>media</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number</td>\n</tr>\n<tr>\n<td>state</td>\n<td>wait,work,done</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>start date</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>end date</td>\n</tr>\n<tr>\n<td>media</td>\n<td>media</td>\n</tr>\n<tr>\n<td>next_id</td>\n<td><code>#FIXME</code> next id</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>ascending / descending sort of a field</td>\n</tr>\n<tr>\n<td>task_ref</td>\n<td>taskRef</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>taskRef</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>taskRef</td>\n</tr>\n<tr>\n<td>states</td>\n<td>states</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>ID of the services</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>ID of the agents</td>\n</tr>\n<tr>\n<td>include_drafts</td>\n<td>drafts included</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Remark</em>: To retrieve the data specific to the  media, the parameter <strong>include=media</strong> must be set.</p>\n","urlObject":{"path":["interactions","drafts"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"},{"disabled":true,"key":"per_page","value":null},{"disabled":true,"key":"state","value":null},{"disabled":true,"key":"in_date_start","value":null},{"disabled":true,"key":"in_date_end","value":null},{"disabled":true,"key":"media","value":null},{"disabled":true,"key":"next_id","value":null},{"disabled":true,"key":"sort","value":null},{"disabled":true,"key":"task_ref","value":null},{"disabled":true,"key":"attached_ref","value":null},{"disabled":true,"key":"reference","value":null},{"disabled":true,"key":"states","value":null},{"disabled":true,"key":"service_ids","value":null},{"disabled":true,"key":"agent_ids","value":null},{"disabled":true,"key":"include_drafts","value":null}],"variable":[]}},"response":[],"_postman_id":"5b131287-a9a1-4ab0-ba73-e84e18418b9b"},{"name":"Get Interaction Userdata","id":"9a159496-3e78-4eea-9ae5-d3c80ea0d15b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/:ref/userdata","description":"<p>Retrieve interaction userdata</p>\n","urlObject":{"path":["interactions",":ref","userdata"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a75dca69-aa92-407b-84a2-f01eb7aece51","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"bbad29dc-d2c8-4b0e-9a29-6d94b27969cd","name":"Retrieve interaction userdata","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}}/interactions/:ref/userdata","host":["{{api_base_url}}"],"path":["interactions",":ref","userdata"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 08:46:48 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"57"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Qualification A\",\n            \"value\": \"my_value\"\n        }\n    ]\n}"}],"_postman_id":"9a159496-3e78-4eea-9ae5-d3c80ea0d15b"},{"name":"Get Interaction Followup","id":"8dba0a31-664d-42c6-bd86-cfe11223a66e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/:ref/followup","description":"<p>Retrieve interaction followup</p>\n","urlObject":{"path":["interactions",":ref","followup"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"5009c2ac-ac87-4b2a-beb7-4de93b46a9ff","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"8dba0a31-664d-42c6-bd86-cfe11223a66e"}],"id":"83a743e3-c984-41e5-a868-cce46b08d4d3","description":"<p>Operations on the interactions</p>\n<h2 id=\"elements-of-the-interaction-object\">Elements of the \"Interaction\" object</h2>\n<p><strong>“Interaction” object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Unique interaction ID.</td>\n</tr>\n<tr>\n<td>taskref</td>\n<td>number</td>\n<td>Kiamo interaction ID.</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>interaction_ref</td>\n<td>number</td>\n<td>Unique interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done, <br /> ✓ draft. <br /> <em>Remark</em>: The “done” value is the only value accepted when editing.</td>\n</tr>\n<tr>\n<td>current_agent</td>\n<td>object</td>\n<td>Name and ID of the agent: <br /> ✓ To whom the interaction has been assigned, <br /> ✓ Who is processing/ who processed the interaction.</td>\n</tr>\n<tr>\n<td>current_service</td>\n<td>object</td>\n<td>Name and ID of the service: <br /> ✓ In which is the interaction to process, <br /> ✓ In which the interaction has been processed.</td>\n</tr>\n<tr>\n<td>services</td>\n<td>array</td>\n<td>Table with the list of services through which went the interaction. Each entry has the following pieces of information: <br /> ✓ service (name, ID, entry/end date in the service) <br /> ✓ agent ( agent’s name and ID) <br /> ✓ exit_reason (reason why the interaction left the service) <br /> ✓ wait (waiting time in the service) <br /> ✓ work (time spent processing the interaction in the service)</td>\n</tr>\n<tr>\n<td>kiamo_in_date</td>\n<td>dateTime</td>\n<td>Date of entry of the interaction in Kiamo. Date provided in ISO8601 format.</td>\n</tr>\n<tr>\n<td>kiamo_out_date</td>\n<td>dateTime</td>\n<td>Date of closure of the interaction in Kiamo. Date provided in ISO8601 format.</td>\n</tr>\n<tr>\n<td>media</td>\n<td>object</td>\n<td>Interaction media type: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ chat <br /> ✓ custom <br /> <em>Remark</em>: For outbound call campaigns, the \"media\" object includes a \"result\" element, which details the reason why a call is closed: <br /> ✓ <strong>ANOMALY</strong>: The agent who processed the call changed status to “Anomaly”. <br /> ✓ <strong>ANSWERINGMACHINE</strong>: Answering machine detection. <br /> ✓ <strong>BUSY</strong>: busy. <br /> ✓ <strong>CANCELED</strong>: task closed before being distributed to an agent. <br /> ✓ <strong>DONE</strong>: successful call. <br /> ✓ <strong>FAXMACHINE</strong>: Fax detection. <br /> ✓ <strong>NOANSWER</strong> : No customer answer. <br /> ✓ <strong>NOCHANNEL</strong> : No channel available. <br /> ✓ <strong>NUISANCE_AGENTDISCONRING</strong>: Agent hung up while on the phone with the customer. <br /> ✓ <strong>NUISANCE_CUSTDISCONRING</strong>: Customer hung up while the agent’s phone was ringing, when customers are called before agents. <br /> ✓ <strong>NUISANCE_WQCUSTDISC</strong>: Call has reached the maximum wait time, when customers are called before agents and when the agent does not answer within the given time. <br /> ✓ <strong>PREVIEWREFUSED</strong>: Preview rejected by the agent, when the Preview mode and the Allow agent to reject call option have been selected in the campaign. <br /> ✓ <strong>SCENARIOFAILURE</strong>: Multi dialing scenario. <br /> ✓ <strong>SCENARIO_FAILURE</strong>: Multi dialing scenario has failed, when the multi dialing option has been selected. <br /> ✓ <strong>WRONGNUMBER</strong>: Wrong number. <br /> Each type of media is detailed in the next chapters.</td>\n</tr>\n<tr>\n<td>notes</td>\n<td>object</td>\n<td>Number of notes and link to the interaction notes.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>object</td>\n<td>Link to the interaction tags/qualifications.</td>\n</tr>\n<tr>\n<td>userdata <em>or</em> <br /> userdatas</td>\n<td>object</td>\n<td>Link to the userdata of this interaction.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"8849c476-0011-448f-b533-8416a5c2ddb4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ca69be22-cc06-4dc9-bee2-8c5ad4a97c1a"}}],"_postman_id":"83a743e3-c984-41e5-a868-cce46b08d4d3"},{"name":"calls","item":[{"name":"Get Call Interactions","id":"c9d54157-bdbf-448f-9203-bb1f9b1d7a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/calls?include=media","description":"<p>Retrieve the list of call type interactions</p>\n<p><strong>Query parameters</strong></p>\n<p><em>Remark</em>: The default pagination value is 50. This value can be modified by using the <strong>per_page</strong> query parameter. See the pagination mechanism and parameters description upper.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>number</td>\n<td>Customer’s phone number.</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ custom <br /> ✓ chat <br /> <em>Remark</em>: the only applicable value is the value related to the current media. Here, <strong>call</strong>.</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done. <br /> <em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed. <br /> Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["interactions","calls"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) To get related media data</p>\n","type":"text/plain"},"key":"include","value":"media"},{"disabled":true,"description":{"content":"<p>(optional) Number of results per page. Default : 50</p>\n","type":"text/plain"},"key":"per_page","value":""},{"disabled":true,"description":{"content":"<p>(optional) Phone number</p>\n","type":"text/plain"},"key":"phone_number","value":""},{"disabled":true,"description":{"content":"<p>(optional) Start date</p>\n","type":"text/plain"},"key":"in_date_start","value":""},{"disabled":true,"description":{"content":"<p>(optional) Media</p>\n","type":"text/plain"},"key":"media","value":""},{"disabled":true,"description":{"content":"<p>(optional) #FIXME Next Id</p>\n","type":"text/plain"},"key":"next_id","value":""},{"disabled":true,"description":{"content":"<p>(optional) Increasing/decreasing fields sorting order</p>\n","type":"text/plain"},"key":"sort","value":""},{"disabled":true,"description":{"content":"<p>(optional) taskRef</p>\n","type":"text/plain"},"key":"task_ref","value":""},{"disabled":true,"description":{"content":"<p>(optional) Attached taskRef</p>\n","type":"text/plain"},"key":"attached_ref","value":""},{"disabled":true,"description":{"content":"<p>(optional) Reference taskRef</p>\n","type":"text/plain"},"key":"reference","value":""},{"disabled":true,"description":{"content":"<p>(optional) States</p>\n","type":"text/plain"},"key":"states","value":""},{"disabled":true,"description":{"content":"<p>(optional) Service Ids</p>\n","type":"text/plain"},"key":"service_ids","value":""},{"disabled":true,"description":{"content":"<p>(optional) Agent Ids</p>\n","type":"text/plain"},"key":"agent_ids","value":""},{"disabled":true,"description":{"content":"<p>(optional) Include drafts</p>\n","type":"text/plain"},"key":"include_drafts","value":""}],"variable":[]}},"response":[{"id":"fba98094-1e9a-4d9f-966c-f83676561954","name":"Retrieve the list of calls waiting to be processed","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}}/interactions/calls?include=media&states=wait","host":["{{api_base_url}}"],"path":["interactions","calls"],"query":[{"key":"include","value":"media","description":"(optional) To get related media data"},{"key":"per_page","value":"","description":"(optional) Number of results per page. Default : 50","disabled":true},{"key":"phone_number","value":"","description":"(optional) Phone number","disabled":true},{"key":"in_date_start","value":"","description":"(optional) Start date","disabled":true},{"key":"media","value":"","description":"(optional) Media","disabled":true},{"key":"next_id","value":"","description":"(optional) #FIXME Next Id","disabled":true},{"key":"sort","value":"","description":"(optional) Increasing/decreasing fields sorting order","disabled":true},{"key":"task_ref","value":"","description":"(optional) taskRef","disabled":true},{"key":"attached_ref","value":"","description":"(optional) Attached taskRef","disabled":true},{"key":"reference","value":"","description":"(optional) Reference taskRef","disabled":true},{"key":"states","value":"wait","description":"(optional) States"},{"key":"service_ids","value":"","description":"(optional) Service Ids","disabled":true},{"key":"agent_ids","value":"","description":"(optional) Agent Ids","disabled":true},{"key":"include_drafts","value":"","description":"(optional) Include drafts","disabled":true}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7ffc6749bfc6be58f9ccc5\",\r\n            \"task_ref\": 100066,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": 100066,\r\n            \"kiamo_in_date\": \"2019-03-06T16:59:19+0000\",\r\n            \"batch_id\": \"0\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100066/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"wait\",\r\n            \"reference\": \"EV4199\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100066/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100066/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 8,\r\n                \"name\": \"Outbound campaign CS\",\r\n                \"distribution_mode\": \"manual\",\r\n                \"type\": \"CAMPOUT\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": null,\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"078963153256\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7ffc6749bfc6be58f9ccc0\",\r\n            \"task_ref\": 100065,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": 100065,\r\n            \"kiamo_in_date\": \"2019-03-06T16:59:19+0000\",\r\n            \"batch_id\": \"0\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100065/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"wait\",\r\n            \"reference\": \"WX2226\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100065/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100065/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 8,\r\n                \"name\": \"Outbound campaign CS\",\r\n                \"distribution_mode\": \"manual\",\r\n                \"type\": \"CAMPOUT\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": null,\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"call\",\r\n                \"cust_number\": \"01600170335\",\r\n                \"cust_name\": \"\",\r\n                \"cust_call_id\": null,\r\n                \"telco_name\": \"\",\r\n                \"sys_number\": \"\",\r\n                \"used_sda\": \"\",\r\n                \"result\": null\r\n            }\r\n        },\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7ffc6749bfc6be58f9ccc5\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 11\r\n        }\r\n    }\r\n}"},{"id":"aa5b4b42-4139-4789-9d76-75f30c625052","name":"Retrieve the list of call interactions","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}}/interactions/calls?include=media","host":["{{api_base_url}}"],"path":["interactions","calls"],"query":[{"key":"include","value":"media"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 12:46:40 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"523"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c1b7dc5f9a39a0e951fbb5a\",\n            \"task_ref\": 100017,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2018-12-20T11:32:21+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 3,\n                \"work\": 3\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100017/userdata\"\n                }\n            },\n            \"state\": \"done\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100017/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100017/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 1,\n                \"name\": \"Appels_entrants_1\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"CAMPIN\"\n            },\n            \"current_agent\": {\n                \"id\": 1,\n                \"name\": \"Nouvel_Agent_1\"\n            },\n            \"kiamo_out_date\": \"2018-12-20T11:32:27+0000\",\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"call\",\n                \"cust_number\": \"3734\",\n                \"cust_call_id\": 10005,\n                \"telco_name\": \"TELCO1\",\n                \"sys_number\": \"8345\",\n                \"used_sda\": \"DEFAULT\"\n            }\n        },\n        {\n            \"id\": \"5c1b7cbff9a39a0e951fbb1e\",\n            \"task_ref\": 100016,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2018-12-20T11:27:59+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 5,\n                \"work\": 4\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100016/userdata\"\n                }\n            },\n            \"state\": \"done\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100016/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100016/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 1,\n                \"name\": \"Appels_entrants_1\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"CAMPIN\"\n            },\n            \"current_agent\": {\n                \"id\": 1,\n                \"name\": \"Nouvel_Agent_1\"\n            },\n            \"kiamo_out_date\": \"2018-12-20T11:28:09+0000\",\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"call\",\n                \"cust_number\": \"3734\",\n                \"cust_call_id\": 10003,\n                \"telco_name\": \"TELCO1\",\n                \"sys_number\": \"8345\",\n                \"used_sda\": \"DEFAULT\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": \"5c1b7dc5f9a39a0e951fbb5a\",\n            \"prev\": null,\n            \"next\": null,\n            \"count\": 2\n        }\n    }\n}"}],"_postman_id":"c9d54157-bdbf-448f-9203-bb1f9b1d7a85"},{"name":"Get Call Interaction","id":"ca62080a-dd3c-41f4-af53-6e139064827a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/calls/:ref?include=media","description":"<p>Retrieve a call type interaction</p>\n<p><em>Remark</em>: To retrieve specific information about a media, you have to include the following parameter in the query: <strong>include=media</strong> (see example).</p>\n","urlObject":{"path":["interactions","calls",":ref"],"host":["{{api_base_url}}"],"query":[{"key":"include","value":"media"}],"variable":[{"id":"be808b1f-d1bf-4087-8df9-722dedd64638","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"8ca97c7c-c81f-46a8-b9a4-ca66e972f970","name":"Retrieve a call type interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 12:54:55 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"430"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1b7cbff9a39a0e951fbb1e\",\n    \"task_ref\": 100016,\n    \"interaction_ref\": null,\n    \"attached_ref\": null,\n    \"kiamo_in_date\": \"2018-12-20T11:27:59+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 5,\n        \"work\": 4\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100016/userdata\"\n        }\n    },\n    \"state\": \"done\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100016/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100016/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 1,\n        \"name\": \"Appels_entrants_1\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"CAMPIN\"\n    },\n    \"current_agent\": {\n        \"id\": 1,\n        \"name\": \"Nouvel_Agent_1\"\n    },\n    \"kiamo_out_date\": \"2018-12-20T11:28:09+0000\",\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"3734\",\n        \"cust_call_id\": 10003,\n        \"telco_name\": \"TELCO1\",\n        \"sys_number\": \"8345\",\n        \"used_sda\": \"DEFAULT\"\n    }\n}"}],"_postman_id":"ca62080a-dd3c-41f4-af53-6e139064827a"},{"name":"Update Call Interactions","id":"3d4cec3a-7dd2-4e92-9fa5-1b84a832798e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"current_service\": {\n        \"id\" : 3\n    },\n    \"current_agent\": {\n        \"id\" : 3\n    },\n    \"state\": \"done\",\n    \"reference\": \"custom reference\",\n    \"destination\": \"9999\",\n    \"scheduled_date\": \"2018-12-27 16:00:00\",\n    \"user_data\": {\n        \"variable A\": \"value\"\n    }\n}"},"url":"{{api_base_url}}/interactions/calls/:ref?include=media","description":"<p>Update of a call type interaction</p>\n<p><strong>Caution</strong>: can only used with outbound calls</p>\n<p><strong>Body parameters</strong></p>\n<p>The possible body parameters (editable elements) are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>current_agent.id</td>\n<td>number</td>\n<td>ID of the agent to whom the call has been assigned or who processed the call.</td>\n</tr>\n<tr>\n<td>current_service.id</td>\n<td>number</td>\n<td>ID of the service in which is the call at the moment.</td>\n</tr>\n<tr>\n<td>destination</td>\n<td>string</td>\n<td>Customer’s phone number. <br /> <em>Remark</em>: This property is optional for a call included in an outbound call campaign with the multi dialing option selected.</td>\n</tr>\n<tr>\n<td>scheduled_date</td>\n<td>dateTime</td>\n<td>Call processing scheduled date (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>Status of the call. <br /> <em>Remark</em>: You can only change status to <strong>done</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Answer codes</strong></p>\n<p>✓ “200 OK” when there is no problem.</p>\n<p>✓ “400 Bad request” if the “current_agent” or “current_service” node is provided but the “id” parameter is missing or the agent does not exist in Kiamo.</p>\n","urlObject":{"path":["interactions","calls",":ref"],"host":["{{api_base_url}}"],"query":[{"key":"include","value":"media"}],"variable":[{"id":"7341da70-f34b-42fa-9f98-3368d29c58fc","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"c717c0f9-6bb2-4f9d-a2b7-af3f7c403dd8","name":"Update several elements of a call interactions","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"current_service\": {\n        \"id\" : 2\n    },\n    \"current_agent\": {\n        \"id\" : 4\n    },\n    \"state\": \"done\",\n    \"destination\": \"3344\",\n    \"scheduled_date\": \"2018-12-27 16:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media","disabled":true}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"5c7ffc6749bfc6be58f9ccb6\",\r\n    \"task_ref\": 100063,\r\n    \"interaction_ref\": null,\r\n    \"attached_ref\": 100063,\r\n    \"kiamo_in_date\": \"2019-03-06T16:59:19+0000\",\r\n    \"batch_id\": \"0\",\r\n    \"duration\": {\r\n        \"wait\": 0,\r\n        \"work\": 0\r\n    },\r\n    \"label\": \"\",\r\n    \"userdata\": {\r\n        \"link\": {\r\n            \"rel\": \"related\",\r\n            \"href\": \"/api/v2/interactions/100063/userdata\"\r\n        }\r\n    },\r\n    \"state\": \"wait\",\r\n    \"reference\": \"AS0357\",\r\n    \"notes\": {\r\n        \"link\": {\r\n            \"rel\": \"related\",\r\n            \"href\": \"/api/v2/interactions/100063/notes\"\r\n        },\r\n        \"count\": 0\r\n    },\r\n    \"tags\": {\r\n        \"link\": {\r\n            \"rel\": \"related\",\r\n            \"href\": \"/api/v2/interactions/100063/tags\"\r\n        }\r\n    },\r\n    \"current_service\": {\r\n        \"id\": 8,\r\n        \"name\": \"Outbound campaign CS\",\r\n        \"distribution_mode\": \"manual\",\r\n        \"type\": \"CAMPOUT\"\r\n    },\r\n    \"current_agent\": {\r\n        \"id\": null,\r\n        \"name\": \"\"\r\n    },\r\n    \"kiamo_out_date\": null,\r\n    \"scheduled_date\": null,\r\n    \"media\": {\r\n        \"type\": \"call\",\r\n        \"cust_number\": \"07764639466\",\r\n        \"cust_name\": \"\",\r\n        \"cust_call_id\": null,\r\n        \"telco_name\": \"\",\r\n        \"sys_number\": \"\",\r\n        \"used_sda\": \"\",\r\n        \"result\": null\r\n    }\r\n}"},{"id":"9292f93e-42f9-4e20-bfbc-5ca9778ac22a","name":"Update the interaction current agent","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_agent\" : {\n\t\t\"id\": 1\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:27:52 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"416"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc2fb\",\n    \"task_ref\": 100018,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100018,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"my reference\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 7,\n        \"name\": \"Campagne_sortante_1\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": 1,\n        \"name\": \"Nouvel_Agent_1\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T10:10:10+0000\",\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"6666\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"},{"id":"c0e5faa1-85d2-4ef7-869d-09dbd438c630","name":"Update the interaction reference","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"reference\" : \"my reference\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:22:39 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"397"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc2fb\",\n    \"task_ref\": 100018,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100018,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"my reference\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 7,\n        \"name\": \"Campagne_sortante_1\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"6666\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"},{"id":"ca49b3ae-b2ff-45e3-9aa1-5ac10ecffb4b","name":"Add user variables to the interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"userdata\" : {\n\t\t\"MyVariable\" : \"My variable value\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:49:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"394"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc300\",\n    \"task_ref\": 100019,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100019,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100019/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100019/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100019/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 7,\n        \"name\": \"Campagne_sortante_1\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"3334\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"},{"id":"cd9f3b09-daa2-48d1-b2fe-54dc3cf837c6","name":"Update the interaction scheduled date","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"scheduled_date\" : \"2018-12-20 16:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:26:17 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"406"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc2fb\",\n    \"task_ref\": 100018,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100018,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"my reference\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 7,\n        \"name\": \"Campagne_sortante_1\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T10:10:10+0000\",\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"6666\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"},{"id":"04eb3e3c-0f3d-4334-b59f-8d12797ea202","name":"Update the interaction state (close)","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"state\" : \"done\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:37:30 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"411"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc2fb\",\n    \"task_ref\": 100018,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100018,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 67,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/userdata\"\n        }\n    },\n    \"state\": \"done\",\n    \"reference\": \"my reference\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 8,\n        \"name\": \"Campagne_sortante_2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": \"2018-12-20T14:37:27+0000\",\n    \"scheduled_date\": \"2018-12-20T10:10:10+0000\",\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"6666\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"},{"id":"cfdf1921-9c8a-4b53-8ee9-427e42725f81","name":"Update the interaction service","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\" : {\n\t\t\"id\": 8\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:36:19 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"405"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc2fb\",\n    \"task_ref\": 100018,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100018,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"my reference\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 8,\n        \"name\": \"Campagne_sortante_2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T10:10:10+0000\",\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"6666\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"},{"id":"860f4702-0d9e-47dc-acc1-27f14ee1ce47","name":"Update the interaction destination","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"destination\" : \"3334\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/calls/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","calls",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 14:08:10 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"393"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1ba1a7f9a39a0e951fc2fb\",\n    \"task_ref\": 100018,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100018,\n    \"kiamo_in_date\": \"2018-12-20T14:05:26+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"3334\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100018/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 7,\n        \"name\": \"Campagne_sortante_1\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"CAMPOUT\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"call\",\n        \"cust_number\": \"3334\",\n        \"cust_call_id\": null,\n        \"telco_name\": \"\",\n        \"sys_number\": \"\",\n        \"used_sda\": \"\"\n    }\n}"}],"_postman_id":"3d4cec3a-7dd2-4e92-9fa5-1b84a832798e"}],"id":"a979becd-86dd-4380-acfe-4d805b4d7c2c","_postman_id":"a979becd-86dd-4380-acfe-4d805b4d7c2c","description":""},{"name":"emails","item":[{"name":"Get Email Interactions","id":"dd10cf49-4b83-46b1-80bf-6a48e3c43fce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails?include=media","description":"<p>Retrieve the list of call type interactions</p>\n<p><strong>Query parameters</strong></p>\n<p><em>Remark</em>: The default pagination value is 50. This value can be modified by using the <strong>per_page</strong> query parameter. See the pagination mechanism and parameters description upper.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>email_address</td>\n<td>string</td>\n<td>Customer’s email address.</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ custom <br /> ✓ chat <br /> <em>Remark</em>: the only applicable value is the value related to the current media. Here, <strong>email</strong>.</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done. <br /> <em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed. <br /> Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["interactions","emails"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[]}},"response":[{"id":"c17a5da6-c534-49fd-aebf-8f2eca69d331","name":"Retrieve the list of emails waiting to be processed using an email address","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/emails?include=media&states=wait&email_address=email@domain.com","host":["{{api_base_url}}"],"path":["interactions","emails"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"states","value":"wait"},{"key":"email_address","value":"email@domain.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7e5b432017591a480017bd\",\r\n            \"task_ref\": 100047,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": 100039,\r\n            \"kiamo_in_date\": \"2019-03-05T11:19:31+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 40\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100047/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"wait\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100047/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100047/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 2,\r\n                \"name\": \"Customer service emails\",\r\n                \"distribution_mode\": \"manual\",\r\n                \"type\": \"MAILIN\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": null,\r\n            \"scheduled_date\": \"2019-03-05T11:22:40+0000\",\r\n            \"media\": {\r\n                \"type\": \"email\",\r\n                \"object\": \"[#100039] Disaster\",\r\n                \"is_draft\": false,\r\n                \"studio\": {\r\n                    \"id\": null,\r\n                    \"tabId\": null,\r\n                    \"versionId\": null\r\n                },\r\n                \"content\": {\r\n                    \"html\": \"\",\r\n                    \"text\": \"\",\r\n                    \"css\": \"\"\r\n                },\r\n                \"sent_at\": \"2019-03-05T11:10:14+0000\",\r\n                \"from\": {\r\n                    \"name\": \"vbe\",\r\n                    \"address\": \"vbe@connecteo.com\"\r\n                },\r\n                \"to\": [\r\n                    {\r\n                        \"name\": \"\",\r\n                        \"address\": \"customer_service@mycompany.com\"\r\n                    }\r\n                ],\r\n                \"cc\": null,\r\n                \"bcc\": null,\r\n                \"replyTo\": [\r\n                    {\r\n                        \"name\": \"\",\r\n                        \"address\": \"vbe@connecteo.com\"\r\n                    }\r\n                ],\r\n                \"direction\": \"in\",\r\n                \"attachments\": {\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"/api/v2/interactions/emails/100047/attachments?include=metadata\"\r\n                    },\r\n                    \"list\": []\r\n                },\r\n                \"draft\": {\r\n                    \"ref\": \"100049\",\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"/api/v2/interactions/emails/100049\"\r\n                    }\r\n                }\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7e58eb2017591a480017bc\",\r\n            \"task_ref\": 100045,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": 100165,\r\n            \"kiamo_in_date\": \"2019-03-05T11:09:30+0000\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 40\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100045/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"wait\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100045/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100045/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 2,\r\n                \"name\": \"Customer service emails\",\r\n                \"distribution_mode\": \"manual\",\r\n                \"type\": \"MAILIN\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": null,\r\n            \"scheduled_date\": \"2019-03-05T11:10:21+0000\",\r\n            \"media\": {\r\n                \"type\": \"email\",\r\n                \"object\": \"[#100165] Car insurance\",\r\n                \"is_draft\": false,\r\n                \"studio\": {\r\n                    \"id\": null,\r\n                    \"tabId\": null,\r\n                    \"versionId\": null\r\n                },\r\n                \"content\": {\r\n                    \"html\": \"\",\r\n                    \"text\": \"\",\r\n                    \"css\": \"\"\r\n                },\r\n                \"sent_at\": \"2019-02-25T15:02:22+0000\",\r\n                \"from\": {\r\n                    \"name\": \"Address 1\",\r\n                    \"address\": \"vbe@connecteo.com\"\r\n                },\r\n                \"to\": [\r\n                    {\r\n                        \"name\": \"\",\r\n                        \"address\": \"service_clients@mycompany.com\"\r\n                    }\r\n                ],\r\n                \"cc\": null,\r\n                \"bcc\": null,\r\n                \"replyTo\": [\r\n                    {\r\n                        \"name\": \"\",\r\n                        \"address\": \"vbe@connecteo.com\"\r\n                    }\r\n                ],\r\n                \"direction\": \"in\",\r\n                \"attachments\": {\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"/api/v2/interactions/emails/100045/attachments?include=metadata\"\r\n                    },\r\n                    \"list\": []\r\n                },\r\n                \"draft\": {\r\n                    \"ref\": \"100046\",\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"/api/v2/interactions/emails/100046\"\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7e5b432017591a480017bd\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 6\r\n        }\r\n    }\r\n}"}],"_postman_id":"dd10cf49-4b83-46b1-80bf-6a48e3c43fce"},{"name":"Get Email Interaction","id":"bfee3bf8-c611-40aa-8257-822eaa171a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails/:ref?include=media","description":"<p>Retrieve an email type interaction</p>\n<p><em>Remark</em>: To retrieve specific information about a media, you have to include the following parameter in the query: <strong>include=media</strong> (see example).</p>\n","urlObject":{"path":["interactions","emails",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"59938974-e0f4-469a-93ea-8bb1683a5122","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"bfee3bf8-c611-40aa-8257-822eaa171a85"},{"name":"Update Email Interaction","id":"9980fdd9-473e-4525-80f2-016f8884aa5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\": {\n\t\t\"id\" : 3\n\t},\n\t\"current_agent\": {\n\t\t\"id\" : 3\n\t},\n\t\"state\": \"done\",\n\t\"scheduled_date\": \"2018-12-27 16:00:00\",\n\t\"media\": {\n\t\t\"content\": {\n\t\t\t\"html\": \"<b>Bold content</b>\",\n\t\t\t\"text\": \"email text\",\n\t\t\t\"css\": \"strong{background-color:red;}\"\n\t\t}\n\t}\n}\n"},"url":"{{api_base_url}}/interactions/emails/:ref?include=media","description":"<p>Update of a call type interaction</p>\n<p><strong>Body parameters</strong></p>\n<p>The possible body parameters (editable elements) are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>current_agent.id</td>\n<td>number</td>\n<td>ID of the agent to whom the call has been assigned or who processed the call.</td>\n</tr>\n<tr>\n<td>current_service.id</td>\n<td>number</td>\n<td>ID of the service in which is the call at the moment.</td>\n</tr>\n<tr>\n<td>scheduled_date</td>\n<td>dateTime</td>\n<td>Call processing scheduled date (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>Status of the call. <br /> <em>Remark</em>: You can only change status to <strong>done</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Answer codes</strong></p>\n<p>✓ “200 OK” when there is no problem.</p>\n<p>✓ “400 Bad request” if the “current_agent” or “current_service” node is provided but the “id” parameter is missing or the agent does not exist in Kiamo.</p>\n","urlObject":{"path":["interactions","emails",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"2951305e-e01a-4cc2-98f5-f959f2625a32","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"37675ad3-9126-462a-aaa4-5fe23e11a882","name":"Edit the processing date scheduled for an email","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"scheduled_date\": \"2018-12-24 16:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/emails/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","emails",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Dec 2018 11:24:58 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"499"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c20bf728fa1349fa70014f3\",\n    \"task_ref\": 100031,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100031,\n    \"kiamo_in_date\": \"2018-12-24T11:13:53+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 655\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100031/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100031/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100031/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 10,\n        \"name\": \"Emails_manuels_10\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"MANUALMAILOUT\"\n    },\n    \"current_agent\": {\n        \"id\": 0,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-24T16:00:00+0000\",\n    \"media\": {\n        \"type\": \"email\",\n        \"object\": \"\",\n        \"is_draft\": true,\n        \"studio\": {\n            \"id\": 0,\n            \"versionId\": 0,\n            \"tabId\": 1\n        },\n        \"content\": {\n            \"html\": \"\",\n            \"text\": \"\",\n            \"css\": \"\"\n        },\n        \"sent_at\": null,\n        \"from\": null,\n        \"to\": null,\n        \"cc\": null,\n        \"bcc\": null,\n        \"replyTo\": null,\n        \"direction\": \"out\",\n        \"attachments\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/emails/100031/attachments?include=metadata\"\n            },\n            \"list\": []\n        }\n    }\n}"},{"id":"3dcae0da-e909-43fb-a36c-1fbbe1b330be","name":"Update the content and the CSS style of an email","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"media\": {\n\t\t\"content\": {\n\t\t\t\"html\": \"<b>Bold content</b>\",\n\t\t\t\"text\": \"email text\",\n\t\t\t\"css\": \"strong{background-color:red;}\"\n\t\t}\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/emails/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","emails",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Dec 2018 09:27:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"534"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c20a1528fa1340a5c004a82\",\n    \"task_ref\": 100029,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100029,\n    \"kiamo_in_date\": \"2018-12-24T09:05:18+0000\",\n    \"batch_id\": null,\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/userdata\"\n        }\n    },\n    \"state\": \"work\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 10,\n        \"name\": \"Emails_manuels_10\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"MANUALMAILOUT\"\n    },\n    \"current_agent\": {\n        \"id\": 0,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"email\",\n        \"object\": \"\",\n        \"is_draft\": true,\n        \"studio\": {\n            \"id\": 0,\n            \"versionId\": 0,\n            \"tabId\": 1\n        },\n        \"content\": {\n            \"html\": \"<b>Bold content</b>\",\n            \"text\": \"email text\",\n            \"css\": \"strong{background-color:red;}\"\n        },\n        \"sent_at\": null,\n        \"from\": null,\n        \"to\": null,\n        \"cc\": null,\n        \"bcc\": null,\n        \"replyTo\": null,\n        \"direction\": \"out\",\n        \"attachments\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/emails/100029/attachments?include=metadata\"\n            },\n            \"list\": []\n        }\n    }\n}"},{"id":"23457a8a-f644-4ccb-b877-c42f6675bc9b","name":"Close an email interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"state\": \"done\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/emails/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","emails",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Dec 2018 11:03:19 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"485"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c20bc648fa1349fa70014f2\",\n    \"task_ref\": 100030,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100030,\n    \"kiamo_in_date\": \"2018-12-24T11:00:49+0000\",\n    \"batch_id\": null,\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100030/userdata\"\n        }\n    },\n    \"state\": \"work\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100030/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100030/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 10,\n        \"name\": \"Emails_manuels_10\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"MANUALMAILOUT\"\n    },\n    \"current_agent\": {\n        \"id\": 0,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"email\",\n        \"object\": \"\",\n        \"is_draft\": true,\n        \"studio\": {\n            \"id\": 0,\n            \"versionId\": 0,\n            \"tabId\": 1\n        },\n        \"content\": {\n            \"html\": \"\",\n            \"text\": \"\",\n            \"css\": \"\"\n        },\n        \"sent_at\": null,\n        \"from\": null,\n        \"to\": null,\n        \"cc\": null,\n        \"bcc\": null,\n        \"replyTo\": null,\n        \"direction\": \"out\",\n        \"attachments\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/emails/100030/attachments?include=metadata\"\n            },\n            \"list\": []\n        }\n    }\n}"},{"id":"65d030d6-0639-40a8-802c-9137c725cb6f","name":"Change service (Forward email)","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\": {\n\t\t\"id\" : 11\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/emails/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","emails",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Dec 2018 10:54:09 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"522"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c20a1528fa1340a5c004a82\",\n    \"task_ref\": 100029,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100029,\n    \"kiamo_in_date\": \"2018-12-24T09:05:18+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 11,\n        \"name\": \"Emails_manuels_11\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"MANUALMAILOUT\"\n    },\n    \"current_agent\": {\n        \"id\": 0,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"email\",\n        \"object\": \"\",\n        \"is_draft\": true,\n        \"studio\": {\n            \"id\": 0,\n            \"versionId\": 0,\n            \"tabId\": 1\n        },\n        \"content\": {\n            \"html\": \"<p><strong>Bold content</strong></p>\",\n            \"text\": \"Bold content\\n\",\n            \"css\": \"\"\n        },\n        \"sent_at\": null,\n        \"from\": null,\n        \"to\": null,\n        \"cc\": null,\n        \"bcc\": null,\n        \"replyTo\": null,\n        \"direction\": \"out\",\n        \"attachments\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/emails/100029/attachments?include=metadata\"\n            },\n            \"list\": []\n        }\n    }\n}"},{"id":"28dbbdc3-8982-4c95-b035-e136e940d4f3","name":"Assign an email interaction to an agent","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_agent\": {\n\t\t\"id\" : 2\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/emails/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","emails",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Dec 2018 10:24:36 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"537"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c20a1528fa1340a5c004a82\",\n    \"task_ref\": 100029,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100029,\n    \"kiamo_in_date\": \"2018-12-24T09:05:18+0000\",\n    \"batch_id\": null,\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100029/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 10,\n        \"name\": \"Emails_manuels_10\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"MANUALMAILOUT\"\n    },\n    \"current_agent\": {\n        \"id\": 2,\n        \"name\": \"Nouvel_Agent_2\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"email\",\n        \"object\": \"\",\n        \"is_draft\": true,\n        \"studio\": {\n            \"id\": 0,\n            \"versionId\": 0,\n            \"tabId\": 1\n        },\n        \"content\": {\n            \"html\": \"<p><strong>Bold content</strong></p>\",\n            \"text\": \"Bold content\\n\",\n            \"css\": \"\"\n        },\n        \"sent_at\": null,\n        \"from\": null,\n        \"to\": null,\n        \"cc\": null,\n        \"bcc\": null,\n        \"replyTo\": null,\n        \"direction\": \"out\",\n        \"attachments\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/emails/100029/attachments?include=metadata\"\n            },\n            \"list\": []\n        }\n    }\n}"}],"_postman_id":"9980fdd9-473e-4525-80f2-016f8884aa5b"},{"name":"Resend Email","id":"a57382e9-3e82-465d-b5c8-8a40b0e0769b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/interactions/emails/:ref/resend","description":"<p>Send an email again</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ \"204 No Content\" when there is no problem.</p>\n","urlObject":{"path":["interactions","emails",":ref","resend"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"81a0b1aa-c624-406d-9a3c-24bb56bec6b8","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"f0847203-c744-414d-bab3-c4bad29d4977","name":"Send an email again","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/interactions/emails/:ref/resend","host":["{{api_base_url}}"],"path":["interactions","emails",":ref","resend"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a57382e9-3e82-465d-b5c8-8a40b0e0769b"},{"name":"Get Email Interaction Attachments","id":"4b9ce123-36b5-44b3-8193-1f9c4e1029b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails/:ref/attachments","description":"<p>Retrieve all the attachments of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","attachments"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"abef7f23-ee51-439f-a9a5-3b14cbf61c36","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"4b9ce123-36b5-44b3-8193-1f9c4e1029b1"},{"name":"Get Email Interaction Attachment","id":"4b4c7b1a-59cd-4c53-b0a3-49e3f052010a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails/:ref/attachments/:id","description":"<p>Retrieve a specific attachment of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","attachments",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"36e79b2d-60a8-40b6-ac4d-fd363b02216a","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"6cf53003-a0d2-4d3e-b177-e94a128b72c2","description":{"content":"<p>Attachment Id</p>\n","type":"text/plain"},"type":"any","value":"{{attachment_id}}","key":"id"}]}},"response":[],"_postman_id":"4b4c7b1a-59cd-4c53-b0a3-49e3f052010a"},{"name":"Update Email Interaction Attachment","id":"64c2cd7b-37e0-42ad-ac38-7f1476527ad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails/:ref/attachments/:id","description":"<p>Update a specific attachment of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","attachments",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a1b6c3a5-fd81-4a9a-b15b-aee4b98da044","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"102181f6-9ac4-4986-b2bc-12e52bb95c9a","description":{"content":"<p>Attachment Id</p>\n","type":"text/plain"},"type":"any","value":"{{attachment_id}}","key":"id"}]}},"response":[],"_postman_id":"64c2cd7b-37e0-42ad-ac38-7f1476527ad3"},{"name":"Delete Email Interaction Attachment","id":"a4c0a2de-4cd2-4a0b-87b9-b6bc4efb5cb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/interactions/emails/:ref/attachments/:id","description":"<p>Delete a specific attachment of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","attachments",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"60d08450-fab7-432b-a1c8-a53c66c37258","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"1283bb9a-6f57-408d-9f56-3a295440373c","description":{"content":"<p>Attachment Id</p>\n","type":"text/plain"},"type":"any","value":"{{attachment_id}}","key":"id"}]}},"response":[],"_postman_id":"a4c0a2de-4cd2-4a0b-87b9-b6bc4efb5cb7"},{"name":"Get Email Interaction Drafts","id":"3167be2d-59ed-47cf-9eca-80e6e0deb783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails/drafts?include=media","description":"<p>Retrieve all the email drafts</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>media</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number</td>\n</tr>\n<tr>\n<td>only_drafts</td>\n<td>only retrieve drafts</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>start date</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>end date</td>\n</tr>\n<tr>\n<td>media</td>\n<td>media</td>\n</tr>\n<tr>\n<td>next_id</td>\n<td><code>#FIXME</code> next id</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>ascending / descending sort of a field</td>\n</tr>\n<tr>\n<td>task_ref</td>\n<td>taskRef</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>taskRef</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>taskRef</td>\n</tr>\n<tr>\n<td>states</td>\n<td>states</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>service IDs</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>agent IDs</td>\n</tr>\n<tr>\n<td>include_drafts</td>\n<td>include drafts</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Remark</em>: to retrieve the data specific to the media, the parameter <strong>include=media</strong> has to be present.</p>\n","urlObject":{"path":["interactions","emails","drafts"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[]}},"response":[],"_postman_id":"3167be2d-59ed-47cf-9eca-80e6e0deb783"},{"name":"Create Email Interaction Draft","id":"a3438da0-82e4-4ff8-baa3-f61ce72c8a4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\n}"},"url":"{{api_base_url}}/interactions/emails/:ref/draft?include=media","description":"<p>Create the draft of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","draft"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"31af1cdb-0a67-4a0f-a8b2-f26367de715f","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"a3438da0-82e4-4ff8-baa3-f61ce72c8a4c"},{"name":"Get Email Interaction Draft","id":"71468939-7839-4b88-90c7-6436ee84cd17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/emails/:ref/draft?include=media","description":"<p>Retrieve the draft of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","draft"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"f68955d4-bdc3-4333-9f8b-a41dc623a79e","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"71468939-7839-4b88-90c7-6436ee84cd17"},{"name":"Delete Email Interaction Draft","id":"99624c87-a6d8-4a97-86ce-3488f09784e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/interactions/emails/:ref/draft","description":"<p>Delete the draft of an email interaction</p>\n","urlObject":{"path":["interactions","emails",":ref","draft"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"9c5dabe5-8108-42a6-aaa5-47c4477a690e","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"99624c87-a6d8-4a97-86ce-3488f09784e0"}],"id":"4a7bec8d-0bf8-4933-a829-e67a3891f708","_postman_id":"4a7bec8d-0bf8-4933-a829-e67a3891f708","description":""},{"name":"messaging","item":[{"name":"Get Messaging Interactions","id":"26086a30-7add-4f6a-a925-d4713e75f43b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging?include=media","description":"<p>Retrieve the list of messaging type interactions</p>\n<p><strong>Query parameters</strong></p>\n<p><em>Remark</em>: The default pagination value is 50. This value can be modified by using the <strong>per_page</strong> query parameter. See the pagination mechanism and parameters description upper.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ custom <br /> ✓ chat <br /> <em>Remark</em>: the only applicable value is the value related to the current media. Here, <strong>messaging</strong>.</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done. <br /> <em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed. <br /> Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response</strong></p>\n<p><em>Remark</em>: Every Messaging type interaction returned by the request contains its <strong>media</strong> node:</p>\n<ul>\n<li>A <strong>messages</strong> node, containing :<ul>\n<li>A <strong>count</strong> node: it indicates the total number of messages currently associated with the interaction.</li>\n<li>A <strong>link</strong> node: it contains the URL of the API to use to retrieve the entire list of associated messages.</li>\n</ul>\n</li>\n<li>A <strong>connectors</strong> node with a unique <strong>link</strong> node, containing the URL of the API to use to retrieve the list of Messaging connectors used to associate messages with this interaction.</li>\n</ul>\n","urlObject":{"path":["interactions","messaging"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[]}},"response":[{"id":"e7794c29-feaa-432b-a270-4026c1dd25b8","name":"Retrieve all the messaging type interactions","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/messaging?include=media","host":["{{api_base_url}}"],"path":["interactions","messaging"],"query":[{"key":"include","value":"media"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:05:03 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"483"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c1b5b008fa13493e8007c97\",\n            \"task_ref\": 100008,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2018-12-20T09:04:00+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100008/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100008/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100008/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 4,\n                \"name\": \"Message entrant 1\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MESSAGINGIN\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"messaging\",\n                \"messages\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/messaging/100008/messages\"\n                    },\n                    \"count\": 1\n                },\n                \"connectors\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/messaging/100008/connectors\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"5c1b591b8fa13493e8007c96\",\n            \"task_ref\": 100006,\n            \"interaction_ref\": null,\n            \"attached_ref\": null,\n            \"kiamo_in_date\": \"2018-12-20T08:55:55+0000\",\n            \"batch_id\": \"\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100006/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100006/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100006/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 4,\n                \"name\": \"Message entrant 1\",\n                \"distribution_mode\": \"stop\",\n                \"type\": \"MESSAGINGIN\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"messaging\",\n                \"messages\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/messaging/100006/messages\"\n                    },\n                    \"count\": 2\n                },\n                \"connectors\": {\n                    \"link\": {\n                        \"rel\": \"related\",\n                        \"href\": \"/interactions/messaging/100006/connectors\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": \"5c1b5b008fa13493e8007c97\",\n            \"prev\": null,\n            \"next\": null,\n            \"count\": 2\n        }\n    }\n}"},{"id":"4df06445-0c1d-463a-ae3c-ab09e04b093a","name":"Retrieve a list of closed Messaging-type interactions","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/messaging?include=media&states=done","host":["{{api_base_url}}"],"path":["interactions","messaging"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"states","value":"done"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        { \r\n            ... \r\n            \"media\": {\r\n                \"type\": \"messaging\",\r\n                \"messages\": [\r\n                    \"count\": 34,\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"http://127.0.0.1/api/v2/interactions/messaging/{taskref}/messages\"\r\n                    }\r\n                ],\r\n                \"connectors\": [\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"http://127.0.0.1/api/v2/interactions/messaging/{taskref}/connectors\"\r\n                    }\r\n                ],\r\n            } \r\n            ...\r\n        },\r\n    ] \r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": null,\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 0\r\n        }\r\n    }\r\n}"}],"_postman_id":"26086a30-7add-4f6a-a925-d4713e75f43b"},{"name":"Get Messaging Interaction","id":"acc04a32-e413-43cd-a861-161dba706751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref?include=media","description":"<p>Retrieve a messaging type interaction</p>\n<p><em>Remark</em>: To retrieve specific information about a media, you have to include the following parameter in the query: “include=media” (see example).</p>\n","urlObject":{"path":["interactions","messaging",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"899635ca-8708-4028-91cd-41cd6ae95093","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"4c9ea8d3-4926-4471-8f50-d74f42947aae","name":"Retrieve a Messaging-type interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:08:28 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"385"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1b591b8fa13493e8007c96\",\n    \"task_ref\": 100006,\n    \"interaction_ref\": null,\n    \"attached_ref\": null,\n    \"kiamo_in_date\": \"2018-12-20T08:55:55+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 4,\n        \"name\": \"Message entrant 1\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MESSAGINGIN\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"messaging\",\n        \"messages\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100006/messages\"\n            },\n            \"count\": 2\n        },\n        \"connectors\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100006/connectors\"\n            }\n        }\n    }\n}"}],"_postman_id":"acc04a32-e413-43cd-a861-161dba706751"},{"name":"Update Messaging Interaction","id":"fa1a46d3-da53-42be-9ed7-ccde5981f32c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"current_service\": {\r\n        \"id\" : 3\r\n    },\r\n    \"current_agent\": {\r\n        \"id\" : 3\r\n    },\r\n    \"state\": \"done\"\r\n}"},"url":"{{api_base_url}}/interactions/messaging/:ref?include=media","description":"<p>Update a Messaging-type interaction</p>\n<p><strong>Body parameters</strong></p>\n<p>The possible body parameters (editable elements) are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>current_agent.id</td>\n<td>number</td>\n<td>ID of the agent to whom the call has been assigned or who processed the call.</td>\n</tr>\n<tr>\n<td>current_service.id</td>\n<td>number</td>\n<td>ID of the service in which is the call at the moment.</td>\n</tr>\n<tr>\n<td>scheduled_date</td>\n<td>dateTime</td>\n<td>Call processing scheduled date (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>Status of the call. <br /> <em>Remark</em>: You can only change status to <strong>done</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Answer codes</strong></p>\n<p>✓ “200 OK” when there is no problem.</p>\n<p>✓ “400 Bad request” if the “current_agent” or “current_service” node is provided but the “id” parameter is missing or the agent does not exist in Kiamo.</p>\n","urlObject":{"path":["interactions","messaging",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"80a1e13b-c16e-4aa0-b7a9-a0aedae24394","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"be34d1f4-7335-4930-acc0-5b89c13af86c","name":"Close a Messaging-type interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"state\":\"done\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:40:14 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"395"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1b591b8fa13493e8007c96\",\n    \"task_ref\": 100006,\n    \"interaction_ref\": null,\n    \"attached_ref\": null,\n    \"kiamo_in_date\": \"2018-12-20T08:55:55+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/userdata\"\n        }\n    },\n    \"state\": \"done\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 4,\n        \"name\": \"Message entrant 1\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MESSAGINGIN\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": \"2018-12-20T09:40:03+0000\",\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"messaging\",\n        \"messages\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100006/messages\"\n            },\n            \"count\": 2\n        },\n        \"connectors\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100006/connectors\"\n            }\n        }\n    }\n}"},{"id":"28bd2d67-386c-4f46-a8d9-af25a146a8fc","name":"Change service (Messaging-type interaction transfer)","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\": {\n\t\t\"id\" : 6\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 11:07:39 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"400"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1b591b8fa13493e8007c96\",\n    \"task_ref\": 100006,\n    \"interaction_ref\": null,\n    \"attached_ref\": null,\n    \"kiamo_in_date\": \"2018-12-20T08:55:55+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 291\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/notes\"\n        },\n        \"count\": 1\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100006/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 6,\n        \"name\": \"Message entrant 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MESSAGINGIN\"\n    },\n    \"current_agent\": {\n        \"id\": 0,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": \"2018-12-20T09:40:03+0000\",\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"messaging\",\n        \"messages\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100006/messages\"\n            },\n            \"count\": 10\n        },\n        \"connectors\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100006/connectors\"\n            }\n        }\n    }\n}"},{"id":"79218fbf-fc1c-4082-ad63-7683bde5f2b4","name":"Assign a Messaging-type interaction to an agent","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_agent\": {\n\t\t\"id\" : 1\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:49:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"393"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1b5b008fa13493e8007c97\",\n    \"task_ref\": 100008,\n    \"interaction_ref\": null,\n    \"attached_ref\": null,\n    \"kiamo_in_date\": \"2018-12-20T09:04:00+0000\",\n    \"batch_id\": \"\",\n    \"duration\": {\n        \"wait\": 0,\n        \"work\": 0\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100008/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100008/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100008/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 4,\n        \"name\": \"Message entrant 1\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MESSAGINGIN\"\n    },\n    \"current_agent\": {\n        \"id\": 1,\n        \"name\": \"Agent 1\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": null,\n    \"media\": {\n        \"type\": \"messaging\",\n        \"messages\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100008/messages\"\n            },\n            \"count\": 1\n        },\n        \"connectors\": {\n            \"link\": {\n                \"rel\": \"related\",\n                \"href\": \"/interactions/messaging/100008/connectors\"\n            }\n        }\n    }\n}"}],"_postman_id":"fa1a46d3-da53-42be-9ed7-ccde5981f32c"},{"name":"Get Messaging Interaction Messages","id":"7e7fe668-1bcd-448e-a52c-9f932d218eab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref/messages","description":"<p>Retrieve the content of messages included in a Messaging interaction</p>\n","urlObject":{"path":["interactions","messaging",":ref","messages"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"119bf7d7-7402-46a9-b9d4-1ef069a20e0a","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"0d6a0e23-e0d9-4056-acae-7b698420ed6e","name":"Retrieve all the messages of a Messaging interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref/messages","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref","messages"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:11:40 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"287"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1075675826950193156\",\n            \"content\": \"Hello there !\",\n            \"richContent\": \"\",\n            \"type\": \"facebook\",\n            \"status\": \"RECEIVED\",\n            \"from\": {\n                \"id\": \"926042659575214082\",\n                \"name\": \"Tibo___test\",\n                \"senderScreenName\": \"TestTibo\"\n            },\n            \"received_at\": \"2021-11-20T08:55:55+0000\",\n            \"sent_at\": \"2021-11-20T08:54:36+0000\",\n            \"connector_id\": 1,\n            \"to\": null,\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"1075676758266036229\",\n            \"content\": \"Hello, i have à problem ..\",\n            \"richContent\": {\n                \"location\": {\n                    \"longitude\": \"-0.5831603\",\n                    \"latitude\": \"44.7074364\"\n                }\n            },\n            \"type\": \"facebook\",\n            \"status\": \"RECEIVED\",\n            \"from\": {\n                \"id\": \"926042659575214082\",\n                \"name\": \"Tibo___test\",\n                \"senderScreenName\": \"TestTibo\"\n            },\n            \"received_at\": \"2021-11-20T08:59:58+0000\",\n            \"sent_at\": \"2021-11-20T08:58:18+0000\",\n            \"connector_id\": 1,\n            \"to\": null,\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"1075676758266665229\",\n            \"content\": \"Hello, i actually fixed it. Thanks.\",\n            \"richContent\": {\n                \"unknown\": {\n                    \"content\": {\n                        \"error\" : \"There was a problem when sending your location.\"\n                    }\n                }\n            },\n            \"type\": \"facebook\",\n            \"status\": \"RECEIVED\",\n            \"from\": {\n                \"id\": \"926042659575214082\",\n                \"name\": \"Tibo___test\",\n                \"senderScreenName\": \"TestTibo\"\n            },\n            \"received_at\": \"2021-11-20T08:59:58+0000\",\n            \"sent_at\": \"2021-11-20T08:58:18+0000\",\n            \"connector_id\": 1,\n            \"to\": null,\n            \"deleted_at\": null\n        }\n    ]\n}"}],"_postman_id":"7e7fe668-1bcd-448e-a52c-9f932d218eab"},{"name":"Get Messaging Interaction Message","id":"a7a5f42b-2314-4807-afbd-a3a1e9db2e3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref/messages/:id","description":"<p>Retrieve a messaging type interaction</p>\n","urlObject":{"path":["interactions","messaging",":ref","messages",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"9a723b32-b41a-417c-8b9e-5cb13c6b2c4e","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"da4a6f6b-b2bc-435e-b484-91e9670e9244","description":{"content":"<p>Message Id</p>\n","type":"text/plain"},"type":"any","value":"{{message_id}}","key":"id"}]}},"response":[{"id":"03ef8856-8d8b-4949-9c1f-61ffb5a7ec0f","name":"Récupérer un message d'une interaction messaging","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref/message?id={{message_id}}","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref","message"],"query":[{"key":"id","value":"{{message_id}}"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:09:10 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"228"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1075675826950193156\",\n    \"content\": \"Hello there !\",\n    \"richContent\": {\n        \"fallback\": {\n            \"content\":\"Fallback content\", \n            \"url\":\"http://www.papipapo.org\"\n        }\n    },\n    \"type\": \"TWITTER\",\n    \"status\": \"RECEIVED\",\n    \"from\": {\n        \"id\": \"926042659575214082\",\n        \"name\": \"Tibo___test\",\n        \"senderScreenName\": \"TestTibo\"\n    },\n    \"received_at\": \"2018-12-20T08:55:55+0000\",\n    \"sent_at\": \"2018-12-20T08:54:36+0000\",\n    \"connector_id\": 1,\n    \"to\": null,\n    \"deleted_at\": null\n}"}],"_postman_id":"a7a5f42b-2314-4807-afbd-a3a1e9db2e3e"},{"name":"Delete Messaging Interaction Message","id":"cc1d8dbb-c211-4311-a83b-addc0ff8b251","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/interactions/messaging/:ref/messages/:id","description":"<p>Delete a messaging type interaction</p>\n","urlObject":{"path":["interactions","messaging",":ref","messages",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"2915ea1b-59f8-4a41-83e0-f55183e0409e","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"dc2184dd-3c10-4725-9d20-acbae9636124","description":{"content":"<p>Message Id</p>\n","type":"text/plain"},"type":"any","value":"{{message_id}}","key":"id"}]}},"response":[{"id":"9e6597b2-a7e8-42a4-ac82-2b46d17c03d5","name":"Suppression d'un message d'une interaction messaging","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/api/interactions/messaging/:ref/message?id={{message_id}}","host":["{{api_base_url}}"],"path":["api","interactions","messaging",":ref","message"],"query":[{"key":"id","value":"{{message_id}}"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 20 Dec 2018 09:15:20 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"cc1d8dbb-c211-4311-a83b-addc0ff8b251"},{"name":"Retry Messaging Interaction Message","id":"9930e278-ae23-42ac-b1e0-a3bb1636ee7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref/messages/:id/retry","description":"<p>Try to send again a messaging message</p>\n","urlObject":{"path":["interactions","messaging",":ref","messages",":id","retry"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"a4b737c1-bd67-4504-8412-bb96557068f4","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"5871853d-99f5-41bb-82dc-aa7441cfec91","description":{"content":"<p>Message Id</p>\n","type":"text/plain"},"type":"any","value":"{{message_id}}","key":"id"}]}},"response":[],"_postman_id":"9930e278-ae23-42ac-b1e0-a3bb1636ee7c"},{"name":"Get Messaging Interaction Attachments","id":"8035a7a6-568e-4896-bf49-b5c60c7a53a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref/attachments","description":"<p>Retrieve the list of the attachment of a messaging type interaction</p>\n","urlObject":{"path":["interactions","messaging",":ref","attachments"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"84c9713c-87c9-4a9e-8ca0-6ddf249c18e3","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[],"_postman_id":"8035a7a6-568e-4896-bf49-b5c60c7a53a0"},{"name":"Get Messaging Interaction Attachment","id":"884f4678-1af1-4995-a112-6d65659fef5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref/attachments/:id","description":"<p>Retrieve a specific attachment of a messaging type interaction</p>\n","urlObject":{"path":["interactions","messaging",":ref","attachments",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"dafb55b7-9588-4f0d-b8cf-58147b479895","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"},{"id":"37bbe97d-53de-42ed-ade4-c775d365077e","description":{"content":"<p>Attachment Id</p>\n","type":"text/plain"},"type":"any","value":"{{attachment_id}}","key":"id"}]}},"response":[],"_postman_id":"884f4678-1af1-4995-a112-6d65659fef5f"},{"name":"Get Messaging Interaction Connectors","id":"5b1b75d1-6b99-439d-9705-9945c0fee191","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/messaging/:ref/connectors","description":"<p>Retrieve the list of connectors used with a Messaging-type interaction</p>\n","urlObject":{"path":["interactions","messaging",":ref","connectors"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"e4f1e47d-3cfd-4d19-91a4-f6e4002ce6e7","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"5f7043cf-722c-4d5d-b186-1fbf4108efb4","name":"Retrieve the list of connectors used with a Messaging-type interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/messaging/:ref/connectors","host":["{{api_base_url}}"],"path":["interactions","messaging",":ref","connectors"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"icon\": \"fa-adjust\" \"id\": 10,\r\n            \"name\": \"My Facebook DirectMessages\",\r\n            \"type\": \"FACEBOOK Generic Connector\"\r\n        },\r\n        {\r\n            \"icon\": \"fas fa-sms\" \"id\": 14,\r\n            \"name\": \"My SMS Connector\",\r\n            \"type\": \"SMS Generic Connector\"\r\n        }, \r\n        ...\r\n    ]\r\n}"}],"_postman_id":"5b1b75d1-6b99-439d-9705-9945c0fee191"}],"id":"8daec5c0-979c-4219-9655-c3955d8ac831","_postman_id":"8daec5c0-979c-4219-9655-c3955d8ac831","description":""},{"name":"chats","item":[{"name":"Get Chat Interactions","id":"97d1fc9d-784d-466b-ba3a-eb7fad07901a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/chats?include=media","description":"<p>Retrieve the list of Chat-type interactions</p>\n<p><strong>Query parameters</strong></p>\n<p><em>Remark</em>: The default pagination value is 50. This value can be modified by using the <strong>per_page</strong> query parameter. See the pagination mechanism and parameters description upper.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ custom <br /> ✓ chat <br /> <em>Remark</em>: the only applicable value is the value related to the current media. Here, <strong>chat</strong>.</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done. <br /> <em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed. <br /> Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["interactions","chats"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[]}},"response":[{"id":"7ec04cee-39b8-45c7-9848-fbf2b6857b85","name":"Retrieve the list of closed chat conversations","originalRequest":{"method":"GET","header":[{"key":"Kiamo-api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}/interactions/chats?include=media&states=done","host":["{{api_base_url}"],"path":["interactions","chats"],"query":[{"key":"include","value":"media"},{"key":"states","value":"done"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        { \r\n            ... \r\n            \"media\": {\r\n                \"type\": \"chat\",\r\n                \"messages\": [\r\n                    \"count\": 34,\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"http://127.0.0.1/api/v2/interactions/chats/{taskref}/messages\"\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": null,\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 0\r\n        }\r\n    }\r\n}"}],"_postman_id":"97d1fc9d-784d-466b-ba3a-eb7fad07901a"},{"name":"Get Chat Interaction","id":"95d549ab-af23-4e91-aa9d-251f73b4b2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/chats/:ref?include=media","description":"<p>Retrieve a Chat-type interaction</p>\n","urlObject":{"path":["interactions","chats",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"52e2dcb0-6a9a-43fb-8ba9-4328983b8499","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"ae8ad88c-52c3-4b6f-bf1d-0b05c4dc3894","name":"Retrieve a Chat-type interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/chats/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","chats",":ref"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5a9416b0e86181a1e787ea0a\",\r\n            \"task_ref\": 100001,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": null,\r\n            \"kiamo_in_date\": \"2018-02-26T15:16:16+01:00\",\r\n            \"kiamo_out_date\": \"2018-02-26T15:18:01+01:00\",\r\n            \"batch_id\": \"\",\r\n            \"duration\": {\r\n                \"wait\": 105,\r\n                \"work\": 0\r\n            },\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"https://kiamo.conecteo.fr/api/v2/interactions/100001/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"https://kiamo.conecteo.fr/api/v2/interactions/100001/tags\"\r\n                }\r\n            },\r\n            \"media\": {\r\n                \"type\": \"chat\",\r\n                \"messages\": {\r\n                    \"link\": {\r\n                        \"rel\": \"related\",\r\n                        \"href\": \"https://kiamo.conecteo.fr/api/v2/interactions/chats/100001/messages\"\r\n                    },\r\n                    \"count\": 4\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 1,\r\n                \"name\": \"Service chat 1\",\r\n                \"distribution_mode\": \"stop\",\r\n                \"type\": \"CHAT\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"state\": \"done\",\r\n            \"reference\": \"\",\r\n            \"scheduled_date\": null,\r\n            \"services\": [\r\n                {\r\n                    \"service\": {\r\n                        \"id\": 1,\r\n                        \"name\": \"Service chat 1\",\r\n                        \"in_date\": \"2018-02-26T15:16:16+01:00\",\r\n                        \"out_date\": \"2018-02-26T15:18:01+01:00\"\r\n                    },\r\n                    \"exit_reason\": \"Cancelled\",\r\n                    \"wait\": 0,\r\n                    \"work\": 0,\r\n                    \"agent\": null\r\n                }\r\n            ],\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"https://kiamo.conecteo.fr/api/v2/interactions/100001/userdata\"\r\n                }\r\n            },\r\n            \"label\": \"\"\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": null,\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 0\r\n        }\r\n    }\r\n}"}],"_postman_id":"95d549ab-af23-4e91-aa9d-251f73b4b2ef"},{"name":"Get Chat Interaction Messages","id":"00337d17-a0ec-4f45-a427-85b1da405634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/chats/:ref/messages","description":"<p>Retrieve the content of a chat conversation</p>\n<p><em>Remark</em>: To retrieve specific information about a media, you have to include the following parameter in the query: <strong>include=media</strong> (see example).</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “200 Ok” when there is no problem.</p>\n<p>✓ “404 Not Found” if the interaction does not exist.</p>\n","urlObject":{"path":["interactions","chats",":ref","messages"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"c5bef573-fd46-48bf-874d-1a9390b64d46","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"45fd6c2c-7228-40b6-8da9-18d10e42d0c8","name":"Retrieve the content of a chat conversation","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/chats/:ref/messages","host":["{{api_base_url}}"],"path":["interactions","chats",":ref","messages"],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n    \"data\": {\r\n        \"date\": \"2015-09-29T12:20:52+02:00\",\r\n        \"type\": \"auto\",\r\n        \"author\": \"\",\r\n        \"content\": \"Hello and welcome! Please ask your question...\"\r\n    },\r\n    {\r\n        \"date\": \"2015-09-29T12:20:59+02:00\",\r\n        \"type\": \"client\",\r\n        \"author\": \"client100420\",\r\n        \"content\": \"I need information about\"\r\n    } \r\n    …\r\n]"}],"_postman_id":"00337d17-a0ec-4f45-a427-85b1da405634"}],"id":"51b4f98d-7a9c-4734-875b-bab4aacf1fb1","_postman_id":"51b4f98d-7a9c-4734-875b-bab4aacf1fb1","description":""},{"name":"customs","item":[{"name":"Get Custom Interactions","id":"8402e025-5908-4482-883e-e2738300206b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/customs?include=media","description":"<p>Retrieve the list of custom type interactions</p>\n<p><strong>Query parameters</strong></p>\n<p><em>Remark</em>: The default pagination value is 50. This value can be modified by using the <strong>per_page</strong> query parameter. See the pagination mechanism and parameters description upper.</p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include</td>\n<td>string</td>\n<td>To retrieve specific information about a media, you have to include the following parameter: include=media</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>number</td>\n<td>Customer’s phone number.</td>\n</tr>\n<tr>\n<td>in_date_start</td>\n<td>date</td>\n<td>Date of start of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>in_date_end</td>\n<td>date</td>\n<td>Date of end of entry of the interaction in Kiamo (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>media</td>\n<td>string</td>\n<td>Type of media: <br /> ✓ call <br /> ✓ email <br /> ✓ messaging <br /> ✓ custom <br /> ✓ chat <br /> <em>Remark</em>: the only applicable value is the value related to the current media. Here, <strong>custom</strong>.</td>\n</tr>\n<tr>\n<td>attached_ref</td>\n<td>number</td>\n<td>Interaction AttachedRef.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>number</td>\n<td>Interaction ID.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>string</td>\n<td>Status of the interaction. <br /> <em>Remark</em>: This element can have the following values: <br /> ✓ wait, <br /> ✓ work, <br /> ✓ done. <br /> <em>Remark</em>: To insert a list, use commas (e.g.: “wait,work”)</td>\n</tr>\n<tr>\n<td>service_ids</td>\n<td>string</td>\n<td>IDs of the services in which the interaction has been processed. <br /> Comma separated list (e.g.: 1,3,5).</td>\n</tr>\n<tr>\n<td>agent_ids</td>\n<td>number</td>\n<td>IDs of the agents to whom the interaction has been assigned or who processed the interaction.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["interactions","customs"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[]}},"response":[{"id":"c4cb949f-3cf6-43c2-b964-5c0d63f9f79c","name":"Retrieve all the custom type interactions","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}}/interactions/customs?include=media","host":["{{api_base_url}}"],"path":["interactions","customs"],"query":[{"key":"include","value":"media"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 09:26:32 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"518"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5c1a4d2cf9a39a0e951f7939\",\n            \"task_ref\": 100003,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100003,\n            \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n            \"batch_id\": \"0\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100003/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100003/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100003/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 3,\n                \"name\": \"Distribution de tâches 1\",\n                \"distribution_mode\": \"manual\",\n                \"type\": \"MRA\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"custom\"\n            }\n        },\n        {\n            \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n            \"task_ref\": 100004,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100004,\n            \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n            \"batch_id\": \"0\",\n            \"duration\": {\n                \"wait\": 97012,\n                \"work\": 14\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100004/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100004/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100004/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 3,\n                \"name\": \"Distribution de tâches 1\",\n                \"distribution_mode\": \"manual\",\n                \"type\": \"MRA\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": \"2018-12-20T16:51:08+0000\",\n            \"media\": {\n                \"type\": \"custom\"\n            }\n        },\n        {\n            \"id\": \"5c1a4d2cf9a39a0e951f7943\",\n            \"task_ref\": 100005,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100005,\n            \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n            \"batch_id\": \"0\",\n            \"duration\": {\n                \"wait\": 0,\n                \"work\": 0\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100005/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100005/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100005/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 3,\n                \"name\": \"Distribution de tâches 1\",\n                \"distribution_mode\": \"manual\",\n                \"type\": \"MRA\"\n            },\n            \"current_agent\": {\n                \"id\": null,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": null,\n            \"media\": {\n                \"type\": \"custom\"\n            }\n        },\n        {\n            \"id\": \"5c1a4d2cf9a39a0e951f7934\",\n            \"task_ref\": 100002,\n            \"interaction_ref\": null,\n            \"attached_ref\": 100002,\n            \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n            \"batch_id\": \"0\",\n            \"duration\": {\n                \"wait\": 96970,\n                \"work\": 10\n            },\n            \"label\": \"\",\n            \"userdata\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100002/userdata\"\n                }\n            },\n            \"state\": \"wait\",\n            \"reference\": \"\",\n            \"notes\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100002/notes\"\n                },\n                \"count\": 0\n            },\n            \"tags\": {\n                \"link\": {\n                    \"rel\": \"related\",\n                    \"href\": \"/interactions/100002/tags\"\n                }\n            },\n            \"current_service\": {\n                \"id\": 3,\n                \"name\": \"Distribution de tâches 1\",\n                \"distribution_mode\": \"manual\",\n                \"type\": \"MRA\"\n            },\n            \"current_agent\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"kiamo_out_date\": null,\n            \"scheduled_date\": \"2018-12-20T16:50:05+0000\",\n            \"media\": {\n                \"type\": \"custom\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": \"5c1a4d2cf9a39a0e951f7939\",\n            \"prev\": null,\n            \"next\": null,\n            \"count\": 4\n        }\n    }\n}"},{"id":"e1cbfefc-4295-4c4f-8452-828dc81e0510","name":"Retrieve the list of custom tasks to process in a specific service","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":{"raw":"{{api_base_url}}/interactions/customs?include=media&states=wait&service_ids=7","host":["{{api_base_url}}"],"path":["interactions","customs"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"},{"key":"states","value":"wait"},{"key":"service_ids","value":"7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"id\": \"5c7ea3d949bfc6be58f99c97\",\r\n            \"task_ref\": 100055,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": 100055,\r\n            \"kiamo_in_date\": \"2019-03-05T16:29:13+0000\",\r\n            \"batch_id\": \"0\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 20\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100055/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"wait\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100055/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100055/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 5,\r\n                \"name\": \"Task distribution SC\",\r\n                \"distribution_mode\": \"manual\",\r\n                \"type\": \"MRA\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": null,\r\n            \"scheduled_date\": \"2019-03-05T16:29:41+0000\",\r\n            \"media\": {\r\n                \"type\": \"custom\"\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"5c7ea3d949bfc6be58f99c83\",\r\n            \"task_ref\": 100052,\r\n            \"interaction_ref\": null,\r\n            \"attached_ref\": 100052,\r\n            \"kiamo_in_date\": \"2019-03-05T16:29:13+0000\",\r\n            \"batch_id\": \"0\",\r\n            \"duration\": {\r\n                \"wait\": 0,\r\n                \"work\": 0\r\n            },\r\n            \"label\": \"\",\r\n            \"userdata\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100052/userdata\"\r\n                }\r\n            },\r\n            \"state\": \"wait\",\r\n            \"reference\": \"\",\r\n            \"notes\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100052/notes\"\r\n                },\r\n                \"count\": 0\r\n            },\r\n            \"tags\": {\r\n                \"link\": {\r\n                    \"rel\": \"related\",\r\n                    \"href\": \"/api/v2/interactions/100052/tags\"\r\n                }\r\n            },\r\n            \"current_service\": {\r\n                \"id\": 5,\r\n                \"name\": \"Task distribution SC\",\r\n                \"distribution_mode\": \"manual\",\r\n                \"type\": \"MRA\"\r\n            },\r\n            \"current_agent\": {\r\n                \"id\": null,\r\n                \"name\": \"\"\r\n            },\r\n            \"kiamo_out_date\": null,\r\n            \"scheduled_date\": null,\r\n            \"media\": {\r\n                \"type\": \"custom\"\r\n            }\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"cursor\": {\r\n            \"current\": \"5c7ea3d949bfc6be58f99c97\",\r\n            \"prev\": null,\r\n            \"next\": null,\r\n            \"count\": 4\r\n        }\r\n    }\r\n}"}],"_postman_id":"8402e025-5908-4482-883e-e2738300206b"},{"name":"Get Custom Interaction","id":"a49d6ab8-f966-4594-8fb2-1c4ac7fba026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"url":"{{api_base_url}}/interactions/customs/:ref?include=media","description":"<p>Retrieve a Custom-type interaction</p>\n","urlObject":{"path":["interactions","customs",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"740037fe-5c1b-4b7c-aa97-93fedf3b3f10","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"dbeb456f-3cf4-4622-bb01-3ed86eae68c4","name":"Retrieve a Custom-type interaction","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:33:45 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"378"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"reference value\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 9,\n        \"name\": \"Distribution de tâches 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-21T16:00:00+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"}],"_postman_id":"a49d6ab8-f966-4594-8fb2-1c4ac7fba026"},{"name":"Update Custom Interaction","id":"2be85665-f3cf-442a-add4-596412ff1b1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\": {\n\t\t\"id\" : 3\n\t},\n\t\"current_agent\": {\n\t\t\"id\" : 3\n\t},\n\t\"state\": \"done\",\n\t\"reference\": \"custom reference\",\n\t\"destination\": 9999,\n\t\"scheduled_date\": \"2018-12-27 16:00:00\",\n\t\"user_data\": {\n\t\t\"variableA\": \"value\"\n\t}\n}"},"url":"{{api_base_url}}/interactions/customs/:ref?include=media","description":"<p>Update of a Custom-type interaction</p>\n<p><strong>Body parameters</strong></p>\n<p>The possible body parameters (editable elements) are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>current_agent.id</td>\n<td>number</td>\n<td>ID of the agent to whom the call has been assigned or who processed the call.</td>\n</tr>\n<tr>\n<td>current_service.id</td>\n<td>number</td>\n<td>ID of the service in which is the call at the moment.</td>\n</tr>\n<tr>\n<td>destination</td>\n<td>string</td>\n<td>Customer’s phone number. <br /> <em>Remark</em>: This property is optional for a call included in an outbound call campaign with the multi dialing option selected.</td>\n</tr>\n<tr>\n<td>scheduled_date</td>\n<td>dateTime</td>\n<td>Call processing scheduled date (yyyy mm dd [hh:mm] format or ISO8601 format).</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>Status of the call. <br /> <em>Remark</em>: You can only change status to <strong>done</strong>.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>string</td>\n<td>Interaction reference.</td>\n</tr>\n<tr>\n<td>userdata</td>\n<td>object</td>\n<td>Interaction user data.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Answer codes</strong></p>\n<p>✓ “200 OK” when there is no problem.</p>\n<p>✓ “400 Bad request” if the “current_agent” or “current_service” node is provided but the “id” parameter is missing or the agent does not exist in Kiamo.</p>\n","urlObject":{"path":["interactions","customs",":ref"],"host":["{{api_base_url}}"],"query":[{"description":{"content":"<p>(optional) Include related media data</p>\n","type":"text/plain"},"key":"include","value":"media"}],"variable":[{"id":"c0fa62fb-59c1-4fe7-9a0f-1d9ae78a6858","description":{"content":"<p>Interaction reference</p>\n","type":"text/plain"},"type":"any","value":"{{interaction_ref}}","key":"ref"}]}},"response":[{"id":"2e40e2e7-5f84-4a02-953d-3bf230ec504b","name":"Update the interaction reference","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"reference\": \"reference value\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:09:29 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"379"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"reference value\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 9,\n        \"name\": \"Distribution de tâches 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T16:51:08+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"},{"id":"90f52e56-d189-4588-a8a8-658e7153fbfd","name":"Update a Custom-type Interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\": {\n\t\t\"id\" : 2\n\t},\n\t\"current_agent\": {\n\t\t\"id\" : 4\n\t},\n\t\"state\": \"done\",\n\t\"destination\": 3344,\n\t\"scheduled_date\": \"2016-02-02 10:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media","description":"(optional) Include related media data"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"5c7ea3d949bfc6be58f99c92\",\r\n    \"task_ref\": 100054,\r\n    \"interaction_ref\": null,\r\n    \"attached_ref\": 100054,\r\n    \"kiamo_in_date\": \"2019-03-05T16:29:13+0000\",\r\n    \"batch_id\": \"0\",\r\n    \"duration\": {\r\n        \"wait\": 0,\r\n        \"work\": 0\r\n    },\r\n    \"label\": \"\",\r\n    \"userdata\": {\r\n        \"link\": {\r\n            \"rel\": \"related\",\r\n            \"href\": \"/api/v2/interactions/100054/userdata\"\r\n        }\r\n    },\r\n    \"state\": \"wait\",\r\n    \"reference\": \"\",\r\n    \"notes\": {\r\n        \"link\": {\r\n            \"rel\": \"related\",\r\n            \"href\": \"/api/v2/interactions/100054/notes\"\r\n        },\r\n        \"count\": 0\r\n    },\r\n    \"tags\": {\r\n        \"link\": {\r\n            \"rel\": \"related\",\r\n            \"href\": \"/api/v2/interactions/100054/tags\"\r\n        }\r\n    },\r\n    \"current_service\": {\r\n        \"id\": 5,\r\n        \"name\": \"Task distribution SC\",\r\n        \"distribution_mode\": \"manual\",\r\n        \"type\": \"MRA\"\r\n    },\r\n    \"current_agent\": {\r\n        \"id\": null,\r\n        \"name\": \"\"\r\n    },\r\n    \"kiamo_out_date\": null,\r\n    \"scheduled_date\": null,\r\n    \"media\": {\r\n        \"type\": \"custom\"\r\n    }\r\n}"},{"id":"d46ddb7d-2364-4727-8e43-a24c50982a7d","name":"Assign an agent to the interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_agent\": {\n\t\t\"id\": 2\n\t}\t\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:00:20 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"384"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 3,\n        \"name\": \"Distribution de tâches 1\",\n        \"distribution_mode\": \"manual\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": 2,\n        \"name\": \"Nouvel_Agent_2\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T16:51:08+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"},{"id":"a017234b-832e-40d3-bc48-50a951df2b94","name":"Transfer the interaction to another service","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"current_service\": {\n\t\t\"id\": 9\n\t}\t\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:04:25 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"373"},{"key":"Keep-Alive","value":"timeout=5, max=499"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 9,\n        \"name\": \"Distribution de tâches 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T16:51:08+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"},{"id":"9940bc1c-e3a8-49ff-8096-9e64303a4672","name":"Add a scheduled date to the interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"scheduled_date\": \"2018-12-21 16:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:12:33 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"378"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"reference value\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 9,\n        \"name\": \"Distribution de tâches 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-21T16:00:00+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"},{"id":"50118fca-4a92-446a-a2f2-df0c0921b5a0","name":"Add userdata to the interaction","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"userdata\": {\n\t\t\"VariableA\" : \"value\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:10:53 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"379"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"reference value\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 9,\n        \"name\": \"Distribution de tâches 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T16:51:08+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"},{"id":"0780ff77-7610-425a-a49c-a38cf3158f7f","name":"Update the interaction destination","originalRequest":{"method":"PUT","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"destination\": 9999\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/interactions/customs/:ref?include=media","host":["{{api_base_url}}"],"path":["interactions","customs",":ref"],"query":[{"key":"include","value":"media"}],"variable":[{"key":"ref","value":"{{interaction_ref}}","description":"Interaction reference"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Dec 2018 10:08:06 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"379"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"5c1a4d2cf9a39a0e951f793e\",\n    \"task_ref\": 100004,\n    \"interaction_ref\": null,\n    \"attached_ref\": 100004,\n    \"kiamo_in_date\": \"2018-12-19T13:52:43+0000\",\n    \"batch_id\": \"0\",\n    \"duration\": {\n        \"wait\": 97012,\n        \"work\": 14\n    },\n    \"label\": \"\",\n    \"userdata\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/userdata\"\n        }\n    },\n    \"state\": \"wait\",\n    \"reference\": \"custom ref\",\n    \"notes\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/notes\"\n        },\n        \"count\": 0\n    },\n    \"tags\": {\n        \"link\": {\n            \"rel\": \"related\",\n            \"href\": \"/interactions/100004/tags\"\n        }\n    },\n    \"current_service\": {\n        \"id\": 9,\n        \"name\": \"Distribution de tâches 2\",\n        \"distribution_mode\": \"stop\",\n        \"type\": \"MRA\"\n    },\n    \"current_agent\": {\n        \"id\": null,\n        \"name\": \"\"\n    },\n    \"kiamo_out_date\": null,\n    \"scheduled_date\": \"2018-12-20T16:51:08+0000\",\n    \"media\": {\n        \"type\": \"custom\"\n    }\n}"}],"_postman_id":"2be85665-f3cf-442a-add4-596412ff1b1e"}],"id":"e4b3b9f2-ff87-4e9a-949d-4fb08afae304","_postman_id":"e4b3b9f2-ff87-4e9a-949d-4fb08afae304","description":""},{"name":"services","item":[{"name":"Create Service Interactions","id":"4da9c5df-0ec8-4f8f-9890-b2706123a931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"agent_id\": 1,\n        \"reference\": \"my_ref\",\n        \"destination\": 9999,\n        \"scheduled_date\": \"2018-12-27 16:00:00\",\n        \"userdata\": {\n            \"variable\": \"value\"\n        }\n    }\n]"},"url":"{{api_base_url}}/services/:id/interactions","description":"<p>Creation of one or more interactions linked to a specific service</p>\n<p><strong>Body parameters</strong></p>\n<p>The possible body parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>agent_id</td>\n<td>number</td>\n<td>Unique ID of the agent to whom the interaction has been assigned or who processed the interaction. <br /> <em>Remark</em>: This parameter is optional.</td>\n</tr>\n<tr>\n<td>destination</td>\n<td>string</td>\n<td><br /> Phone number to call. <em>Remark</em>: This element is mandatory with outbound call campaigns.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>string</td>\n<td><br /> Interaction reference. <em>Remark</em>: This parameter is optional.</td>\n</tr>\n<tr>\n<td>scheduled_date</td>\n<td>dateTime</td>\n<td><br /> Interaction processing scheduled date (yyyy mm dd [hh:mm] format or ISO8601 format). <em>Remark</em>: This parameter is optional.</td>\n</tr>\n<tr>\n<td>userdata <em>or</em> <br /> userdatas</td>\n<td>object</td>\n<td><br /> Interaction user data. <em>Remark</em>: This parameter is optional.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Caution</strong> : Before inserting interactions, you have to create all the user variables (userdata) that will be used in the query and to enable the storage of these variables in the Kiamo administration interface, Developer <strong>&lt;/&gt;</strong> &gt; List of variables menu &gt; User variables tab; otherwise, userdata will not be available in the interactions database. For more information, please refer to the “Kiamo Developer guide”.</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ “201 Created” when there is no problem.</p>\n<p>✓ “400 Bad Request” if no interaction has been sent in the query, if the destination has not been provided or if the scheduled_date is not in the right format.</p>\n","urlObject":{"path":["services",":id","interactions"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"cc3014bd-b7c0-4126-9975-6420d76e3ce8","description":{"content":"<p>Service Id</p>\n","type":"text/plain"},"type":"any","value":"{{service_id}}","key":"id"}]}},"response":[{"id":"52dfbfd9-85e2-4ca4-ab96-a70badc4af20","name":"Insertion of several tasks","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[ \n    { \n        \"agent_id\":4,\n        \"destination\": \"1425696823\", \n        \"reference\": \"azertyuiop\", \n        \"scheduled_date\": \"2019-06-20 15:00:00\", \n        \"userdata\": { \n            \"name\": \"Smith\", \n            \"first_name\": \"John\", \n            \"company\": \"Kiamo\" \n        } \n    }, \n    { \n        \"destination\": \"1896254872\", \n        \"scheduled_date\": \"2019-06-20 15:03:00\", \n        \"userdata\": { \n            \"name\": \"Farrell\", \n            \"first_name\": \"Jack\", \n            \"company\": \"MyCompany\" \n        } \n    } \n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/services/:id/interactions","host":["{{api_base_url}}"],"path":["services",":id","interactions"],"variable":[{"key":"id","value":"{{service_id}}","description":"Service Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 201,\r\n    \"title\": \"Resource has been created\",\r\n    \"detail\": \"Follow location to get created resources\",\r\n    \"location\": \"http://ctotestvbe/api/v2/interactions?in_date_start=2019-03-11+10%3A44%3A57\"\r\n}"},{"id":"47e531ab-aaa7-4a6d-b848-a773d96d813e","name":"Insertion of a task in a type MRA service","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"agent_id\": 1,\n\t\t\"reference\": \"my_ref\",\n\t\t\"destination\": 9999,\n\t\t\"scheduled_date\": \"2018-12-27 16:00:00\",\n\t\t\"userdata\": {\n\t\t\t\"variable\": \"value\"\n\t\t}\n\t}\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"{{api_base_url}}/services/:id/interactions","host":["{{api_base_url}}"],"path":["services",":id","interactions"],"variable":[{"key":"id","value":"{{service_id}}","description":"Service Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Dec 2018 10:50:20 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Location","value":"http://127.0.0.1/interactions?in_date_start=2018-12-27+10%3A50%3A21"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"172"},{"key":"Keep-Alive","value":"timeout=5, max=500"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"title\": \"Resource has been created\",\n    \"detail\": \"Follow location to get created resources\",\n    \"location\": \"http://127.0.0.1/interactions?in_date_start=2018-12-27+10%3A50%3A21\"\n}"}],"_postman_id":"4da9c5df-0ec8-4f8f-9890-b2706123a931"},{"name":"Delete Service Interactions","id":"76159ba9-2138-4003-a421-c67d0c671ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","value":"{{token_interactions}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{api_base_url}}/services/:id/interactions","description":"<p>Delete all the interactions in a specific service</p>\n<p><strong>Answer codes</strong></p>\n<p>✓ \"204 No Content\" when there is no problem.</p>\n","urlObject":{"path":["services",":id","interactions"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"2ad91e92-cc30-43ff-b35e-43bb1d15cc93","description":{"content":"<p>Service Id</p>\n","type":"text/plain"},"type":"any","value":"{{service_id}}","key":"id"}]}},"response":[{"id":"c284a449-e8fb-4bb3-9115-cd51171b0e2f","name":"Delete all the interactions in a specific service","originalRequest":{"method":"DELETE","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_interactions}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{api_base_url}}/services/:id/interactions","host":["{{api_base_url}}"],"path":["services",":id","interactions"],"variable":[{"key":"id","value":"{{service_id}}","description":"Service Id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"76159ba9-2138-4003-a421-c67d0c671ef6"}],"id":"ccda2c6f-3ec8-4c20-a7b8-293c55459287","_postman_id":"ccda2c6f-3ec8-4c20-a7b8-293c55459287","description":""}],"id":"3aa83e04-9919-496b-a0c7-0a50245a52f9","description":"<h1 id=\"interaction-api\">INTERACTION API</h1>\n<h2 id=\"common-query-parameters\">Common query parameters</h2>\n<p>The following query parameters are available for GET requests:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sort</td>\n<td></td>\n<td>Ascending / descending sort of a field</td>\n</tr>\n<tr>\n<td>include_drafts</td>\n<td></td>\n<td>Only available if the media is mail</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"pagination\">Pagination</h2>\n<h3 id=\"presentation\">Presentation</h3>\n<p>To manage a large number of results without degrading the performance of the software, the Interaction API uses a pagination system for list-type resources.</p>\n<p>This pagination is easy to use: it is based on Cursor type pagination (Cursor Based Pagination).<br />Thus, all the list type resources return a shared structure:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>meta.cursor</td>\n<td>Object</td>\n<td>Information about the result</td>\n</tr>\n<tr>\n<td>data</td>\n<td>N <strong>Interaction</strong> Objects</td>\n<td>Interaction table</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example of a JSON answer</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">\"meta\": { \n    \"cursor\": { \n        \"current\": \"5b1139767265e44aa4003b2e\", \n        \"prev\": null, \n        \"next\": \"5b1139747265e44aa4003ade\", \n        \"count\": 50 \n    }\n}, \n\"data\" : []\n\n</code></pre>\n<p>The “cursor” object contains the following elements:</p>\n<p>✓ current: ID of the interaction where the cursor is.</p>\n<p>✓ prev: ID of the interaction previous to the interaction where the cursor is.</p>\n<p>✓ next: ID of the interaction following the interaction where the cursor is.</p>\n<p>✓ count: total number of results.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<p>The following query parameters are available to refine/ browse the list of results:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>per_page</td>\n<td>number</td>\n<td>Number of results to return.  <br /><em>Remark</em>: The default value is: 50.</td>\n</tr>\n<tr>\n<td>next_id</td>\n<td>string</td>\n<td>ID of the last result returned.  <br />It is the ID that you will have to provide to get the next results.  <br /><em>Remark</em>: Mandatory parameter.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e4d12d07-2571-41f1-99f4-d1cbedb21180"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"36ccf04b-283f-452b-b8b2-92ca150e1914"}}],"_postman_id":"3aa83e04-9919-496b-a0c7-0a50245a52f9"},{"name":"supervision","item":[{"name":"Create Supervision View","id":"0415bd27-fd0e-4d2b-b49e-b3783c4bd7a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Kiamo-Api-Token","value":"{{token_supervision}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n\t{\r\n\t\t\"type\": \"histo\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dcd32d8b2cf740d50005b58\",\r\n\t\t\"range\": 2,\r\n\t\t\"step\": \"cumul\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t3\r\n\t\t],\r\n\t\t\"indicator\": {\r\n\t\t\t\"type\": \"HISTO-RCVCALL\",\r\n\t\t\t\"label\": \"Reçus\",\r\n\t\t\t\"alarms\": []\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\t\"type\": \"interaction\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dcd357bb2cf743f70002848\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t3\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"cumul\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dcd3e54b2cf743f70002849\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t3,\r\n\t\t\t9\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLWAIT\",\r\n\t\t\t\t\"label\": \"App.en ATT\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLRCV_DAY\",\r\n\t\t\t\t\"label\": \"Reçus(j)\",\r\n\t\t\t\t\"alarms\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"from\": 0,\r\n\t\t\t\t\t\t\"to\": 0,\r\n\t\t\t\t\t\t\"color\": \"#000000\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"greater_than\": 50,\r\n\t\t\t\t\t\t\"color\": \"#FF0000\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"detail\",\r\n\t\t\"entity\": \"agent\",\r\n\t\t\"ref\": \"5dcd3ebab2cf743f7000284b\",\r\n\t\t\"filter\": {\r\n\t\t\t\"type\": \"group\",\r\n\t\t\t\"id\": 1\r\n\t\t},\r\n\t\t\"entities_ids\": [\r\n\t\t\t2,\r\n\t\t\t1\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"SVCCLANS\",\r\n\t\t\t\t\"label\": \"App.Traités\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"states\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 3,\r\n\t\t\t\t\"alarms\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"from\": 0,\r\n\t\t\t\t\t\t\"to\": 500,\r\n\t\t\t\t\t\t\"color\": \"#008000\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"greater_than\": 30,\r\n\t\t\t\t\t\t\"color\": \"#FF0000\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"detail\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dcd3ee1b2cf743f7000284c\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t3,\r\n\t\t\t9\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLRIGHTNOW\",\r\n\t\t\t\t\"label\": \"App.en cours\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLWAIT\",\r\n\t\t\t\t\"label\": \"App.en ATT\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"NBAGTACTIVE\",\r\n\t\t\t\t\"label\": \"Actifs\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"SVCQUAL_15\",\r\n\t\t\t\t\"label\": \"QOS(15)\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"WAITMAX\",\r\n\t\t\t\t\"label\": \"Att.Max\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLRCV_DAY\",\r\n\t\t\t\t\"label\": \"Reçus(j)\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"cumul\",\r\n\t\t\"entity\": \"group\",\r\n\t\t\"ref\": \"5dcd9616b2cf7427bc0062a5\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t1,\r\n\t\t\t3\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"NBAGTLOG\",\r\n\t\t\t\t\"label\": \"Logués\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"cumul\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dcd9943b2cf7427bc0062a6\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t3,\r\n\t\t\t9\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLRCV_DAY\",\r\n\t\t\t\t\"label\": \"Reçus(j)\",\r\n\t\t\t\t\"alarms\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"from\": 0,\r\n\t\t\t\t\t\t\"to\": 3000,\r\n\t\t\t\t\t\t\"color\": \"#008000\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"from\": 3000,\r\n\t\t\t\t\t\t\"to\": 5000,\r\n\t\t\t\t\t\t\"color\": \"#ffa900\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"greater_than\": 5000,\r\n\t\t\t\t\t\t\"color\": \"#FF0000\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"list\",\r\n\t\t\"entity\": {\r\n\t\t\t\"type\": \"group\",\r\n\t\t\t\"id\": 1\r\n\t\t},\r\n\t\t\"ref\": \"5dce5abcb2cf74041c002866\",\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"NBAGTLOG\",\r\n\t\t\t\t\"label\": \"Logués\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"list\",\r\n\t\t\"entity\": {\r\n\t\t\t\"type\": \"team\",\r\n\t\t\t\"id\": 1\r\n\t\t},\r\n\t\t\"ref\": \"5dce5accb2cf741b34002194\",\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"NBAGTLOG\",\r\n\t\t\t\t\"label\": \"Logués\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"cumul\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dce5ae2b2cf7418c4002df9\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t3,\r\n\t\t\t9\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"CLWAIT\",\r\n\t\t\t\t\"label\": \"App.en ATT\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{ \r\n\t\t\"type\": \"list\",\r\n\t\t\"entity\": {\r\n\t\t\t\"type\": \"service\",\r\n\t\t\t\"id\": 3\r\n\t\t},\r\n\t\t\"ref\": \"5dce610bb2cf7418c4002dfb\",\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"QUALIFICATION\",\r\n\t\t\t\t\"list\": [\r\n\t\t\t\t\t1\r\n\t\t\t\t],\r\n\t\t\t\t\"label\": \"Qualification\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\t\"type\": \"histo\",\r\n\t\t\"entity\": \"group\",\r\n\t\t\"ref\": \"5dce626bb2cf743a34006065\",\r\n\t\t\"range\": 2,\r\n\t\t\"step\": \"cumul\",\r\n\t\t\"entities_ids\": [\r\n\t\t\t1\r\n\t\t],\r\n\t\t\"indicator\": {\r\n\t\t\t\"type\": \"CUSTOM_1\",\r\n\t\t\t\"label\": \"Sinusoïde\",\r\n\t\t\t\"alarms\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"from\": 0,\r\n\t\t\t\t\t\"to\": 0,\r\n\t\t\t\t\t\"color\": \"#008000\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"greater_than\": 0,\r\n\t\t\t\t\t\"color\": \"#FF0000\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t}\r\n]"},"url":"{{api_base_url}}/supervision/views","description":"<p>Create a supervision view</p>\n<p><strong>Query parameters</strong></p>\n<p>The possible query parameters are listed below :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>return</td>\n<td>N/A</td>\n<td>This parameter is used to directly obtain the valorized View object, instead of retrieving the View ID. <br /> <strong>Caution</strong>: If you send a POST request with a return of the view, you cannot obtain the ID of the generated view.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON body</strong></p>\n<p>The JSON body is composed by an array of Block objects.</p>\n<p><em>Remark</em>: see the provided example of supervision view creation with different configurations.</p>\n","urlObject":{"path":["supervision","views"],"host":["{{api_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e0f36182-556b-4e9a-976d-5a8fb29edd97","name":"Create a view with a List of Agents configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n\t{\r\n\t\t\"type\": \"detail\",\r\n\t\t\"entity\": \"agent\",\r\n\t\t\"ref\": \"5dcd3ebab2cf743f7000284b\",\r\n\t\t\"filter\": {\r\n\t\t\t\"type\": \"group\",\r\n\t\t\t\"id\": 1\r\n\t\t},\r\n\t\t\"entities_ids\": [\r\n\t\t\t2,\r\n1\r\n\t\t],\r\n\t\t\"indicators\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": \"SVCCLANS\",\r\n\t\t\t\t\"label\": \"Handled Calls\",\r\n\t\t\t\t\"alarms\": []\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"states\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 3,\r\n\t\t\t\t\"alarms\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"from\": 0,\r\n\t\t\t\t\t\t\"to\": 500,\r\n\t\t\t\t\t\t\"color\": \"#008000\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"greater_than\": 30,\r\n\t\t\t\t\t\t\"color\": \"#FF0000\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n]\r\n","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"59051013-ff3f-42ef-bc5b-f44e4dce3e2b","name":"Create a view with a List of Services configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"type\": \"detail\",\r\n        \"entity\": \"service\",\r\n        \"ref\": \"5dcd3ee1b2cf743f7000284c\",\r\n        \"entities_ids\": [\r\n            3,\r\n            9\r\n        ],\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"CLRIGHTNOW\",\r\n                \"label\": \"OnGoingCalls\",\r\n                \"alarms\": []\r\n            },\r\n            {\r\n                \"type\": \"CLWAIT\",\r\n                \"label\": \"Queued\",\r\n                \"alarms\": []\r\n            },\r\n            {\r\n                \"type\": \"NBAGTACTIVE\",\r\n                \"label\": \"Active\",\r\n                \"alarms\": []\r\n            },\r\n            {\r\n                \"type\": \"SVCQUAL_15\",\r\n                \"label\": \"QOS(15)\",\r\n                \"alarms\": []\r\n            },\r\n            {\r\n                \"type\": \"WAITMAX\",\r\n                \"label\": \"Max.Wait\",\r\n                \"alarms\": []\r\n            },\r\n            {\r\n                \"type\": \"CLRCV_DAY\",\r\n                \"label\": \"Received(d)\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"9516c4c9-a8a5-4c7b-8ae8-c2382b9dc24e","name":"Create a view with a Team / Group / Service configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"type\": \"list\",\r\n        \"entity\": {\r\n            \"type\": \"group\",\r\n            \"id\": 1\r\n        },\r\n        \"ref\": \"5dce5abcb2cf74041c002866\",\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"NBAGTLOG\",\r\n                \"label\": \"Connected\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"type\": \"list\",\r\n        \"entity\": {\r\n            \"type\": \"team\",\r\n            \"id\": 1\r\n        },\r\n        \"ref\": \"5dce5accb2cf741b34002194\",\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"NBAGTLOG\",\r\n                \"label\": \"Connected\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"type\": \"list\",\r\n        \"entity\": {\r\n            \"type\": \"service\",\r\n            \"id\": 3\r\n        },\r\n        \"ref\": \"5dce610bb2cf7418c4002dfb\",\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"QUALIFICATION\",\r\n                \"list\": [\r\n                    1\r\n                ],\r\n                \"label\": \"Qualification\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"7a9dc1bc-2120-40fb-8670-816febdbe0b8","name":"Create a view with a Combined Services configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"type\": \"cumul\",\r\n        \"entity\": \"service\",\r\n        \"ref\": \"5dce5ae2b2cf7418c4002df9\",\r\n        \"entities_ids\": [\r\n            3,\r\n            9\r\n        ],\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"CLWAIT\",\r\n                \"label\": \"QueuedCalls\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"9b6d73a8-f7d9-4f09-adf2-759df74c7fe7","name":"Create a view with a Combined Groups configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"type\": \"cumul\",\r\n        \"entity\": \"group\",\r\n        \"ref\": \"5dcd9616b2cf7427bc0062a5\",\r\n        \"entities_ids\": [\r\n            1,\r\n            3\r\n        ],\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"NBAGTLOG\",\r\n                \"label\": \"Connected\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"fe969a94-a2d4-417f-ab30-ec335170447d","name":"Create a view with a Curve configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"type\": \"histo\",\r\n        \"entity\": \"group\",\r\n        \"ref\": \"5dce626bb2cf743a34006065\",\r\n        \"range\": 2,\r\n        \"step\": \"cumul\",\r\n        \"entities_ids\": [\r\n            1\r\n        ],\r\n        \"indicator\": {\r\n            \"type\": \"Backoffice tasks\",\r\n            \"label\": \"Sinusoïde\",\r\n            \"alarms\": [\r\n                {\r\n                    \"from\": 0,\r\n                    \"to\": 0,\r\n                    \"color\": \"#008000\"\r\n                },\r\n                {\r\n                    \"greater_than\": 0,\r\n                    \"color\": \"#FF0000\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"6f573ecd-5635-45df-9968-f101c1aff0da","name":"Create a view with a List of Calls configuration","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n\t{\r\n\t\t\"type\": \"detail\",\r\n\t\t\"entity\": \"service\",\r\n\t\t\"ref\": \"5dcd3ee1b2cf743f7000284c\",\r\n\t\t\"filter\": {\r\n\t\t\t\"type\": \"group\",\r\n\t\t\t\"id\": 15\r\n\t\t},\r\n\t\t\"entities_ids\": [\r\n\t\t\t2,\r\n\t\t\t4\r\n\t\t]\r\n\t}\r\n]\r\n","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"},{"id":"a0ccd3bb-e812-4b89-b1fb-6e1fc5e89fc9","name":"Create a supervision view","originalRequest":{"method":"POST","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"type\": \"list\",\r\n        \"entity\": {\r\n            \"type\": \"team\",\r\n            \"id\": 1\r\n        },\r\n        \"ref\": \"5dce5accb2cf741b34002194\",\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"NBAGTLOG\",\r\n                \"label\": \"Logged\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    },\r\n    {\r\n        \"type\": \"list\",\r\n        \"entity\": {\r\n            \"type\": \"service\",\r\n            \"id\": 3\r\n        },\r\n        \"ref\": \"5dce610bb2cf7418c4002dfb\",\r\n        \"indicators\": [\r\n            {\r\n                \"type\": \"QUALIFICATION\",\r\n                \"list\": [\r\n                    1\r\n                ],\r\n                \"label\": \"Qualification\",\r\n                \"alarms\": []\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api_base_url}}/supervision/views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": {\n        \"message\": \"Resource has been created\",\n        \"code\": \"\",\n        \"location\": \"http://ctotestvbe/api/v2/supervision/views/3\",\n        \"view\": {\n            \"id\": \"3\"\n        }\n    }\n}"}],"_postman_id":"0415bd27-fd0e-4d2b-b49e-b3783c4bd7a0"},{"name":"Get Supervision View","id":"ce2de58f-f08a-4b4f-be74-ff1b2ae0c33f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Kiamo-Api-Token","value":"{{token_supervision}}","type":"text"}],"url":"{{api_base_url}}/supervision/views/:id","description":"<p>Retrieve a supervision view</p>\n<p><em>Remark</em>: see the provided example of supervision view retrieved with different configurations.</p>\n","urlObject":{"path":["supervision","views",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"id":"e5aee635-4637-44f0-a12a-71226211bd32","description":{"content":"<p>View Id</p>\n","type":"text/plain"},"type":"any","value":"{{view_id}}","key":"id"}]}},"response":[{"id":"b2a4dfb9-42c3-444f-94af-faaedee87f30","name":"Retrieve a Team / Group / Service configuration view","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"list\",\n            \"ref\": \"5C0935F1D7AE7412F0002CD2\",\n            \"entity\": {\n                \"type\": \"group\",\n                \"id\": \"3\",\n                \"name\": \"Customer service\"\n            },\n            \"indicators\": [\n                {\n                    \"key\": \"NBAGTLOG\",\n                    \"label\": \"Connected\",\n                    \"format\": \"number\",\n                    \"value\": 15\n                },\n                {\n                    \"key\": \"NBAGTREADY\",\n                    \"label\": \"Ready\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"NBAGTPAUSE\",\n                    \"label\": \"Break\",\n                    \"format\": \"number\",\n                    \"value\": 1\n                },\n                {\n                    \"key\": \"AGTSTATERR\",\n                    \"label\": \"No.Anomalies\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                }\n            ]\n        }\n    ]\n}"},{"id":"ebb5f8b1-7cc9-4079-acf9-b728830440ee","name":"Retrieve a List of Calls configuration view","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"type\": \"interaction\",\n        \"entity\": \"service\",\n        \"ref\": \"1234\",\n        \"interactions\": [\n            {\n                \"type\": \"call\",\n                \"ref\": \"{interaction reference}\",\n                \"position\": {\n                    \"value\": \"…\",\n                    \"type\": \" number\"\n                },\n                \"waitduration\": {\n                    \"value\": \"…\",\n                    \"type\": \"duration\"\n                },\n                \"priority\": {\n                    \"value\": \"…\",\n                    \"type\": \"number\"\n                },\n                \"custnumber\": {\n                    \"value\": \"…\",\n                    \"type\": \"number\"\n                },\n                \"callednumber\": {\n                    \"value\": \"…\",\n                    \"type\": \"number\"\n                },\n                \"syscallinfo\": {\n                    \"value\": \"…\",\n                    \"type\": \"text\"\n                },\n                \"service\": {\n                    \"id\": \"{service ID}\",\n                    \"name\": \"{service name}\"\n                }\n            }\n        ]\n    }\n]"},{"id":"ef58986c-1acb-45f3-bd97-fddb34dcc82d","name":"Retrieve a supervision view","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"list\",\n            \"ref\": \"5C0935F1D7AE7412F0002CD2\",\n            \"entity\": {\n                \"type\": \"group\",\n                \"id\": \"3\",\n                \"name\": \"Group 1\"\n            },\n            \"indicators\": [\n                {\n                    \"key\": \"NBAGTLOG\",\n                    \"label\": \"Connected\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"NBAGTREADY\",\n                    \"label\": \"Ready\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"NBAGTPAUSE\",\n                    \"label\": \"Break\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"AGTSTATERR\",\n                    \"label\": \"Numb. Anomalies\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                }\n            ]\n        },\n        {\n            \"type\": \"list\",\n            \"ref\": \"5C09364CD7AE7412F0002CD3\",\n            \"entity\": {\n                \"type\": \"service\",\n                \"id\": \"3\",\n                \"name\": \"Customer service Out emails\"\n            },\n            \"indicators\": [\n                {\n                    \"key\": \"CLRIGHTNOW\",\n                    \"label\": \"Calls\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"CALLNOTCLOSED\",\n                    \"label\": \"To process\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"FILEPROCESSED\",\n                    \"label\": \"I.Processed\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"COMMAVG\",\n                    \"label\": \"Avg.Com\",\n                    \"format\": \"duration\",\n                    \"value\": 0\n                }\n            ]\n        },\n        {\n            \"type\": \"list\",\n            \"ref\": \"5C093663D7AE741978000F33\",\n            \"entity\": {\n                \"type\": \"service\",\n                \"id\": \"4\",\n                \"name\": \"CS Out calls\"\n            },\n            \"indicators\": [\n                {\n                    \"key\": \"CLRIGHTNOW\",\n                    \"label\": \"Calls\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"CLWAIT\",\n                    \"label\": \"Queued\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"CLRCV_DAY\",\n                    \"label\": \"Received(d)\",\n                    \"format\": \"number\",\n                    \"value\": 0\n                },\n                {\n                    \"key\": \"COMMAVG\",\n                    \"label\": \"Avg.Com(W)\",\n                    \"format\": \"duration\",\n                    \"value\": 0\n                }\n            ]\n        },\n        {\n            \"type\": \"interaction\",\n            \"entity\": \"service\",\n            \"ref\": \"5C093843D7AE741978000F34\",\n            \"interactions\": []\n        }\n    ]\n}"},{"id":"7b46d4a3-ce45-40a4-9ce8-983dc727e61c","name":"Retrieve a List of Agents configuration view","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"type\": \"detail\",\r\n        \"entity\": \"agent\",\r\n        \"ref\": \"#list-agents\",\r\n        \"agents\": [\r\n            {\r\n                \"id\": \"{agent’s ID}\",\r\n                \"name\": \"{agent’s name}\",\r\n                \"state\": {\r\n                    \"id\": \"\",\r\n                    \"type\": \"ready/pause/working/error\",\r\n                    \"label\": \"Break\",\r\n                    \"duration\": 8,\r\n                    \"alarm\": {}\r\n                },\r\n                \"record\": {\r\n                    \"state\": \"active/ active-conditioned /manual/unavail/none\"\r\n                },\r\n                // AVAILABLE IF DURING PROCESSING\r\n                \"services\": [\r\n                    {\r\n                        \"id\": \"<service ID>\",\r\n                        \"name\": \"<service name>\"\r\n                    }\r\n                ],\r\n                \"indicators\": []\r\n            }\r\n        ]\r\n    }\r\n]"},{"id":"357947f6-ad22-4b4e-9b5e-53621bacadbc","name":"Retrieve a Conbined Group configuration view","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"cumul\",\n            \"entity\": \"group\",\n            \"ref\": \"5dcd9616b2cf7427bc0062a5\",\n            \"entities\": [\n                {\n                    \"id\": \"1\",\n                    \"name\": \"Customer service\"\n                },\n                {\n                    \"id\": \"9\",\n                    \"name\": \"Helpdesk group\"\n                }\n            ],\n            \"indicators\": [\n                {\n                    \"key\": \"NBAGTLOG\",\n                    \"label\": \"Connected\",\n                    \"format\": \"number\",\n                    \"value\": 22\n                }\n            ]\n        }\n    ]\n}"},{"id":"893b5c5f-b32b-47f5-b148-b7590881a864","name":"Retrieve a Curve configuration view (2-hour period)","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"type\": \"histo\",\r\n    \"entity\": \"group/team/service\",\r\n    \"ref\": \"1234\",\r\n    \"indicator\": \r\n      {\r\n        \"key\": \"{indicator key}\",\r\n        \"values\": [[0,9]...,[4,5],[5,7],[6,3],[7,9],[8,10],[9,2],..[119,4]]        \r\n      }    \r\n}\r\n"},{"id":"1b0d850b-305d-44e1-a978-716a93ba51da","name":"Retrieve a Combined Services configuration view","originalRequest":{"method":"GET","header":[{"key":"Kiamo-Api-Token","type":"text","value":"{{token_supervision}}"}],"url":{"raw":"{{api_base_url}}/supervision/views/:id","host":["{{api_base_url}}"],"path":["supervision","views",":id"],"variable":[{"key":"id","value":"{{view_id}}","description":"View Id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": [\r\n        {\r\n            \"type\": \"cumul\",\r\n            \"entity\": \"service\",\r\n            \"ref\": \"5C0935F1D7AE7412F0002CD2\",\r\n            \"entities\": [\r\n                {\r\n                    \"id\": \"3\",\r\n                    \"name\": \"Customer service calls\"\r\n                },\r\n                {\r\n                    \"id\": \"9\",\r\n                    \"name\": \"Helpdesk calls\"\r\n                }\r\n            ],\r\n            \"indicators\": [\r\n                {\r\n                    \"key\": \"CLWAIT\",\r\n                    \"label\": \"Queued Calls\",\r\n                    \"format\": \"number\",\r\n                    \"value\": 4\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}"}],"_postman_id":"ce2de58f-f08a-4b4f-be74-ff1b2ae0c33f"}],"id":"14fa319d-cd0b-48be-bf9e-7889ecb34302","description":"<h1 id=\"supervision-api\">SUPERVISION API</h1>\n<h2 id=\"view\">View</h2>\n<p>A view always contains a list of blocks. A <strong>Block</strong> objects is a complex object, which may contain other types of entities (depending on the types of indicators, the alarms defined, the type of display wanted, etc.) as well as many forms (list type, combined type, etc.).</p>\n<h2 id=\"block-object\">Block object</h2>\n<p>Block values are described in the different <strong>Configurations</strong> section (see below).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Defines how indicators are calculated: \"list\", \"combined\", \"detail\", \"interaction\" or \"histo\"</td>\n</tr>\n<tr>\n<td>entity</td>\n<td>string</td>\n<td>Defines the type of resource (service, group, etc.) whose indicators are wanted.  <br /><em>Values</em> : \"service\", \"group\", \"team\"</td>\n</tr>\n<tr>\n<td>entity.id</td>\n<td>number</td>\n<td>ID of the resource (e.g.: Service ID)</td>\n</tr>\n<tr>\n<td>ref</td>\n<td>string</td>\n<td>(Optional) Block unique reference</td>\n</tr>\n<tr>\n<td>indicators</td>\n<td>n Objects</td>\n<td>Collection of <strong>Indicator</strong> objects.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"indicator-sub-object\">Indicator sub-object</h3>\n<p>Please refer to the <strong>Indicators &amp; Alarms</strong> section below for more information about the <strong>Indicator</strong> sub-object.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Indicator key.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string</td>\n<td>(Optional) Indicator label.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"configurations\">Configurations</h2>\n<h3 id=\"the-different-configurations\">The different configurations</h3>\n<p>7 types of configurations are available to retrieve indicators:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Configuration type</th>\n<th>Object / Sub-object type</th>\n<th>Description of the answers sent by the Supervision API after a GET request</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Team / Group / Service</td>\n<td>_<strong>list</strong>_-type <strong>Block</strong> object</td>\n<td>The API returns the indicator values for a single service, a single team or a single group.</td>\n</tr>\n<tr>\n<td>Combined services</td>\n<td>_<strong>cumul</strong>_-type <strong>Block</strong> object</td>\n<td>The API returns the added value of each indicator for a list of services.</td>\n</tr>\n<tr>\n<td>Combined groups</td>\n<td>_<strong>cumul</strong>_-type <strong>Block</strong> object</td>\n<td>The API returns the added value of each indicator for a list of groups.</td>\n</tr>\n<tr>\n<td>List of agents</td>\n<td>_<strong>detail</strong>_-type <strong>Block</strong> object</td>\n<td>The API returns the indicator values for each agent.</td>\n</tr>\n<tr>\n<td>List of services</td>\n<td>_<strong>detail</strong>_-type <strong>Block</strong> object</td>\n<td>The API returns the indicator values for each service.</td>\n</tr>\n<tr>\n<td>List of calls</td>\n<td>_<strong>interaction</strong>_-type <strong>Block</strong> object</td>\n<td>The API returns the list of queued calls.</td>\n</tr>\n<tr>\n<td>Curve</td>\n<td><strong>*histo</strong>-type <strong>Block</strong> object</td>\n<td>The API returns the 120 last values of a specific indicator over a defined time-frame.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"team--group--service\">Team / Group / Service</h3>\n<p>Block configuration enables you to retrieve the values of indicators configured in a view for a specific entity: <em><strong>service</strong></em>, <em><strong>team</strong></em> or <em><strong>group</strong></em>.</p>\n<p>See the related POST example for further details.</p>\n<h3 id=\"combined-services\">Combined services</h3>\n<p>The <strong>Combined services</strong> configuration is used to retrieve the added values of indicators for a list of services.</p>\n<p><strong>Caution</strong>: You have to combine services of the same type.</p>\n<p><em>Remark</em>: Inbound calls-type and internal-type services share the same indicators and can be combined.</p>\n<p>See the related POST example for further details.</p>\n<h3 id=\"combined-groups\">Combined groups</h3>\n<p>The “Combined groups” configuration is used to retrieve the added values of indicators for a list of groups.</p>\n<p>See the related POST example for further details.</p>\n<h3 id=\"list-of-agents\">List of agents</h3>\n<p>The “list of agents” configuration is used to retrieve the indicator values for each agent, as configured in the view.</p>\n<p><em>Remark</em>: This section covers the specific elements of the <strong>Block</strong> object. Please refer to <strong>Block</strong> object section upper for an overview of this object.</p>\n<h4 id=\"specific-elements-of-the-block-object-for-a-list-of-agents\">Specific elements of the Block object for a list of agents</h4>\n<h5 id=\"post-requests\">POST requests</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filter.by</td>\n<td>string</td>\n<td>Is used to define a filter on agents (all the agents of a team or a group, for example).  <br /><em>Values</em>: <em><strong>group</strong></em> or <em><strong>team</strong></em>  <br /><em>Optional</em>: no filter sub-object = All agents</td>\n</tr>\n<tr>\n<td>filter.id</td>\n<td>number</td>\n<td>Filter ID (Id of group or team).</td>\n</tr>\n<tr>\n<td>states</td>\n<td>Collection of <strong>Alarm</strong> objects</td>\n<td>Is used to configure an alarm on agents’ statuses.  <br /><em>Remark</em> : Please refer to the <strong>Alarms</strong> section for more information.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"get-requests\">GET requests</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>agent.record.state</td>\n<td>string</td>\n<td>Status of a recording for an agent.  <br /><em>Values</em>: <em><strong>active</strong></em>, <em><strong>active-conditioned</strong></em>, <em><strong>manual</strong></em>, or <em><strong>unavail</strong></em>.</td>\n</tr>\n<tr>\n<td>agent.state</td>\n<td><strong>State</strong> sub-object</td>\n<td><strong>State</strong> sub-object that defines the agent’s status.</td>\n</tr>\n<tr>\n<td>agent.services</td>\n<td>Collection of <strong>Service</strong> sub-object</td>\n<td><em>*Service</em> sub-object that defines the services for which the agent is currently handling a task.  <br />This sub-object only appears if the agent is currently handling a task.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>The State sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>number</td>\n<td>ID of the agent’s status.  <br /><em>Remark</em>: Status IDs are available in the Kiamo main interface, Resources &gt; Groups menu &gt; Agents’ statuses tab.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Agent’s status.  <br /><em>Possible values</em>: <em><strong>ready</strong></em>, <em><strong>pause</strong></em>, <em><strong>working</strong></em> or <em><strong>error</strong></em>.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string</td>\n<td>Label of the agent’s status.</td>\n</tr>\n<tr>\n<td>duration</td>\n<td>number</td>\n<td>Time spent in the current status.</td>\n</tr>\n<tr>\n<td>alarm</td>\n<td>string</td>\n<td>Color of the alarm configured on the status.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>The Service sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>number</td>\n<td>Service identifier.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Service name.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Specificities of the filter element</strong></p>\n<p>It can have several values:</p>\n<p>✓ <em><strong>group</strong></em>: is used to get all the indicators of all the agents belonging to a specific group.</p>\n<p>✓ <em><strong>team</strong></em>: is used to get all the indicators of all the agents belonging to a specific team.</p>\n<p>For the <em><strong>group</strong></em> and <em><strong>team</strong></em> filters, you can use an additional filter: <em><strong>entities_ids</strong></em>. It can be used to filter the list of agents on one or more groups, or one or more teams.</p>\n<p>✓ <em><strong>service</strong></em>: is used to get all the indicators of all the agents associated with a specific group. With this tag, you can use an additional filter: <em><strong>group_id</strong></em>. It is used to filter the list of agents on one of the groups associated with this service, whether this group is the main distribution group or one of the additional groups.</p>\n<p>If the <em><strong>group_id</strong></em> is empty, is not in the requested format or contains a group that is not associated with the defined group, the full list of agents associated with this group will be returned.</p>\n<p><em>Example</em>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">[{\n    \"type\": \"detail\",\n    \"entity\": \"agent\",\n    \"ref\": \"5dcd3ebab2cf743f7000284b\",\n    \"filter\": {\n    \"type\": \"service\",\n    \"id\": 5\n    \"group_id\": 8\n    },\n    \"indicators\": [],\n    \"states\": [\n    {\n        \"id\": 4,\n        \"alarms\": []\n     }\n    ]\n]}\n\n</code></pre>\n<p>See the related GET example for further details.</p>\n<h3 id=\"list-of-services\">List of services</h3>\n<p>The <strong>list of services</strong> configuration is used to retrieve the indicator values for each service, as configured in the view.</p>\n<p><strong>Caution</strong>: The list of services must contain services of the same type.</p>\n<p><em>Remark</em>: Inbound calls-type and internal-type services share the same indicators and can be included in the same list.</p>\n<p>See the related POST example for further details.</p>\n<h3 id=\"list-of-calls\">List of calls</h3>\n<p>The <strong>list of calls</strong> configuration is used to retrieve the queued calls for a list of services.</p>\n<p><em>Remark</em>: This section covers the specific elements of the <strong>Block</strong> object. Please refer to <strong>Block</strong> object section above for an overview of this object.</p>\n<h4 id=\"specific-elements-of-the-block-object-for-a-list-of-calls\">Specific elements of the Block object for a list of calls</h4>\n<h5 id=\"post-requests-1\">POST requests</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filter.by</td>\n<td>string</td>\n<td>Is used to define a filter on call services (all the services of a group, for example).  <br /><em>Value</em>: <em><strong>group</strong></em>  <br /><em>Optional</em>: no filter sub-object = All services</td>\n</tr>\n<tr>\n<td>filter.id</td>\n<td>number</td>\n<td>Group identifier.</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"get-requests-1\">GET requests</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interaction</td>\n<td>List of <strong>Interaction</strong> sub-objects</td>\n<td>List of tasks available in the service.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>The \"Iteraction sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Type of interaction.  <br /><em>Value</em>: <em><strong>call</strong></em>.</td>\n</tr>\n<tr>\n<td>ref</td>\n<td>number</td>\n<td>Unique reference of the task.</td>\n</tr>\n<tr>\n<td>service</td>\n<td><strong>Service</strong> sub-object</td>\n<td><strong>Service</strong> sub-object in which the task is included. (see above)</td>\n</tr>\n<tr>\n<td>position.value</td>\n<td>string</td>\n<td>Call position in the queue.</td>\n</tr>\n<tr>\n<td>waitduration.value</td>\n<td>string</td>\n<td>Time spent in the queue.</td>\n</tr>\n<tr>\n<td>priority.value</td>\n<td>string</td>\n<td>Call priority.</td>\n</tr>\n<tr>\n<td>custnumber.value</td>\n<td>string</td>\n<td>Caller’s phone number.</td>\n</tr>\n<tr>\n<td>callednumber.value</td>\n<td>string</td>\n<td>Phone number called.</td>\n</tr>\n<tr>\n<td>syscallinfo.value</td>\n<td>string</td>\n<td>Value contained in the <em><strong>SysCallInfo</strong></em> variable.</td>\n</tr>\n</tbody>\n</table>\n</div><p>As with a list of agents, you can:</p>\n<p>✓ Retrieve all the services of a group using the “filter” tag,</p>\n<p>✓ Or define a list of IDs using the “entities” tag.</p>\n<p><em>Remark</em>: For this type of list, you do not have to define indicators: they are default indicators that cannot be edited.</p>\n<p>See the related GET example for further details.</p>\n<h3 id=\"curve\">Curve</h3>\n<p>This configuration is used to retrieve the last 120 values of an indicator.</p>\n<p><em>Remarks</em>:</p>\n<ul>\n<li><p>You can only define 1 indicator per curve.</p>\n</li>\n<li><p>Values are updated according to the Last hours displayed parameter defined.<br />  The calculation rule for this update frequency is: (Last hours Number x 60)/ 120<br />  Examples: If you decide to display:</p>\n<ul>\n<li><p>the last 2 hours, the values will be updated every minute,</p>\n</li>\n<li><p>the last 8 hours, the values will be updated every 4 minutes,</p>\n</li>\n<li><p>the last 10 hours, the values will be updated every 5 minutes.</p>\n</li>\n</ul>\n</li>\n<li><p>This section covers the specific elements of the <strong>Block</strong> object. Please refer to <strong>Block</strong> object section above for an overview of this object.</p>\n</li>\n</ul>\n<h4 id=\"specific-elements-of-the-block-object-for-a-curve\">Specific elements of the Block object for a curve</h4>\n<h5 id=\"post-requests-2\">POST requests</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>step</td>\n<td>string</td>\n<td><em>Remark</em>: This element is useful only if you want to retrieve the value of a statistical indicator.  <br /><em>Two possible values</em>:  <br />✓ <em><strong>cumul</strong></em>: is used to retrieve the indicator value for the day (values added every 15 minutes). <em>Remark</em>: This is the default value.  <br />✓ <em><strong>period</strong></em>: is used to retrieve the indicator value every 15 minutes.</td>\n</tr>\n<tr>\n<td>range</td>\n<td>string</td>\n<td>Is used to define the sliding period (expressed in hours) to capture the indicator values.  <br /><em>Possible values</em>: 2, 4, 6, 8 or 10  <br /><em>Remark</em>: The default value is 2.  <br /><em>Examples</em>: if you select a 2-hour sliding period, 1 point in the chart represents 1 minute. If you select a 4-hour sliding period, 1 point represents 2 minutes. And so on...</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"get-requests-2\">GET requests</h5>\n<p>No specific elements of the <strong>Block</strong> object for the GET requests.</p>\n<p>See the related GET and POST examples for further details.</p>\n<h2 id=\"indicators--alarms\">INDICATORS &amp; ALARMS</h2>\n<h3 id=\"overview-of-indicators\">Overview of indicators</h3>\n<h4 id=\"type-of-indicators\">Type of indicators</h4>\n<p><strong>Default indicators</strong></p>\n<p>3 types of default indicators are available in Kiamo:</p>\n<p>✓ If the name of the indicator starts with “ACTUAL -”, it is a real-time indicator: the values displayed are updated in real-time.</p>\n<p>✓ If the name of the indicator starts with “STAT -”, it is a statistical indicator: values are updated regularly, every 15 minutes (as soon as new Kiamo statistics are available).</p>\n<p>✓ If the name of the indicator starts with “HISTO -”, it is an historical indicator. This type of indicator is only available for curve-type charts.</p>\n<p><strong>Caution</strong>: The values you see in the supervision windows only relate to the current day. The same is true of the reports you can access from the supervision windows.</p>\n<p>These values are reset every day at midnight.</p>\n<p><strong>Custom indicators</strong></p>\n<p>To best answer the needs of contact centers, Kiamo enables you to create your own business indicators: <em>custom</em> indicators (e.g.: sales number, sales increase, etc.).</p>\n<p>Under the main Kiamo interface, go to the <em>Developer</em> &gt; <em>Custom indicators</em> menu to define these <em>custom</em> indicators.</p>\n<p>Once they have been created and put into production, they can be displayed to supervisors and agents.</p>\n<p>Please refer to the <strong>Kiamo Developer guide</strong> for more information on how to define custom indicators.</p>\n<h4 id=\"indicator-format-time-number-percentage\">Indicator format: Time/ Number/ Percentage</h4>\n<p>Different formats of indicators are available:</p>\n<p>✓ <strong>Time</strong> indicators: it can be a total time or an average time (e.g.: <em>Connection time</em>, <em>Average talk time</em>).</p>\n<p>✓ <strong>Number</strong> indicators (e.g. : <em>Number of received calls</em>, <em>Number of closed emails</em>),</p>\n<p>✓ <strong>Percentage</strong> indicators (e.g.: <em>Percentage of time spent in the Ready status</em>).</p>\n<p>Each type of block or list (service, combined services, group…) has its own list of indicators (e.g.: the <em>Average processing time in the script</em> indicator for an IVR-type service) but some indicators are available for several types of blocks (e.g.: <em>Number of calls in progress</em>).</p>\n<p><strong>Caution</strong>: <em>Group</em> and <em>Team</em> share the same indicators. The same is true for inbound call and internal services.</p>\n<h3 id=\"elements-of-the-indicator-object\">Elements of the \"Indicator\" object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Indicator key.  <br /><em>Remark</em>: Please refer to the <strong>Kiamo Supervision</strong> user documentation to have the list and a detailed description of indicators.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string</td>\n<td>(Optional) Indicator label.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"syntax\">Syntax</h3>\n<h4 id=\"post-request-example\">POST request example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n  \"type\": \"NBMLOUT\",\n  \"label\": \" AgentOut E.\" \n  \"list\": [3,4], // only if the indicator.(type = QUALIFICATION) is the qualification IDs\n  \"alarms\":[]\n}\n\n</code></pre>\n<h4 id=\"example-of-json-answer-to-a-get-request\">Example of JSON answer to a GET request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n    \"key\": \" NBMLOUT \",\n    \"type\": \" stat \",\n    \"label\": \" AgentOut E.\",\n    \" value\": \"0\"\n}\n\n</code></pre>\n<h3 id=\"special-cases-of-indicators\">Special cases of indicators</h3>\n<h4 id=\"qualification-indicator\">Qualification indicator</h4>\n<p><strong>Specific element in the “qualification”-type “indicator” object (POST)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>list</td>\n<td>string</td>\n<td>List of the identifiers of qualifications.  <br /><em>Remark</em>: If the list contains 2 or more elements, the values will be added.  <br /><em>Remark</em>: All the qualification identifiers are available in Kiamo, in the Reporting &gt; List of qualifications menu.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Qualification indicator syntax</strong></p>\n<p><em><strong>POST request</strong></em></p>\n<p>For a qualification indicator, you have to indicate the IDs of the indicators whose added values you want to retrieve.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">\"indicator\": [ {\n  \"type\": \"QUALIFICATION\", \n  \"list\": [3,4],\n  \"label\": \"Qualification\",\n  \"alarms\":[]\n} ]\n\n</code></pre>\n<p><em>Remark</em>: Answers for qualification indicators and other indicators are identical.</p>\n<h4 id=\"custom-indicators\">Custom indicators</h4>\n<p>To request a <em>custom indicator</em> you just have to use the CUSTOM_{id} key.</p>\n<p><em>Remark</em>: Custom indicator identifiers are available in the main Kiamo interface, in the <em>Developer</em> &gt; <em>Custom indicators</em> menu.</p>\n<p><strong>Syntax</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">\"indicator\": {\n    \"type\": \"CUSTOM_1\",\n    \"label\": \"My Custom Indic.\",\n    \"alarms\": [\n        {\n            \"from\": 0,\n            \"to\": 50,\n            \"color\": \"#008000\"\n        },\n        {\n            \"greater_than\": 50,\n            \"color\": \"#FF0000\"\n        }\n    ]\n}\n\n</code></pre>\n<p><em>Remarks</em>:</p>\n<ul>\n<li><p>Calculation starts as soon as the request is sent.</p>\n</li>\n<li><p>Answers for qualification indicators and other indicators are identical.</p>\n</li>\n</ul>\n<h3 id=\"alarms\">Alarms</h3>\n<h4 id=\"configure-an-alarm\">Configure an alarm</h4>\n<p>You can configure several alarm thresholds.</p>\n<p><strong>Elements of the Alarm sub-object</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>from</td>\n<td>string</td>\n<td>Less than or equal to.</td>\n</tr>\n<tr>\n<td>to</td>\n<td>string</td>\n<td>Strictly greater than.</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string</td>\n<td>Color of the alarm code (hexadecimal).</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Syntax</strong></p>\n<p><em><strong>POST request example</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">\"indicator\": {\n    \"type\": \"NBAGTLOG\",\n    \"label\": \" Numb.Agts.log.\",\n    \"alarms\": [\n        {\n            \"from\": 0,\n            \"to\": 17,\n            \"color\": \"#125\"\n        },\n        {\n            \"from\": 17,\n            \"to\": 60,\n            \"color\": \"#900002\"\n        },\n        {\n            \"greater_than\": 60,\n            \"color\": \"#900003\"\n        }\n    ]\n}\n\n</code></pre>\n<p>Configuring alarms is similar to defining rules. These rules will be ordered using the “from” attribute. The first valid rule will be applied.</p>\n<p><em>Remark</em>: A single “greater_than”-type alarm can be used in each alarm table.</p>\n<p>In this example:</p>\n<p>✓ If the indicator’s value is 15, the color will be #125,</p>\n<p>✓ If the indicator’s value is 50, the color will be #900002,</p>\n<p>✓ If the indicator’s value is 80, the color will be #900003.</p>\n<h4 id=\"special-case-alarm-on-the-agent-status-indicator\">Special case: Alarm on the \"Agent status” indicator</h4>\n<p>Configuring alarms on agent statuses is very similar to configuring other alarms, except that these alarms apply to specific statuses. Threshold values are the different time intervals spent in this status (expressed in seconds).</p>\n<p><strong>Syntax</strong></p>\n<p><em><strong>POST request example</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">\"states\": [\n    {\n        \"id\": 1,\n        \"alarms\": [\n            {\n                \"from\": 0,\n                \"to\": 50,\n                \"color\": \"#125001\"\n            },\n            {\n                \"from\": 50,\n                \"to\": 100,\n                \"color\": \"#fff000\"\n            }\n        ]\n    }\n]\n\n</code></pre>\n<p><em><strong>POST request example</strong></em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">{\n    \"from\": \"10\",\n    \"to\": \"20\",\n    \"color\": \"#fff000\"\n}\n\n</code></pre>\n<h2 id=\"list-of-available-indicators\">LIST OF AVAILABLE INDICATORS</h2>\n<h3 id=\"group--team\">Group &amp; Team</h3>\n<h4 id=\"shared-indicators\">Shared indicators</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of connected agents who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap up, mandatory break, task handling, consultation, conference call, or inter nal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an <em>available personalized</em> status (with the <em>Available status</em> option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break statuses</td>\n<td>Number of agents who are in one of the personalized break statuses, in the standard break status and in the Anomaly system status</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged agents</td>\n<td>Number of connected agents, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents in the <em>Ready</em> status who may be assigned tasks straight away</td>\n</tr>\n<tr>\n<td>LOGDUR</td>\n<td>STAT - Connection time</td>\n<td>Total connection time, whatever the agents’ status: anomaly, standard or specific breaks, standard or specific work status, ready status</td>\n</tr>\n<tr>\n<td>AGTSTATERR</td>\n<td>STAT - Number of times in Anomaly status</td>\n<td>Number of times agents of a group or a team have switched to the <em>Anomaly</em> system status, for one of the following reasons: agent did not answer, wrong phone number, agent’s phone busy, or no available channel to establish communication</td>\n</tr>\n<tr>\n<td>ST30RAT</td>\n<td>STAT - Percentage of time spent in Anomaly status</td>\n<td>Total time spent by the agent(s) of the selected group or the team in the <em>Anomaly</em> status, in relation with the total connection time.  <br /><em>Percentage of time spent in Anomaly status</em> = ( <em>Total time in</em> <em><strong>ANOMALY</strong></em> <em>status</em> / <em>Total</em> <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST07RAT</td>\n<td>STAT - Percentage of time spent in Call hold status</td>\n<td>Total time spent by customer calls on hold, in relation to the total connection time.  <br /><em>Percentage of time spent in Call hold status</em> = ( <em>Time spent in the</em> <em><strong>CALL HOLD</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em>  <br /><em><strong>Caution</strong></em> : A consultation call on hold does not impact this indicator</td>\n</tr>\n<tr>\n<td>ST10RAT</td>\n<td>STAT - Percentage of time spent in Internal Call status</td>\n<td>Time spent by one or more agents of the selected group or team in the Internal call system status, in relation to the total connection time  <br /><em>Percentage of time spent in Internal call status</em> = ( <em>Time spent in the</em> <em><strong>INTERNAL CALL</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em>  <br /><em><strong>Caution</strong></em> : The agent who starts the call will be in the Internal call system status, but the agent called will be in the Consultation system status</td>\n</tr>\n<tr>\n<td>ST03RAT</td>\n<td>STAT - Percentage of time spent in Talk status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Talk</em> system status, in relation to the total connection time  <br /><em>Percentage of time spent in Talk status</em> = ( <em>Time spent in the</em> <em><strong>TALK</strong></em> <em>*status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST09RAT</td>\n<td>STAT - Percentage of time spent in Conference call status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Conference call</em> system status, in relation to the total connection time  <br /><em>Percentage of time spent in Conference call status</em> = ( <em>Time spent in the</em> <em><strong>CONFERENCE CALL</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST08RAT</td>\n<td>STAT - Percentage of time spent in Consultation call status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Consultation call</em> system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Consultation call status</em> = ( <em>Time spent in the</em> <em><strong>CONSULTATION</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST21RAT  <br />ST22RAT  <br />ST23RAT  <br />ST24RAT  <br />ST25RAT  <br />ST26RAT  <br />ST27RAT  <br />ST28RAT  <br />ST29RAT</td>\n<td>STAT - Percentage of time spent in Specific Break status 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9</td>\n<td>You may have defined, for the group, <em>personalized</em> break statuses ( e.g.: Lunch break).  <br />In this case, you have an indicator that will give you the time spent in each of these specific statuses, in relation to the total connection time.  <br /><em>Percentage of time spent in Specific Break N status</em> = ( <em>Time spent in</em> <em><strong>SPECIFIC BREAK N</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST11RAT  <br />ST12RAT  <br />ST13RAT  <br />ST14RAT  <br />ST15RAT  <br />ST16RAT  <br />ST17RAT  <br />ST18RAT  <br />ST19RAT</td>\n<td>STAT - Percentage of time spent in Specific Work status 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9</td>\n<td>You may have defined, for the group, <em>personalized</em> work statuses ( e.g.: Meeting).  <br />In this case, you have an indicator that will give you the time spent in each of these specific statuses, in relation to the total connection time.  <br /><em>Percentage of time spent in</em> Specific Work Nstatus* = ( <em>Time spent in</em> <em><strong>SPECIFIC WORK N</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST20RAT</td>\n<td>STAT - Percentage of time spent in Break status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Standard break</em> system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Standard Break status</em> = ( <em>Time spent in the</em> <em><strong>STANDARD BREAK</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em>  <br /><em><strong>Caution</strong></em> : This indicator only takes into account the time spent in the <em>Standard break</em> status, not the specific break statuses that may have been defined for a group.</td>\n</tr>\n<tr>\n<td>ST05RAT</td>\n<td>STAT - Percentage of time spent in Mandatory Break status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Mandatory break</em> system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Mandatory Break status</em> = ( <em>Time spent in the</em> <em><strong>MANDATORY BREAK</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em>  <br /><em><strong>Caution</strong></em> : This indicator only takes into account the time spent in the <em>Mandatory break</em> status, not the specific break statuses that may have been defined for a group.</td>\n</tr>\n<tr>\n<td>ST04RAT</td>\n<td>STAT - Percentage of time spent in Wrap up status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Wrap up</em> system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Wrap up status</em> = ( <em>Time spent in the</em> <em><strong>WRAP-UP</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>RATSTREADY</td>\n<td>STAT - Percentage of time spent in Ready status</td>\n<td>Time spent by one or more agents of the selected group or team in the Ready system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Ready status</em> = ( <em>Time spent in the</em> <em><strong>READY</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ST06RAT</td>\n<td>STAT - Percentage of time spent in Task handling status</td>\n<td>Time spent by one or more agents of the selected group or team in the <em>Task handling</em> system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Task handling status</em> = ( <em>Time spent in the</em> <em><strong>TASK HANDLING</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>RATSTPAUSE</td>\n<td>STAT - Percentage of time spent in Break statuses</td>\n<td>To calculate this indicator, are taken into account the time spent by one or more agents of the selected group or team in the <em>standard break</em> status and in the <em>personalized break</em> statuses that may have been defined for the group (see: <em>Percentage of time spent in specific break status</em>).  <br /><em>Percentage of time spent in Break status</em> = ( <em>Time spent in the</em> <em><strong>BREAK</strong></em> <em>statuses</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>RATSTWORKING</td>\n<td>STAT - Percentage of time spent in Work statuses</td>\n<td>To calculate this indicator, are taken into account the time spent in the standard work status (that is to say the time spent in another status than: <em>ready</em>, <em>standard break</em>, specific break(s) and <em>anomaly</em>), but also the time spent in the <em>personalized work</em> statuses that may have been defined for the selected group (see: <em>Percentage of time spent in Specific Work status).__*Percentage of time spent in Work statuses</em> = ( <em>Time spent in the</em> <em><strong>WORK</strong></em> <em>*statuses</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of agents, of a group or a team, who are currently talking to customers.  <br /><em>Remark</em>: Calls put on hold by agents, after talking to the customer, are included in this total.  <br /><em><strong>Caution</strong></em>: Calls made while working on an email, a Messaging-type interaction or a custom task are not included in this total. This type of call is counted in the <em>Number of calls in progress in an email service</em>, <em>Number of calls in progress in a message service</em> or <em>Number of calls in progress in a custom task service</em></td>\n</tr>\n<tr>\n<td>WUPAVG</td>\n<td>STAT - Average time in Wrap-up status</td>\n<td>Average time spent by agents of the selected group or team in the <em>Wrap-up</em> system status.  <br /><em>Average wrap-up time</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>COMMAVG</td>\n<td>STAT - Average talk time</td>\n<td>Average agent/customer talk time, for the agents of the selected group or team.  <br /><em>Average talk time</em> = <em>Total of all</em> <em><strong>TALK</strong></em> <em>time</em> / <em>Number of</em> <em><strong>PHONE CALLS</strong></em></td>\n</tr>\n<tr>\n<td>ANSRAVG</td>\n<td>STAT - Average agent ringing time for handled calls</td>\n<td>Average ringing time on agents’ phones for all answered calls.  <br /><em>Average agent ringing time for handled calls</em> = <em>Total of all ringing time of</em> <em><strong>HANDLED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>SVCCLABD</td>\n<td>STAT - Number of calls abandoned while ringing</td>\n<td>Number of calls hung up by customers while agents’ phones were ringing</td>\n</tr>\n<tr>\n<td>CONSDONE</td>\n<td>STAT - Number of consultation calls made</td>\n<td>Number of consultations calls made by agent(s), as opposed to the <em>Number of consultations calls received</em> indicator</td>\n</tr>\n<tr>\n<td>CONSRCV</td>\n<td>STAT - Number of consultation calls received</td>\n<td>Number of consultations calls received by agent(s), as opposed to the previous <em>Number of consultations calls made</em> indicator</td>\n</tr>\n<tr>\n<td>SVCCLREF</td>\n<td>STAT - Number of rejected calls</td>\n<td>Number of calls that have been rejected by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>MANCLCANC</td>\n<td>STAT - Number of cancelled outbound calls</td>\n<td>Number of calls abandoned by the agents of the selected group or team before being put through to customers</td>\n</tr>\n<tr>\n<td>MANCLFAIL</td>\n<td>STAT - Number of failed outbound call attempts</td>\n<td>Number of outbound call attempts that did not result in the agent talking to the customer, but that were not cancelled by the agent</td>\n</tr>\n<tr>\n<td>MANCLDONE</td>\n<td>STAT - Number of successful outbound calls</td>\n<td>Number of successful outbound calls, that is to say the number of calls that ended with the agents talking to customers</td>\n</tr>\n<tr>\n<td>SVCCLANS</td>\n<td>STAT - Number of handled calls</td>\n<td>Total of all the calls processed by the agents of the selected group or team: it includes the different types of calls, that is to say <em>inbound</em>, <em>outbound</em> or <em>agent out</em> calls.  <br /><em><strong>Caution</strong></em>: All calls made while working on a task (email, Messaging type interaction, custo m task or chat session are not included in this total , whether agents used the service to which belongs the task or an <em>agent out call</em> service.</td>\n</tr>\n<tr>\n<td>APPUTILES</td>\n<td>STAT - Number of useful calls</td>\n<td>Number of calls which lasted more than the <em>Threshold for relevance of customer communications</em> parameter that can be defined in the <em>Media &gt; Voice/Video</em> menu, <em>Statistics</em> tab of the service</td>\n</tr>\n<tr>\n<td>CONFDONE</td>\n<td>STAT - Number of conference calls made</td>\n<td>Number of conference calls started by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>MANCLTRY</td>\n<td>STAT - Number of outbound call attempts</td>\n<td>Addition of <em>successful</em> outbound calls, <em>cancelled</em> outbound calls and <em>failed</em> outbound calls.  <br /><em>Number of outbound call attempts</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>CANCELLED</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>FAILED</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>TRSFAGTDONE</td>\n<td>STAT - Number of transfers to an agent made</td>\n<td>Number of calls transferred by means of a consultation</td>\n</tr>\n<tr>\n<td>TRSFAGTRCV</td>\n<td>STAT - Number of transfers to an agent received</td>\n<td>Number of transferred calls received by means of a consultation</td>\n</tr>\n<tr>\n<td>TRSFNUMDONE</td>\n<td>STAT - Number of transfers to phone number made</td>\n<td>Number of calls transferred using the <em>Transfer to a number</em> option</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to a service made</td>\n<td>Number of calls transferred using the <em>Transfer to a service</em> option</td>\n</tr>\n<tr>\n<td>AGTWORKMLAVG</td>\n<td>STAT - Average work time (emails)</td>\n<td>Total time spent working on offered emails, divided by the number of emails offered to the agents of the selected group or team.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on offered emails</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>emails</em>  <br /><em><strong>Caution</strong></em> : All calls made while working on emails using the service to which belong these emails are included in the <em>total email work time</em></td>\n</tr>\n<tr>\n<td>MLCLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress in an email service</td>\n<td>Number of on-going phone calls made by the agents of the selected group or team while working on emails</td>\n</tr>\n<tr>\n<td>MLRIGHTNOW</td>\n<td>ACTUAL - Number of emails being processed</td>\n<td>Number of emails being offered to the agents of the selected group or team, whether it is inbound emails or emails to validate</td>\n</tr>\n<tr>\n<td>NBAGTMLREPR</td>\n<td>STAT - Number of postponed emails</td>\n<td><em><strong>Caution</strong></em>: This indicator includes all postponed emails from <em>inbound email</em> services and email validation services  <br />It is the number of emails that have been postponed by the agents of the selected group or team because:  <br />✓ The agent has used the <em>postponement</em> function,  <br />✓ The agent has used the <em>transfer</em> function,  <br />✓ The email window has been closed using another means,  <br />✓ The email window remained open more than 2 hours</td>\n</tr>\n<tr>\n<td>NBAGTMLCLOSED</td>\n<td>STAT - Number of closed emails</td>\n<td>Number of emails that have been closed by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>NBAGTMLSENT</td>\n<td>STAT - Number of sent emails</td>\n<td>Number of emails sent by the agents of the selected group or team.  <br /><em>Remark</em>: It include s transferred emails.</td>\n</tr>\n<tr>\n<td>NBAGTMLSUBM</td>\n<td>STAT - Number of offered emails</td>\n<td>This indicator includes all the emails closed, postponed and validated by the agents of the selected group or team.  <br /><em>Number of offered emails</em> = <em>Number of</em> <em><strong>CLOSED</strong></em> <em>emails</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>emails</em> + <em>Number of</em> <em><strong>VALIDATED</strong></em> <em>emails</em></td>\n</tr>\n<tr>\n<td>NBAGTMLWITHOUTANS</td>\n<td>STAT - Number of emails without answer</td>\n<td>Number of offered emails, which resulted in no answer being given to the customer.</td>\n</tr>\n<tr>\n<td>NBMLOUT STAT</td>\n<td>Number of <em>Agent out</em> emails</td>\n<td>Number of <em>agent out</em> emails sent by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>NBAGTMLTRANS</td>\n<td>STAT - Number of emails transferred to a service</td>\n<td>Number of inbound emails offered to the agents of the selected group or team, which resulted in a transfer of the email to another Kiamo service .  <br /><em><strong>Caution</strong></em>: Outbound emails with a Kiamo service as recipient are considered as transferred.</td>\n</tr>\n<tr>\n<td>NBAGTMLVALIDATED</td>\n<td>STAT - Number of validated emails</td>\n<td>Number of emails that have been validated by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>MGCLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of calls in progress, made by the agents of the selected group or team while working on Messaging type interactions.  <br /><em>Remark</em>: A Messaging type interaction is a message thread sent by the same contact and containing the answers sent via the Kiwi application by one or more agents. Whatever the type of message sent by the contact, all his/her messages will be grouped together in th e same interaction if the contact has been identified in Kiamo (for instance, by using his/her Facebook ID, Twitter ID, LinkedIn ID, phone number, etc.).  <br />If the contact has not been identified in Kiamo, an interaction per message type will be displayed for this contact (e.g.: an interaction for text messages, an interaction for Facebook type messages).</td>\n</tr>\n<tr>\n<td>MGRIGHTNOW</td>\n<td>ACTUAL - Number of interactions being processed</td>\n<td>Number of Messaging-type interactions being offered to the agents of the selected group or team in order to be processed.</td>\n</tr>\n<tr>\n<td>WORKMGAVG</td>\n<td>STAT - Average work time</td>\n<td>Total time spent by the agents of the selected group or team working on the Messaging type interactions offered to them, divided by the number of interactions offered.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on offered interactions</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>interactions</em>  <br /><em><strong>Caution</strong></em>: All calls made while working on Messaging type interactions using the service to which belong these interactions are included in this total.</td>\n</tr>\n<tr>\n<td>MGOUTCLDONE</td>\n<td>STAT - Number of outbound calls</td>\n<td>Number of outbound calls made by the agents of the selected group or the team using the service to which belong these interactions, while working on Messaging type interactions.  <br /><em>Remark</em>: Outbound calls made using an agent out call service are not included in this total.</td>\n</tr>\n<tr>\n<td>NBMGSENT</td>\n<td>STAT - Number of sent messages</td>\n<td>Number of messages offered to the agents of the selected group or team which resulted in a message being sent as answer.  <br /><em>Remark</em>: This total includes transferred messages.</td>\n</tr>\n<tr>\n<td>NBMGREPR</td>\n<td>STAT - Number of postponed interactions</td>\n<td>Number of Messaging-type interactions offered to the agents of the selected group or team that have been postponed because:  <br />✓ The agent used the postponement function,  <br />✓ The interaction remained open more than 2 hours.  <br /><em>Remark</em>: Postponed Messaging-type interactions are not closed.</td>\n</tr>\n<tr>\n<td>NBMGSUBMIT</td>\n<td>STAT - Number of interactions offered</td>\n<td>Number of Messaging-type interactions offered to the agents of the selected group or team, whatever the work result: closing or postponement.  <br /><em>Number of interactions offered</em> = <em>Number of</em> <em><strong>HANDLED</strong></em> <em>interactions</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>interactions</em></td>\n</tr>\n<tr>\n<td>NBMGCLOSED</td>\n<td>STAT - Number of handled interactions</td>\n<td>Number of Messaging-type interactions that have been handled and closed by the agents of the selected group or team.</td>\n</tr>\n<tr>\n<td>RNBCHATAGENTDISC</td>\n<td>ACTUAL - Number of agent logouts</td>\n<td>Number of Chat sessions closed by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>RNBCHATCUSTDISC</td>\n<td>ACTUAL - Number of customer logouts</td>\n<td>Number of Chat sessions of the selected service closed by customers</td>\n</tr>\n<tr>\n<td>RNBCHATHANDLED</td>\n<td>ACTUAL - Number of Chat sessions handled</td>\n<td>Number of Chat sessions offered to the agents of the selected group or team, handled and closed</td>\n</tr>\n<tr>\n<td>TOTALCHATDUR</td>\n<td>STAT - Total time working on Chat</td>\n<td>Total time spent by the agents of the selected group or team in the Task handling system status for Chat services</td>\n</tr>\n<tr>\n<td>NBCHATAGENTDISC</td>\n<td>STAT - Number of agent logouts</td>\n<td>Number of Chat sessions closed by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>NBCHATCUSTDISC</td>\n<td>STAT - Number of customer logouts</td>\n<td>Number of Chat sessions of the selected service closed by customers</td>\n</tr>\n<tr>\n<td>NBCHATHANDLED</td>\n<td>STAT - Number of Chat sessions handled</td>\n<td>Number of Chat sessions offered to the agents of the selected group or team, handled and closed</td>\n</tr>\n<tr>\n<td>MAXCHATSESSDUR</td>\n<td>STAT - Maximum Chat session time</td>\n<td>It is the longest Chat session, among all the Chat sessions handled and closed by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>MINCHATSESSDUR</td>\n<td>STAT - Minimum Chat session time</td>\n<td>It is the shortest Chat session, among all the Chat sessions handled and closed by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>MOYCHATSESSDUR</td>\n<td>STAT - Average Chat session time</td>\n<td>Total time spent by the agents of the selected group or team handling Chat sessions, divided by the number of Chat sessions handled.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on handled Chat sessions</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>Chat sessions</em></td>\n</tr>\n<tr>\n<td>TOTALCHATSESSDUR</td>\n<td>STAT - Total Chat time</td>\n<td>Total time spent handling the Chat sessions offered and closed.  <br /><em>Remark</em>: This total may be greater than the <em>Total time working on Chat sessions</em> indicator depending on the start and end of each Chat session.</td>\n</tr>\n<tr>\n<td>TASKCALLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress in a Custom service</td>\n<td>Number of on-going phone calls made by the agents of the selected group or team while working on custom tasks</td>\n</tr>\n<tr>\n<td>CURRENTFILES</td>\n<td>ACTUAL - Number of tasks being processed</td>\n<td>Number of custom tasks being offered to and processed by the agents of the selected group or team.</td>\n</tr>\n<tr>\n<td>AGTWORKFILEAVG</td>\n<td>STAT - Average work time <em>Custom</em> media</td>\n<td>Total time spent by the agents of the selected group or team working on <em>closed</em> and <em>postponed</em> custom tasks, divided by the number of processed custom tasks  <br /><em><strong>Caution</strong></em>: Calls made using an agent out call service are not included in this work time  <br /><em>Average work time</em> = ( <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>CLOSED</strong></em> <em>tasks</em> + <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>POSTPONED</strong></em> <em>tasks</em> ) / <em>Number of</em> <em><strong>PROCESSED</strong></em> <em>tasks</em></td>\n</tr>\n<tr>\n<td>AGTNBFILESDELAYED</td>\n<td>STAT - Number of postponed tasks</td>\n<td>Number of custom tasks that have been postponed because:  <br />✓ The agent has used the <em>postponement</em> function,  <br />✓ The agent rejected the task, provided that the <em>Preview</em> mode has been enabled (in the <em>Agent</em> tab of the service),  <br />✓ The task remained open more than 2 hours.</td>\n</tr>\n<tr>\n<td>NBFILECLOSED</td>\n<td>STAT - Number of closed tasks</td>\n<td>Number of custom tasks processed by the agents of the selected group or team and closed with the result: <em>Handled</em> task.</td>\n</tr>\n<tr>\n<td>AGTNBFILESOFFERED</td>\n<td>STAT - Number of offered tasks</td>\n<td>Number of custom tasks offered to the agents of the selected group or team, whatever the work result, closure or postponement.  <br /><em>Number of offered tasks</em> = <em>Number of</em> <em><strong>CLOSED</strong></em> <em>tasks</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>tasks</em></td>\n</tr>\n<tr>\n<td>HISTO-ARGCALL</td>\n<td>HISTO - Number of completed contacts</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agents of the selected group or team, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>HISTO-POSARGCALL</td>\n<td>HISTO - Number of positive contacts</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, by the agents of the selected group or team, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>REELCONTACTARG</td>\n<td>ACTUAL - Number of completed contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>CALASTHOUR</td>\n<td>ACTUAL - Number of completed contacts last hour</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, in the last 60 minutes, by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>REELCONTACTPOS</td>\n<td>ACTUAL - Number of positive contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>CPLASTHOUR</td>\n<td>ACTUAL - Number of positive contacts last hour</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, in the last 60 minutes, by the agents of the selected group or team</td>\n</tr>\n<tr>\n<td>REELPOSVSARG</td>\n<td>ACTUAL - Percentage of positive contacts out of completed contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, divided by the number of successful out bound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Percentage of positive contacts out of completed contacts</em> = ( <em>Number of</em> <em><strong>POSITIVE CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>COMPLETED CONTACT</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>REELRATCONTACTARG</td>\n<td>ACTUAL - Percentage of completed contacts (daily total)</td>\n<td>Percentage of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agents of the se lected group or team.  <br /><em>Percentage of completed contacts</em> = ( <em>Number of</em> <em><strong>COMPLETED CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>REELRATCONTACTPOS</td>\n<td>ACTUAL - Percentage of positive contacts (daily total)</td>\n<td>Percentage of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, by the agents of the selected group or team.  <br /><em>Percentage of positive contacts</em> = ( <em>Number of</em> <em><strong>POSITIVE CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>MOYCOMARG</td>\n<td>STAT - Average talk time for completed contacts</td>\n<td>Average talk time for all the outbound calls have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average talk time for completed contacts</em> = <em>Total of all the</em> <em><strong>COMPLETED CONTACT</strong></em> <em>talk time</em> / <em>Number of</em> <em><strong>SUCCESSFUL COMPLETED CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYCOMPOS</td>\n<td>STAT - Average talk time for positive contacts</td>\n<td>Average talk time for all the outbound calls have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average talk time for positive contacts</em> = <em>Total of all the</em> <em><strong>POSITIVE CONTACT</strong></em> <em>talk time</em> / <em>Number of</em> <em><strong>SUCCESSFUL POSITIVE CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYWRAPUPARG</td>\n<td>STAT - Average wrap-up time for completed contacts</td>\n<td>Average time spent by agents in the <em>Wrap-up</em> system status, for all the outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average wrap-up time for completed contacts</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL COMPLETED CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYWRAPUPPOS</td>\n<td>STAT - Average wrap-up time for positive contacts</td>\n<td>Average time spent by agents in the <em>Wrap-up</em> system status, for all the outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average wrap-up time for positive contacts</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL POSITIVE CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYTRAVARG</td>\n<td>STAT - Average work time for completed contacts</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>, for all the outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>COMPLETED CONTACT TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>MOYTRAVPOS</td>\n<td>STAT - Average work time for positive contacts</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>, for all the outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>POSITIVE CONTACT TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"group-specific-indicators\">Group specific indicators</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>WAITMAX</td>\n<td>ACTUAL - Maximum wait time (calls)</td>\n<td>In an inbound call service, it is the longest wait time of a call among all the calls currently in the queue.</td>\n</tr>\n<tr>\n<td>WAITAVG</td>\n<td>ACTUAL - Average wait time calls</td>\n<td>This average wait time is the total time spent by queued calls waiting in the service queue, divided by the number of queued calls.  <br /><em>Average net wait time</em> = <em>Sum of all wait time of</em> <em><strong>QUEUED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>QUEUED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>CLWAIT</td>\n<td>ACTUAL - Number of queued calls</td>\n<td>Number of calls currently in the queue. <em>Remark</em>: This total includes all the calls for which agents’ phones are ringing.</td>\n</tr>\n<tr>\n<td>MLRTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time (emails)</td>\n<td>Longest gross time spent waiting by an inbound email, among all the time spent waiting by inbound emails to process.  <br />The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service ( <em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>MLNOTCLOSED</td>\n<td>ACTUAL - Number of emails to process</td>\n<td>Number of emails to process whether or not they are in the “task queue”. It includes emails from <em>inbound email</em> services and <em>validation</em> services.</td>\n</tr>\n<tr>\n<td>MLWAIT</td>\n<td>ACTUAL - Number of queued emails</td>\n<td><em>Remark</em>: This indicator includes emails from <em>inbound email</em> services and <em>validation</em> services  <br />Number of emails that are in the service queue.  <br />Emails are included in the “queue” when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MGRTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time (Messaging)</td>\n<td>Longest gross time spent waiting by a Messaging-type interaction, among all the time spent waiting by Messaging-type interactions to process.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>MGNOTCLOSED</td>\n<td>ACTUAL - Number of interactions to process</td>\n<td>Number of Messaging-type interactions to process whether or not they are in the “task queue”.</td>\n</tr>\n<tr>\n<td>MGWAIT</td>\n<td>ACTUAL - Number of queued interactions</td>\n<td>Number of Messaging-type interactions that are in the service queue.  <br />Messaging type interactions are included in the “queue” when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associat ed with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.  <br /><em>Remark</em>: Interactions with a processing date scheduled in the past are included in the service queue whereas interactions with a processing date scheduled in the future are not. These are counted in this total as soon as the processing date and time are reached.</td>\n</tr>\n<tr>\n<td>FILERTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time (Custom media)</td>\n<td>Longest gross time spent waiting by a custom task, among all the time spent waiting by custom tasks to process.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed)</td>\n</tr>\n<tr>\n<td>TASKNOTCLOSED</td>\n<td>ACTUAL - Number of tasks to process</td>\n<td>Number of custom tasks to process, whether or not they are in the task queue</td>\n</tr>\n<tr>\n<td>TASKWAIT</td>\n<td>ACTUAL - Number of queued tasks</td>\n<td>Number of custom tasks that are in the task queue.  <br />Custom tasks are included in the “queue” when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the di stribution mode defined for the service is: <em>manual</em>.  <br /><em>Remark</em>: Custom tasks with a processing date scheduled in the past are included in the service queue whereas Custom tasks with a processing date scheduled in the future are not. These are counted in this total as soon as the processing date and time are reached.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"agent\">Agent</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>SVCCLANS</td>\n<td>STAT - Number of handled calls</td>\n<td>Number of calls handled by the agent, including <em>inbound</em>, <em>outbound</em> or <em>agent out</em> calls.  <br /><em>Remark</em>: Calls made while on a task (email, Messaging-type interaction, custom task or chat session) using the service to which belongs this task are not included in this total.</td>\n</tr>\n<tr>\n<td>STPAUSE</td>\n<td>STAT - Total time in break statuses</td>\n<td>Time spent by the agent in personalized break statuses (see: <em>Time in specific Break status</em>), in the standard break status and in the <em>Anomaly</em> system status</td>\n</tr>\n<tr>\n<td>STWORKING</td>\n<td>STAT - Total time in work statuses</td>\n<td>Time spent by the agent in personalized work statuses (see: <em>Time in specific Work status</em>) and in the standard work status (that is to say statuses other than: <em>ready</em>, <em>standard break</em>, specific break(s) and <em>anomaly</em>.</td>\n</tr>\n<tr>\n<td>ST30DUR</td>\n<td>STAT - Total time in <em>Anomaly</em> status</td>\n<td>Time spent by the agent in the <em>Anomaly</em> system status, for one of the following reasons: no answer, wrong phone number, agent’s phone busy or no available channel to establish communication</td>\n</tr>\n<tr>\n<td>ST07DUR</td>\n<td>STAT - Total time in Call hold status</td>\n<td>Total time the agent has put a customer’s call on hold.  <br /><em><strong>Caution</strong></em>: A consultation call on hold does not impact this indicator.</td>\n</tr>\n<tr>\n<td>ST10DUR</td>\n<td>STAT - Time in Internal Call status</td>\n<td>Time spent by the agent in the <em>Internal call</em> system status  <br /><em><strong>Caution</strong></em>: The agent who receives the internal call will be in the <em>Consultation</em> system status</td>\n</tr>\n<tr>\n<td>ST03DUR</td>\n<td>STAT - Time in Talking status</td>\n<td>Time spent by the agent talking to a customer</td>\n</tr>\n<tr>\n<td>ST09DUR</td>\n<td>STAT - Time in Conference status</td>\n<td>Time spent by the agent in the <em>Conference call system</em> status  <br /><em><strong>Caution</strong></em>: Contrary to the <em>Number of conference calls made</em> indicator that is incremented for the agent who started the conference call, the <em>Time spent in Conference call</em> status is added to the agent who received the consultation call and then was put in a conference call.</td>\n</tr>\n<tr>\n<td>ST08DUR</td>\n<td>STAT - Time in Consultation status</td>\n<td>Time spent by the agent in the <em>Consultation call system</em> status  <br /><em><strong>Caution</strong></em>: It is the agent who receives the consultation call who sees his <em>time in Consultation status</em> increase; not the agent who starts the consultation call.</td>\n</tr>\n<tr>\n<td>ST21DUR  <br />ST22DUR  <br />ST23DUR  <br />ST24DUR  <br />ST25DUR  <br />ST26DUR  <br />ST27DUR  <br />ST28DUR  <br />ST29DUR</td>\n<td>STAT - Time in Specific Break status (1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9)</td>\n<td>You may have defined, for the group to which belongs the agent, <em>personalized</em> break statuses.  <br />In this case, an indicator giving you the time spent by the agent in each of these specific statuses is available</td>\n</tr>\n<tr>\n<td>ST11DUR  <br />ST12DUR  <br />ST13DUR  <br />ST14DUR  <br />ST15DUR  <br />ST16DUR  <br />ST17DUR  <br />ST18DUR  <br />ST19DUR</td>\n<td>STAT - Time in Specific Work status (1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9)</td>\n<td>You may have defined, for the group to which belongs the agent, <em>personalized</em> work statuses (Ex: Meeting).  <br />In this case, an indicator giving you the time spent by the agent in each of these specific statuses is available.</td>\n</tr>\n<tr>\n<td>ST20DUR</td>\n<td>STAT - Time in Break status</td>\n<td>Time spent by the agent in the <em>standard break</em> system status.</td>\n</tr>\n<tr>\n<td>ST05DUR</td>\n<td>STAT - Time in Mandatory Break status</td>\n<td>Time spent by the agent in the <em>mandatory break</em> system status.</td>\n</tr>\n<tr>\n<td>ST04DUR</td>\n<td>STAT - Time in Wrap-up status</td>\n<td>Time spent by the agent in the <em>Wrap-up</em> system status.</td>\n</tr>\n<tr>\n<td>STREADY</td>\n<td>STAT - Time in Ready status</td>\n<td>Total time spent by the agent in the <em>Ready</em> system status.</td>\n</tr>\n<tr>\n<td>ST02DUR</td>\n<td>STAT - Time in Reserved status</td>\n<td>Total time spent by the agent in the <em>Reserved</em> system status.  <br />The agent is reserved by Kiamo:  <br />✓ when an inbound or outbound call is offered to him (including when he is making an <em>agent out</em> call);  <br />✓ or when a custom task is offered to him (provided that the <em>Preview</em> option has been enabled for the service).</td>\n</tr>\n<tr>\n<td>ST06DUR</td>\n<td>STAT - Time in Task handling status</td>\n<td>Time spent by the agent in the <em>Task handling</em> system status</td>\n</tr>\n<tr>\n<td>LOGDUR</td>\n<td>STAT - Connection time</td>\n<td>Total connection time, whatever the agent’s status: anomaly, standard or specific breaks, standard or specific work status, ready status.</td>\n</tr>\n<tr>\n<td>AGTSTATERR</td>\n<td>STAT - Number of times in Anomaly status</td>\n<td>Number of times the agent’s status changed to <em>Anomaly</em> for one of the following reasons: agent did not answer, wrong phone number, agent’s phone busy, or no available channel to establish communication.  <br /><em>Number of times in Anomaly</em> = <em>Number of times in</em> “_<strong>NO ANSWER</strong><em>” <em>error</em> + <em>Number of times in</em> “</em><strong>WRONG NUMBER</strong><em>” <em>error</em> + <em>Number of times in</em> “</em><strong>LINE BUSY</strong><em>” <em>error</em> + <em>Number of times in</em> \"</em><strong>NO AVAILABLE CHANNEL</strong>_” <em>error</em></td>\n</tr>\n<tr>\n<td>AGTERRWRG</td>\n<td>STAT - Number of time in “wrong number” error</td>\n<td>Number of failed calls because the agent’s phone number was wrong.</td>\n</tr>\n<tr>\n<td>AGTERRNOCH</td>\n<td>STAT - Number of times in “no available channel” error</td>\n<td>Number of failed calls because no phone channel was available to establish communication between the agent and the customer.</td>\n</tr>\n<tr>\n<td>AGTERRNOANS</td>\n<td>STAT - Number of times in “no answer” error</td>\n<td>Number of times the agent did not answer while his phone was ringing.</td>\n</tr>\n<tr>\n<td>AGTERRBUSY</td>\n<td>STAT - Number of times in “line busy” error</td>\n<td>Number of failed calls because the agent’s phone was busy.</td>\n</tr>\n<tr>\n<td>RATSTREADY</td>\n<td>STAT - Percentage of time spent in Ready status</td>\n<td>Time spent by the agent in the <em>Ready</em> system status, in relation to the total connection time.  <br /><em>Percentage of time spent in Ready status</em> = ( <em>Time spent in the</em> <em><strong>READY</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>RATSTPAUSE</td>\n<td>STAT - Percentage of time spent in Break statuses</td>\n<td>To calculate this indicator, are taken into account the time spent by the agent in the standard break status and in the personalized break statuses that may have been defined for the group (see: <em>Percentage of time spent in specific break status</em>).  <br /><em>Percentage of time spent in Break status</em> = ( <em>Time spent in the</em> <em><strong>BREAK</strong></em> <em>status</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>RATSTWORKING</td>\n<td>STAT - Percentage of time spent in Work statuses</td>\n<td>To calculate this indicator, are taken into account the time spent in the standard work status (that is to say the time spent in another status than: <em>ready</em>, <em>standard break</em>, specific break(s) and <em>anomaly</em>), but also the time spent in the <em>personalized work</em> statuses that may have been defined for the selected group (see: <em>Percentage of time spent in Specific Work status</em>).  <br /><em>Percentage of time spent in Work statuses</em> = ( <em>Time spent in the</em> <em><strong>WORK</strong></em> <em>statuses</em> / <em><strong>CONNECTION</strong></em> <em>time</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>NBCALLSWAIT</td>\n<td>ACTUAL - Number of queued calls</td>\n<td>Number of queued calls for which the agent has been assigned as <em>required agent</em> or <em>preferred agent</em>.  <br /><em>Remark</em>: A required agent may be assigned:  <br />✓ when calls go through an IVR script,  <br />✓ or when tasks are imported into an outbound call campaign.  <br /><em>Remark</em>: <em>Preferred agents</em> are required agents who have become preferred agents while the call was in the service queue.</td>\n</tr>\n<tr>\n<td>WUPAVG</td>\n<td>STAT - Average time in Wrap-up status</td>\n<td>Time spent by the agent in the <em>Wrap-up</em> system status.  <br /><em>Average wrap-up time</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>COMMAVG</td>\n<td>STAT - Average talk time</td>\n<td>Average agent/customer talk time.  <br /><em>Average talk time</em> = <em>Total of all</em> <em><strong>TALK</strong></em> <em>time</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>ANSRAVG</td>\n<td>STAT - Average agent ringing time for handled calls</td>\n<td>Average ringing time on the agent’s phones for all answered calls.  <br /><em>Average agent ringing time for handled calls</em> = <em>Total of all ringing time of</em> <em><strong>HANDLED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>SVCCLABD</td>\n<td>STAT - Number of calls abandoned while ringing</td>\n<td>Number of calls hung up by customers while the agent’s phones were ringing.</td>\n</tr>\n<tr>\n<td>CONSDONE</td>\n<td>STAT - Number of consultation calls made</td>\n<td>Number of consultations calls made by the agent, as opposed to the <em>Number of consultations calls received</em> indicator.</td>\n</tr>\n<tr>\n<td>CONSRCV</td>\n<td>STAT - Number of consultation calls received</td>\n<td>Number of consultations calls received by the agent, as opposed to the previous <em>Number of consultations calls made</em> indicator</td>\n</tr>\n<tr>\n<td>SVCCLREF</td>\n<td>STAT - Number of rejected calls</td>\n<td>Number of calls that have been rejected by the agent.</td>\n</tr>\n<tr>\n<td>MANCLCANC</td>\n<td>STAT - Number of cancelled outbound calls</td>\n<td>Number of outbound calls abandoned by the agent before being put through to customers.</td>\n</tr>\n<tr>\n<td>MANCLFAIL</td>\n<td>STAT - Number of failed (FLD) outbound call attempts</td>\n<td>Number of outbound call attempts that did not result in the agent talking to the customer, but that were not cancelled by the agent.</td>\n</tr>\n<tr>\n<td>MANCLDONE</td>\n<td>STAT - Number of successful outbound calls</td>\n<td>Number of successful outbound calls, that is to say the number of calls that ended with the agent talking to customers.</td>\n</tr>\n<tr>\n<td>APPUTILES</td>\n<td>STAT - Number of useful calls</td>\n<td>Number of calls which lasted more than the <em>Threshold for relevance of customer communications</em> setting that can be defined in the <em>Media &gt; Voice/Video</em> menu, <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>CONFDONE</td>\n<td>STAT - Number of conference calls made</td>\n<td>Number of conference calls started by the agent.</td>\n</tr>\n<tr>\n<td>MANCLTRY</td>\n<td>STAT - Number of outbound call attempts</td>\n<td>Addition of successful outbound calls, cancelled outbound calls and failed outbound calls.  <br /><em>Number of outbound call attempts</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>CANCELLED</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>FAILED</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>TRSFAGTDONE</td>\n<td>STAT - Number of transfers to an agent made</td>\n<td>Number of calls transferred by means of a consultation.</td>\n</tr>\n<tr>\n<td>TRSFAGTRCV</td>\n<td>STAT - Number of transfers to an agent received</td>\n<td>Number of transferred calls received by means of a consultation.</td>\n</tr>\n<tr>\n<td>TRSFNUMDONE</td>\n<td>STAT - Number of transfers to phone number made</td>\n<td>Number of calls transferred using the <em>Transfer to a number</em> option.</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to a service made</td>\n<td>Number of calls transferred using the <em>Transfer to a service</em> option.</td>\n</tr>\n<tr>\n<td>AGTWORKMLAVG</td>\n<td>STAT - Average work time (emails)</td>\n<td>Total time spent working on offered emails, divided by the number of emails offered to the agents of the selected group or team.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on offered emails</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>emails</em>  <br /><em><strong>Caution</strong></em>: All calls made while working on emails using the service to which belong these emails are included in this work time.</td>\n</tr>\n<tr>\n<td>NBAGTMLREPR</td>\n<td>STAT - Number of postponed emails</td>\n<td>This indicator includes all postponed emails from inbound email services and email validation services.  <br />Number of emails that have been postponed by the agents of the selected group or team because:  <br />✓ The agent has used the <em>postponement</em> function,  <br />✓ The email has been forwarded using the <em>Send</em> or <em>Action</em> button available in the email template used,  <br />✓ The email window has been closed using another means,  <br />✓ The email window remained open more than 2 hours.</td>\n</tr>\n<tr>\n<td>NBAGTMLCLOSED</td>\n<td>STAT - Number of closed emails</td>\n<td>Number of emails that have been closed by the agent.</td>\n</tr>\n<tr>\n<td>NBAGTMLSENT</td>\n<td>STAT - Number of sent emails</td>\n<td>Number of emails sent by the agent.  <br /><em>Remark</em>: It includes transferred emails.</td>\n</tr>\n<tr>\n<td>NBAGTMLSUBM</td>\n<td>STAT - Number of offered emails</td>\n<td>This indicator includes all the emails closed, postponed and validated by the agents of the selected group or team.  <br /><em>Number of offered emails</em> = <em>Number of</em> <em><strong>CLOSED</strong></em> <em>emails</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>emails</em> + <em>Number of</em> <em><strong>VALIDATED</strong></em> <em>emails</em></td>\n</tr>\n<tr>\n<td>NBAGTMLWITHOUTANS</td>\n<td>STAT - Number of emails without answer</td>\n<td>Number of emails offered to the agent, which resulted in no answer being given to the customer.</td>\n</tr>\n<tr>\n<td>NBAGTMLTRANS</td>\n<td>STAT - Number of emails transferred to a service</td>\n<td>Number of inbound emails offered to the agent, which resulted in a transfer of the email to another Kiamo service.</td>\n</tr>\n<tr>\n<td>NBAGTMLVALIDATED</td>\n<td>STAT - Number of validated emails</td>\n<td>Number of emails that have been validated by the agent.</td>\n</tr>\n<tr>\n<td>AGTWORKMGAVG</td>\n<td>STAT - Average work time messaging</td>\n<td>Total time spent by the agent working on Messaging-type interactions, divided by the number of Messaging-type interactions offered to the agent.  <br /><em>Average work time</em> = <em>Total</em> <em><strong>WORK</strong></em> <em>time</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>interactions</em>  <br /><em><strong>Caution</strong></em>: All calls made while working on interactions using the service to which belong these interactions are included in this work time.  <br /><em>Remark</em>: A Messaging-type interaction is a message thread sent by the same contact and containing the answers sent via the Kiwi application by one or more agents. Whatever the type of message sent by the contact, all his/her messages will be grouped together in the same interaction if the contact has been identified in Kiamo (for instance, by using his/her Facebook ID, Twitter ID, LinkedIn ID, phone number, etc.).  <br />If the contact has not been identified in Kiamo, an interaction per message type will be displayed for this contact (e.g.: an interaction for text messages, an interaction for Facebook type messages).</td>\n</tr>\n<tr>\n<td>MGOUTCLDONE</td>\n<td>STAT - Number of outbound calls</td>\n<td>Number of outbound calls made by the agent using the service to which belong these interactions, while working on Messaging type interactions.  <br /><em>Remark</em>: Outbound calls made using an agent out call service are not included in this total.</td>\n</tr>\n<tr>\n<td>NBAGTMGSENT</td>\n<td>STAT - Number of sent messages</td>\n<td>Number of messages offered to the agent which resulted in a message being sent by the agent as answer.  <br /><em>Remark</em>: This total includes transferred interactions.</td>\n</tr>\n<tr>\n<td>NBAGTMGREPR</td>\n<td>STAT - Number of postponed interactions</td>\n<td>Number of Messaging-type interactions offered to the agent that have been postponed because:  <br />✓ The agent used the <em>postponement</em> function,  <br />✓ The interaction remained open more than 2 hours.  <br /><em>Remark</em>: Postponed Messaging-type interactions are not closed.</td>\n</tr>\n<tr>\n<td>NBAGTMGSUBM</td>\n<td>STAT - Number of interactions offered</td>\n<td>Number of Messaging-type interactions offered to the agent, whatever the work result: closing or postponement.  <br /><em>Number of interactions offered</em> = <em>Number of</em> <em><strong>HANDLED</strong></em> <em>interactions</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>interactions</em></td>\n</tr>\n<tr>\n<td>NBAGTMGCLOSED</td>\n<td>STAT - Number of handled interactions</td>\n<td>Number of Messaging-type interactions that have been handled and closed by the agent.</td>\n</tr>\n<tr>\n<td>RNBCHATAGENTDISC</td>\n<td>ACTUAL - Number of agent logouts</td>\n<td>Number of Chat sessions closed by the agent.</td>\n</tr>\n<tr>\n<td>RNBCHATCUSTDISC</td>\n<td>ACTUAL - Number of customer logouts</td>\n<td>Number of Chat sessions handled by the agent that have been closed by customers.</td>\n</tr>\n<tr>\n<td>RNBCHATHANDLED</td>\n<td>ACTUAL - Number of Chat sessions handled</td>\n<td>Number of Chat sessions offered to the agent, handled and closed.</td>\n</tr>\n<tr>\n<td>TOTALCHATDUR</td>\n<td>STAT - Total time working on Chat</td>\n<td>Total time spent by the agent in the <em>Task handling</em> system status for Chat services.</td>\n</tr>\n<tr>\n<td>NBCHATAGENTDISC</td>\n<td>STAT - Number of agent logouts</td>\n<td>Number of Chat sessions closed by the agent.</td>\n</tr>\n<tr>\n<td>NBCHATCUSTDISC</td>\n<td>STAT - Number of customer logouts</td>\n<td>Number of Chat sessions handled by the agent that have been closed by customers.</td>\n</tr>\n<tr>\n<td>NBCHATHANDLED</td>\n<td>STAT - Number of Chat sessions handled</td>\n<td>Number of Chat sessions offered to the agent, handled and closed.</td>\n</tr>\n<tr>\n<td>MAXCHATSESSDUR</td>\n<td>STAT - Maximum Chat session time</td>\n<td>Longest Chat session, among all the Chat sessions handled and closed by the agent.</td>\n</tr>\n<tr>\n<td>MINCHATSESSDUR</td>\n<td>STAT - Minimum Chat session time</td>\n<td>Shortest Chat session, among all the Chat sessions handled and closed by the agent.</td>\n</tr>\n<tr>\n<td>MOYCHATSESSDUR</td>\n<td>STAT - Average Chat session time</td>\n<td>Total time spent by the agent handling Chat sessions, divided by the number of Chat sessions he handled.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on handled Chat sessions</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>Chat sessions</em></td>\n</tr>\n<tr>\n<td>TOTALCHATSESSDUR</td>\n<td>STAT - Total Chat time</td>\n<td>Total time spent by the agent handling the Chat sessions offered and closed.  <br /><em>Remark</em>: This total may be greater than the Total time working on Chat sessions indicator depending on the start and end of each Chat session.</td>\n</tr>\n<tr>\n<td>AGTWORKFILEAVG</td>\n<td>STAT - Average work time custom task</td>\n<td>Total time spent by the agent working on <em>closed</em> and <em>postponed</em> custom tasks, divided by the number of custom tasks handled by the agent.  <br /><em><strong>Caution</strong></em>: Calls made by the agent while working on a custom task are included in this total only if the agent used the service to which belongs the task.  <br /><em>Average work time</em> = ( <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>CLOSED</strong></em> <em>tasks</em> + <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>POSTPONED</strong></em> <em>tasks</em> ) / <em>Number of</em> <em><strong>PROCESSED</strong></em> <em>tasks</em></td>\n</tr>\n<tr>\n<td>AGTNBFILESDELAYED</td>\n<td>STAT - Number of postponed tasks</td>\n<td>It is the number of custom tasks that have been postponed because:  <br />✓ The agent has used the <em>postponement</em> function,  <br />✓ The agent rejected the task, provided that the <em>Preview</em> mode has been enabled (in the <em>Agent</em> tab of the service),  <br />✓ The task remained open more than 2 hours.</td>\n</tr>\n<tr>\n<td>NBFILECLOSED</td>\n<td>STAT - Number of closed tasks</td>\n<td>Number of custom tasks handled by the agent closed with the result: <em>Handled task</em>.</td>\n</tr>\n<tr>\n<td>AGTNBFILESOFFERED</td>\n<td>STAT - Number of offered tasks</td>\n<td>Number of custom tasks offered to the agent, whatever the work result, closure or postponement.  <br /><em>Number of offered tasks</em> = <em>Number of</em> <em><strong>CLOSED</strong></em> <em>tasks</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>tasks</em></td>\n</tr>\n<tr>\n<td>REELCONTACTARG</td>\n<td>ACTUAL - Number of completed contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agent.</td>\n</tr>\n<tr>\n<td>CALASTHOUR</td>\n<td>ACTUAL - Number of completed contacts (last hour)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, in the last 60 minutes, by the agent.</td>\n</tr>\n<tr>\n<td>REELCONTACTPOS</td>\n<td>ACTUAL - Number of positive contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, by the agent.</td>\n</tr>\n<tr>\n<td>CPLASTHOUR</td>\n<td>ACTUAL - Number of positive contacts (last hour)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, in the last 60 minutes, by the agent.</td>\n</tr>\n<tr>\n<td>REELPOSVSARG</td>\n<td>ACTUAL - Percentage of positive contacts out of completed contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, divided by the number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agent.  <br /><em>Percentage of positive contacts out of completed contacts</em> = ( <em>Number of</em> <em><strong>POSITIVE CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>COMPLETED CONTACT</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>REELRATCONTACTARG</td>\n<td>ACTUAL - Percentage of completed contacts (daily total)</td>\n<td>Percentage of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agent.  <br /><em>Percentage of completed contacts</em> = ( <em>Number of</em> <em><strong>COMPLETED CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>REELRATCONTACTPOS</td>\n<td>ACTUAL - Percentage of positive contacts (daily total)</td>\n<td>Percentage of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, by the agent.  <br /><em>Percentage of positive contacts</em> = ( <em>Number of</em> <em><strong>POSITIVE CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>MOYCOMARG</td>\n<td>STAT - Average talk time for completed contacts</td>\n<td>Average talk time for all the outbound calls have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average talk time for completed contacts</em> = <em>Total of all the</em> <em><strong>COMPLETED CONTACT</strong></em> <em>talk time</em> / <em>Number of</em> <em><strong>SUCCESSFUL COMPLETED CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYCOMPOS</td>\n<td>STAT - Average talk time for positive contacts</td>\n<td>Average talk time for all the outbound calls have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average talk time for positive contacts</em> = <em>Total of all the</em> <em><strong>POSITIVE CONTACT</strong></em> <em>talk time</em> / <em>Number of</em> <em><strong>SUCCESSFUL POSITIVE CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYWRAPUPARG</td>\n<td>STAT - Average wrap-up time for completed contacts</td>\n<td>Average time spent by the agent in the <em>Wrap-up</em> system status, for all the outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average wrap-up time for completed contacts</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL COMPLETED CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYWRAPUPPOS</td>\n<td>STAT - Average wrap-up time for positive contacts</td>\n<td>Average time spent by the agent in the <em>Wrap-up</em> system status, for all the outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average wrap-up time for positive contacts</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL POSITIVE CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYTRAVARG</td>\n<td>STAT - Average work time for completed contacts</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>, for all the outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, by the agent.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>COMPLETED CONTACT TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>MOYTRAVPOS</td>\n<td>STAT - Average work time for positive contacts</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>, for all the outbound calls that have been given a qualification with the <em>Positive c contact performance indicator</em> enabled, by the agent.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>POSITIVE CONTACT TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the qualification(s) selected in the supervision block has(ve) been given by the agent.  <br /><em>Remark</em>: You can associate this indicator with one or more qualifications: to calculate its value, all the qualifications selected will be added.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"service\">Service</h3>\n<h4 id=\"ivr-scripts\">IVR Scripts</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>HISTO-ABDCALL</td>\n<td>HISTO - Number of abandoned calls</td>\n<td>Number of Voice and Video inbound calls abandoned by customers before being processed by the IVR script, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with _curve_-type charts.</td>\n</tr>\n<tr>\n<td>HISTO-RCDCALL</td>\n<td>HISTO - Number of received calls</td>\n<td>Number of Voice and Video inbound calls received in the IVR script, during the time slot defined, whether these calls are considered as <em>successful</em>, <em>abandoned</em> or <em>non-distributed</em>.  <br /><em>Number of received calls</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>calls</em> + <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> + <em>Number of</em> <em><strong>NON-DISTRIBUTED ND</strong></em> <em>calls</em>  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with _curve_-type charts.</td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of Voice and Video inbound calls in progress in the selected IVR service.</td>\n</tr>\n<tr>\n<td>CONSCRIPTDUR</td>\n<td>STAT - Average processing time in the script</td>\n<td>This average time takes into account the duration of all received calls, including non distributed and abandoned calls.  <br /><em>Average processing time in the script</em> = <em>Total duration of all received calls</em> / <em>Number of received calls</em></td>\n</tr>\n<tr>\n<td>CLABD</td>\n<td>STAT - Number of abandoned calls</td>\n<td>Number of Voice and Video inbound calls abandoned by customers before being processed by the IVR script.</td>\n</tr>\n<tr>\n<td>CLND_NOAGT</td>\n<td>STAT - Number of ND calls -- No agent</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>No agent</em>\".</td>\n</tr>\n<tr>\n<td>CLND_OTHER</td>\n<td>STAT - Number of ND calls -- Other condition</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>Other condition</em>\".</td>\n</tr>\n<tr>\n<td>CLND_WQSAT</td>\n<td>STAT - Number of ND calls -- Saturated queue</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>Saturated queue</em>\".</td>\n</tr>\n<tr>\n<td>CLND_LIMCALL</td>\n<td>STAT - Number of ND calls -- Call limit reached</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>Call limit reached</em>\".</td>\n</tr>\n<tr>\n<td>CLOVERPLAN</td>\n<td>STAT - Number of ND calls -- Hours closed</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>Hours closed</em>\".</td>\n</tr>\n<tr>\n<td>CLND_ONDTMF</td>\n<td>STAT - Number of ND calls -- Voluntary removal</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>Voluntary removal</em>\".</td>\n</tr>\n<tr>\n<td>CLND_MAXWAIT</td>\n<td>STAT - Number of ND calls -- Max time reached</td>\n<td>Reason why calls are not distributed, used in the IVR script block: “<em>Maximum wait time reached</em>\".</td>\n</tr>\n<tr>\n<td>SVIND</td>\n<td>STAT - Number of non distributed (ND) calls</td>\n<td>Addition of the _Number of ND calls_-type indicators. These indicators correspond to the different reasons why calls are not distributed, available in IVR studio scripts: not enough agents, saturated queue, maximum wait time reached, hours closed, call limit reached, voluntary removal and other condition.  <br /><em>Number of non distributed ND calls</em> = <em>Number of ND calls</em> - <em><strong>NO AGENT</strong></em> + <em>Number of ND calls</em> - <em><strong>SATURATED QUEUE</strong></em> + <em>Number of ND calls</em> - <em><strong>MAX TIME REACHED</strong></em> + <em>Number of ND calls</em> - <em><strong>HOURS CLOSED</strong></em> + <em>Number of ND calls</em> - <em><strong>CALL LIMIT REACHED</strong></em> + <em>Number of ND calls</em> - <em><strong>VOLUNTARY REMOVAL</strong></em> + <em>Number of ND calls</em> - <em><strong>OTHER CONDITION</strong></em></td>\n</tr>\n<tr>\n<td>CLRCV</td>\n<td>STAT - Number of received calls</td>\n<td>Number of Voice and Video inbound calls received in the IVR script, whether they are considered as <em>successful</em>, <em>abandoned</em> or <em>non-distributed</em>.</td>\n</tr>\n<tr>\n<td>CLSVISUC</td>\n<td>STAT - Number of successful calls</td>\n<td>Number of Voice and Video inbound calls received in the service, to which are subtracted the number of calls abandoned by customers before being processed by the IVR script and the number of calls qualified as “non-distributed” in the IVR script.  <br /><em>Number of successful calls</em> = <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> - ( <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> + <em>Number of</em> <em><strong>NON-DISTRIBUTED ND</strong></em> <em>calls</em> )</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of successful inbound calls in the service during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to service</td>\n<td>Number of Voice and Video inbound calls transferred to a Kiamo service.  <br /><em>Remark</em>: These calls are considered as “successful” calls.</td>\n</tr>\n<tr>\n<td>SVISUCRATIO</td>\n<td>STAT - Percentage of successful calls</td>\n<td>Percentage of successful Voice and Video inbound calls in relation to the number of received calls.  <br /><em>Percentage of successful calls</em> = ( <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>SVIABDRATIO</td>\n<td>STAT - Percentage of abandoned calls</td>\n<td>Percentage of Voice and Video inbound calls abandoned before being processed by the IVR script, in relation to the number of received calls.  <br /><em>Percentage of abandoned calls</em> = ( <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ABDTHRG1RATIO  <br />ABDTHRG2RATIO  <br />ABDTHRG3RATIO</td>\n<td>STAT - Percentage of abandoned calls after threshold (1 / 2 / 3)</td>\n<td>Percentage of Voice and Video inbound calls that have been abandoned after the different thresholds defined for the selected IVR service in the main Kiamo interface (<em>Call duration before abandonment thresholds</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Percentage of calls abandoned after the N threshold</em> = ( <em>Number of calls abandoned</em> <em><strong>AFTER THRESHOLD N</strong></em> / <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ABDTHRL1RATIO  <br />ABDTHRL2RATIO  <br />ABDTHRL3RATIO</td>\n<td>STAT - Percentage of abandoned calls before threshold (1 /2 / 3)</td>\n<td>Percentage of Voice and Video inbound calls that have been abandoned before the different thresholds defined for the selected IVR service in the main Kiamo interface (<em>Call duration before abandonment thresholds</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Percentage of calls abandoned before the N threshold</em> = ( <em>Number of calls abandoned</em> <em><strong>BEFORE THRESHOLD N</strong></em> / <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"inbound-calls--internal-services\">Inbound calls &amp; Internal Services</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>HISTO-ABDCALL</td>\n<td>HISTO - Number of abandoned calls</td>\n<td>Number of Voice and Video inbound calls abandoned by customers before talking to an agent, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>HISTO-RCVCALL</td>\n<td>HISTO</td>\n<td>Number of received calls</td>\n</tr>\n<tr>\n<td>HISTO-ASWCALL</td>\n<td>HISTO - Number of answered calls</td>\n<td>Number of Voice and Video inbound calls that have been answered.  <br />This total includes all the calls answered by the agents of the group associated with the selected service, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>CLWAIT</td>\n<td>ACTUAL - Number of queued calls</td>\n<td>Number of Voice and Video inbound calls in the service queue.  <br /><em>Remark</em>: This total includes all the calls for which agents’ phones are ringing.</td>\n</tr>\n<tr>\n<td>WAITMAX</td>\n<td>ACTUAL - Maximum wait time</td>\n<td>Longest wait time of a call among all the calls currently in the queue.</td>\n</tr>\n<tr>\n<td>WAITAVG</td>\n<td>ACTUAL - Average wait time</td>\n<td>This average wait time is the total of all the wait time of queued calls divided by the number of queued calls.  <br /><em>Average wait time</em> = <em>Total of all the wait time of</em> <em><strong>QUEUED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>QUEUED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>WAITAVGANSWERED_5  <br />WAITAVGANSWERED_15  <br />WAITAVGANSWERED_30  <br />WAITAVGANSWERED_60</td>\n<td>ACTUAL - Average wait time for answered calls (last 5 / 15 / 30 / 60 minutes)</td>\n<td>This average wait time only applies to answered calls.  <br /><em>Remark</em>: For this real time indicator, the value is calculated and updated in real time. This calculation is based on the last time interval selected, not on the full day.  <br /><em>Average wait time for answered calls</em> = <em>Total of all wait time for</em> <em><strong>ANSWERED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the Ready status after being in one of the following system statuses: reserved, talking to a customer, wrap up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an <em>available personalized</em> status (with the <em>Available status</em> option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break statuses</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in one of the personalized break statuses, in the standard break status and in the _Anomaly_-system status</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned task straight away.</td>\n</tr>\n<tr>\n<td>CLABD_5  <br />CLABD_15  <br />CLABD_30  <br />CLABD_60  <br />CLABD_DAY</td>\n<td>ACTUAL - Number of abandoned calls (last 5 / 15 / 30 / 60 minutes / daily total )</td>\n<td>Number of Voice and Video inbound calls abandoned by customers before being put through to an agent.  <br /><em>Remark</em>: For this real time indicator, not only can you have the value for the full day, but also the value calculated and updated in real time for the last 5, 15, 30 or 60 minutes. This calculation is based on the last time interval selected, not on the full day.</td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on going phone calls between agents &amp; customers.</td>\n</tr>\n<tr>\n<td>CLRCV_5  <br />CLRCV_15  <br />CLRCV_30  <br />CLRCV_60  <br />CLRCV_DAY</td>\n<td>ACTUAL - Number of received calls last 5 / 15 / 30 / 60 minutes / daily total</td>\n<td>Number of Voice and Video inbound calls received in the selected service, including answered, abandoned and non-distributed calls.  <br /><em>Remark</em>: For this real-time indicator, not only can you have the value for the full day, but also the value calculated and updated in real-time for the last 5, 15, 30 or 60 minutes. This calculation is based on the last time interval selected, not on the full day.  <br /><em><strong>Caution</strong></em>: Off hours calls are not included in this total.</td>\n</tr>\n<tr>\n<td>CLAGTANS_5  <br />CLAGTANS_15  <br />CLAGTANS_30  <br />CLAGTANS_60  <br />CLAGTANS_DAY</td>\n<td>ACTUAL - Number of calls answered by an agent last 5 / 15 / 30 /60 minutes / daily total</td>\n<td>Number of Voice and Video inbound calls that have been answered.  <br />This total includes all the calls answered by the agents belonging to the main and additional distribution groups associated with the supervised service.  <br /><em>Remark</em>: For this real time indicator, not only can you have the value for the full day, but also the value calculated and updated in real time for the last 5, 15, 30 or 60 minutes. This calculation is based on the last time interval selected, not on the full day.</td>\n</tr>\n<tr>\n<td>SVCQUAL_5  <br />SVCQUAL_15  <br />SVCQUAL_30  <br />SVCQUAL_60  <br />SVCQUAL_DAY</td>\n<td>ACTUAL - Quality of service last 5 / 15 / 30 / 60 minutes / daily total</td>\n<td>Percentage of Voice and Video inbound calls answered in relation to the number of received calls.  <br /><em>Quality of service</em> = ( <em>Number of calls</em> <em><strong>ANSWERED</strong></em> <em>by an agent</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> ) x <em>100</em>  <br /><em>Remark</em>: For this real time ind icator, not only can you have the value for the full day, but also the value calculated and updated in real time for the last 5, 15, 30 or 60 minutes. This calculation is based on the last time interval selected, not on the full day.</td>\n</tr>\n<tr>\n<td>WAITABDMAX</td>\n<td>STAT - Maximum wait time for abandoned calls</td>\n<td>Longest wait time of an abandoned call, among all the wait time of abandoned calls.</td>\n</tr>\n<tr>\n<td>WAITANSMAX</td>\n<td>STAT - Maximum wait time for answered calls</td>\n<td>Longest wait time of an answered call, among all the wait time of answered calls.</td>\n</tr>\n<tr>\n<td>WAITABDMIN</td>\n<td>STAT - Minimum wait time for abandoned calls</td>\n<td>Shortest wait time of an abandoned call, among all the wait time of abandoned calls.</td>\n</tr>\n<tr>\n<td>WAITANSMIN</td>\n<td>STAT - Minimum wait time for answered calls</td>\n<td>Shortest wait time of an answered call, among all the wait time of answered calls.</td>\n</tr>\n<tr>\n<td>WAITABDAVG</td>\n<td>STAT - Average wait time for abandoned calls</td>\n<td>Average wait time of all the calls that have been abandoned by customers before talking to an agent.  <br /><em>Average wait time for abandoned calls</em> = <em>Total of the wait time of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>WAITANSAVG</td>\n<td>STAT - Average wait time for answered calls</td>\n<td>Average wait time of all the calls that have been answered.  <br /><em>Average wait time for answered calls</em> = <em>Total of all wait time for</em> <em><strong>ANSWERED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>COMMAVG</td>\n<td>STAT - Average talk time</td>\n<td>Average time spent by customers talking to agents.  <br /><em>Average talk time</em> = <em>Total of all the talk time</em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>ANSRAVG</td>\n<td>STAT - Average agent ringing time for answered calls</td>\n<td>Average ringing time before the agent answers the phone call.  <br /><em>Average agent ringing time for answered calls</em> = <em>Total of all the ringing time for</em> <em><strong>ANSWERED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>AVGWORKST</td>\n<td>STAT - Average work time</td>\n<td>Total of <em>Average talk time</em> and the <em>Average wrap-up time</em>  <br /><em>Average handling time</em> = <em>Average</em> <em><strong>TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>AVGWRAPUPST</td>\n<td>STAT - Average wrap-up time</td>\n<td>Average time spent by agents in the <em>Wrap-up system status.__*Average wrap-up time</em> = <em>Total of all the</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>SVCNIVEAU</td>\n<td>STAT - Service level</td>\n<td>The service level is the percentage of Voice and Video inbound calls answered before the first wait time threshold, in relation to the number of answered calls (<em>Wait time thresholds for answered calls</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Service level</em> = ( <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em> <em><strong>BEFORE THE FIRST THRESHOLD</strong></em> ) / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>CLABD</td>\n<td>STAT - Number of abandoned calls</td>\n<td>Number of Voice and Video inbound calls abandoned by customers before being put through to an agent.</td>\n</tr>\n<tr>\n<td>APPTOOLNG</td>\n<td>STAT - Number of long calls (above threshold)</td>\n<td>Number of Voice and Video inbound calls with a talk time superior to the <em>maximum recommended talk time</em> setting, which can be edited in the <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>CLND_NOAGT  <br />CLND_WQSAT  <br />CLND_MAXWAIT</td>\n<td>STAT - Number of ND calls -- No agent  <br />STAT - Number of ND calls -- Saturated queue  <br />STAT - Number of ND calls -- Max time reached</td>\n<td>Number of Voice and Video inbound calls matching the different test cases carried out in the <em>Script</em> tab of the service.  <br />This total does not include off hours calls because they are not considered as not distributed.  <br />Thus, for each of these indicators, the calculation is done taking into account:  <br />✓ All non-distributed calls because no agent was connected,  <br />✓ All non-distributed calls because the queue was saturated,  <br />✓ All non-distributed calls because the maximum wait time has been reached.</td>\n</tr>\n<tr>\n<td>CLND</td>\n<td>STAT - Number of non-distributed ND calls</td>\n<td>Addition of all the values of the <em>Number of ND calls_-type indicators, which correspond to the different test cases carried out in the Script tab of the service.  <br /></em><strong>Caution</strong>_: Off hours calls are not included in this total.  <br /><em>Number of non-distributed ND calls</em> = <em>Number of ND calls</em> - <em><strong>NO AGENT</strong></em> + <em>Number of ND calls</em> - <em><strong>SATURATED QUEUE</strong></em> + <em>Number of ND calls</em> - <em><strong>MAX TIME REACHED</strong></em></td>\n</tr>\n<tr>\n<td>APPNONPER</td>\n<td>STAT - Number of irrelevant calls</td>\n<td>To calculate this indicator, Kiamo takes into account all the Voice and Video inbound calls with a talk time inferior to the <em>threshold for relevance of customer communications</em> parameter. This threshold can be edited in the <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>CLACDRCV</td>\n<td>STAT - Number of received calls</td>\n<td>Number of Voice and Video inbound calls received in the service, including answered, abandoned and non-distributed calls.  <br /><em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>calls</em> + <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> + <em>Number of</em> <em><strong>NON-DISTRIBUTED (ND)</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>CLOVERPLAN</td>\n<td>STAT - Number of off hours calls received</td>\n<td>Number of Voice and Video inbound received in the service while the schedule associated with this service is closed.</td>\n</tr>\n<tr>\n<td>CLAGTREF</td>\n<td>STAT - Number of calls rejected by an agent</td>\n<td>Number of Voice and Video inbound for which the agent’s phone rang but he did not answer.</td>\n</tr>\n<tr>\n<td>CLAGTANS</td>\n<td>STAT - Number of calls answered by an agent</td>\n<td>Number of Voice and Video inbound calls answered by agents belonging to the main and additional distribution groups associated with the supervised service who.  <br />This total includes all the calls answered by the agents of the group associated with the selected service.</td>\n</tr>\n<tr>\n<td>CONFDONE</td>\n<td>STAT - Number of conference calls made</td>\n<td>Numbers of conference calls made while the agents of the group associated with the selected service were talking to a customer.</td>\n</tr>\n<tr>\n<td>CONSDONE</td>\n<td>STAT - Number of consultation calls made</td>\n<td>Numbers of consultation calls made while the agents of the group associated with the selected service were talking to a customer.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of Voice and Video inbound calls answered in the service during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>TRSFAGTDONE</td>\n<td>STAT - Number of transfers to an agent</td>\n<td>Number of calls transferred after a consultation call.</td>\n</tr>\n<tr>\n<td>TRSFNUMDONE</td>\n<td>STAT - Number of transfers to phone number</td>\n<td>Number of calls transferred using the <em>Transfer to a number</em> option.</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to a service</td>\n<td>Number of calls transferred using the <em>Transfer to a service</em> option.</td>\n</tr>\n<tr>\n<td>ABDCLRATIO</td>\n<td>STAT - Percentage of abandoned calls</td>\n<td>Percentage of Voice and Video inbound calls abandoned by customers in relation to the number of received calls.  <br /><em>Percentage of abandoned calls</em> = ( <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ABDTHRG1RATIO  <br />ABDTHRG2RATIO  <br />ABDTHRG3RATIO</td>\n<td>STAT - Percentage of abandoned calls after threshold (1 / 2 / 3)</td>\n<td>Percentage of Voice and Video inbound calls that have been abandoned after the different thresholds defined for the selected service (<em>Wait time thresholds for abandoned calls</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Percentage of calls abandoned after the N threshold</em> = ( <em>Number of calls abandoned</em> <em><strong>AFTER THRESHOLD N</strong></em> / <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ABDTHRL1RATIO  <br />ABDTHRL2RATIO  <br />ABDTHRL3RATIO</td>\n<td>STAT - Percentage of abandoned calls before threshold (1 / 2 / 3)</td>\n<td>Percentage of Voice and Video inbound calls that have been abandoned before the different thresholds defined for the selected service (<em>Wait time thresholds for abandoned calls</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Percentage of calls abandoned before the N threshold</em> * ( <em>Number of calls abandoned</em> <em><strong>BEFORE THRESHOLD N</strong></em> / <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ANSTHRG1RATIO  <br />ANSTHRG2RATIO  <br />ANSTHRG3RATIO</td>\n<td>STAT - Percentage of calls answered after threshold (1 / 2 / 3)</td>\n<td>Percentage of Voice and Video inbound calls answered after one of the thresholds defined for the selected service (<em>Wait time thresholds for answered calls</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Percentage of calls answered after the N threshold</em> = ( <em>Number of calls answered</em> <em><strong>AFTER THE THRESHOLD N</strong></em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>ANSTHRL1RATIO  <br />ANSTHRL2RATIO  <br />ANSTHRL3RATIO</td>\n<td>STAT - Percentage of calls answered before threshold (1 / 2/ 3)</td>\n<td>Percentage of Voice and Video inbound calls answered before one of the thresholds defined for the selected service (<em>Wait time thresholds for answered calls</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Percentage of calls answered before the N threshold</em> = ( <em>Number of calls answered</em> <em><strong>BEFORE THE THRESHOLD N</strong></em> / <em>Number of</em> <em><strong>ANSWERED</strong></em> <em>calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>SVCQUAL</td>\n<td>STAT - Quality of Service</td>\n<td>Percentage of Voice and Video inbound calls that have been answered in relation to the number of received calls.  <br /><em>Quality of service</em> = ( <em>Number of calls</em> <em><strong>ANSWERED</strong></em> <em>by an agent</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>calls</em> ) x <em>100</em>  <br /><em>Remark</em>: This total included queued calls.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"outbound-call-campaigns\">Outbound call campaigns</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>HISTO-ABDCALL</td>\n<td>HISTO - Number of successful outbound calls</td>\n<td>Number of tasks of the campaign that have been closed with the following result - <em>Successful call</em> - during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>HISTO-RCVCALL</td>\n<td>HISTO - Number of outbound call attempts</td>\n<td>Total of successful outbound calls, failed outbound calls and nuisance calls, during the time slot defined.  <br /><em>Total of outbound call attempts</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>FAILED</strong></em> <em>outbound calls</em> + <em><strong>NUISANCE</strong></em> <em>calls</em>  <br /><em>Remark</em> : Nuisance calls are the number of calls corresponding to:  <br />✓ Customer calls cancelled by an agent.  <br />✓ Calls hung up by customers while the agent’s phone was ringing, if customers are called before agents.  <br />✓ Non distributed customer calls, if customers are called before agents.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on-going phone calls between agents &amp; customers for the outbound call campaign selected.</td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an <em>available personalized</em> status (with the <em>Available</em> status option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break statuses</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in one of the personalized break statuses, in the standard break status and in the _Anomaly_-system status.</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned tasks straight away.</td>\n</tr>\n<tr>\n<td>CALLNOTCLOSED</td>\n<td>ACTUAL - Number of tasks to process</td>\n<td>Number of tasks in the selected campaign waiting to be processed, whether or not they are in the service queue.</td>\n</tr>\n<tr>\n<td>TASKINWQ</td>\n<td>ACTUAL - Number of queued tasks</td>\n<td>Number of tasks in the service queue.  <br />Tasks are included in the service queue when the <em>campaign</em> is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.  <br /><em>Remark</em>: Tasks with a scheduled date set in the past are included in the service queue whereas tasks with a scheduled date in the future are not. They will be included as soon as the date and time scheduled are reached.</td>\n</tr>\n<tr>\n<td>COMMAVG</td>\n<td>STAT - Average talk time</td>\n<td>Average time spent by agents belonging to the main and additional distribution groups associated with the supervised service who are talking to customers.  <br /><em>Average talk time</em> = <em>Total of all</em> <em><strong>TALK</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>AVGWORKST</td>\n<td>STAT - Average work time</td>\n<td>Total <em>Average talk time</em> and the <em>Average wrap-up time</em>.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>AVGWRAPUPST</td>\n<td>STAT - Average wrap-up time</td>\n<td>Average time spent by agents in the _Wrap-up_-system status.  <br /><em>Average wrap-up time</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>CLABD</td>\n<td>STAT - Number of abandoned calls</td>\n<td>Addition of all the calls abandoned by customers (when the customer is called before the agent and he hangs up while the agent’s phone is ringing), and those abandoned by agents (when the agent hangs up while the customer’s phone is ringing, or when the agent does not answer if the customer is called first).</td>\n</tr>\n<tr>\n<td>APPTOOLNG</td>\n<td>STAT - Number of long calls (above threshold)</td>\n<td>Number of calls with a talk time superior to the <em>maximum recommended talk time</em> setting defined in the <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>APPNONPER</td>\n<td>STAT - Number of irrelevant calls</td>\n<td>Number of calls with a talk time inferior to the <em>threshold for relevance of customer communications</em> setting in the <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>CLAGTREF</td>\n<td>STAT - Number of calls rejected by an agent</td>\n<td>Number of times the agent has not answered a call while his phone was ringing, when the customer is called before the agent.</td>\n</tr>\n<tr>\n<td>OUTCLCANC</td>\n<td>STAT - Number of cancelled outbound calls</td>\n<td>Number of times the agent has hung up while the customer’s phone was ringing, as well as the number of times the agent has not answered, when the agent is called before the customer.</td>\n</tr>\n<tr>\n<td>OUTCLBUSY  <br />OUTCLNOANSW  <br />OUTCLWRGNUM  <br />OUTCLNOCHAN  <br />OUTCLFAX  <br />OUTCLANSWMA</td>\n<td>STAT - Number of FLD outbound call attempts -- Busy number  <br />STAT - Number of FLD outbound call attempts -- No answer  <br />STAT - Number of FLD outbound call attempts -- Wrong number  <br />STAT - Number of FLD outbound call attempts -- No available channel  <br />STAT - Number of FLD outbound call attempts -- Fax  <br />STAT - Number of FLD outbound call attempts -- Answering machine</td>\n<td>These indicators are used to specify the reason why calls have failed: wrong customer’s phone number, busy, no answer, fax detection, answering machine detection or no available channel to establish communication.</td>\n</tr>\n<tr>\n<td>OUTCLFAIL</td>\n<td>STAT - Number of failed (FLD) outbound call attempts</td>\n<td>Addition of all failed outbound calls. This total is divided between the different indicators corresponding to the cases encountered: no channel available to establish communication, wrong customer’s phone number, busy, no answer, fax or answering machine detected.  <br /><em>Number of failed FLD outbound calls</em> = <em>Number of FLD outbound calls</em> - <em><strong>NO AVAILABLE CHANNEL</strong></em> + <em>Number of FLD outbound call attempts</em> - <em><strong>WRONG NUMBER</strong></em> + <em>Number of FLD outbound calls</em> - <em><strong>FAX</strong></em> + <em>Number of FLD outbound call attempts</em> - <em><strong>BUSY NUMBER</strong></em> + <em>Number of FLD outbound call attempts</em> - <em><strong>NO ANSWER</strong></em> + <em>Number of FLD outbound calls</em> - <em><strong>ANSWERING MACHINE</strong></em></td>\n</tr>\n<tr>\n<td>OUTCLDONE</td>\n<td>STAT - Number of successful outbound calls</td>\n<td>Number of tasks of the campaign that have been closed with the following result: <em>Successful call</em>.</td>\n</tr>\n<tr>\n<td>CONFDONE</td>\n<td>STAT - Number of conference calls made</td>\n<td>Number of conference calls made while the agent was talking to a customer.</td>\n</tr>\n<tr>\n<td>CONSDONE</td>\n<td>STAT - Number of consultation calls made</td>\n<td>Number of consultation calls made while the agent was talking to a customer.</td>\n</tr>\n<tr>\n<td>PREVIEWOFF</td>\n<td>STAT - Number of previews offered</td>\n<td>Number of previews offered to agents, if the <em>Preview</em> mode has been activated for the campaign.  <br />This total is automatically incremented, whether the call is accepted or rejected by the agent.</td>\n</tr>\n<tr>\n<td>PREVIEWREF</td>\n<td>STAT - Number of rejected previews</td>\n<td>Number of previews offered to agents that have been rejected, if the <em>Preview</em> mode has been activated for the campaign.</td>\n</tr>\n<tr>\n<td>OUTCLDONEANS</td>\n<td>STAT - Number of answering machines distributed</td>\n<td>Number of answering machines distributed to agents, if the <em>Transfer answering machine to agent</em> option has been selected for the outbound campaign (in the <em>Telephony</em> tab, <em>Answering machine &amp; fax detection</em> section).</td>\n</tr>\n<tr>\n<td>NBFILECLDSUC</td>\n<td>STAT - Number of tasks successfully completed</td>\n<td>Number of tasks of the campaign that have been closed with the following result: <em>Successful call</em>.</td>\n</tr>\n<tr>\n<td>NBFILECLDMAX</td>\n<td>STAT - Number of failed tasks</td>\n<td>Number of tasks of the campaign that have been closed because the <em>maximum number of call attempts</em> has been reached.</td>\n</tr>\n<tr>\n<td>FILEPROCESSED</td>\n<td>STAT - Number of processed tasks</td>\n<td>Number of tasks processed in the campaign, whatever the work result.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of tasks successfully completed in the campaign, during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>OUTCLTRY</td>\n<td>STAT - Number of outbound call attempts</td>\n<td>Addition of <em>successful</em> outbound calls, <em>failed</em> outbound calls and <em>nuisance</em> calls.  <br /><em>Total of outbound call attempts</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>FAILED</strong></em> <em>outbound calls</em> + <em><strong>NUISANCE</strong></em> <em>calls</em>  <br /><em>Remark</em>: Nuisance calls are the number of calls corresponding to:  <br />✓ Customer calls cancelled by an agent,  <br />✓ Calls hung up by customers while the agent’s phone was ringing, if customers are called before agents.  <br />✓ Non-distributed customer calls, if customers are called before agents.</td>\n</tr>\n<tr>\n<td>TRSFAGTDONE</td>\n<td>STAT - Number of transfers to agent</td>\n<td>Number of calls transferred after a consultation call.</td>\n</tr>\n<tr>\n<td>TRSFNUMDONE</td>\n<td>STAT - Number of transfers to phone number</td>\n<td>Number of calls transferred using the <em>Transfer to a number</em> option.</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to a service</td>\n<td>Number of calls transferred using the <em>Transfer to a service</em> option.</td>\n</tr>\n<tr>\n<td>HISTO-ARGCALL</td>\n<td>HISTO - Number of completed contacts</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>HISTO-POSARGCALL</td>\n<td>HISTO - Number of positive contacts</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, during the time slot defined.  <br /><em><strong>Caution</strong></em>: This type of indicator is only used with curve type charts.</td>\n</tr>\n<tr>\n<td>REELCONTACTARG</td>\n<td>ACTUAL - Number of completed contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.</td>\n</tr>\n<tr>\n<td>CALASTHOUR</td>\n<td>ACTUAL - Number of completed contacts (last hour)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled, in the last 60 minutes.</td>\n</tr>\n<tr>\n<td>REELCONTACTPOS</td>\n<td>ACTUAL - Number of positive contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.</td>\n</tr>\n<tr>\n<td>CPLASTHOUR</td>\n<td>ACTUAL - Number of positive contacts (last hour)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, in the last 60 minutes.</td>\n</tr>\n<tr>\n<td>REELPOSVSARG</td>\n<td>ACTUAL - Percentage of positive contacts out of completed contacts (daily total)</td>\n<td>Number of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled, divided by the number of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Percentage of positive contacts out of completed contacts</em> = ( <em>Number of</em> <em><strong>POSITIVE CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>COMPLETED CONTACT</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>REELRATCONTACTARG</td>\n<td>ACTUAL - Percentage of completed contacts (daily total)</td>\n<td>Percentage of successful outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Percentage of completed contacts</em> = ( <em>Number of</em> <em><strong>COMPLETED CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>REELRATCONTACTPOS</td>\n<td>ACTUAL - Percentage of positive contacts (daily total)</td>\n<td>Percentage of successful outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Percentage of positive contacts</em> = ( <em>Number of</em> <em><strong>POSITIVE CONTACT</strong></em> <em>outbound calls</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>MOYCOMARG</td>\n<td>STAT - Average talk time for completed contacts</td>\n<td>Average talk time for all the outbound calls have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average talk time for completed contacts</em> = <em>Total of all the</em> <em><strong>COMPLETED CONTACT</strong></em> <em>talk time</em> / <em>Number of</em> <em><strong>SUCCESSFUL COMPLETED CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYCOMPOS</td>\n<td>STAT - Average talk time for positive contacts</td>\n<td>Average talk time for all the outbound calls have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average talk time for positive contacts</em> = <em>Total of all the</em> <em><strong>POSITIVE CONTACT</strong></em> <em>talk time</em> / <em>Number of</em> <em><strong>SUCCESSFUL POSITIVE CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYWRAPUPARG</td>\n<td>STAT - Average wrap-up time for completed contacts</td>\n<td>Average time spent by agents in the _Wrap-up_-system status, for all the outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average wrap-up time for completed contacts</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL COMPLETED CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYWRAPUPPOS</td>\n<td>STAT - Average wrap-up time for positive contacts</td>\n<td>Average time spent by agents in the _Wrap-up_-system status, for all the outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average wrap-up time for positive contacts</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL POSITIVE CONTACT OUTBOUND</strong></em> <em>calls</em></td>\n</tr>\n<tr>\n<td>MOYTRAVARG</td>\n<td>STAT - Average work time for completed contacts</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>, for all the outbound calls that have been given a qualification with the <em>Completed contact performance indicator</em> enabled.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>COMPLETED CONTACT TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>MOYTRAVPOS</td>\n<td>STAT - Average work time for positive contacts</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>, for all the outbound calls that have been given a qualification with the <em>Positive contact performance indicator</em> enabled.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>POSITIVE CONTACT TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the qualification(s) selected in the Number of times the main and/or automatic type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agent-out-calls\">Agent out calls</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on-going phone calls between agents &amp; customers for the selected agent out call service.</td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an <em>available personalized</em> status (with the <em>Available</em> status option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break statuses</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in one of the personalized break statuses, in the standard break status and in the _Anomaly_-system status.</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned tasks straight away.</td>\n</tr>\n<tr>\n<td>COMMAVG</td>\n<td>STAT - Average talk time</td>\n<td>Average time spent by agents belonging to the main and additional distribution groups associated with the supervised service talking to customers.  <br /><em>Average talk time</em> = <em>Total of all</em> <em><strong>TALK</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>AVGWORKST</td>\n<td>STAT - Average work time</td>\n<td>Addition of the <em>Average talk time</em> and the <em>Average wrap-up time</em>.  <br /><em>Average work time</em> = <em>Average</em> <em><strong>TALK</strong></em> <em>time</em> + <em>Average</em> <em><strong>WRAP-UP</strong></em> <em>time</em></td>\n</tr>\n<tr>\n<td>AVGWRAPUPST</td>\n<td>STAT - Average wrap-up time</td>\n<td>Average time spent by agents in the _Wrap-up_-system status.  <br /><em>Average wrap-up time</em> = <em>Total of all</em> <em><strong>WRAP-UP</strong></em> <em>time</em> / <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>APPTOOLNG</td>\n<td>STAT - Number of long calls (above threshold)</td>\n<td>Number of calls with a talk time superior to the <em>maximum recommended talk time</em> setting defined in the <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>APPNONPER</td>\n<td>STAT - Number of irrelevant calls</td>\n<td>Number of calls with a talk time inferior to the <em>threshold for relevance of customer communications</em> setting in the <em>Statistics</em> tab of the service.</td>\n</tr>\n<tr>\n<td>OUTCLCANC</td>\n<td>STAT - Number of cancelled outbound calls</td>\n<td>Number of calls cancelled by the agent before the customer answered.</td>\n</tr>\n<tr>\n<td>OUTCLWRGNUM  <br />OUTCLBUSY  <br />OUTCLNOCHAN  <br />OUTCLNOANSW</td>\n<td>STAT - Number of FLD outbound call attempts -- Wrong number  <br />STAT - Number of FLD outbound call attempts -- Busy number  <br />STAT - Number of FLD outbound calls -- No available channel  <br />STAT - Number of FLD outbound call attempts -- No answer</td>\n<td>These indicators give the reasons why <em>agent out calls</em> failed: wrong customer’s phone number, busy number, no answer or no channel to establish communication.</td>\n</tr>\n<tr>\n<td>OUTCLFAIL</td>\n<td>STAT - Number of failed FLD outbound calls</td>\n<td>Addition of all failed <em>agent out calls</em>.  <br />This total is divided between the different indicators corresponding to the cases encountered: no channel available to establish communication, wrong customer’s phone number, busy or no answer.  <br /><em>Number of failed FLD outbound calls</em> = <em>Number of FLD outbound call attempts</em> - <em><strong>WRONG NUMBER</strong></em> + <em>Number of FLD outbound call attempts</em> - <em><strong>BUSY NUMBER</strong></em> + <em>Number of FLD outbound call attempts</em> - <em><strong>NO ANSWER</strong></em> + <em>Number of FLD outbound calls</em> - <em><strong>NO AVAILABLE CHANNEL</strong></em></td>\n</tr>\n<tr>\n<td>OUTCLDONE</td>\n<td>STAT - Number of successful outbound calls</td>\n<td>Number of calls that ended in the agent talking to the customer.</td>\n</tr>\n<tr>\n<td>CONFDONE</td>\n<td>STAT - Number of conference calls made</td>\n<td>Number of conference calls made by agents during <em>agent out calls</em>.</td>\n</tr>\n<tr>\n<td>CONSDONE</td>\n<td>STAT - Number of consultation calls made</td>\n<td>Number of consultation calls made by agents during <em>agent out calls</em>.</td>\n</tr>\n<tr>\n<td>OUTCLTRY</td>\n<td>STAT - Number of outbound call attempts</td>\n<td>Addition of <em>successful</em>, <em>failed</em> and <em>cancelled</em> outbound calls.  <br /><em>Number of outbound call attempts</em> = <em>Number of</em> <em><strong>SUCCESSFUL</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>FAILED</strong></em> <em>outbound calls</em> + <em>Number of</em> <em><strong>CANCELLED</strong></em> <em>outbound calls</em></td>\n</tr>\n<tr>\n<td>TRSFAGTDONE</td>\n<td>STAT - Number of transfers to agent</td>\n<td>Number of calls transferred after a consultation call.</td>\n</tr>\n<tr>\n<td>TRSFNUMDONE</td>\n<td>STAT - Number of transfers to phone number</td>\n<td>Number of calls transferred using the <em>Transfer to a number</em> option.</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to a service</td>\n<td>Number of calls transferred using the <em>Transfer to a service</em> option.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"email-scripts\">Email Scripts</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>NBMLRECV</td>\n<td>STAT - Number of received emails</td>\n<td>Number of emails that have been received in the service, whatever the email processing result, closing or transfer.</td>\n</tr>\n<tr>\n<td>NBMLCLOSED</td>\n<td>STAT - Number of closed emails</td>\n<td>Number of emails that have been processed and closed by the script without being transferred to another Kiamo service.</td>\n</tr>\n<tr>\n<td>NBMLSENT</td>\n<td>STAT - Number of sent emails</td>\n<td>Number of emails sent by the script associated with the service.  <br /><em><strong>Caution</strong></em>: Emails transferred to another Kiamo service are not included in this indicator.</td>\n</tr>\n<tr>\n<td>NBMLTRFSVC</td>\n<td>STAT - Number of emails transferred to a service</td>\n<td>Number of received emails, which have been transferred to another Kiamo service.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"inbound-emails\">Inbound emails</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MLNOTCLOSED</td>\n<td>ACTUAL - Number of emails to process</td>\n<td>Number of emails to process in the selected service, whether or not they are in the service queue.</td>\n</tr>\n<tr>\n<td>MLRTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time</td>\n<td>Longest gross time spent waiting by an inbound email, among all the time spent waiting by inbound emails to process.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an available personalized status (with the <em>Available status</em> option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged-in agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who logged-in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned tasks straight away.</td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on-going phone calls while working on emails from this service.</td>\n</tr>\n<tr>\n<td>MLRIGHTNOW</td>\n<td>ACTUAL - Number of emails being processed</td>\n<td>Number of inbound emails being offered to and processed by agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MLWAIT</td>\n<td>ACTUAL - Number of queued emails</td>\n<td>Number of inbound emails to be processed that are in the service queue.  <br />Emails to be processed are included in the “queue” when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MLCLOSEDAVG</td>\n<td>STAT - Average closing time (gross wait + agent work)</td>\n<td>The average closing time is the total time spent processing and closing inbound emails, divided by the number of closed inbound emails.  <br /><em>Average closing time</em> = <em>Total of</em> <em><strong>ALL CLOSING TIME</strong></em> / <em>Number of</em> <em><strong>CLOSED</strong></em> <em>emails</em>  <br /><em>Remark</em>: The closing time is the gross wait time, to which is added all the time spent by agent(s) working on this email.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>MLWAITMAX</td>\n<td>ACTUAL - Maximum net wait time</td>\n<td>Longest net time spent waiting by an inbound email, among all the time spent waiting by inbound e mails offered to the agents belonging to the main and additional distribution groups associated with the supervised service.  <br /><em>Remark</em>: The net wait time is the time spent by the task waiting in the service, while the schedule associated with the service is open and while the service is started in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MLWAITMIN</td>\n<td>STAT - Minimum net wait time</td>\n<td>Shortest net time spent waiting by an inbound email, among all the time spent waiting by inbound emails offered to agents.  <br /><em>Remark</em>: The net wait time is the time spent by the task waiting in the service, while the schedule associated with the service is open and while the service is started in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MLWAITAVG</td>\n<td>STAT - Average net wait time</td>\n<td>Total net wait time of inbound emails offered to agents, divided by the number of inbound emails offered to the agents belonging to the main and additional distribution groups associated with the supervised service.  <br /><em>Average wait time</em> = <em>Total of all</em> <em><strong>NET WAIT TIME OF OFFERED EMAILS</strong></em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>emails</em>  <br /><em>Remark</em>: The net wait time is the time spent by the task waiting in the service, while the schedule associated with the service is open and while the service is started in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>WORKMLAVG</td>\n<td>STAT - Average work time</td>\n<td>Total time spent working on the inbound emails offered to agents, divided by the number of inbound emails offered to the agents belonging to the main and additional distribution groups asso ciated with the supervised service.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on offered emails</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>emails</em>  <br /><em><strong>Caution</strong></em>: Calls made while working on emails using the service to which belong these emails are included in this work time.</td>\n</tr>\n<tr>\n<td>MLSVCLVL</td>\n<td>STAT - Service level</td>\n<td>The service level is the percentage of inbound emails closed before the first wait time threshold, in relation to the total number of inbound emails closed (<em>Email closing time thresholds</em> setting in the <em>Statistics</em> tab of the service).  <br /><em>Service level</em> = ( <em>Number of emails</em> <em><strong>CLOSED BEFORE THRESHOLD 1</strong></em> ) / <em>Number of</em> <em><strong>CLOSED</strong></em> <em>emails</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>OUTCLDONE</td>\n<td>STAT - Number of outbound calls</td>\n<td>Number of outbound calls made by the agents belonging to the main and additional distribution groups associated with the supervised service while working on the emails from this service.  <br /><em><strong>Caution</strong></em>: Outbound calls made using an agent out call service are not included in this total.</td>\n</tr>\n<tr>\n<td>NBNEWMRCV</td>\n<td>STAT - Number of new emails received</td>\n<td>Number of new emails received in the service, whatever the work result, closing or postponement.  <br />This total includes <em>inbound</em> emails closed and then returned to the queue, as well as <em>inbound</em> emails that were first closed without sending an answer and then were reopened.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of inbound emails handled and closed in the selected service during the last hour (rolling period).</td>\n</tr>\n<tr>\n<td>MLWITHANS</td>\n<td>STAT - Number of emails with answer</td>\n<td>Number of inbound emails offered to the agents belonging to the main and additional distribution groups associated with the supervised service, which resulted in an answer being given to the customer, whether this answer is given by email or by phone.  <br /><em><strong>Caution</strong></em>: Transferred emails are not answers.</td>\n</tr>\n<tr>\n<td>MLWITHCL</td>\n<td>STAT - Number of emails that generated an outbound call</td>\n<td>Number of inbound emails offered to the agents belonging to the main and additional distribution groups associated with the supervised service, during which a call was made.</td>\n</tr>\n<tr>\n<td>MLWITHML</td>\n<td>STAT - Number of emails that generated an outbound email</td>\n<td>Number of inbound emails offered to the agents belonging to the main and additional distribution groups associated with the supervised service, which resulted in an email being sent as answer.  <br /><em><strong>Caution</strong></em>: Transferred emails are not included in this indicator.  <br />Outbound emails with a Kiamo service as recipient are considered as transferred.</td>\n</tr>\n<tr>\n<td>MLWITHTRANS</td>\n<td>STAT - Number of emails that generated an internal email</td>\n<td><em><strong>Caution</strong></em>: This indicator does not work since Kiamo 6.  <br />Number of inbound emails offered to the agents, which resulted in a transfer of the email to another Kiamo service.</td>\n</tr>\n<tr>\n<td>MLNONPER</td>\n<td>STAT - Number of emails with work time inferior to the short threshold</td>\n<td>Number of inbound emails with a work time inferior to the <em>Short threshold</em> setting, which can be defined in the <em>Statistics</em> tab of the service, <em>Work time thresholds</em> section.</td>\n</tr>\n<tr>\n<td>MLTOOLNG</td>\n<td>STAT - Number of emails with work time superior to the long threshold</td>\n<td>Number of inbound emails with a work time superior to the <em>Long threshold</em> setting, which can be defined in the <em>Statistics</em> tab of the service, <em>Work time thresholds</em> section.</td>\n</tr>\n<tr>\n<td>NBMLREPR</td>\n<td>STAT - Number of postponed emails</td>\n<td>Number of inbound emails that have been postponed because:  <br />✓ The agent has used the postponement function,  <br />✓ The email has been forwarded using the <em>Send</em> or <em>Action</em> button available in the email template used,  <br />✓ The email window has been closed using another means,  <br />✓ The email window remained open more than 2 hours.</td>\n</tr>\n<tr>\n<td>NBMLCLOSED</td>\n<td>STAT - Number of closed emails</td>\n<td>Number of inbound emails that have been closed.  <br />An email can be closed for one of the following reasons:  <br />✓ The agent has used the Close button and then the <em>Finalize</em> function available in the email template used,  <br />✓ The email automatic closing has been configured on the <em>Send</em> button or on an <em>Action</em> button available in the email template used.</td>\n</tr>\n<tr>\n<td>MLCLOSEDGTH1  <br />MLCLOSEDGTH2  <br />MLCLOSEDGTH3</td>\n<td>STAT - Number of emails closed after threshold (1/2/3)</td>\n<td>Number of inbound emails closed after one of the three thresholds defined for the service selected in the <em>Statistics</em> tab of the service, <em>Email closing time thresholds</em> section.  <br /><em>Remark</em>: The closing time is the gross wait time, to which is added all the time spent by agent(s) working on this email.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>MLCLOSEDLTH1  <br />MLCLOSEDLTH2  <br />MLCLOSEDLTH3</td>\n<td>STAT - Number of emails closed before threshold (1 / 2 / 3)</td>\n<td>Number of inbound emails closed before one of the three thresholds defined for the service selected in the <em>Statistics</em> tab of the service, <em>Email closing time thresholds</em> section.  <br /><em>Remark</em>: The closing time is the gross wait time, to which is added all the time spent by agent(s) working on this email.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>NBMLSENT</td>\n<td>STAT - Number of sent emails</td>\n<td>Number of inbound emails offered to agents, which resulted in an email being sent as answer.</td>\n</tr>\n<tr>\n<td>NBMLTRFSVC</td>\n<td>STAT - Number of internal emails</td>\n<td><em><strong>Caution</strong></em>: This indicator does not work since Kiamo 6.  <br />Number of inbound emails offered to agents, which were transferred to another Kiamo service.</td>\n</tr>\n<tr>\n<td>NBMLNODIST</td>\n<td>STAT - Number of non-distributed emails</td>\n<td>Number of non-distributed inbound emails because:  <br />✓ The email has been automatically transferred, once the maximum wait time has been reached (<em>Maximum wait time</em> and <em>Transfer to a service</em> settings, in the <em>Script</em> tab of the service),  <br />✓ The email has been transferred or directly deleted from the <em>list of emails</em> (<em>Monitoring</em> &gt; <em>Supervision view</em> menu &gt; <em>Start</em> button &gt; <em>List of emails</em>),  <br />✓ The email has been deleted from the list of email addresses (<em>Administration</em> &gt; <em>Integration</em> &gt; <em>POP</em> / <em>SMTP</em> menu).</td>\n</tr>\n<tr>\n<td>NBMLSUBMIT</td>\n<td>STAT - Number of offered emails</td>\n<td>Number of inbound emails that have been offered, whatever the work result, closing or postponement.  <br /><em>Number of offered emails</em> = <em>Number of</em> <em><strong>CLOSED</strong></em> <em>emails</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>emails</em></td>\n</tr>\n<tr>\n<td>NBMLRECV</td>\n<td>STAT - Number of received emails</td>\n<td>Number of emails received in the service.  <br />This total includes <em>inbound</em> emails closed and then returned to the queue, as well as <em>inbound</em> emails that were first closed without sending an answer and then were reopened.  <br /><em><strong>Caution</strong></em>: An email can only be received once in a service, but can be offered several times, when the postponement function is used. This explains why the number of received emails can be inferior to the number of <em>offered</em> emails.</td>\n</tr>\n<tr>\n<td>NBMLATRECV</td>\n<td>STAT - Number of emails received with a known tracking reference</td>\n<td>Number of received emails with a known Kiamo tracking reference.  <br /><em><strong>Caution</strong></em>: When email tracking is activated in Kiamo, a tracking number is automatically inserted in the email object: this unique number is attributed to the email as soon as it is received in Kiamo.</td>\n</tr>\n<tr>\n<td>MLWITHOUTANS</td>\n<td>STAT - Number of emails without answer</td>\n<td>Number of inbound emails offered to the agents belonging to the main and additional distribution groups associated with the supervised service , which resulted in no answer being given to the customer.</td>\n</tr>\n<tr>\n<td>MLTOVALID</td>\n<td>STAT - Number of outbound emails sent to validation</td>\n<td>Number of sent emails by the agents belonging to the main and additional distribution groups associated with the supervised service , which have been directed to an email validation service.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"email-validation\">Email validation</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MLNOTCLOSED</td>\n<td>ACTUAL - Number of emails to validate</td>\n<td>Number of emails to validate, whether or not they are in the service queue.</td>\n</tr>\n<tr>\n<td>MLRTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time</td>\n<td>Longest gross time spent waiting by an email to validate, among all the gross time spent waiting by emails to validate.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an available per sonalized status (with the <em>Available</em> status option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned tasks straight away.</td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on-going phone calls while working on emails from this service.</td>\n</tr>\n<tr>\n<td>MLRIGHTNOW</td>\n<td>ACTUAL - Number of emails being validated</td>\n<td>Number of emails being offered to and being handled by the agents belonging to the main and additional distribution groups associated with the supervised service who in order to be validated.</td>\n</tr>\n<tr>\n<td>MLWAIT</td>\n<td>ACTUAL - Number of queued emails</td>\n<td>Number of emails to validate in the service queue.  <br />Emails to validate are included in the \"queue\" when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MLCLOSEDAVG</td>\n<td>STAT - Average validation time (gross wait + agent work)</td>\n<td>The average validation time is the total of all validation time, divided by the number of validated emails.  <br /><em>Average validation time</em> = <em>Total of</em> <em><strong>ALL VALIDATION TIME</strong></em> / <em>Number of</em> <em><strong>VALIDATED</strong></em> <em>emails</em>  <br /><em>Remark</em>: The validation time is the gross wait, to which is added the time spent by agent(s) working on this email.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>MLWAITMAX</td>\n<td>STAT - Maximum net wait time</td>\n<td>Longest net time spent waiting by an email to validate, among all the net time spent waiting by emails to validate offered to the agents belonging to the main and additional distribution groups associa ted with the supervised service.  <br /><em>Remark</em>: The net wait time is the time spent by the task waiting in the service, while the schedule associated with the service is open and while the service is started in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MLWAITMIN</td>\n<td>STAT - Minimum net wait time</td>\n<td>Shortest net time spent waiting by an email to validate, among all the net time spent waiting by emails to validate offered to the agents belonging to the main and additional distribution groups associated with the supervised service.  <br /><em>Remark</em>: The net wait time is the time spent by the task waiting in the service, while the schedule associated with the service is open and while the service is started in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MLWAITAVG</td>\n<td>STAT - Average net wait time</td>\n<td>Total of all net wait time of emails to validate, divided by the number of emails to validate.  <br /><em>Average net wait time</em> = <em>Total of all</em> <em><strong>NET WAIT TIME OF EMAILS TO VALIDATE</strong></em> / <em>Number of emails</em> <em><strong>TO VALIDATE</strong></em>  <br /><em>Remark</em>: The net wait time is the time spent by the task waiting in the service, while the schedule associated with the service is open and while the service is started in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>WORKMLAVG</td>\n<td>STAT - Average work time</td>\n<td>Total time spent by agents working on emails to validate, divided by the number of emails to validate offered to the agents belonging to the main and additional distribution groups associated with the supervised service.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on offered emails</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>emails</em>  <br /><em><strong>Caution</strong></em>: Calls made while working on emails using the service to which belong these emails are included in this work time.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of emails to validate handled and closed in the service during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>NBMLNODIST</td>\n<td>STAT - Number of non-distributed emails</td>\n<td>Number of emails to validate, that have not been distributed because:  <br />✓ The email has been automatically transferred, once the maximum wait time has been reached (<em>Maximum wait time</em> and <em>Transfer to a service</em> settings, in the <em>Script</em> tab of the service),  <br />✓ The email has been transferred or directly deleted from the <em>list of emails</em> (<em>Monitoring</em> &gt; <em>Supervision view</em> menu &gt; <em>Start</em> button &gt; <em>List of emails</em>).</td>\n</tr>\n<tr>\n<td>NBMLSUBMIT</td>\n<td>STAT - Number of offered emails</td>\n<td>Number of emails to validate offered to agents, whatever the work result, validation or postponement.  <br /><em>Number of offered emails</em> = <em>Number of</em> <em><strong>VALIDATED</strong></em> <em>emails</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>emails</em>  <br /><em>Remark</em>: In a validation service, an offered email can be postponed because:  <br />✓ The <em>postponement</em> function has been used,  <br />✓ The email window has been closed,  <br />✓ Or because this email has remained open more than 2 hours.</td>\n</tr>\n<tr>\n<td>NBMLCLOSED</td>\n<td>STAT - Number of validated emails</td>\n<td>Number of emails that have been validated.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agent-out-emails\">Agent out emails</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on going phone calls while working on <em>agent out</em> emails.</td>\n</tr>\n<tr>\n<td>MLRIGHTNOW</td>\n<td>ACTUAL - Number of emails being processed</td>\n<td>Number of <em>agent out</em> emails currently being handled by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>WORKMLAVG</td>\n<td>STAT - Average work time</td>\n<td>Total time spent working on generated <em>agent out</em> emails, divided by the number of generated agent out emails.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>GENERATED</strong></em> <em>agent out emails</em> / <em>Number of</em> <em><strong>GENERATED</strong></em> <em>agent out emails</em>  <br /><em><strong>Caution</strong></em>: Calls made while working on emails using the service to which belong these emails are included in this work time.</td>\n</tr>\n<tr>\n<td>OUTCLDONE</td>\n<td>STAT - Number of outbound calls</td>\n<td>Number of outbound calls made by the agents belonging to the main and additional distribution groups associated with the supervised service while working on <em>agent out</em> emails from this service.  <br /><em><strong>Caution</strong></em>: Outbound calls made using an agent out call service are not included in this total.</td>\n</tr>\n<tr>\n<td>CONFDONE</td>\n<td>STAT - Number of conference calls made</td>\n<td>Number of conference calls made by the agents belonging to the main and additional distribution groups associated with the supervised service while working on an <em>agent out</em> email.</td>\n</tr>\n<tr>\n<td>CONSDONE</td>\n<td>STAT - Number of consultation calls made</td>\n<td>Number of consultation calls made the agents belonging to the main and additional distribution groups associated with the supervised service while working on <em>agent out</em> emails.</td>\n</tr>\n<tr>\n<td>TRSFAGTDONE</td>\n<td>STAT - Number of transfers to agent</td>\n<td>Number of calls transferred after a consultation call.</td>\n</tr>\n<tr>\n<td>TRSFNUMDONE</td>\n<td>STAT - Number of transfers to number</td>\n<td>Number of calls transferred using the <em>Transfer to a number</em> option.</td>\n</tr>\n<tr>\n<td>TRSFSVCDONE</td>\n<td>STAT - Number of transfers to a service</td>\n<td>Number of calls transferred using the <em>Transfer to a service</em> option.</td>\n</tr>\n<tr>\n<td>MLWITHCL</td>\n<td>STAT - Number of emails that generated an outbound call</td>\n<td>Number of <em>agent out</em> emails, during which a call was made by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MLWITHTRANS</td>\n<td>STAT - Number of emails that generated a service transfer</td>\n<td>Number of <em>agent out</em> emails transferred to another Kiamo service.</td>\n</tr>\n<tr>\n<td>NBMLSENT</td>\n<td>STAT - Number of sent emails</td>\n<td>Number of <em>agent out</em> emails that have been sent by the agents belonging to the main and additional distribution groups associated with the supervised service.  <br />This number includes agent out emails that have been sent again and <em>internal</em> emails.</td>\n</tr>\n<tr>\n<td>EGENERETATED</td>\n<td>STAT - Number of generated emails</td>\n<td>Number of <em>agent out</em> emails generated whatever the work result: sending, saving or cancelling the email.</td>\n</tr>\n<tr>\n<td>NBMLTRFSVC</td>\n<td>STAT - Number of agent out internal emails</td>\n<td>Number of <em>agent out</em> emails sent with a Kiamo service as recipient.</td>\n</tr>\n<tr>\n<td>MLTOVALID</td>\n<td>STAT - Number of outbound emails sent to validation</td>\n<td>Number of <em>agent out</em> emails sent, which have been directed to an <em>email validation</em> service.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"inbound-messages\">Inbound messages</h4>\n<p><em>Remark</em>: A Messaging type interaction is a message thread sent by the same contact and containing the answers sent via the Kiwi application by one or more agents. Whatever the type of message sent by the contact, all his/her messages will be grouped together in th e same interaction if the contact has been identified in Kiamo (for instance, by using his/her Facebook ID, Twitter ID, LinkedIn ID, phone number, etc.).<br />If the contact has not been identified in Kiamo, an interaction per message type will be displayed for this contact (e.g.: an interaction for text messages, an interaction for Facebook type messages).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MGRTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time</td>\n<td>Longest gross time spent waiting by a Messaging-type interaction, among all the time spent waiting by Messaging-type interactions to process.  <br /><em>Remark</em>: The gross wait time is the time spent waiting by the task in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks.  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an available personalized status (with the <em>Available status</em> option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break status</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in one of the personalized break statuses, in the standard break status and in the _Anomaly_-system status.</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged-in agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned tasks straight away.</td>\n</tr>\n<tr>\n<td>MGCLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress in a Messaging service</td>\n<td>Number of calls in progress made by the agents belonging to the main and additional distribution groups associated with the supervised service while working on the Messaging-type interactions of the service, using the service to which belong these interactions.  <br /><em>Remark</em>: Outbound calls made using an Agent out call service are not included.</td>\n</tr>\n<tr>\n<td>MGNOTCLOSED</td>\n<td>ACTUAL - Number of interactions to process</td>\n<td>Number of Messaging-type interactions to process in the service whether or not they are in the “task queue”.</td>\n</tr>\n<tr>\n<td>MGRIGHTNOW</td>\n<td>ACTUAL - Number of interactions being processed</td>\n<td>Number of Messaging-type interactions of the service being offered to the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MGWAIT</td>\n<td>ACTUAL - Number of queued interactions</td>\n<td>Number of Messaging-type interactions that are in the service queue.  <br />Messaging-type interactions are included in the “queue” when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.  <br /><em>Remark</em>: Interactions with a processing date scheduled in the past are included in the service queue whereas interactions with a processing date scheduled in the future are not. These are counted in this total as soon as the processing date and time are reached.</td>\n</tr>\n<tr>\n<td>MGCLOSEDAVG</td>\n<td>STAT - Average closing time (gross wait + agent work)</td>\n<td>The average closing time is the total time spent processing and closing Messaging-type interactions, divided by the number of closed Messaging-type interactions.  <br /><em>Average closing time</em> = <em>Total of</em> <em><strong>ALL CLOSING TIME</strong></em> / <em>Number of</em> <em><strong>CLOSED</strong></em> <em>interactions</em>  <br /><em>Remark</em> : The closing time is the gross wait time, to which is added all the time spent by agent(s) working on this interaction.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>MGWAITMAX</td>\n<td>STAT - Maximum net wait time</td>\n<td>Longest net time spent waiting by a Messaging-type interaction, among all the net time spent waiting by offered interactions.  <br /><em>Remark</em>: The net waiting time is the waiting time while the schedule associated with the service is open and while the service is “started” in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MGWAITMIN</td>\n<td>STAT - Minimum net wait time</td>\n<td>Shortest net time spent waiting by a Messaging-type interaction, among all the time spent waiting by offered interactions.  <br /><em>Remark</em>: The net waiting time is the waiting time while the schedule associated with the service is open and while the service is “started” in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>MGWAITAVG</td>\n<td>STAT - Average net wait time</td>\n<td>Total net time spent waiting by offered a Messaging-type interaction, divided by the number of offered interactions.  <br /><em>Average wait time</em> = <em>Total</em> <em><strong>NET TIME SPENT WAITING BY OFFERED INTERACTIONS</strong></em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>interactions</em>  <br /><em>Remark</em>: The net waiting time is the waiting time while the schedule associated with the service is open and while the service is “started” in <em>automatic</em> or <em>mixed</em> mode.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>WORKMGAVG</td>\n<td>STAT - Average work time</td>\n<td>Total time spent working on offered Messaging-type interactions, divided by the number of interactions offered.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on offered interactions</em> / <em>Number of</em> <em><strong>OFFERED</strong></em> <em>interactions</em>  <br /><em><strong>Caution</strong></em>: All calls made while working on Messaging-type interactions using the service to which belong these interactions are included in this total.</td>\n</tr>\n<tr>\n<td>MGOUTCLDONE</td>\n<td>STAT - Number of outbound calls</td>\n<td>Number of outbound calls made using the service to which belong these interactions, while working on Messaging-type interactions.  <br /><em>Remark</em>: Outbound calls made using an agent out call service are not included in this total.</td>\n</tr>\n<tr>\n<td>NBMGSENT</td>\n<td>STAT - Number of sent messages</td>\n<td>Number of messages offered to the agents belonging to the main and additional distribution groups associated with the supervised service that resulted in a message being sent as answer.</td>\n</tr>\n<tr>\n<td>NBMGRECV</td>\n<td>STAT - Number of messages received</td>\n<td>Number of messages received in the supervised service.  <br /><em><strong>Caution</strong></em>: A message can only be received once in a service, but can be <em>offered</em> several times, when the postponement function is used. This explains why the number of <em>received</em> messages can be inferior to the number of <em>offered</em> messages.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of Messaging-type interactions processed and closed in the service, during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>NBMGREPR</td>\n<td>STAT - Number of postponed interactions</td>\n<td>Number of Messaging-type interactions that have been postponed because:  <br />✓ The agent used the postponement function,  <br />✓ The interaction remained open more than 2 hours.  <br /><em><strong>Caution</strong></em>: Postponed interactions are not closed.</td>\n</tr>\n<tr>\n<td>NBMGNEWINTERACTION</td>\n<td>STAT - Number of created interactions</td>\n<td>Number of new Messaging-type interactions created in the service for a new contact, whatever the work result: closing or postponement.  <br /><em>Remark</em>: A new contact is a contact that has not been identified in the Kiamo software.  <br />See the definition of an interaction above.</td>\n</tr>\n<tr>\n<td>NBMGNODIST</td>\n<td>STAT - Number of non-distributed interactions</td>\n<td>Number of Messaging-type interactions in the service that could not be distributed because:  <br />✓ The queued interaction has been automatically transferred, once the maximum waiting time has been reached (<em>Maximum wait time</em> and <em>Transfer to a service</em> settings, in the <em>Script</em> tab of the service).  <br />✓ The queued interaction has been transferred to another service after going through a _Transfer to a service_-type processing function (<em>Script</em> tab, <em>Duration in the queue</em> section - <em>Transfer to a service</em> processing function).  <br />✓ The interaction has been closed in the <em>Search</em> or <em>Messages to process</em> menu of the <em>Kiwi</em> application (use of the <em>Close</em> button).</td>\n</tr>\n<tr>\n<td>NBMGNSUBMIT</td>\n<td>STAT - Number of interactions offered</td>\n<td>Number of Messaging-type interactions that have been offered to the agents belonging to the main and additional distribution groups associated with the supervised service (automatically or opened manually), whatever the work result: closing or postponement.  <br /><em>Number of interactions offered</em> = <em>Number of</em> <em><strong>HANDLED</strong></em> <em>interactions</em> + <em>Number of</em> <em><strong>POSTPONED</strong></em> <em>interactions</em></td>\n</tr>\n<tr>\n<td>NBMGCLOSED</td>\n<td>STAT - Number of handled interactions</td>\n<td>Number of Messaging-type interactions that have been handed and closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MGCLOSEDLTH3</td>\n<td>STAT - Number of interactions processed after threshold 3</td>\n<td>Number of Messaging-type interactions that have been handled after the third threshold.  <br /><em>Remark</em>: These thresholds cannot be configured in the Kiamo main interface. Threshold 3 value: 86400 seconds (= 24 hours).</td>\n</tr>\n<tr>\n<td>MGCLOSEDLTH1</td>\n<td>STAT - Number of interactions processed before threshold 1</td>\n<td>Number of Messaging-type interactions that have been handled before the first threshold  <br /><em>Remark</em>: These thresholds cannot be configured in the Kiamo main interface. Threshold 1 value: 3600 seconds (= 1 hour).</td>\n</tr>\n<tr>\n<td>MGCLOSEDLTH1TH2</td>\n<td>STAT - Number of interactions handled between threshold 1 and threshold 2</td>\n<td>Number of Messaging-type interactions that have been handled between the first and second thresholds.  <br /><em>Remark</em>: These thresholds cannot be configured in the Kiamo main interface . Value:  <br />✓ Threshold 1: 3600 seconds (= 1 hour).  <br />✓ Threshold 2: 14400 seconds (= 4 hours).</td>\n</tr>\n<tr>\n<td>MGCLOSEDLTH2TH3</td>\n<td>STAT - Number of interactions handled between threshold 2 and threshold 3</td>\n<td>Number of Messaging-type interactions that have been handled between the second and third thresholds  <br /><em>Remark</em>: These thresholds cannot be configured in the Kiamo main interface. Value:  <br />✓ Threshold 2: 14400 seconds (= 4 hours).  <br />✓ Threshold 3: 86400 seconds (= 24 hours).</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"chat-scripts\">Chat Scripts</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>HNBSESSABANDONED</td>\n<td>HISTO - Number of abandoned sessions</td>\n<td>Number of chat sessions received in the script that have ended the customer ended the session or the chat script came to an end) without being processed by a <em>Success</em>, <em>Service transfer</em> or <em>Reason for non-distribution</em> block.</td>\n</tr>\n<tr>\n<td>HNBSESSRECEIVED</td>\n<td>HISTO - Number of received sessions</td>\n<td>Number of chat sessions received in the script, whether they are considered as successful, abandoned or non-distributed.</td>\n</tr>\n<tr>\n<td>RNBCHATNODISTRIB</td>\n<td>ACTUAL - Number of non-distributed chat sessions</td>\n<td>Number of chat sessions that have ended in the script, after being processed by a <em>Reason for non-distribution</em> block. Non-distribution reasons available in chat scripts are: hours closed, not enough agents, saturated queue, maximum wait time reached, voluntary removal and other condition.  <br /><em>Number of non-distributed chat sessions</em> = <em>Number of sessions</em> - <em><strong>NO AGENT</strong></em> + <em>Number of sessions</em> - <em><strong>SATURATED QUEUE</strong></em> + <em>Number of sessions</em> - <em><strong>MAX TIME REACHED</strong></em> + <em>Number of sessions</em> - <em><strong>HOURS CLOSED</strong></em> + <em>Number of ND sessions</em> - <em><strong>VOLUNTARY REMOVAL</strong></em> + <em>Number of ND sessions</em> - <em><strong>OTHER CONDITION</strong></em></td>\n</tr>\n<tr>\n<td>RNBCHATSESSWORK</td>\n<td>ACTUAL - Number of chat sessions in progress</td>\n<td>Number of chat sessions currently being processed in the selected Chat script service.</td>\n</tr>\n<tr>\n<td>RNBCHATRECEIVED</td>\n<td>ACTUAL - Number of received chat sessions</td>\n<td>Number of chat sessions received in the script, whether they are considered as successful, abandoned or non-distributed.</td>\n</tr>\n<tr>\n<td>RNBTRANSFER</td>\n<td>ACTUAL - Number of service transfers</td>\n<td>Number of chat sessions received in the script that have been transferred to an Agent chat- or a Chat script-type service using a <em>Service transfer</em> block.  <br /><em>Remark</em>: These sessions are automatically qualified as successful, without having to use a Success type block to qualify the session processing in the script.</td>\n</tr>\n<tr>\n<td>RPERCHATABANDONED</td>\n<td>ACTUAL - Percentage of abandoned sessions</td>\n<td>Percentage of chat sessions received in the script in relation to the number of chat sessions received in the selected service that have ended (the customer ended the session or the chat script came to an end) without being processed by a <em>Success</em>, <em>Service transfer</em> or <em>Reason for non-distribution</em> block.  <br /><em>Percentage of abandoned chat sessions</em> = ( <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>sessions</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>sessions</em> ) x <em>100</em></td>\n</tr>\n<tr>\n<td>RPERCHATSUCCESS</td>\n<td>ACTUAL - Percentage of success</td>\n<td>Percentage of chat sessions received in the chat script that have been qualified as successful. It includes the chat sessions that have been qualified as successful in a _Success_-type block available in the chat script and the sessions transferred to another Kiamo service, without having to use a _Success_-type block to qualify the session processing in the script.  <br /><em>Percentage of success</em> = ( ( <em>Number of received chat sessions qualified as</em> <em><strong>SUCCESSFUL</strong></em> + <em>Number of chat sessions received and transferred</em> ) / ( <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>chat sessions</em> ) ) X <em>100</em></td>\n</tr>\n<tr>\n<td>NBCHATNODISTRIB</td>\n<td>STAT - Number of non-distributed chat sessions</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBCHATRECEIVED</td>\n<td>STAT - Number of received sessions</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBTRANSFER</td>\n<td>STAT - Number of service transfers</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>PERCHATABANDONED</td>\n<td>STAT - Percentage of abandoned sessions</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>PERCHATSUCCESS</td>\n<td>STAT - Percentage of success</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>MAXCHATSESSDUR</td>\n<td>STAT - Maximum chat session time</td>\n<td>Longest chat session, among all the chat sessions processed in the selected chat script.</td>\n</tr>\n<tr>\n<td>MOYCHATSESSDUR</td>\n<td>STAT - Average chat session time</td>\n<td>This average time takes into account the processing time of all the chat sessions received in the selected Chat script service, including abandoned and non-distributed sessions.  <br /><em>Average processing time</em> = <em>Total time spent processing</em> <em><strong>RECEIVED</strong></em> <em>chat sessions</em> / <em>Number of</em> <em><strong>RECEIVED</strong></em> <em>chat sessions</em></td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agent-chat\">Agent Chat</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an <em>available personalized</em> status (with the <em>Available status</em> option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break statuses</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in one of the <em>personalized</em> break statuses, in the standard break status and in the _Anomaly_-system status.</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged in agents</td>\n<td>Number of agents belonging to the main and additional distribution groups as sociated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the <em>Ready</em> status who may be assigned a task straight away.</td>\n</tr>\n<tr>\n<td>RNBCHATAGENTDISC</td>\n<td>ACTUAL - Number of agent logouts</td>\n<td>Number of Chat sessions closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>RNBCHATCUSTDISC</td>\n<td>ACTUAL - Number of customer logouts</td>\n<td>Number of Chat sessions in the selected service closed by customers.</td>\n</tr>\n<tr>\n<td>RNBCHATABANDONED</td>\n<td>ACTUAL - Number of abandoned Chat sessions</td>\n<td>Number of Chat sessions closed by customers before being put in relation with an agent.</td>\n</tr>\n<tr>\n<td>RNBCHATNODIST</td>\n<td>ACTUAL - Number of non-distributed Chat sessions</td>\n<td>Total of all the Chat sessions <em>transferred</em> and <em>closed</em> while they were in the service “queue”.  <br />A <em>non-distributed</em> Chat session is a queued session that has been closed after a deterrence message has been automatically sent to the customer or a queued session that has been transferred, which corresponds to the following processing options in the <em>Script</em> tab of the service:  <br />✓ <em>Closed schedule test</em> with the <em>Deterrence message</em> action selected,  <br />✓ <em>Maximum wait time</em> with the <em>Deterrence message</em> action selected,  <br />✓ <em>Deterrence message</em>,  <br />✓ <em>Closed schedule test</em> with the <em>Transfer to a service</em> action selected,  <br />✓ <em>Maximum wait time</em> with the <em>Transfer to a service</em> action selected,  <br />✓ and <em>Transfer to a service</em>.</td>\n</tr>\n<tr>\n<td>RNBCHATSESSWAIT</td>\n<td>ACTUAL - Number of queued Chat sessions</td>\n<td>Number of Chat sessions waiting to be handled in the selected service.</td>\n</tr>\n<tr>\n<td>RNBCHATSESSWORK</td>\n<td>ACTUAL - Number of Chat sessions in progress</td>\n<td>Number of on-going Chat sessions between customers and agents.</td>\n</tr>\n<tr>\n<td>RNBCHATRECEIVED</td>\n<td>ACTUAL - Number of Chat sessions received</td>\n<td>Number of Chat sessions received in the selected service, including all Chat sessions offered to agents and all unprocessed Chat sessions (<em>abandoned</em> Chat sessions + <em>non-distributed</em> Chat sessions).</td>\n</tr>\n<tr>\n<td>RNBCHATHANDLED</td>\n<td>ACTUAL - Number of processed Chat sessions</td>\n<td>Number of Chat sessions offered, handled and closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>RMAXCHATSESSWAIT</td>\n<td>ACTUAL - Number of Chat sessions handled</td>\n<td>Number of Chat sessions offered, handled and closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>RMOYCHATSESSWAIT</td>\n<td>ACTUAL - Average wait time</td>\n<td>Total wait time of all the Chat sessions handled by the agents belonging to the main and additional distribution groups associated with the supervised service , divided by the number of handled Chat sessions.  <br /><em>Average wait time</em> = <em>Total</em> <em><strong>WAIT TIME OF ALL HANDLED CHAT SESSIONS</strong></em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>Chat sessions</em></td>\n</tr>\n<tr>\n<td>NBCHATAGENTDISC</td>\n<td>STAT - Number of agent logouts</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBCHATCUSTDISC</td>\n<td>STAT - Number of customer logouts</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBCHATABANDONED</td>\n<td>STAT - Number of abandoned Chat sessions</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBCHATNODIST</td>\n<td>STAT - Number of non distributed Chat sessions</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBCHATRECEIVED</td>\n<td>STAT - Number of Chat sessions received</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBCHATHANDLED</td>\n<td>STAT - Number of processed Chat sessions</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of tasks processed in an hour</td>\n<td>Number of chat sessions handled and closed in the service during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>MAXCHATSESSWAIT</td>\n<td>STAT - Maximum wait time</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>MAXCHATSESSWAITABAND</td>\n<td>STAT - Maximum wait time before leaving the queue</td>\n<td>Longest time spent waiting by a Chat session, among all the time spent waiting by Chat sessions that have been abandoned by customers.</td>\n</tr>\n<tr>\n<td>MAXCHATSESSDUR</td>\n<td>STAT - Maximum Chat session time</td>\n<td>Longest Chat session, among all the Chat sessions handled and closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MINCHATSESSWAIT</td>\n<td>STAT - Minimum wait time</td>\n<td>Shortest time spent waiting by a Chat session, among all the time spent waiting by Chat sessions offered to the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MINCHATSESSWAITABAND</td>\n<td>STAT - Minimum wait time before abandonment</td>\n<td>Shortest time spent waiting by a Chat session, among all the time spent waiting by Chat ses sions that have been abandoned by customers.</td>\n</tr>\n<tr>\n<td>MINCHATSESSDUR</td>\n<td>STAT - Minimum Chat session time</td>\n<td>Shortest Chat session, among all the Chat sessions handled and closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>MOYCHATSESSWAIT</td>\n<td>STAT - Average wait time</td>\n<td>See the ACTUAL-type definition.</td>\n</tr>\n<tr>\n<td>MOYCHATSESSWAITABAND</td>\n<td>STAT - Average wait time before leaving the queue</td>\n<td>Total wait time of all the abandoned Chat sessions, divided by the number of abandoned Chat sessions.  <br /><em>Average wait time</em> = <em>Total of all</em> <em><strong>WAIT TIME OF ABANDONED CHAT SESSIONS</strong></em> / <em>Number of</em> <em><strong>ABANDONED</strong></em> <em>Chat sessions</em></td>\n</tr>\n<tr>\n<td>MOYCHATSESSDUR</td>\n<td>STAT - Average Chat session time</td>\n<td>Total time spent handling Chat sessions, divided by the number of Chat sessions handled.  <br /><em>Average Chat session time</em> = <em>Total time</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>HANDLED</strong></em> <em>chat sessions</em> / <em>Number of</em> <em><strong>HANDLED</strong></em> <em>chat sessions</em></td>\n</tr>\n<tr>\n<td>TOTALCHATSESSDUR</td>\n<td>STAT - Total Chat time</td>\n<td>Total time spent handling the Chat sessions offered and closed by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"task-distribution\">Task distribution</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>MLRTWAITMAXBRUT</td>\n<td>ACTUAL - Maximum gross wait time</td>\n<td>Longest gross time spent waiting by a custom task, among all the time spent waiting by custom tasks.  <br /><em>Remark</em>: The gross wait time is the time spent by the task waiting in the service, whatever the distribution mode defined for the service (<em>automatic</em>, <em>manual</em>, <em>mixed</em> or <em>no distribution</em>) and whatever the status of the schedule associated with the service (open or closed).</td>\n</tr>\n<tr>\n<td>NBAGTACTIVE</td>\n<td>ACTUAL - Number of active agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in and who may be assigned tasks:  <br />✓ either straight away because they are <em>Ready</em>  <br />✓ either when they go back to the <em>Ready</em> status after being in one of the following system statuses: reserved, talking to a customer, wrap-up, mandatory break, task handling, consultation, conference call, or internal call;  <br />✓ or when they go back to the <em>Ready</em> status if they are in an <em>available personalized</em> status (with the <em>Available status</em> option enabled).</td>\n</tr>\n<tr>\n<td>NBAGTPAUSE</td>\n<td>ACTUAL - Number of agents in Break statuses</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in one of the <em>personalized</em> break statuses, in the standard break status and in the _Anomaly_-system status.</td>\n</tr>\n<tr>\n<td>NBAGTLOG</td>\n<td>ACTUAL - Number of logged in agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are logged in, whatever their status.</td>\n</tr>\n<tr>\n<td>NBAGTREADY</td>\n<td>ACTUAL - Number of ready agents</td>\n<td>Number of agents belonging to the main and additional distribution groups associated with the supervised service who are in the Ready status who may be assigned tasks straight away.</td>\n</tr>\n<tr>\n<td>CLRIGHTNOW</td>\n<td>ACTUAL - Number of calls in progress</td>\n<td>Number of on-going phone calls while working on <em>custom</em> tasks from this service.</td>\n</tr>\n<tr>\n<td>FILENOTCLOSED</td>\n<td>ACTUAL - Number of tasks to process</td>\n<td>Number of custom tasks to process in the selected <em>Task distribution</em> service, whether they are or not in the service \"queue\".</td>\n</tr>\n<tr>\n<td>CURRENTFILES</td>\n<td>ACTUAL - Number of tasks being processed</td>\n<td>Number of custom tasks of the service that are currently being offered to and handled by the agents belonging to the main and additional distribution groups associated with the supervised service.</td>\n</tr>\n<tr>\n<td>FILEWAIT</td>\n<td>ACTUAL - Number of queued tasks</td>\n<td>Number of custom tasks in the service queue.  <br />Tasks are included in the “queue” when the service is started in <em>automatic</em> or <em>mixed</em> mode, and:  <br />✓ If a schedule is associated with the selected service, during the opening hours of the schedule;  <br />✓ If no schedule is associated with the service, they will always be included in the service queue.  <br /><em><strong>Caution</strong></em>: This indicator is not completed if the distribution mode defined for the service is: <em>manual</em>.</td>\n</tr>\n<tr>\n<td>AVGWORKFILE</td>\n<td>STAT - Average work time</td>\n<td>Total time spent working on closed and postponed custom tasks, divided by the number of custom tasks processed by the agents belonging to the main and additional distribution groups associated with the supervised service.  <br /><em>Average work time</em> = <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>CLOSED</strong></em> <em>tasks</em> + <em>Total time spent</em> <em><strong>WORKING</strong></em> <em>on</em> <em><strong>POSTPONED</strong></em> <em>tasks</em> / <em>Number of</em> <em><strong>PROCESSED</strong></em> <em>tasks</em>  <br /><em><strong>Caution</strong></em>: Calls made while working on custom tasks using the service to which belong these custom tasks are included in this work time.</td>\n</tr>\n<tr>\n<td>CLOUTDONEFILE</td>\n<td>STAT - Number of successful calls</td>\n<td>Number of successful outbound calls while working on the custom tasks of the service.  <br /><em><strong>Caution</strong></em>: Calls made using an <em>Agent out call</em> service are not included in this total.</td>\n</tr>\n<tr>\n<td>CLOUTTRYFILE</td>\n<td>STAT - Number of call attempts</td>\n<td>Number of outbound call attempts made while working on the custom tasks of the service.  <br /><em><strong>Caution</strong></em>: Calls made using an <em>Agent out call</em> service are not included in this total.</td>\n</tr>\n<tr>\n<td>NBFILECLOSED</td>\n<td>STAT - Number of closed tasks</td>\n<td>Number of custom tasks closed with the result: \"<em>Handled task</em>\".  <br /><em>Remark</em>: Closing a custom task is the expected work result.</td>\n</tr>\n<tr>\n<td>NBTASKSCLOSEDHOUR</td>\n<td>STAT - Number of custom tasks processed in an hour</td>\n<td>Number of custom tasks processed and closed in the service during the last hour (rolling hour).</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"automatic-processing\">Automatic processing</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Label</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>NBAUTOMATEDTASKCLOSED</td>\n<td>STAT - Number of closed tasks</td>\n<td>Number of custom tasks processed by the script associated with the selected service without being transferred to another Kiamo service.</td>\n</tr>\n<tr>\n<td>NBAUTOMATEDTASKRECEIVED</td>\n<td>STAT - Number of received tasks</td>\n<td>Number of custom tasks received in the <em>automatic processing</em> service selected, whatever the processing result, closing or transfer.</td>\n</tr>\n<tr>\n<td>NBAUTOMATEDTASKTRANSFERED</td>\n<td>STAT - Number of transferred tasks</td>\n<td>Number of custom tasks transferred to another Kiamo service for processing.</td>\n</tr>\n<tr>\n<td>QUALIFICATION</td>\n<td>STAT - Number of qualifications</td>\n<td>Number of times the main and/or automatic-type qualification(s) selected in the supervision block have been given.</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"acd03735-e732-486b-b655-db4693b4c22d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9f29ef35-4a20-41a9-a848-219875f0c986"}}],"_postman_id":"14fa319d-cd0b-48be-bf9e-7889ecb34302"},{"name":"schedules","item":[{"name":"Get Schedule","id":"4fcaec0d-7f89-47c5-ac6c-2f7a0d0c0415","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Kiamo-Api-Token","value":"{{token-schedule}}","type":"text"}],"url":"{{api_base_url}}/schedules/:id","description":"<p>Retrieve the given schedule.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Data Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response</strong></p>\n<p>If the query is successful, the schedule information is returned.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": integer,\n    \"label\": string,\n    \"description\": string,\n    \"timezone\": string,\n    \"group\": integer,\n    \"weeklyOpenings\": [\n        {\n            \"startWeekDay\": integer,\n            \"startHour\": string,\n            \"endWeekDay\": integer,\n            \"endHour\": string\n        }\n    ],\n    \"specialOpenings\": [\n        {\n            \"label\": string,\n            \"start\": string,\n            \"end\": string\n        }\n    ],\n    \"specialClosings\": [\n        {\n            \"label\": string,\n            \"start\": string,\n            \"end\": string\n        }\n    ]\n}\n\n</code></pre>\n<p>Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"id\": 1,\n    \"label\": \"New_Schedule_1\",\n    \"description\": \"Description\",\n    \"timezone\": \"Europe/Paris\",\n    \"group\": 1,\n    \"weeklyOpenings\": [\n        {\n            \"startWeekDay\": 2,\n            \"startHour\": \"08:00\",\n            \"endWeekDay\": 2,\n            \"endHour\": \"12:00\"\n        }\n    ],\n    \"specialOpenings\": [\n        {\n            \"label\": \"Opening\",\n            \"start\": \"2026-03-05 14:00\",\n            \"end\": \"2026-03-05 16:00\"\n        }\n    ],\n    \"specialClosings\": [\n        {\n            \"label\": \"Closing\",\n            \"start\": \"2026-03-05 14:30\",\n            \"end\": \"2026-03-05 18:30\"\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"path":["schedules",":id"],"host":["{{api_base_url}}"],"query":[],"variable":[{"description":{"content":"<p>Id of schedule</p>\n","type":"text/plain"},"type":"any","value":"{{schedule_id}}","key":"id"}]}},"response":[],"_postman_id":"4fcaec0d-7f89-47c5-ac6c-2f7a0d0c0415"},{"name":"Get Schedules","id":"e1909c02-4eb2-48a7-a00a-6e8dcc445029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Kiamo-Api-Token","value":"{{token-schedule}}","type":"text"}],"url":"{{api_base_url}}/schedules","description":"<p>Retrieve all the schedules in a paginated format.</p>\n<p><strong>Response</strong></p>\n<p>If the query is successful, the list of all schedules is returned (empty list if no match).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": integer,\n            \"label\": string,\n            \"description\": string,\n            \"group\": integer\n        },\n        {\n            \"id\": integer,\n            \"label\": string,\n            \"description\": string,\n            \"group\": integer\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": integer,\n            \"prev\": integer,\n            \"next\": integer,\n            \"count\": integer\n        }\n    }\n}\n\n</code></pre>\n<p>Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"label\": \"New_Schedule_1\",\n            \"description\": null,\n            \"group\": 1\n        },\n        {\n            \"id\": 2,\n            \"label\": \"New_Schedule_2\",\n            \"description\": \"Description\",\n            \"group\": 2\n        },\n        {\n            \"id\": 3,\n            \"label\": \"New_Schedule_3\",\n            \"description\": \"Description 3\",\n            \"group\": 1\n        }\n    ],\n    \"meta\": {\n        \"cursor\": {\n            \"current\": 1,\n            \"prev\": null,\n            \"next\": 2,\n            \"count\": 20\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["schedules"],"host":["{{api_base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1909c02-4eb2-48a7-a00a-6e8dcc445029"}],"id":"c869bc3c-9ab5-4bfd-96cc-750f2892d880","description":"<h1 id=\"schedule-api\">SCHEDULE API</h1>\n<p>The Schedule API is used to retrieve one or more schedules.</p>\n<p>Please note: kiamopackage/admin 2.4.0 is required.</p>\n","_postman_id":"c869bc3c-9ab5-4bfd-96cc-750f2892d880"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"8b2a1082-9750-4857-8400-a875ba3ae9b3"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9358fc03-ba14-4027-8f51-76e9e096d19e"}}]}