{"info":{"_postman_id":"e789a0d0-e54e-4fe7-8eb9-5382121f0a4c","name":"Desk360","description":"<html><head></head><body><p>Documentação para utilização das APIs do Desk360</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4664152","collectionId":"e789a0d0-e54e-4fe7-8eb9-5382121f0a4c","publishedId":"S17jXCAH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"009fdb"},"publishDate":"2021-05-27T11:43:12.000Z"},"item":[{"name":"Autenticação","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"a69d72ed-78b5-4ed4-864f-84b5e77a91f6","exec":["var jsonData = JSON.parse(responseBody);","","pm.environment.set(\"auth_token\", jsonData.data.attributes.access_token);"],"type":"text/javascript"}}],"id":"2c155e8f-c380-4efc-bf49-30d230aad3b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"tokens\",\n\t\t\"attributes\": {\n\t\t\t\"user\": {\n\t\t\t\t\"email\": \"agente@desk360.com.br\",\n\t\t\t\t\"password\": \"123456\"\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens","urlObject":{"protocol":"https","path":["api","v2.0","tokens"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"149e4d67-c63c-46fe-ba63-56e09e332777","name":"Login inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"tokens\",\n\t\t\"attributes\": {\n\t\t\t\"user\": {\n\t\t\t\t\"email\": \"usuarioinvalido@desk360.com.br\",\n\t\t\t\t\"password\": \"01010101\"\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:36:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidCredentialsException\",\n            \"title\": \"Invalid Credentials\",\n            \"status\": 422\n        }\n    ]\n}"},{"id":"3ab989d8-4bc9-4061-81db-323d09b50002","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"tokens\",\n\t\t\"attributes\": {\n\t\t\t\"user\": {\n\t\t\t\t\"email\": \"usuario@desk360.com.br\",\n\t\t\t\t\"password\": \"12345678\"\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:33:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"986"},{"key":"ETag","value":"W/\"4ed1fceed04536d0a91dfa5d5891028bc4fef89a\""},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6IlFDaWo2WUNJeFZlNFFtOEt6cjd2SWc9PSIsInZhbHVlIjoialJ1VEZMWlpxemh6VjZVcEY0cW1KZ0IwV21oa3k3Q3RUSVVjc0V5SUNIVkZqV1loR3phcUkrbytQQWJ3WDFzZCIsIm1hYyI6ImYwYmVkZDM0MjdkODlmYzllYzdlMWViMDdjNWFmY2NmYjg2OGRkY2ZkZTE5ZmMxYjA5YmNiMWI5YjIxYjg4MmQifQ%3D%3D; expires=Wed, 01-May-2019 04:33:33 GMT; Max-Age=36000; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"tokens\",\n        \"id\": \"2019-04-30T18:33:33+00:00\",\n        \"attributes\": {\n            \"token_type\": \"Bearer\",\n            \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NjY0OTIxMywiZXhwIjoxNTU5MjQxMjEzLCJuYmYiOjE1NTY2NDkyMTMsImp0aSI6Im5aUFZ3WnUzUEloVnl2WnYiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.9k0_qEFF_dwMZd6ZhXFjO3_Rc7FgsmL8LypDR_q8jqA\",\n            \"expires_in\": 2592000,\n            \"user\": {\n                \"id\": 3,\n                \"email\": \"agente@desk360.com.br\",\n                \"name\": \"Agente\",\n                \"role\": 1,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"settings\": {\n                    \"omnize\": {\n                        \"active\": true,\n                        \"agent_id\": 25777,\n                        \"password\": \"2d0fa79e0264f14e0c6dada2ba637814d09b23fd5f470b5e121b270b874fc54a6\"\n                    },\n                    \"notify_user_email\": true,\n                    \"responsible_without_category\": 0\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tokens\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"43350cdb-b08e-405a-99a6-48f88690c530","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"tokens\",\n\t\t\"attributes\": {\n\t\t\t\"user\": {\n\t\t\t\t\"email\": \"\",\n\t\t\t\t\"password\": \"\"\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:37:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.user.email\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.attributes.user.password\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"2c155e8f-c380-4efc-bf49-30d230aad3b4"},{"name":"Logout","id":"09af85ed-2cc7-4cbb-965a-5d124dd9ce96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens?token={{auth_token}}","urlObject":{"protocol":"https","path":["api","v2.0","tokens"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"token","value":"{{auth_token}}"}],"variable":[]}},"response":[{"id":"05e993f7-1656-4018-bfe7-eaff53258058","name":"Token não inserido","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens?token=","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tokens"],"query":[{"key":"token","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:41:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"625b710e-cd65-43c0-91fc-3383eddedea4","name":"Token inválido","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NjY0OTU1MiwiZXhwIjoxNTU5MjQxNTUyLCJuYmYiOjE1NTY2NDk1NTIsImp0aSI6IkpiVmtxbXpQZ1JDU0NZTGsiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.h9lqs2G7Iq7wK_E0aJgfl0LGILMiJYce77Kr9bCuOX","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tokens"],"query":[{"key":"token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NjY0OTU1MiwiZXhwIjoxNTU5MjQxNTUyLCJuYmYiOjE1NTY2NDk1NTIsImp0aSI6IkpiVmtxbXpQZ1JDU0NZTGsiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.h9lqs2G7Iq7wK_E0aJgfl0LGILMiJYce77Kr9bCuOX"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:41:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"eb428a76-4025-4182-95ca-ed7d1949f7c9","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tokens?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NjY0OTU1MiwiZXhwIjoxNTU5MjQxNTUyLCJuYmYiOjE1NTY2NDk1NTIsImp0aSI6IkpiVmtxbXpQZ1JDU0NZTGsiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.h9lqs2G7Iq7wK_E0aJgfl0LGILMiJYce77Kr9bCuOXE","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tokens"],"query":[{"key":"token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NjY0OTU1MiwiZXhwIjoxNTU5MjQxNTUyLCJuYmYiOjE1NTY2NDk1NTIsImp0aSI6IkpiVmtxbXpQZ1JDU0NZTGsiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.h9lqs2G7Iq7wK_E0aJgfl0LGILMiJYce77Kr9bCuOXE"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:39:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"  "}],"_postman_id":"09af85ed-2cc7-4cbb-965a-5d124dd9ce96"}],"id":"656177b7-839a-4e5d-a900-a53ed7ec5d9d","_postman_id":"656177b7-839a-4e5d-a900-a53ed7ec5d9d","description":""},{"name":"Tickets","item":[{"name":"Visualização","item":[{"name":"Tickets","item":[{"name":"Criação","id":"c8e10d02-ab8b-4625-886b-07ad86fef419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Bearer","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NzMzOTk4MywiZXhwIjoxNTU5OTMxOTgzLCJuYmYiOjE1NTczMzk5ODMsImp0aSI6InlZaU02V1IzZG1iOWtZSEsiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.UnGYgzyGotqDx4Cfkz-bnRbX6FMrQNXEla9H1d6yQ1s","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/","urlObject":{"protocol":"https","path":["api","v2.0","tickets",""],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"2da16d91-3925-4cfe-865a-58f5880cc961","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:03:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"4e8bce6b-b5ca-4366-bdd6-0313382a86fe","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 17:56:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"984"},{"key":"ETag","value":"W/\"a32852212ce6b36c0d46417ce0c83e1696eb281b\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"attributes\": {\n            \"code\": 22,\n            \"custom_fields\": [\n                {\n                    \"id\": 14,\n                    \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                    \"name\": \"campo_personalizado_a\",\n                    \"type\": \"text\",\n                    \"label\": \"Campo Personalizado A\",\n                    \"roles\": {\n                        \"visibility\": \"all\"\n                    },\n                    \"value\": \"Conteúdo do campo personalizado A\",\n                    \"format\": null,\n                    \"date_after_now\": false,\n                    \"default_values\": []\n                },\n                {\n                    \"id\": 12,\n                    \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                    \"name\": \"campo_customizado_a\",\n                    \"type\": \"text\",\n                    \"label\": \"Campo customizado A\",\n                    \"roles\": {\n                        \"visibility\": \"all\"\n                    },\n                    \"value\": null,\n                    \"format\": null,\n                    \"date_after_now\": false,\n                    \"default_values\": []\n                }\n            ],\n            \"subject\": \"Assunto do Ticket\",\n            \"status_id\": 1,\n            \"priority_id\": 5,\n            \"due_date\": \"2020-12-10T00:00:00+00:00\",\n            \"internal_status\": 3,\n            \"ticket_type\": 1,\n            \"interaction_at\": \"2019-04-30T17:56:09+00:00\",\n            \"created_at\": \"2019-04-30T17:56:08+00:00\",\n            \"updated_at\": \"2019-04-30T17:56:09+00:00\",\n            \"agent_first_interaction_at\": \"2019-04-30T17:56:08+00:00\"\n        },\n        \"type\": \"tickets\",\n        \"id\": 22,\n        \"links\": [],\n        \"meta\": {\n            \"deadline\": {\n                \"due_date\": \"10/12/2020 23:59\",\n                \"short_due_date\": \"10/12 23h59\",\n                \"has_violation\": false,\n                \"done\": false,\n                \"waiting\": {\n                    \"is_late\": false,\n                    \"time_difference\": 50997830,\n                    \"short_human_time_difference\": \"84sem 2d 6h 3min\",\n                    \"human_time_difference\": \"590 dias, 6 horas e 3 minutos\"\n                }\n            },\n            \"present\": {\n                \"content_preview\": \"Conteúdo do ticket\",\n                \"last_interaction_preview\": \"Interação com a resposta do agente\",\n                \"last_interaction_author\": \"Cristian Braga\",\n                \"due_date\": \"10/12/2020\",\n                \"status\": \"Aberto\",\n                \"consolidated\": \"Em andamento há 1 segundo(s)\",\n                \"tag_customer\": \"\",\n                \"has_interaction\": true,\n                \"agent_first_interaction\": {\n                    \"content\": \"Conteúdo do ticket\",\n                    \"username\": \"Cristian Braga\",\n                    \"comments\": [],\n                    \"attachments\": [\n                        {\n                            \"name\": \"download.png\",\n                            \"path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                            \"hash\": \"187fb72457477c827569a2f9e530e6d4.png\",\n                            \"size\": 4087,\n                            \"o_path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                            \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n                        }\n                    ],\n                    \"custom_fields\": null,\n                    \"is_public\": true,\n                    \"created_at\": \"2019-04-30 17:56:08\",\n                    \"updated_at\": null,\n                    \"responsible_user_id\": 3\n                }\n            },\n            \"sla\": {\n                \"first_interaction\": null,\n                \"solved\": null,\n                \"has_violation\": false\n            },\n            \"sla_status\": null\n        },\n        \"relationships\": {\n            \"ticket_fields\": {\n                \"data\": [\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 12\n                    },\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 14\n                    }\n                ]\n            },\n            \"department\": {\n                \"data\": {\n                    \"type\": \"departments\",\n                    \"id\": 25\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"type\": \"customers\",\n                    \"id\": 2\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 3\n                }\n            },\n            \"author\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 3\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/22\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"74a0545c-5c78-44cd-b878-eb0e726484bf","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 17:58:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"cef963ba-4683-4a32-ad46-9d57b5f64efb","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"\",\n        \"attributes\": {\n            \"subject\": \"\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 17:57:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.attributes.subject\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"c8e10d02-ab8b-4625-886b-07ad86fef419"},{"name":"Importação","id":"1cf7deff-01f7-442f-a3f4-4bceb8c1c421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Bearer","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vZG9jdW1lbnRhY2FvLmRlc2szNjAuY29tLmJyL2FwaS92Mi4wL3Rva2VucyIsImlhdCI6MTU1NzMzOTk4MywiZXhwIjoxNTU5OTMxOTgzLCJuYmYiOjE1NTczMzk5ODMsImp0aSI6InlZaU02V1IzZG1iOWtZSEsiLCJzdWIiOjMsInBydiI6ImFiMjRlOGI3ZDk0Yzc4ZjY4MjBhY2NjMDJlZWViZDhmMjFjYThiYjYifQ.UnGYgzyGotqDx4Cfkz-bnRbX6FMrQNXEla9H1d6yQ1s","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"type\": \"tickets\",\n            \"attributes\": {\n                \"subject\": \"Titulo do ticket\",\n                \"name\": \"Cliente\",\n                \"email\": \"cliente@email.com\",\n                \"status_id\": 5,\n                \"created_at\": \"2018-12-20 09:54:00\",\n                \"department_id\": 5,\n                \"content\": \"Conteudo\",\n                \"type_ticket\": 1\n            }\n        },\n        {\n            \"type\": \"tickets\",\n            \"attributes\": {\n                \"subject\": \"Titulo de outro ticket\",\n                \"name\": \"Cliente2\",\n                \"email\": \"cliente2@email.com\",\n                \"status_id\": 5,\n                \"created_at\": \"2018-12-20 09:54:00\",\n                \"department_id\": 5,\n                \"content\": \"Conteudo\",\n                \"type_ticket\": 1\n            }\n        }\n    ]\n}\n"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/import","urlObject":{"protocol":"https","path":["api","v2.0","tickets","import"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"210a9ef7-75c0-4586-a12f-797e35cb6323","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:03:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"9ab32164-aa9c-458b-95ff-fe51b7af4fad","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"type\": \"tickets\",\n            \"attributes\": {\n                \"subject\": \"Titulo do ticket\",\n                \"name\": \"Cliente\",\n                \"email\": \"cliente@email.com\",\n                \"status_id\": 5,\n                \"created_at\": \"2018-12-20 09:54:00\",\n                \"department_id\": 5,\n                \"content\": \"Conteudo\",\n                \"type_ticket\": 1\n            }\n        }\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 17:56:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"984"},{"key":"ETag","value":"W/\"a32852212ce6b36c0d46417ce0c83e1696eb281b\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"We received your request. Your tickets will be imported as soon as possible.\",\n    \"status\": true\n}"},{"id":"da52d58d-74c9-461f-abb0-cf55ba7a19e3","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2020-12-10\",\n            \"priority_id\":\"5\",\n            \"interaction\": {\n                \"content\": \"Conteúdo do ticket\",\n                \"attachments\": [\n\t\t          {  \n\t\t            \"name\":\"download.png\",\n\t\t            \"path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"hash\":\"187fb72457477c827569a2f9e530e6d4.png\",\n\t\t            \"size\":4087,\n\t\t            \"o_path\":\"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n\t\t            \"fullUrl\":\"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n\t\t          }\n\t\t        ]\n            },\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo do campo personalizado A\"\n            },\n            \"answerToUser\": \"true\",\n            \"userInteraction\":{  \n        \t\t\"attachments\":[],\n        \t\t\"content\":\"Interação com a resposta do agente\"\n    \t\t}\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 25,\n                    \"type\": \"departments\"\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"id\": 2,\n                    \"type\": \"requester\"\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"id\": 3,\n                    \"type\": \"responsible\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 17:58:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"1cf7deff-01f7-442f-a3f4-4bceb8c1c421"},{"name":"Paginação","id":"b05dddb4-d412-41e5-8c64-1e930b144867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets?filter[code]=9&filter[requester]=18&filter[priority_id]=3&filter[department]=1&filter[responsible]=7&filter[last_interaction]=2019-04-29T03:00:00.000Z&filter[requested_in]=2019-04-29T03:00:00.000Z&filter[status]=1&filter[ticket_type]=1&filter[custom_fields][campo_customizado_b]=222&sort=code","description":"<p><strong>Filtros:</strong><br />code<br />requester<br />priority_id<br />department<br />responsible<br />last_interaction<br />requested_in<br />status<br />ticket_type<br />custom_fields<br />subject<br />due_date<br />organization   </p>\n<p><strong>Includes:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    `responsible`              =&gt; O agente responsavel pelo ticket\n    `department`               =&gt; Departamento do ticket\n    `requester`                =&gt; O customer que requisitou o ticket\n    `company`                  =&gt; Empresa do ticket\n    `group`                    =&gt; Grupo do ticket\n    `popular_tag`              =&gt; Tags do ticket\n</code></pre>","urlObject":{"protocol":"https","path":["api","v2.0","tickets"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[code]","value":"9"},{"key":"filter[requester]","value":"18"},{"key":"filter[priority_id]","value":"3"},{"key":"filter[department]","value":"1"},{"key":"filter[responsible]","value":"7"},{"key":"filter[last_interaction]","value":"2019-04-29T03:00:00.000Z"},{"key":"filter[requested_in]","value":"2019-04-29T03:00:00.000Z"},{"key":"filter[status]","value":"1"},{"key":"filter[ticket_type]","value":"1"},{"key":"filter[custom_fields][campo_customizado_b]","value":"222"},{"key":"sort","value":"code"},{"disabled":true,"description":{"content":"<p>Aguardando correção #213</p>\n","type":"text/plain"},"key":"filter[subject]","value":"Ticket externo paginação #2"},{"disabled":true,"description":{"content":"<p>Aguardando correção #213</p>\n","type":"text/plain"},"key":"filter[due_date]","value":"2019-10-31T03:00:00.000Z"},{"disabled":true,"description":{"content":"<p>Aguardando correção #213</p>\n","type":"text/plain"},"key":"filter[organization]","value":"2"}],"variable":[]}},"response":[{"id":"0efba9f8-32c5-47f0-83a9-bef6db2e069b","name":"Filtragem","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets?filter[code]=9&filter[requester]=18&filter[priority_id]=3&filter[department]=1&filter[responsible]=7&filter[last_interaction]=2019-04-29T03:00:00.000Z&filter[requested_in]=2019-04-29T03:00:00.000Z&filter[status]=1&filter[ticket_type]=1&filter[custom_fields][campo_customizado_b]=222","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets"],"query":[{"key":"filter[code]","value":"9"},{"key":"filter[subject]","value":"Ticket externo paginação #2","description":"Aguardando correção #213","disabled":true},{"key":"filter[requester]","value":"18"},{"key":"filter[priority_id]","value":"3"},{"key":"filter[department]","value":"1"},{"key":"filter[responsible]","value":"7"},{"key":"filter[last_interaction]","value":"2019-04-29T03:00:00.000Z"},{"key":"filter[due_date]","value":"2019-10-31T03:00:00.000Z","description":"Aguardando correção #213","disabled":true},{"key":"filter[requested_in]","value":"2019-04-29T03:00:00.000Z"},{"key":"filter[status]","value":"1"},{"key":"filter[ticket_type]","value":"1"},{"key":"filter[organization]","value":"2","description":"Aguardando correção #213","disabled":true},{"key":"filter[custom_fields][campo_customizado_b]","value":"222"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 12:24:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"W/\"41b40db20a740052c2ad106748eb783b4c8f20fc\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": {\n                \"code\": 9,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"id\": 13,\n                        \"html\": \"<input class=\\\" ls-mask-number\\\" wb-field-type=\\\"numeric\\\" name=\\\"custom_fields[campo_customizado_b]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_b\",\n                        \"type\": \"numeric\",\n                        \"label\": \"Campo customizado B\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"222\",\n                        \"format\": \"ls-mask-number\",\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Ticket externo paginação #2\",\n                \"status_id\": 1,\n                \"priority_id\": 3,\n                \"due_date\": \"2019-10-31T00:00:00+00:00\",\n                \"internal_status\": 2,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-29T19:04:43+00:00\",\n                \"created_at\": \"2019-04-29T19:04:43+00:00\",\n                \"updated_at\": \"2019-04-29T19:04:43+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T19:04:43+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 9,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/10/2019 23:59\",\n                    \"short_due_date\": \"31/10 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 15766505,\n                        \"short_human_time_difference\": \"26sem 11h 35min\",\n                        \"human_time_difference\": \"182 dias, 11 horas e 35 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do Ticket externo paginação #2\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"31/10/2019\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 65 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do Ticket externo paginação #2</p>\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 19:04:43\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 7\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 18\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"675e5aee-1770-408d-8ca8-2c4a5c33da1d","name":"Ordenação","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets?sort=code","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets"],"query":[{"key":"filter[code]","value":"9","disabled":true},{"key":"filter[subject]","value":"Ticket externo paginação #2","description":"Aguardando correção #213","disabled":true},{"key":"filter[requester]","value":"18","disabled":true},{"key":"filter[priority_id]","value":"3","disabled":true},{"key":"filter[department]","value":"1","disabled":true},{"key":"filter[responsible]","value":"7","disabled":true},{"key":"filter[last_interaction]","value":"2019-04-29T03:00:00.000Z","disabled":true},{"key":"filter[due_date]","value":"2019-10-31T03:00:00.000Z","description":"Aguardando correção #213","disabled":true},{"key":"filter[requested_in]","value":"2019-04-29T03:00:00.000Z","disabled":true},{"key":"filter[status]","value":"1","disabled":true},{"key":"filter[ticket_type]","value":"1","disabled":true},{"key":"filter[organization]","value":"2","description":"Aguardando correção #213","disabled":true},{"key":"filter[custom_fields][campo_customizado_b]","value":"222","disabled":true},{"key":"sort","value":"code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 13:23:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"995"},{"key":"ETag","value":"W/\"9b9cf2eb8c23c5f3f33b774da1e80544082d4cfe\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": {\n                \"code\": 1,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"label\": \"Campo customizado B\",\n                        \"name\": \"campo_customizado_b\",\n                        \"field_type\": \"numeric\",\n                        \"required\": false,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-22T21:10:59+00:00\",\n                        \"update_at\": \"2019-04-22T21:10:59+00:00\"\n                    }\n                ],\n                \"subject\": \"Conheça o ticket\",\n                \"status_id\": 3,\n                \"internal_status\": 6,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-22T20:34:59+00:00\",\n                \"closed_at\": \"2019-04-22T21:06:03+00:00\",\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-30T21:09:20+00:00\",\n                \"responsible_changed_at\": \"2019-04-22T20:34:59+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 1,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"Tickets são chamados que podem ser abertos de várias formas pelo\\ncliente. Eles são distribuídos em categorias de acordo com o\\nnegócio, ajudam a centralizar o atendimento e a entender os problemas\\ne as...\",\n                    \"last_interaction_preview\": \"orim\\n\",\n                    \"last_interaction_author\": \"Suporte Tray\",\n                    \"due_date\": \"\",\n                    \"status\": \"Resolvido\",\n                    \"consolidated\": \"Resolvido em 3 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>orim</p>\",\n                        \"username\": \"Suporte Tray\",\n                        \"comments\": [\n                            {\n                                \"content\": \"Ticket finalizado\",\n                                \"user_id\": 7,\n                                \"username\": \"Vitor Rodrigues\",\n                                \"created_at\": \"2019-04-22T21:06:03+00:00\"\n                            },\n                            {\n                                \"content\": \"Adicionado usuário em cópia <strong>Vitor Rodrigues </strong>(vrodrigues@tray.net.br)\",\n                                \"user_id\": 7,\n                                \"username\": \"Vitor Rodrigues\",\n                                \"created_at\": \"2019-04-30T20:51:29+00:00\"\n                            },\n                            {\n                                \"content\": \"Remoção do usuário Vitor Rodrigues (vrodrigues@tray.net.br) em cópia.\",\n                                \"user_id\": 7,\n                                \"username\": \"Vitor Rodrigues\",\n                                \"created_at\": \"2019-04-30T21:07:39+00:00\"\n                            },\n                            {\n                                \"content\": \"Adicionado usuário em cópia <strong>Pessoa </strong>(improviso@joana.com)\",\n                                \"user_id\": 18,\n                                \"username\": \"Pessoa\",\n                                \"created_at\": \"2019-04-30T21:09:18+00:00\"\n                            }\n                        ],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"198f802f89435cdc0045ba5a00a30e9f.doc_teste3\",\n                                \"name\": \"doc_teste3\",\n                                \"path\": \"documentacao_1_273608124_0b36fddb2a4691a083be2c69dc9097ef.doc_teste3\",\n                                \"size\": 490,\n                                \"o_path\": \"documentacao_1_273608124_0b36fddb2a4691a083be2c69dc9097ef.doc_teste3\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_1_273608124_0b36fddb2a4691a083be2c69dc9097ef.doc_teste3\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-22 20:34:59\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 1\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 1\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 1\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 2\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 2,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"label\": \"Campo customizado B\",\n                        \"name\": \"campo_customizado_b\",\n                        \"field_type\": \"numeric\",\n                        \"required\": false,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-22T21:10:59+00:00\",\n                        \"update_at\": \"2019-04-22T21:10:59+00:00\"\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": null,\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Ticket A\",\n                \"status_id\": 3,\n                \"internal_status\": 6,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-22T21:06:42+00:00\",\n                \"closed_at\": \"2019-04-22T21:07:03+00:00\",\n                \"created_at\": \"2019-04-22T21:06:42+00:00\",\n                \"updated_at\": \"2019-04-22T21:07:03+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-22T21:06:42+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 2,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"teste\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"\",\n                    \"status\": \"Resolvido\",\n                    \"consolidated\": \"Resolvido em 21 segundo(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>teste</p>\",\n                        \"username\": \"Vitor Rodrigues\",\n                        \"comments\": [\n                            {\n                                \"content\": \"Ticket finalizado\",\n                                \"user_id\": 7,\n                                \"username\": \"Vitor Rodrigues\",\n                                \"created_at\": \"2019-04-22T21:07:03+00:00\"\n                            }\n                        ],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-22 21:06:42\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": null\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 1\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 3,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Conteúdo do Campo Personalizado C\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Título do Ticket Externo da API\",\n                \"status_id\": 2,\n                \"priority_id\": 5,\n                \"due_date\": \"2019-12-31T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-25T18:41:28+00:00\",\n                \"created_at\": \"2019-04-25T18:41:28+00:00\",\n                \"updated_at\": \"2019-04-29T20:35:01+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-25T18:41:28+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 3,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/12/2019 23:59\",\n                    \"short_due_date\": \"31/12 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 21033388,\n                        \"short_human_time_difference\": \"34sem 5d 10h 36min\",\n                        \"human_time_difference\": \"243 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do ticket externo da API\\n\\nConteúdo da Resposta pronta do Usuário A\\n\",\n                    \"last_interaction_preview\": \"Conteúdo da resposta para o usuário\\n\\nConteúdo da Resposta pronta do Usuário A\\n\",\n                    \"last_interaction_author\": \"Vitor Rodrigues\",\n                    \"due_date\": \"31/12/2019\",\n                    \"status\": \"Pendente\",\n                    \"consolidated\": \"Em andamento há 6 dia(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do ticket externo da API</p><p><br></p><p>Conteúdo da Resposta pronta do Usuário A</p>\",\n                        \"username\": \"Vitor Rodrigues\",\n                        \"comments\": [],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"15cdb9275ce9c60566481c74d29b8354.png\",\n                                \"name\": \"download.png\",\n                                \"path\": \"documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\",\n                                \"size\": 4087,\n                                \"o_path\": \"documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-25 18:41:28\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 7\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 8,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"111\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Ticket externo paginação #1\",\n                \"status_id\": 1,\n                \"priority_id\": 2,\n                \"due_date\": \"2019-08-31T00:00:00+00:00\",\n                \"internal_status\": 2,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-29T19:03:48+00:00\",\n                \"created_at\": \"2019-04-29T19:03:48+00:00\",\n                \"updated_at\": \"2019-04-29T19:03:48+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T19:03:48+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 8,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/08/2019 23:59\",\n                    \"short_due_date\": \"31/08 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 10492588,\n                        \"short_human_time_difference\": \"17sem 2d 10h 36min\",\n                        \"human_time_difference\": \"121 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do Ticket externo paginação #1\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"31/08/2019\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 66 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do Ticket externo paginação #1</p>\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 19:03:48\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 23\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 3\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 9,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"id\": 13,\n                        \"html\": \"<input class=\\\" ls-mask-number\\\" wb-field-type=\\\"numeric\\\" name=\\\"custom_fields[campo_customizado_b]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_b\",\n                        \"type\": \"numeric\",\n                        \"label\": \"Campo customizado B\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"222\",\n                        \"format\": \"ls-mask-number\",\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Ticket externo paginação #2\",\n                \"status_id\": 1,\n                \"priority_id\": 3,\n                \"due_date\": \"2019-10-31T00:00:00+00:00\",\n                \"internal_status\": 2,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-29T19:04:43+00:00\",\n                \"created_at\": \"2019-04-29T19:04:43+00:00\",\n                \"updated_at\": \"2019-04-29T19:04:43+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T19:04:43+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 9,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/10/2019 23:59\",\n                    \"short_due_date\": \"31/10 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 15762988,\n                        \"short_human_time_difference\": \"26sem 10h 36min\",\n                        \"human_time_difference\": \"182 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do Ticket externo paginação #2\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"31/10/2019\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 66 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do Ticket externo paginação #2</p>\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 19:04:43\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 7\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 18\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 12,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"label\": \"Campo customizado A\",\n                        \"name\": \"campo_customizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": false,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-22T21:04:26+00:00\",\n                        \"update_at\": \"2019-04-22T21:04:26+00:00\"\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"internal_status\": 1,\n                \"ticket_type\": 2,\n                \"interaction_at\": \"2019-04-29T20:40:55+00:00\",\n                \"created_at\": \"2019-04-29T20:40:55+00:00\",\n                \"updated_at\": \"2019-04-29T20:40:55+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T20:40:55+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 12,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 64 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 20:40:55\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": null\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 13,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"label\": \"Campo customizado A\",\n                        \"name\": \"campo_customizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": false,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-22T21:04:26+00:00\",\n                        \"update_at\": \"2019-04-22T21:04:26+00:00\"\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"internal_status\": 2,\n                \"ticket_type\": 2,\n                \"interaction_at\": \"2019-04-29T20:43:10+00:00\",\n                \"created_at\": \"2019-04-29T20:43:10+00:00\",\n                \"updated_at\": \"2019-04-29T20:43:10+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T20:43:10+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 13,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 64 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 20:43:10\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 2\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 2\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 14,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"label\": \"Campo customizado A\",\n                        \"name\": \"campo_customizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": false,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-22T21:04:26+00:00\",\n                        \"update_at\": \"2019-04-22T21:04:26+00:00\"\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"internal_status\": 2,\n                \"ticket_type\": 2,\n                \"interaction_at\": \"2019-04-29T20:44:25+00:00\",\n                \"created_at\": \"2019-04-29T20:44:25+00:00\",\n                \"updated_at\": \"2019-04-29T20:44:25+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T20:44:25+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 14,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 64 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 20:44:25\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 15,\n                \"custom_fields\": [\n                    {\n                        \"label\": \"Campo Personalizado A\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": true,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                        \"update_at\": \"2019-04-29T20:39:16+00:00\"\n                    },\n                    {\n                        \"label\": \"Campo customizado A\",\n                        \"name\": \"campo_customizado_a\",\n                        \"field_type\": \"text\",\n                        \"required\": false,\n                        \"default_values\": [],\n                        \"settings\": {\n                            \"only_past_dates\": false\n                        },\n                        \"ticket_type\": 1,\n                        \"position\": 0,\n                        \"active\": false,\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"created_at\": \"2019-04-22T21:04:26+00:00\",\n                        \"update_at\": \"2019-04-22T21:04:26+00:00\"\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"internal_status\": 2,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-29T20:44:45+00:00\",\n                \"created_at\": \"2019-04-29T20:44:45+00:00\",\n                \"updated_at\": \"2019-04-29T20:44:45+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T20:44:45+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 15,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 64 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 20:44:45\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 16,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Conteúdo do campo personalizado\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"fefqwqfw\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 2,\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T20:19:57+00:00\",\n                \"created_at\": \"2019-04-29T20:45:46+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:57+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T20:45:46+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 16,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": \"Interação de Observação interna\\n\",\n                    \"last_interaction_author\": \"Cristian Braga\",\n                    \"due_date\": \"\",\n                    \"status\": \"Pendente\",\n                    \"consolidated\": \"Em andamento há 64 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 20:45:46\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 17,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"efeqfeqfeqf\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"devgewfef\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"assunto\",\n                \"status_id\": 2,\n                \"priority_id\": 4,\n                \"due_date\": \"2019-05-08T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T17:42:04+00:00\",\n                \"created_at\": \"2019-04-30T17:42:04+00:00\",\n                \"updated_at\": \"2019-04-30T17:42:05+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-30T17:42:04+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 17,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"08/05/2019 23:59\",\n                    \"short_due_date\": \"08/05 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 556588,\n                        \"short_human_time_difference\": \"6d 10h 36min\",\n                        \"human_time_difference\": \"6 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"conteúdo\\n\",\n                    \"last_interaction_preview\": \"resposta\\n\",\n                    \"last_interaction_author\": \"Vitor Rodrigues\",\n                    \"due_date\": \"08/05/2019\",\n                    \"status\": \"Pendente\",\n                    \"consolidated\": \"Em andamento há 43 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>conteúdo</p>\",\n                        \"username\": \"Vitor Rodrigues\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-30 17:42:04\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": null\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 15\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 18,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Conteúdo editado do campo personalizado A\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": null,\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Assunto editado do Ticket\",\n                \"status_id\": 1,\n                \"priority_id\": 2,\n                \"due_date\": \"2022-11-01T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T17:47:26+00:00\",\n                \"created_at\": \"2019-04-30T17:47:26+00:00\",\n                \"updated_at\": \"2019-04-30T18:17:48+00:00\",\n                \"responsible_changed_at\": \"2019-04-30T18:17:32+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-30T17:47:26+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 18,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"01/11/2022 23:59\",\n                    \"short_due_date\": \"01/11 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 110543788,\n                        \"short_human_time_difference\": \"182sem 5d 10h 36min\",\n                        \"human_time_difference\": \"1279 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": \"Resposta do agente\",\n                    \"last_interaction_author\": \"Cristian Braga\",\n                    \"due_date\": \"01/11/2022\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 43 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-30 17:47:26\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 23\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 19,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Campo Personalizado AAA\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Assunto do ticket\",\n                \"status_id\": 2,\n                \"priority_id\": 5,\n                \"due_date\": \"2019-05-11T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T17:50:39+00:00\",\n                \"created_at\": \"2019-04-30T17:50:38+00:00\",\n                \"updated_at\": \"2019-04-30T17:50:41+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-30T17:50:38+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 19,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"11/05/2019 23:59\",\n                    \"short_due_date\": \"11/05 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 815788,\n                        \"short_human_time_difference\": \"1sem 2d 10h 36min\",\n                        \"human_time_difference\": \"9 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo deste ticket\\n\\nConteúdo da Resposta pronta do Pessoa\\n\\n\",\n                    \"last_interaction_preview\": \"resposta do agente\\n\\nConteúdo da Resposta pronta do Pessoa\\n\",\n                    \"last_interaction_author\": \"Vitor Rodrigues\",\n                    \"due_date\": \"11/05/2019\",\n                    \"status\": \"Pendente\",\n                    \"consolidated\": \"Em andamento há 43 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo deste ticket</p><p><br></p><p><br></p><p>Conteúdo da Resposta pronta do Pessoa</p><p><br></p><p><br></p>\",\n                        \"username\": \"Vitor Rodrigues\",\n                        \"comments\": [],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"187fb72457477c827569a2f9e530e6d4.png\",\n                                \"name\": \"download.png\",\n                                \"path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"size\": 4087,\n                                \"o_path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-30 17:50:38\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 15\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 20,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Conteúdo do campo personalizado A\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": null,\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"priority_id\": 5,\n                \"due_date\": \"2020-12-10T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T17:54:08+00:00\",\n                \"created_at\": \"2019-04-30T17:54:08+00:00\",\n                \"updated_at\": \"2019-04-30T17:54:08+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-30T17:54:08+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 20,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"10/12/2020 23:59\",\n                    \"short_due_date\": \"10/12 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 50841388,\n                        \"short_human_time_difference\": \"84sem 10h 36min\",\n                        \"human_time_difference\": \"588 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"conteúdo da interação\",\n                    \"last_interaction_preview\": \"Resposta do agente\",\n                    \"last_interaction_author\": \"Cristian Braga\",\n                    \"due_date\": \"10/12/2020\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 43 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"conteúdo da interação\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"187fb72457477c827569a2f9e530e6d4.png\",\n                                \"name\": \"download.png\",\n                                \"path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"size\": 4087,\n                                \"o_path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-30 17:54:08\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 21,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Conteúdo do campo personalizado A\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": null,\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"priority_id\": 5,\n                \"due_date\": \"2020-12-10T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T17:55:37+00:00\",\n                \"created_at\": \"2019-04-30T17:55:37+00:00\",\n                \"updated_at\": \"2019-04-30T17:55:37+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-30T17:55:37+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 21,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"10/12/2020 23:59\",\n                    \"short_due_date\": \"10/12 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 50841388,\n                        \"short_human_time_difference\": \"84sem 10h 36min\",\n                        \"human_time_difference\": \"588 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do ticket\",\n                    \"last_interaction_preview\": \"Interação de resposta do agente\",\n                    \"last_interaction_author\": \"Cristian Braga\",\n                    \"due_date\": \"10/12/2020\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 43 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"Conteúdo do ticket\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"187fb72457477c827569a2f9e530e6d4.png\",\n                                \"name\": \"download.png\",\n                                \"path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"size\": 4087,\n                                \"o_path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-30 17:55:37\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 22,\n                \"custom_fields\": [\n                    {\n                        \"id\": 14,\n                        \"html\": \"<input required=\\\"required\\\" class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_personalizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_personalizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo Personalizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": \"Conteúdo do campo personalizado A\",\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    },\n                    {\n                        \"id\": 12,\n                        \"html\": \"<input class=\\\"\\\" wb-field-type=\\\"text\\\" name=\\\"custom_fields[campo_customizado_a]\\\" type=\\\"text\\\">\",\n                        \"name\": \"campo_customizado_a\",\n                        \"type\": \"text\",\n                        \"label\": \"Campo customizado A\",\n                        \"roles\": {\n                            \"visibility\": \"all\"\n                        },\n                        \"value\": null,\n                        \"format\": null,\n                        \"date_after_now\": false,\n                        \"default_values\": []\n                    }\n                ],\n                \"subject\": \"Assunto do Ticket\",\n                \"status_id\": 1,\n                \"priority_id\": 5,\n                \"due_date\": \"2020-12-10T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-30T17:56:09+00:00\",\n                \"created_at\": \"2019-04-30T17:56:08+00:00\",\n                \"updated_at\": \"2019-04-30T17:56:09+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-30T17:56:08+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 22,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"10/12/2020 23:59\",\n                    \"short_due_date\": \"10/12 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 50841388,\n                        \"short_human_time_difference\": \"84sem 10h 36min\",\n                        \"human_time_difference\": \"588 dias, 10 horas e 36 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do ticket\",\n                    \"last_interaction_preview\": \"Interação com a resposta do agente\",\n                    \"last_interaction_author\": \"Cristian Braga\",\n                    \"due_date\": \"10/12/2020\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 43 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"Conteúdo do ticket\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"187fb72457477c827569a2f9e530e6d4.png\",\n                                \"name\": \"download.png\",\n                                \"path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"size\": 4087,\n                                \"o_path\": \"documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_1181279902_e53d7c0f92744bdb0c1e06926f03d792.png\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-30 17:56:08\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 14\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"c573fcfa-dc73-452f-9b61-09f998ccd073","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets?sort=code_naoexiste","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets"],"query":[{"key":"filter[code]","value":"9","disabled":true},{"key":"filter[subject]","value":"Ticket externo paginação #2","description":"Aguardando correção #213","disabled":true},{"key":"filter[requester]","value":"18","disabled":true},{"key":"filter[priority_id]","value":"3","disabled":true},{"key":"filter[department]","value":"1","disabled":true},{"key":"filter[responsible]","value":"7","disabled":true},{"key":"filter[last_interaction]","value":"2019-04-29T03:00:00.000Z","disabled":true},{"key":"filter[due_date]","value":"2019-10-31T03:00:00.000Z","description":"Aguardando correção #213","disabled":true},{"key":"filter[requested_in]","value":"2019-04-29T03:00:00.000Z","disabled":true},{"key":"filter[status]","value":"1","disabled":true},{"key":"filter[ticket_type]","value":"1","disabled":true},{"key":"filter[organization]","value":"2","description":"Aguardando correção #213","disabled":true},{"key":"filter[custom_fields][campo_customizado_b]","value":"222","disabled":true},{"key":"sort","value":"code_naoexiste"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 13:24:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `code_naoexiste` is not allowed. Allowed sort(s) are `code, subject, interaction_at, due_date, created_at, status_id, creator_id, department, responsible`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"eb250799-3af8-42d9-ab69-f8da730d1857","name":"Filtro inválido","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets?filter[code_naoexiste]=9&filter[requester]=18&filter[priority_id]=3&filter[department]=1&filter[responsible]=7&filter[last_interaction]=2019-04-29T03:00:00.000Z&filter[requested_in]=2019-04-29T03:00:00.000Z&filter[status]=1&filter[ticket_type]=1&filter[custom_fields][campo_customizado_b]=222","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets"],"query":[{"key":"filter[code_naoexiste]","value":"9"},{"key":"filter[requester]","value":"18"},{"key":"filter[priority_id]","value":"3"},{"key":"filter[department]","value":"1"},{"key":"filter[responsible]","value":"7"},{"key":"filter[last_interaction]","value":"2019-04-29T03:00:00.000Z"},{"key":"filter[requested_in]","value":"2019-04-29T03:00:00.000Z"},{"key":"filter[status]","value":"1"},{"key":"filter[ticket_type]","value":"1"},{"key":"filter[custom_fields][campo_customizado_b]","value":"222"},{"key":"sort","value":"code","disabled":true},{"key":"filter[subject]","value":"Ticket externo paginação #2","description":"Aguardando correção #213","disabled":true},{"key":"filter[due_date]","value":"2019-10-31T03:00:00.000Z","description":"Aguardando correção #213","disabled":true},{"key":"filter[organization]","value":"2","description":"Aguardando correção #213","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 13:26:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `code_naoexiste` are not allowed. Allowed filter(s) are `subject, code, internal_status, requested_in, last_interaction, due_date, priority_id, author, requester, department, status, ticket, custom_fields, organization, responsible, group_by, ticket_type`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"f043b8e1-26e2-49df-beca-13212e3554f2","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 29 Apr 2019 19:05:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"961"},{"key":"ETag","value":"W/\"f90c99b192918465af1813fc4d8352d84ca78cca\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"attributes\": {\n                \"code\": 3,\n                \"subject\": \"Título do Ticket Externo da API\",\n                \"status_id\": 2,\n                \"priority_id\": 5,\n                \"due_date\": \"2019-12-31T00:00:00+00:00\",\n                \"internal_status\": 3,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-25T18:41:28+00:00\",\n                \"created_at\": \"2019-04-25T18:41:28+00:00\",\n                \"updated_at\": \"2019-04-25T18:41:28+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-25T18:41:28+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 3,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/12/2019 23:59\",\n                    \"short_due_date\": \"31/12 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 21272078,\n                        \"short_human_time_difference\": \"35sem 1d 4h 54min\",\n                        \"human_time_difference\": \"246 dias, 4 horas e 54 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do ticket externo da API\\n\\nConteúdo da Resposta pronta do Usuário A\\n\",\n                    \"last_interaction_preview\": \"Conteúdo da resposta para o usuário\\n\\nConteúdo da Resposta pronta do Usuário A\\n\",\n                    \"last_interaction_author\": \"Vitor Rodrigues\",\n                    \"due_date\": \"31/12/2019\",\n                    \"status\": \"Pendente\",\n                    \"consolidated\": \"Em andamento há 4 dia(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do ticket externo da API</p><p><br></p><p>Conteúdo da Resposta pronta do Usuário A</p>\",\n                        \"username\": \"Vitor Rodrigues\",\n                        \"comments\": [],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"15cdb9275ce9c60566481c74d29b8354.png\",\n                                \"name\": \"download.png\",\n                                \"path\": \"documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\",\n                                \"size\": 4087,\n                                \"o_path\": \"documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-25 18:41:28\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 7\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 2\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 9,\n                \"subject\": \"Ticket externo paginação #2\",\n                \"status_id\": 1,\n                \"priority_id\": 3,\n                \"due_date\": \"2019-10-31T00:00:00+00:00\",\n                \"internal_status\": 2,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-29T19:04:43+00:00\",\n                \"created_at\": \"2019-04-29T19:04:43+00:00\",\n                \"updated_at\": \"2019-04-29T19:04:43+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T19:04:43+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 9,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/10/2019 23:59\",\n                    \"short_due_date\": \"31/10 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 16001678,\n                        \"short_human_time_difference\": \"26sem 3d 4h 54min\",\n                        \"human_time_difference\": \"185 dias, 4 horas e 54 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do Ticket externo paginação #2\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"31/10/2019\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 38 segundo(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do Ticket externo paginação #2</p>\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 19:04:43\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 7\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 18\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 8,\n                \"subject\": \"Ticket externo paginação #1\",\n                \"status_id\": 1,\n                \"priority_id\": 2,\n                \"due_date\": \"2019-08-31T00:00:00+00:00\",\n                \"internal_status\": 2,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-29T19:03:48+00:00\",\n                \"created_at\": \"2019-04-29T19:03:48+00:00\",\n                \"updated_at\": \"2019-04-29T19:03:48+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-29T19:03:48+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 8,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": {\n                    \"due_date\": \"31/08/2019 23:59\",\n                    \"short_due_date\": \"31/08 23h59\",\n                    \"has_violation\": false,\n                    \"done\": false,\n                    \"waiting\": {\n                        \"is_late\": false,\n                        \"time_difference\": 10731278,\n                        \"short_human_time_difference\": \"17sem 5d 4h 54min\",\n                        \"human_time_difference\": \"124 dias, 4 horas e 54 minutos\"\n                    }\n                },\n                \"present\": {\n                    \"content_preview\": \"Conteúdo do Ticket externo paginação #1\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"31/08/2019\",\n                    \"status\": \"Aberto\",\n                    \"consolidated\": \"Em andamento há 1 minuto(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>Conteúdo do Ticket externo paginação #1</p>\",\n                        \"username\": \"Cristian Braga\",\n                        \"comments\": [],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-29 19:03:48\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 3\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 23\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 3\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 1,\n                \"subject\": \"Conheça o ticket\",\n                \"status_id\": 3,\n                \"internal_status\": 6,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-22T20:34:59+00:00\",\n                \"closed_at\": \"2019-04-22T21:06:03+00:00\",\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T21:06:04+00:00\",\n                \"responsible_changed_at\": \"2019-04-22T20:34:59+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 1,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"Tickets são chamados que podem ser abertos de várias formas pelo\\ncliente. Eles são distribuídos em categorias de acordo com o\\nnegócio, ajudam a centralizar o atendimento e a entender os problemas\\ne as...\",\n                    \"last_interaction_preview\": \"orim\\n\",\n                    \"last_interaction_author\": \"Suporte Tray\",\n                    \"due_date\": \"\",\n                    \"status\": \"Resolvido\",\n                    \"consolidated\": \"Resolvido em 3 hora(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": true,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>orim</p>\",\n                        \"username\": \"Suporte Tray\",\n                        \"comments\": [\n                            {\n                                \"content\": \"Ticket finalizado\",\n                                \"user_id\": 7,\n                                \"username\": \"Vitor Rodrigues\",\n                                \"created_at\": \"2019-04-22T21:06:03+00:00\"\n                            }\n                        ],\n                        \"attachments\": [\n                            {\n                                \"hash\": \"198f802f89435cdc0045ba5a00a30e9f.doc_teste3\",\n                                \"name\": \"doc_teste3\",\n                                \"path\": \"documentacao_1_273608124_0b36fddb2a4691a083be2c69dc9097ef.doc_teste3\",\n                                \"size\": 490,\n                                \"o_path\": \"documentacao_1_273608124_0b36fddb2a4691a083be2c69dc9097ef.doc_teste3\",\n                                \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_1_273608124_0b36fddb2a4691a083be2c69dc9097ef.doc_teste3\"\n                            }\n                        ],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-22 20:34:59\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": 1\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 1\n                    }\n                },\n                \"responsible\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 1\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 2\n                    }\n                }\n            }\n        },\n        {\n            \"attributes\": {\n                \"code\": 2,\n                \"subject\": \"Ticket A\",\n                \"status_id\": 3,\n                \"internal_status\": 6,\n                \"ticket_type\": 1,\n                \"interaction_at\": \"2019-04-22T21:06:42+00:00\",\n                \"closed_at\": \"2019-04-22T21:07:03+00:00\",\n                \"created_at\": \"2019-04-22T21:06:42+00:00\",\n                \"updated_at\": \"2019-04-22T21:07:03+00:00\",\n                \"agent_first_interaction_at\": \"2019-04-22T21:06:42+00:00\"\n            },\n            \"type\": \"tickets\",\n            \"id\": 2,\n            \"links\": [],\n            \"meta\": {\n                \"deadline\": null,\n                \"present\": {\n                    \"content_preview\": \"teste\\n\",\n                    \"last_interaction_preview\": null,\n                    \"last_interaction_author\": null,\n                    \"due_date\": \"\",\n                    \"status\": \"Resolvido\",\n                    \"consolidated\": \"Resolvido em 21 segundo(s)\",\n                    \"tag_customer\": \"\",\n                    \"has_interaction\": false,\n                    \"agent_first_interaction\": {\n                        \"content\": \"<p>teste</p>\",\n                        \"username\": \"Vitor Rodrigues\",\n                        \"comments\": [\n                            {\n                                \"content\": \"Ticket finalizado\",\n                                \"user_id\": 7,\n                                \"username\": \"Vitor Rodrigues\",\n                                \"created_at\": \"2019-04-22T21:07:03+00:00\"\n                            }\n                        ],\n                        \"attachments\": [],\n                        \"custom_fields\": null,\n                        \"is_public\": true,\n                        \"created_at\": \"2019-04-22 21:06:42\",\n                        \"updated_at\": null,\n                        \"responsible_user_id\": null\n                    }\n                },\n                \"sla\": {\n                    \"first_interaction\": null,\n                    \"solved\": null,\n                    \"has_violation\": false\n                },\n                \"sla_status\": null\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        }\n                    ]\n                },\n                \"department\": {\n                    \"data\": {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                },\n                \"requester\": {\n                    \"data\": {\n                        \"type\": \"customers\",\n                        \"id\": 1\n                    }\n                },\n                \"author\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"b05dddb4-d412-41e5-8c64-1e930b144867"},{"name":"Detalhes","id":"e4e2e032-801b-49c3-ba85-872de3c3dd11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","description":"<p><strong>Includes:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>    `responsible`              =&gt; O agente responsavel pelo ticket\n    `department`               =&gt; Departamento do ticket\n    `requester`                =&gt; O customer que requisitou o ticket\n    `company`                  =&gt; Empresa do ticket\n    `group`                    =&gt; Grupo do ticket\n    `popular_tag`              =&gt; Tags do ticket\n</code></pre>","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"3","key":"id"}]}},"response":[{"id":"25358a39-eb29-49a0-917c-5663a267b028","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id"],"variable":[{"key":"id","value":"3","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 29 Apr 2019 18:57:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"987"},{"key":"ETag","value":"W/\"01ca2ea6cd0de95656a04a87729e83db614fd1a9\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"attributes\": {\n            \"code\": 3,\n            \"subject\": \"Título do Ticket Externo da API\",\n            \"status_id\": 2,\n            \"priority_id\": 5,\n            \"due_date\": \"2019-12-31T00:00:00+00:00\",\n            \"internal_status\": 3,\n            \"ticket_type\": 1,\n            \"interaction_at\": \"2019-04-25T18:41:28+00:00\",\n            \"created_at\": \"2019-04-25T18:41:28+00:00\",\n            \"updated_at\": \"2019-04-25T18:41:28+00:00\",\n            \"agent_first_interaction_at\": \"2019-04-25T18:41:28+00:00\"\n        },\n        \"type\": \"tickets\",\n        \"id\": 3,\n        \"links\": [],\n        \"meta\": {\n            \"deadline\": {\n                \"due_date\": \"31/12/2019 23:59\",\n                \"short_due_date\": \"31/12 23h59\",\n                \"has_violation\": false,\n                \"done\": false,\n                \"waiting\": {\n                    \"is_late\": false,\n                    \"time_difference\": 21272537,\n                    \"short_human_time_difference\": \"35sem 1d 5h 2min\",\n                    \"human_time_difference\": \"246 dias, 5 horas e 2 minutos\"\n                }\n            },\n            \"present\": {\n                \"content_preview\": \"Conteúdo do ticket externo da API\\n\\nConteúdo da Resposta pronta do Usuário A\\n\",\n                \"last_interaction_preview\": \"Conteúdo da resposta para o usuário\\n\\nConteúdo da Resposta pronta do Usuário A\\n\",\n                \"last_interaction_author\": \"Vitor Rodrigues\",\n                \"due_date\": \"31/12/2019\",\n                \"status\": \"Pendente\",\n                \"consolidated\": \"Em andamento há 4 dia(s)\",\n                \"tag_customer\": \"\",\n                \"has_interaction\": true,\n                \"agent_first_interaction\": {\n                    \"content\": \"<p>Conteúdo do ticket externo da API</p><p><br></p><p>Conteúdo da Resposta pronta do Usuário A</p>\",\n                    \"username\": \"Vitor Rodrigues\",\n                    \"comments\": [],\n                    \"attachments\": [\n                        {\n                            \"hash\": \"15cdb9275ce9c60566481c74d29b8354.png\",\n                            \"name\": \"download.png\",\n                            \"path\": \"documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\",\n                            \"size\": 4087,\n                            \"o_path\": \"documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\",\n                            \"fullUrl\": \"https://documentacao.desk360.com.br/cdn/images?url=documentacao_new_864815722_6d46c5da9cf57d22c41d92f6494fd4b9.png\"\n                        }\n                    ],\n                    \"custom_fields\": null,\n                    \"is_public\": true,\n                    \"created_at\": \"2019-04-25 18:41:28\",\n                    \"updated_at\": null,\n                    \"responsible_user_id\": 7\n                }\n            },\n            \"sla\": {\n                \"first_interaction\": null,\n                \"solved\": null,\n                \"has_violation\": false\n            },\n            \"sla_status\": null\n        },\n        \"relationships\": {\n            \"ticket_fields\": {\n                \"data\": [\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 12\n                    }\n                ]\n            },\n            \"department\": {\n                \"data\": {\n                    \"type\": \"departments\",\n                    \"id\": 25\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"type\": \"customers\",\n                    \"id\": 2\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 7\n                }\n            },\n            \"author\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 7\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/3\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"a8bc37c8-1571-4d8b-9ce6-0a9bdc2dbb81","name":"ID inválido","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id"],"variable":[{"key":"id","value":"30","type":"string"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 29 Apr 2019 18:58:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Ticket].\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"e4e2e032-801b-49c3-ba85-872de3c3dd11"},{"name":"Incremental","id":"a1bf248d-ce7c-4b65-9f38-e443308a6afc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/tickets/incremental?start_time=1613500977","description":"<p><strong>Descrição</strong><br />\nFaz a listagem de tickets incrementalmente, ideal para importações <br />\nEssa API tem um limite de retorno de 1000 registros por requisição</p>\n<p><strong>Request</strong><br />\nO parâmetro <code>start_time</code> é obrigatório e inicialmente pode ser passado como zero, depois você pode utilizar o timestamp do último registro listado.</p>\n<p><strong>Response</strong><br />\nNo retorno dessa API tem duas chaves:</p>\n<ul>\n<li>A chave <code>data</code>, são os dados a serem consumidos</li>\n<li>A chave <code>meta</code> guarda três informações<ul>\n<li><code>end_of_stream</code> quando true, indica que não há mais registros para listar</li>\n<li><code>total</code> é o total de registros</li>\n<li><code>end_time</code> é o timestamp do último registro importado, você pode utilizar esse end_time para passar na próxima requisição como start_time, e assim ir listando os registros incrementalmente</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","tickets","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"1613500977"}],"variable":[]}},"response":[],"_postman_id":"a1bf248d-ce7c-4b65-9f38-e443308a6afc"},{"name":"Edição","id":"69e3d542-6466-4ae7-83f8-15f44682e3a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto editado do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2022-11-01\",\n            \"priority_id\":\"2\"\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 23,\n                    \"type\": \"departments\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"18","key":"id"}]}},"response":[{"id":"79d5b37e-b29f-4634-aa9e-316b29abcec2","name":"ID inválido","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto editado do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2022-11-01\",\n            \"priority_id\":\"2\",\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo editado do campo personalizado A\"\n            }\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 23,\n                    \"type\": \"departments\"\n                }\n            }\n        }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id"],"variable":[{"key":"id","value":"0000000"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:18:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"\",\n            \"status\": 404\n        }\n    ]\n}"},{"id":"e6070841-d89c-42a2-9251-a4b4bec2941a","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tickets\",\n        \"attributes\": {\n            \"subject\": \"Assunto editado do Ticket\",\n            \"name\": \"Usuário A\",\n            \"email\": \"usuarioa@desk360.com.br\",\n            \"ticket_type\": \"1\",\n            \"due_date\": \"2022-11-01\",\n            \"priority_id\":\"2\",\n            \"custom_fields\": {\n            \t\"campo_personalizado_a\": \"Conteúdo editado do campo personalizado A\"\n            }\n        },\n        \"relationships\": {\n            \"department\": {\n                \"data\": {\n                    \"id\": 23,\n                    \"type\": \"departments\"\n                }\n            }\n        }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id"],"variable":[{"key":"id","value":"18"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 18:17:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"989"},{"key":"ETag","value":"W/\"71fe6cab810d7ff438bf0db86241104f0195ada6\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"attributes\": {\n            \"code\": 18,\n            \"subject\": \"Assunto editado do Ticket\",\n            \"status_id\": 1,\n            \"priority_id\": \"2\",\n            \"due_date\": \"2022-11-01T00:00:00+00:00\",\n            \"internal_status\": 3,\n            \"ticket_type\": 1,\n            \"interaction_at\": \"2019-04-30T17:47:26+00:00\",\n            \"created_at\": \"2019-04-30T17:47:26+00:00\",\n            \"updated_at\": \"2019-04-30T18:17:48+00:00\",\n            \"responsible_changed_at\": \"2019-04-30T18:17:32+00:00\",\n            \"agent_first_interaction_at\": \"2019-04-30T17:47:26+00:00\"\n        },\n        \"type\": \"tickets\",\n        \"id\": 18,\n        \"links\": [],\n        \"meta\": {\n            \"deadline\": {\n                \"due_date\": \"01/11/2022 23:59\",\n                \"short_due_date\": \"01/11 23h59\",\n                \"has_violation\": false,\n                \"done\": false,\n                \"waiting\": {\n                    \"is_late\": false,\n                    \"time_difference\": 110698931,\n                    \"short_human_time_difference\": \"183sem 5h 42min\",\n                    \"human_time_difference\": \"1281 dias, 5 horas e 42 minutos\"\n                }\n            },\n            \"present\": {\n                \"content_preview\": \"conteúdo da interação\",\n                \"last_interaction_preview\": \"Resposta do agente\",\n                \"last_interaction_author\": \"Cristian Braga\",\n                \"due_date\": \"01/11/2022\",\n                \"status\": \"Aberto\",\n                \"consolidated\": \"Em andamento há 30 minuto(s)\",\n                \"tag_customer\": \"\",\n                \"has_interaction\": true,\n                \"agent_first_interaction\": {\n                    \"content\": \"conteúdo da interação\",\n                    \"username\": \"Cristian Braga\",\n                    \"comments\": [],\n                    \"attachments\": [],\n                    \"custom_fields\": null,\n                    \"is_public\": true,\n                    \"created_at\": \"2019-04-30 17:47:26\",\n                    \"updated_at\": null,\n                    \"responsible_user_id\": 3\n                }\n            },\n            \"sla\": {\n                \"first_interaction\": null,\n                \"solved\": null,\n                \"has_violation\": false\n            },\n            \"sla_status\": null\n        },\n        \"relationships\": {\n            \"ticket_fields\": {\n                \"data\": [\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 12\n                    },\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 14\n                    }\n                ]\n            },\n            \"department\": {\n                \"data\": {\n                    \"type\": \"departments\",\n                    \"id\": 23\n                }\n            },\n            \"requester\": {\n                \"data\": {\n                    \"type\": \"customers\",\n                    \"id\": 2\n                }\n            },\n            \"responsible\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 7\n                }\n            },\n            \"author\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 3\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/18\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"69e3d542-6466-4ae7-83f8-15f44682e3a6"},{"name":"Remoção","id":"f486344e-2736-45e7-9edb-c8656d531d8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"4","key":"id"}]}},"response":[{"id":"36a4b1d9-2152-4adc-946b-40da24abb4a6","name":"ID inválido","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id"],"variable":[{"key":"id","value":"40","type":"string"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 29 Apr 2019 18:50:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"\",\n            \"status\": 404\n        }\n    ]\n}"},{"id":"6baf4909-d242-407f-9742-c5ae94f4e57b","name":"Sucesso","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id"],"variable":[{"key":"id","value":"4","type":"string"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 29 Apr 2019 18:46:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "}],"_postman_id":"f486344e-2736-45e7-9edb-c8656d531d8b"},{"name":"Remoção em massa","id":"dc0f0b2a-2097-40b3-80a1-74d4a07eefd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"tickets\",\n\t\t\t\"id\": 5\n\t\t},\n\t\t{\n\t\t\t\"type\": \"tickets\",\n\t\t\t\"id\": 6\n\t\t},\n\t\t{\n\t\t\t\"type\": \"tickets\",\n\t\t\t\"id\": 7\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/","urlObject":{"protocol":"https","path":["api","v2.0","tickets",""],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"52eccf7a-0132-4cc4-be1b-3008f3a3ce14","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"tickets\",\n\t\t\t\"id\": 5\n\t\t},\n\t\t{\n\t\t\t\"type\": \"tickets\",\n\t\t\t\"id\": 6\n\t\t},\n\t\t{\n\t\t\t\"type\": \"tickets\",\n\t\t\t\"id\": 7\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 29 Apr 2019 18:54:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "}],"_postman_id":"dc0f0b2a-2097-40b3-80a1-74d4a07eefd5"}],"id":"3be10eda-5a20-4610-9bdb-cce51b62a529","_postman_id":"3be10eda-5a20-4610-9bdb-cce51b62a529","description":""},{"name":"Interações","item":[{"name":"Criação","id":"e71f2c73-a199-44e1-a455-bbf0c39ee094","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":id","interactions"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"16","key":"id"}]}},"response":[{"id":"04c222c9-88a5-42e3-b96b-28375d90651f","name":"Token  inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"a7cb0c6c-f4d9-4e80-84b8-05286b39e7c5","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"ced75359-f360-4a73-b3e4-92e7cf8b18a4","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:09:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/tickets/16/interactions"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"979"},{"key":"ETag","value":"\"092130cb41aca9d132e6d602db79a2494eda2b39\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"tickets_interactions\",\n        \"id\": \"\",\n        \"attributes\": {\n            \"content\": \"Nova interação\",\n            \"activities\": [],\n            \"attachments\": [],\n            \"first_interaction\": false,\n            \"created_at\": \"2019-04-30T20:09:37+00:00\",\n            \"updated_at\": \"2019-04-30T20:09:37+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/16/interactions\"\n        },\n        \"meta\": {\n            \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n            \"answer\": \"1 segundo atrás\",\n            \"username\": \"Agente A\",\n            \"is_answer\": true,\n            \"is_public\": true,\n            \"is_customer\": false,\n            \"created_at\": \"2019-04-30T20:09:37+00:00\"\n        },\n        \"relationships\": {\n            \"agents\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 3\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/16/interactions\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"e71f2c73-a199-44e1-a455-bbf0c39ee094"},{"name":"Listagem","id":"f399d47a-5e83-4e20-80a5-1e2e9b6d24c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions?filter[is_public]=false","description":"<p><strong>Filtros:</strong><br />is_public   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":id","interactions"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[is_public]","value":"false"}],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"96c83d61-5142-407a-8a70-152b6eb6ef42","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:19:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"W/\"15e7bf660f2205c9d735e65ab2500f13ee77ef9c\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da observação interna\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"2 segundos atrás\",\n                \"username\": \"Agente B\",\n                \"is_answer\": true,\n                \"is_public\": false,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da quinta interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:19:08+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"answer\": \"51 segundos atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:19:08+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da quarta interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:09:37+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"answer\": \"10 minutos atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:09:37+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da terceira interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:08:22+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"11 minutos atrás\",\n                \"username\": \"Agente B\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:08:22+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"<p>conteúdo da segunda interação</p>\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T17:38:00+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"2 horas atrás\",\n                \"username\": \"Agente B\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T17:38:00+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da primeira interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": true,\n                \"created_at\": \"2019-04-29T20:45:46+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"answer\": \"23 horas atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-29T20:45:46+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"e3e14dbd-ef9e-4c1a-a33d-dae1f946353c","name":"Filtragem","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions?filter[is_public]=false","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"query":[{"key":"filter[is_public]","value":"false"}],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:30:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"W/\"ba38d93775dba7ac6160686f3cb6998eb08bde8d\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"Interação de observação interna</p>\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\",\n                \"updated_at\": \"2019-04-30T20:30:52+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"10 minutos atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": false,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"f399d47a-5e83-4e20-80a5-1e2e9b6d24c0"}],"id":"59572280-3b76-4b09-9a5c-832009330412","description":"<hr />\n<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Conteúdo</td>\n</tr>\n<tr>\n<td>ticket</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>is_public</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Público ou interno</td>\n</tr>\n<tr>\n<td>attachments</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Anexos</td>\n</tr>\n<tr>\n<td>author</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Comentários internos do sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"4498c144-ab2f-4089-a604-b673212c496e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"412b3497-c1e9-4f00-9f96-77e9cd78b2a9","type":"text/javascript","exec":[""]}}],"_postman_id":"59572280-3b76-4b09-9a5c-832009330412"},{"name":"Tags","item":[{"name":"Criação","id":"edc69355-12ba-47f1-b372-8b3a259bb3a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"popular_tag\",\n        \"attributes\": {\n            \"tag\": \"tag_example\"\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/popular_tag/:id","urlObject":{"protocol":"https","path":["api","v2.0","popular_tag",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"16","key":"id"}]}},"response":[{"id":"1478a157-678c-4f65-815c-97042802dc9d","name":"Token  inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"7339bfc6-65fb-46e5-8f62-b0611a83c059","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"9500c552-9403-4593-b3a7-c9a0c2a835cd","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"popular_tag\",\n        \"attributes\": {\n            \"tag\": \"tag_example\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/popular_tag/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","popular_tag",":id"],"variable":[{"key":"id","value":"16"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:09:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/tickets/16/interactions"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"979"},{"key":"ETag","value":"\"092130cb41aca9d132e6d602db79a2494eda2b39\""}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"edc69355-12ba-47f1-b372-8b3a259bb3a3"},{"name":"Remoção","id":"36a44b11-71c4-4c7e-bc7d-4a929cea5f8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"tag\": \"tag_example\",\n        \"ticket_id\": 1\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/popular_tag_destroy/destroy_by_tag","urlObject":{"protocol":"https","path":["api","v2.0","popular_tag_destroy","destroy_by_tag"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"0442558d-52f3-4172-b5ed-ce08cff023ab","name":"Token  inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"4dc4fc9b-bbf3-4f22-baef-dad3a0a809eb","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"tag\": \"tag_example\",\n        \"ticket_id\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/popular_tag_destroy/destroy_by_tag"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:09:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/tickets/16/interactions"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"979"},{"key":"ETag","value":"\"092130cb41aca9d132e6d602db79a2494eda2b39\""}],"cookie":[],"responseTime":null,"body":""},{"id":"976b4d3e-dde8-402a-bf80-63302939cb28","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"36a44b11-71c4-4c7e-bc7d-4a929cea5f8f"}],"id":"77d07091-54dd-45ea-8c62-81b7c6b8a7c7","description":"<hr />\n<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Conteúdo</td>\n</tr>\n<tr>\n<td>ticket</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>is_public</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Público ou interno</td>\n</tr>\n<tr>\n<td>attachments</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Anexos</td>\n</tr>\n<tr>\n<td>author</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Comentários internos do sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"3af0a370-49b6-4ecd-93e8-c3a9564d1b24","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf397220-6f20-4d1c-9ee1-f8906587f13d","type":"text/javascript","exec":[""]}}],"_postman_id":"77d07091-54dd-45ea-8c62-81b7c6b8a7c7"},{"name":"Historico","item":[{"name":"Listagem","id":"339a8044-7a2b-4be2-90ef-62b397388173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets_history/:id","description":"<p><strong>Filtros:</strong><br />is_public   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","tickets_history",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"12e69b4f-3bfa-4cb7-89da-dbd85075ea93","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets_history/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets_history",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:19:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"W/\"15e7bf660f2205c9d735e65ab2500f13ee77ef9c\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [{\n\t\t\"attributes\": {\n\t\t\t\"change_type\": \"priority_id\",\n\t\t\t\"to\": \"Prioridade alterada de Nenhuma\",\n\t\t\t\"from\": \"para Urgente\",\n\t\t\t\"show_in_ticket\": true,\n\t\t\t\"automation_name\": \"Divulgação\",\n\t\t\t\"automation_id\": 1,\n\t\t\t\"change_at\": \"2020-09-09T15:00:51+00:00\",\n\t\t\t\"created_at\": \"2020-09-09T15:00:51+00:00\",\n\t\t\t\"updated_at\": \"2020-09-09T15:00:51+00:00\"\n\t\t},\n\t\t\"type\": \"tickets_history\",\n\t\t\"id\": 47100,\n\t\t\"links\": [],\n\t\t\"meta\": []\n\t}, {\n\t\t\"attributes\": {\n\t\t\t\"change_type\": \"ticket_closed\",\n\t\t\t\"to\": \"Ticket resolvido\",\n\t\t\t\"from\": \"\",\n\t\t\t\"show_in_ticket\": true,\n\t\t\t\"peoples_id\": 1,\n\t\t\t\"peoples_name\": \"Vanderson\",\n\t\t\t\"peoples_role_id\": 1,\n\t\t\t\"change_at\": \"2020-09-09T11:47:04+00:00\",\n\t\t\t\"created_at\": \"2020-09-09T11:47:04+00:00\",\n\t\t\t\"updated_at\": \"2020-09-09T11:47:04+00:00\"\n\t\t},\n\t\t\"type\": \"tickets_history\",\n\t\t\"id\": 1,\n\t\t\"links\": [],\n\t\t\"meta\": []\n\t},\n\t{\n\t\t\"attributes\": {\n\t\t\t\"change_type\": \"ticket_closed\",\n\t\t\t\"to\": \"Ticket resolvido\",\n\t\t\t\"from\": \"\",\n\t\t\t\"show_in_ticket\": true,\n\t\t\t\"trigger_id\": 1,\n\t\t\t\"trigger_name\": \"Vanderson\",\n\t\t\t\"change_at\": \"2020-09-09T11:47:04+00:00\",\n\t\t\t\"created_at\": \"2020-09-09T11:47:04+00:00\",\n\t\t\t\"updated_at\": \"2020-09-09T11:47:04+00:00\"\n\t\t},\n\t\t\"type\": \"tickets_history\",\n\t\t\"id\": 1,\n\t\t\"links\": [],\n\t\t\"meta\": []\n\t}],\n\t\"links\": {\n\t\t\"self\": \"https:documentacao.desk360.com.br/api/v2.0/tickets_history/1\"\n\t},\n\t\"jsonapi\": {\n\t\t\"version\": \"1.0\"\n\t},\n\t\"meta\": [],\n\t\"included\": []\n}"}],"_postman_id":"339a8044-7a2b-4be2-90ef-62b397388173"}],"id":"5167f55b-4b44-44a8-bed4-9b81743a95aa","description":"<hr />\n<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Conteúdo</td>\n</tr>\n<tr>\n<td>ticket</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>is_public</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Público ou interno</td>\n</tr>\n<tr>\n<td>attachments</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Anexos</td>\n</tr>\n<tr>\n<td>author</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Comentários internos do sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"64f5aaee-99cc-4666-9bb7-9379a6ca75fc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c27bc09e-4f1a-4150-a732-795a9bccd156","type":"text/javascript","exec":[""]}}],"_postman_id":"5167f55b-4b44-44a8-bed4-9b81743a95aa"},{"name":"Custom Field Tickets","item":[{"name":"Criação","id":"ce5c9b5b-2a8c-4edd-8f34-1ffa798f4f0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"ticket_custom_field\",\n        \"attributes\": {\n            \"value\": \"VAlue\"\n        },\n        \"relationships\": {\n            \"custom_field\": {\n                \"data\": {\n                    \"id\": 1,\n                    \"type\": \"ticket_fields\"\n                }\n            },\n            \"tickets\": {\n                \"data\": {\n                    \"id\": 1,\n                    \"type\": \"tickets\"\n                }\n            }\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_custom_field","urlObject":{"protocol":"https","path":["api","v2.0","ticket_custom_field"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"5463ea68-8582-4292-8f02-78a44005caeb","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"ticket_custom_field\",\n        \"attributes\": {\n            \"value\": \"VALUE\"\n        },\n        \"relationships\": {\n            \"custom_field\": {\n                \"data\": {\n                    \"id\": 1,\n                    \"type\": \"ticket_fields\"\n                }\n            },\n            \"tickets\": {\n                \"data\": {\n                    \"id\": 1,\n                    \"type\": \"tickets\"\n                }\n            }\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_custom_field"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:09:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/tickets/16/interactions"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"979"},{"key":"ETag","value":"\"092130cb41aca9d132e6d602db79a2494eda2b39\""}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [{\n\t\t\"type\": \"ticket_custom_field\",\n\t\t\"id\": 1,\n\t\t\"attributes\": {\n\t\t\t\"value\": \"VALUE\"\n\t\t},\n\t\t\"links\": [],\n\t\t\"relationships\": {\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\"id\": 1\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\"id\": 1\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}],\n\t\"links\": {\n\t\t\"self\": \"https://documentacao.desk360.com.br/api/v2.0/ticket_custom_field\"\n\t},\n\t\"jsonapi\": {\n\t\t\"version\": \"1.0\"\n\t},\n\t\"meta\": [],\n\t\"included\": [{\n\t\t\"type\": \"ticket_fields\",\n\t\t\"id\": 1,\n\t\t\"attributes\": {\n\t\t\t\"settings\": {\n\t\t\t\t\"only_past_dates\": false\n\t\t\t},\n\t\t\t\"label\": \"Qual erro do cliente?\",\n\t\t\t\"name\": \"qual_erro_do_cliente\",\n\t\t\t\"field_type\": \"text\",\n\t\t\t\"required\": false,\n\t\t\t\"default_values\": [],\n\t\t\t\"ticket_type\": 1,\n\t\t\t\"position\": 0,\n\t\t\t\"active\": true,\n\t\t\t\"roles\": {\n\t\t\t\t\"visibility\": \"agent\"\n\t\t\t},\n\t\t\t\"created_at\": \"2019-09-02T11:13:46+00:00\",\n\t\t\t\"update_at\": \"2020-04-23T20:55:30+00:00\"\n\t\t},\n\t\t\"links\": [],\n\t\t\"relationships\": {\n\t\t\t\"departments\": {\n\t\t\t\t\"data\": [{\n\t\t\t\t\t\"type\": \"departments\",\n\t\t\t\t\t\"id\": 1\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}\n"},{"id":"b34d0334-f7a5-459b-8a24-860817fef9e1","name":"Token  inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"d71c7d83-c510-4234-92b1-dc54c8c7902c","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"tickets_interactions\",\n    \"attributes\":{  \n      \"attachments\":[  \n\n      ],\n      \"content\":\"Nova interação\",\n      \"is_public\":true\n    },\n    \"relationships\":{  \n      \"ticket\":{  \n        \"data\":{  \n          \"id\":16,\n          \"type\":\"tickets\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"16"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:15:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"ce5c9b5b-2a8c-4edd-8f34-1ffa798f4f0f"},{"name":"Listagem","id":"829b1a32-b974-4613-ad02-ab57f9af31f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_custom_field/:id","description":"<p><strong>Filtros:</strong><br />is_public   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","ticket_custom_field",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"7824efaf-906d-4d03-8ca3-ac933a7f8ccc","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_custom_field/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_custom_field",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:19:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"W/\"15e7bf660f2205c9d735e65ab2500f13ee77ef9c\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n\t\"data\": [{\n\t\t\"type\": \"ticket_custom_field\",\n\t\t\"id\": 9718,\n\t\t\"attributes\": {\n\t\t\t\"value\": \"\"\n\t\t},\n\t\t\"links\": [],\n\t\t\"relationships\": {\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\"id\": 78\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\"id\": 18088\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}],\n\t\"links\": {\n\t\t\"self\": \"https:documentacao.desk360.com.br/api/v2.0/ticket_custom_field\"\n\t},\n\t\"jsonapi\": {\n\t\t\"version\": \"1.0\"\n\t},\n\t\"meta\": [],\n\t\"included\": [{\n\t\t\"type\": \"ticket_fields\",\n\t\t\"id\": 78,\n\t\t\"attributes\": {\n\t\t\t\"settings\": {\n\t\t\t\t\"only_past_dates\": false\n\t\t\t},\n\t\t\t\"label\": \"Qual erro do cliente?\",\n\t\t\t\"name\": \"qual_erro_do_cliente\",\n\t\t\t\"field_type\": \"text\",\n\t\t\t\"required\": false,\n\t\t\t\"default_values\": [],\n\t\t\t\"ticket_type\": 1,\n\t\t\t\"position\": 0,\n\t\t\t\"active\": true,\n\t\t\t\"roles\": {\n\t\t\t\t\"visibility\": \"agent\"\n\t\t\t},\n\t\t\t\"created_at\": \"2019-09-02T11:13:46+00:00\",\n\t\t\t\"update_at\": \"2020-04-23T20:55:30+00:00\"\n\t\t},\n\t\t\"links\": [],\n\t\t\"relationships\": {\n\t\t\t\"departments\": {\n\t\t\t\t\"data\": [{\n\t\t\t\t\t\"type\": \"departments\",\n\t\t\t\t\t\"id\": 44\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"}],"_postman_id":"829b1a32-b974-4613-ad02-ab57f9af31f0"}],"id":"c9dd569c-695a-4dbb-89b5-1701ec7d0b25","description":"<hr />\n<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Conteúdo</td>\n</tr>\n<tr>\n<td>ticket</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>is_public</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Público ou interno</td>\n</tr>\n<tr>\n<td>attachments</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Anexos</td>\n</tr>\n<tr>\n<td>author</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Autor</td>\n</tr>\n<tr>\n<td>activities</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Comentários internos do sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"7a2591a6-414b-43ae-bb1e-0d1541358f18","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d42098c5-8b5c-4667-9baf-f9c7a1536fe7","type":"text/javascript","exec":[""]}}],"_postman_id":"c9dd569c-695a-4dbb-89b5-1701ec7d0b25"},{"name":"Usuários em cópia","item":[{"name":"Criação","id":"afc0d3ef-af40-4c0a-9391-eeb8a4544ea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"ticket_copy_users\",\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":ticket_id","copy_users"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"ticket_id"}]}},"response":[{"id":"1ab42d97-97a9-45b8-abbd-ecfb6e7ebbde","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"ticket_copy_users\",\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users"],"variable":[{"key":"ticket_id","value":"1"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:51:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/tickets/1/copy_users"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"\"7deac7b956a16ed10bc4ffb2a53838cc4377cc1f\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"ticket_copy_users\",\n        \"id\": 1,\n        \"attributes\": [],\n        \"links\": [],\n        \"relationships\": {\n            \"agents\": {\n                \"data\": {\n                    \"type\": \"agents\",\n                    \"id\": 7\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/copy_users\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"7e832f56-f150-4f8a-83c6-140c7117aab4","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"ticket_copy_users\",\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\t\"id\": \n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users"],"variable":[{"key":"ticket_id","value":"1"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:52:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.relationships.agents.data.id\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.relationships.tickets.data.id\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"8108d1ea-3707-4465-ab85-9297e5d262ee","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"ticket_copy_users\",\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users"],"variable":[{"key":"ticket_id","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:53:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"9528ac75-0a0c-4997-922a-ad3313a8cb28","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"ticket_copy_users\",\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t},\n\t\t\t\"tickets\": {\n\t\t\t\t\"data\":\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"tickets\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users"],"variable":[{"key":"ticket_id","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:52:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"afc0d3ef-af40-4c0a-9391-eeb8a4544ea4"},{"name":"Paginação","id":"91e663d6-4a5f-4ae8-a387-cf54fbd6408d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users?include=user","description":"<p><strong>Filtros:</strong><br />ticket_id  </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":ticket_id","copy_users"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"description":{"content":"<p>Inclui no final do retorno da requisição as informações e o link para os usuários.</p>\n","type":"text/plain"},"key":"include","value":"user"}],"variable":[{"type":"string","value":"1","key":"ticket_id"}]}},"response":[{"id":"05621129-4fdd-4d31-8f48-65dcc972490e","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users?include=user","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users"],"query":[{"key":"include","value":"user","description":"Inclui no final do retorno da requisição as informações e o link para os usuários."}],"variable":[{"key":"ticket_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 21:14:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"987"},{"key":"ETag","value":"W/\"dd004081a7b342045840fa030731fa643642a0c5\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"ticket_copy_users\",\n            \"id\": 2,\n            \"attributes\": [],\n            \"links\": [],\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 23\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"ticket_copy_users\",\n            \"id\": 3,\n            \"attributes\": [],\n            \"links\": [],\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 4\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"ticket_copy_users\",\n            \"id\": 4,\n            \"attributes\": [],\n            \"links\": [],\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 18\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/copy_users\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": [\n        {\n            \"type\": \"agents\",\n            \"id\": 23,\n            \"attributes\": {\n                \"name\": \"Usuário 2 importação\",\n                \"email\": \"usuarioimportacao2@desk360.com.br\",\n                \"role_id\": 3,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/72167246b81d33adeeb23b515756d376?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": false,\n                        \"chat_limit\": null\n                    },\n                    \"notification_enable\": 0\n                },\n                \"created_at\": \"2019-04-24T15:16:29+00:00\",\n                \"updated_at\": \"2019-04-24T15:16:29+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/23\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"open_tickets\": 0,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 0,\n                \"quantity_of_departments\": 0\n            }\n        },\n        {\n            \"type\": \"agents\",\n            \"id\": 4,\n            \"attributes\": {\n                \"name\": \"Usuário A\",\n                \"email\": \"usuarioa@desk360.com.br\",\n                \"role_id\": 3,\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": false,\n                        \"chat_limit\": null\n                    },\n                    \"notification_enable\": null\n                },\n                \"created_at\": \"2019-04-22T17:48:15+00:00\",\n                \"updated_at\": \"2019-04-22T21:19:28+00:00\",\n                \"last_acess\": \"2019-04-22T17:52:32+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/4\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"open_tickets\": 0,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 0,\n                \"quantity_of_departments\": 0\n            }\n        },\n        {\n            \"type\": \"agents\",\n            \"id\": 18,\n            \"attributes\": {\n                \"name\": \"Pessoa\",\n                \"email\": \"improviso@joana.com\",\n                \"role_id\": 3,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/9ae104d5bbcbb0ea83809131314db871?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": false,\n                        \"chat_limit\": null\n                    },\n                    \"notification_enable\": 0\n                },\n                \"created_at\": \"2019-04-24T15:13:06+00:00\",\n                \"updated_at\": \"2019-04-24T15:13:06+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/18\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"open_tickets\": 0,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 0,\n                \"quantity_of_departments\": 0\n            }\n        }\n    ]\n}"}],"_postman_id":"91e663d6-4a5f-4ae8-a387-cf54fbd6408d"},{"name":"Remoção","id":"284b0729-dff2-4f1c-996d-054bec40359a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users/:id","urlObject":{"protocol":"https","path":["api","v2.0","tickets",":ticket_id","copy_users",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"ticket_id"},{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"7e7d7479-e7c1-45fc-a9d7-85fd72e6f0b7","name":"ID inválido","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users",":id"],"variable":[{"key":"ticket_id","value":"010101"},{"key":"id","value":"010101"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 21:10:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ErrorException\",\n            \"title\": \"Trying to get property 'ticket' of non-object\",\n            \"status\": 500\n        }\n    ]\n}"},{"id":"ee55d78a-b24e-44a3-894e-8afca8e51ba4","name":"Remoção","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:ticket_id/copy_users/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":ticket_id","copy_users",":id"],"variable":[{"key":"ticket_id","value":"1"},{"key":"id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 21:07:39 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "}],"_postman_id":"284b0729-dff2-4f1c-996d-054bec40359a"}],"id":"f2bfce53-45e9-42d8-b477-60268c84feed","description":"<hr />\n<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>user</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Usuário a inserir em cópia</td>\n</tr>\n<tr>\n<td>ticket</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Ticket alvo</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"e10621cf-0760-4606-9310-9c989058edd6","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c3ead984-0590-4bcd-a786-52109df29ba9","type":"text/javascript","exec":[""]}}],"_postman_id":"f2bfce53-45e9-42d8-b477-60268c84feed"},{"name":"Agrupamento","item":[{"name":"Criação","id":"89eb1cde-a38a-4986-979f-e17e66dba6eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"group_tickets\",\n      \"attributes\":{\n         \"interaction_content\":\"Mensagem de interação: Tickets agrupados pela API.\"\n      },\n      \"relationships\":{\n         \"grouping_tickets\":{\n            \"data\":[\n               {\n                  \"id\":3,\n                  \"type\":\"ticket\"\n               }\n            ]\n         },\n         \"target_ticket\":{\n            \"data\":{\n               \"id\":18,\n               \"type\":\"ticket\"\n            }\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/group_tickets/","urlObject":{"protocol":"https","path":["api","v2.0","group_tickets",""],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"4b26e854-9a6c-48dd-a71b-bac6a451df95","name":"ID inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"group_tickets\",\n      \"attributes\":{\n         \"interaction_content\":\"Mensagem de interação: Tickets agrupados pela API.\"\n      },\n      \"relationships\":{\n         \"grouping_tickets\":{\n            \"data\":[\n               {\n                  \"id\":30,\n                  \"type\":\"ticket\"\n               }\n            ]\n         },\n         \"target_ticket\":{\n            \"data\":{\n               \"id\":180,\n               \"type\":\"ticket\"\n            }\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/group_tickets/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 18:03:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"FatalThrowableError\",\n            \"title\": \"Argument 1 passed to Tray\\\\WebDesk\\\\Modules\\\\Ticket\\\\Jobs\\\\GroupTicket\\\\GroupTicketsJob::groupInteractionsAndClose() must be an instance of Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Ticket, null given, called in /var/www/html/webdesk/releases/1/packages/modules/Ticket/Jobs/GroupTicket/GroupTicketsJob.php on line 90\",\n            \"status\": 500\n        }\n    ]\n}"},{"id":"7e80ae41-4be1-4211-92d2-7377596c952a","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"group_tickets\",\n      \"attributes\":{\n         \"interaction_content\":\"Mensagem de interação: Tickets agrupados pela API.\"\n      },\n      \"relationships\":{\n         \"grouping_tickets\":{\n            \"data\":[\n               {\n                  \"id\":30,\n                  \"type\":\"ticket\"\n               }\n            ]\n         },\n         \"target_ticket\":{\n            \"data\":{\n               \"id\":180,\n               \"type\":\"ticket\"\n            }\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/group_tickets/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 18:04:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"90d50fb5-86ca-4ee8-8b41-7be75ba7c0bd","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"group_tickets\",\n      \"attributes\":{\n         \"interaction_content\":\"Mensagem de interação: Tickets agrupados pela API.\"\n      },\n      \"relationships\":{\n         \"grouping_tickets\":{\n            \"data\":[\n               {\n                  \"id\":3,\n                  \"type\":\"ticket\"\n               }\n            ]\n         },\n         \"target_ticket\":{\n            \"data\":{\n               \"id\":18,\n               \"type\":\"ticket\"\n            }\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/group_tickets/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 14:00:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "},{"id":"bd97274d-89e0-4605-8120-2d7e9c21b6f6","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"group_tickets\",\n      \"attributes\":{\n         \"interaction_content\":\"Mensagem de interação: Tickets agrupados pela API.\"\n      },\n      \"relationships\":{\n         \"grouping_tickets\":{\n            \"data\":[\n               {\n                  \"id\":30,\n                  \"type\":\"ticket\"\n               }\n            ]\n         },\n         \"target_ticket\":{\n            \"data\":{\n               \"id\":180,\n               \"type\":\"ticket\"\n            }\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/group_tickets/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 18:04:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"89eb1cde-a38a-4986-979f-e17e66dba6eb"}],"id":"bba90344-2f79-4636-b334-1d099fd9a73b","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>target_ticket</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Ticket alvo do agrupamento</td>\n</tr>\n<tr>\n<td>grouping_tickets</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Tickets que serão agrupados</td>\n</tr>\n<tr>\n<td>interaction_content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Mensagem a ser enviada aos tickets agrupados</td>\n</tr>\n<tr>\n<td>is_public</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>false</td>\n<td>Define se mostra a mensagem pro cliente ou não</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"36eebcee-3ac1-42c2-874c-1967477f69f2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"69145086-3eec-4a2f-8184-61f273999fa1","type":"text/javascript","exec":[""]}}],"_postman_id":"bba90344-2f79-4636-b334-1d099fd9a73b"}],"id":"69cd41b6-410d-43d3-94cb-2a86f0012f1f","event":[{"listen":"prerequest","script":{"id":"5b2c6563-c0d9-41ed-ba2b-032b54f94002","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8a5a1208-77a6-424b-9982-d7c92ac8f764","type":"text/javascript","exec":[""]}}],"_postman_id":"69cd41b6-410d-43d3-94cb-2a86f0012f1f","description":""},{"name":"Configurações","item":[{"name":"Departamentos","item":[{"name":"Criação","id":"86fed6e8-ece4-4575-9d65-3faddfa15da4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Departamento B\",\n\t\t\t\"description\": \"Descrição do departamento\",\n\t\t\t\"email_prefix\": \"dep2\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 12\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments","urlObject":{"protocol":"https","path":["api","v2.0","departments"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"38f74f31-df73-4520-b7da-db1b12a2ed68","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Departamento B\",\n\t\t\t\"description\": \"Descrição do departamento\",\n\t\t\t\"email_prefix\": \"dep2\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 12\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 12:56:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"b7c40b26-d88d-47ed-9d30-1d53d155062c","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"\",\n\t\t\t\"description\": \"Descrição do departamento\",\n\t\t\t\"email_prefix\": \"dep2\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 12\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 16:38:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.name\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"eb8a3ece-1f5c-4adf-a017-711c7eaa82fd","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Departamento B\",\n\t\t\t\"description\": \"Descrição do departamento\",\n\t\t\t\"email_prefix\": \"dep2\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 12\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 12:57:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"fa5b9e49-cdd7-40c8-9138-990a3a06c226","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Departamento B\",\n\t\t\t\"description\": \"Descrição do departamento\",\n\t\t\t\"email_prefix\": \"dep2\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 7\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 12\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 21:05:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/departments/7"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"997"},{"key":"ETag","value":"\"741a8a9eb3afe6a3b23f37965cedca9fa927ea20\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"departments\",\n        \"id\": 7,\n        \"attributes\": {\n            \"name\": \"Departamento B\",\n            \"description\": \"Descrição do departamento\",\n            \"active\": \"1\",\n            \"email_prefix\": \"dep2\",\n            \"created_at\": \"2019-04-22T21:05:34+00:00\",\n            \"updated_at\": \"2019-04-22T21:05:34+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/7\"\n        },\n        \"meta\": {\n            \"open_tickets\": \"\",\n            \"closed_tickets\": \"\",\n            \"tickets_amount\": \"\"\n        },\n        \"relationships\": {\n            \"agents\": {\n                \"data\": [\n                    {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                ]\n            },\n            \"ticket_fields\": {\n                \"data\": [\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 12\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"86fed6e8-ece4-4575-9d65-3faddfa15da4"},{"name":"Paginação","id":"e5097264-13aa-474f-b811-04a04ced61a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments?filter[name]&filter[active]","description":"<p><strong>Filtros:</strong><br />name<br />active   </p>\n<p><strong>Ordenações:</strong><br />name<br />active<br />open_tickets<br />closed_tickets<br />tickets_amount   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","departments"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[name]","value":""},{"key":"filter[active]","value":""}],"variable":[]}},"response":[{"id":"0f3aa689-a085-4f20-b9e2-83ae9589e23a","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 21:07:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"W/\"ede2dc90b3a4884db279279d00d58e9b3805668f\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"departments\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Atendimento ao cliente\",\n                \"description\": \"Categoria Modelo\",\n                \"active\": true,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/1\"\n            },\n            \"meta\": {\n                \"open_tickets\": 0,\n                \"closed_tickets\": 2,\n                \"tickets_amount\": 2\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"departments\",\n            \"id\": 7,\n            \"attributes\": {\n                \"name\": \"Departamento B\",\n                \"description\": \"Descrição do departamento\",\n                \"active\": true,\n                \"email_prefix\": \"dep2\",\n                \"created_at\": \"2019-04-22T21:05:34+00:00\",\n                \"updated_at\": \"2019-04-22T21:05:34+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/7\"\n            },\n            \"meta\": {\n                \"open_tickets\": 0,\n                \"closed_tickets\": 0,\n                \"tickets_amount\": 0\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": [\n                        {\n                            \"type\": \"agents\",\n                            \"id\": 7\n                        }\n                    ]\n                },\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"departments\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Departmento A\",\n                \"description\": \"Departmento A - Descrição.\",\n                \"active\": true,\n                \"created_at\": \"2019-04-22T18:33:50+00:00\",\n                \"updated_at\": \"2019-04-22T18:33:50+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/2\"\n            },\n            \"meta\": {\n                \"open_tickets\": 0,\n                \"closed_tickets\": 0,\n                \"tickets_amount\": 0\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": [\n                        {\n                            \"type\": \"agents\",\n                            \"id\": 3\n                        }\n                    ]\n                },\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"4113ed29-ca47-4739-bf4c-f345c954a604","name":"Ordenação","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments?sort=name","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments"],"query":[{"key":"sort","value":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 17:52:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"967"},{"key":"ETag","value":"W/\"9c6a9240c1c05ede4aeb8d1560b6b4ff5b00a15c\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"departments\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Atendimento ao cliente\",\n                \"description\": \"Categoria Modelo\",\n                \"active\": true,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/1\"\n            },\n            \"meta\": {\n                \"open_tickets\": 0,\n                \"closed_tickets\": 2,\n                \"tickets_amount\": 2\n            },\n            \"relationships\": {\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        },\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 13\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"departments\",\n            \"id\": 23,\n            \"attributes\": {\n                \"name\": \"Dep 2\",\n                \"description\": \"Dep 2\",\n                \"active\": true,\n                \"email_prefix\": \"qaDesk360\",\n                \"created_at\": \"2019-04-23T16:40:14+00:00\",\n                \"updated_at\": \"2019-04-23T17:49:58+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/23\"\n            },\n            \"meta\": {\n                \"open_tickets\": 0,\n                \"closed_tickets\": 0,\n                \"tickets_amount\": 0\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": [\n                        {\n                            \"type\": \"agents\",\n                            \"id\": 3\n                        }\n                    ]\n                },\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"78d8829e-53c1-4ee1-abf2-01e6d3992006","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments?sort=asctive","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments"],"query":[{"key":"sort","value":"asctive"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 18:14:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `asctive` is not allowed. Allowed sort(s) are `open_tickets, closed_tickets, tickets_amount, name, active`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"eebb4917-fee8-4e0c-8228-b8386fa3c89c","name":"Filtragem","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments?filter[name]=ep%202&filter[active]=true","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments"],"query":[{"key":"filter[name]","value":"ep%202"},{"key":"filter[active]","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 17:50:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"997"},{"key":"ETag","value":"W/\"1c5ec0ad7ee66a92c7561c2c7e66c1f61aad0ea3\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"departments\",\n            \"id\": 23,\n            \"attributes\": {\n                \"name\": \"Dep 2\",\n                \"description\": \"Dep 2\",\n                \"active\": true,\n                \"email_prefix\": \"qaDesk360\",\n                \"created_at\": \"2019-04-23T16:40:14+00:00\",\n                \"updated_at\": \"2019-04-23T17:49:58+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/23\"\n            },\n            \"meta\": {\n                \"open_tickets\": 0,\n                \"closed_tickets\": 0,\n                \"tickets_amount\": 0\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": [\n                        {\n                            \"type\": \"agents\",\n                            \"id\": 3\n                        }\n                    ]\n                },\n                \"ticket_fields\": {\n                    \"data\": [\n                        {\n                            \"type\": \"ticket_fields\",\n                            \"id\": 12\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"e5097264-13aa-474f-b811-04a04ced61a3"},{"name":"Detalhes","id":"20b1be11-4207-4bd8-aa1d-40cc21da03a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","urlObject":{"protocol":"https","path":["api","v2.0","departments",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"554931b9-51c5-45c1-85af-816d7232969a","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 18:16:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"W/\"125998df87bec7b2c5e9282a85cb62087cbecd6f\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"departments\",\n        \"id\": 1,\n        \"attributes\": {\n            \"name\": \"Atendimento ao cliente\",\n            \"description\": \"Categoria Modelo\",\n            \"active\": true,\n            \"created_at\": \"2019-04-22T17:09:55+00:00\",\n            \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/1\"\n        },\n        \"meta\": {\n            \"open_tickets\": \"\",\n            \"closed_tickets\": \"\",\n            \"tickets_amount\": \"\"\n        },\n        \"relationships\": {\n            \"agents\": {\n                \"data\": [\n                    {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                ]\n            },\n            \"ticket_fields\": {\n                \"data\": [\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 12\n                    },\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 13\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"7ae01667-14aa-4f3d-af90-688f36ba3e31","name":"ID inválido","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments",":id"],"variable":[{"key":"id","value":"100"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 18:16:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Category].\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"20b1be11-4207-4bd8-aa1d-40cc21da03a6"},{"name":"Edição","id":"083130c6-7db8-4cc1-97a1-b94234e71983","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": 8,\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Departamento C - Alterado\",\n\t\t\t\"description\": \"Descrição do departamento - Alterado.\",\n\t\t\t\"email_prefix\": \"dep222\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 3\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 13\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","urlObject":{"protocol":"https","path":["api","v2.0","departments",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[{"id":"865b5117-87e4-4513-b20d-0a0119dfcdb1","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": 8,\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Departamento C - Alterado\",\n\t\t\t\"description\": \"Descrição do departamento - Alterado.\",\n\t\t\t\"email_prefix\": \"dep222\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 3\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 13\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments",":id"],"variable":[{"key":"id","value":"8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 21:11:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"978"},{"key":"ETag","value":"W/\"9550ff0cb6a2a911d167ca00548ca1efbf96d66e\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"departments\",\n        \"id\": 8,\n        \"attributes\": {\n            \"name\": \"Departamento C - Alterado\",\n            \"description\": \"Descrição do departamento - Alterado.\",\n            \"active\": \"1\",\n            \"email_prefix\": \"dep222\",\n            \"created_at\": \"2019-04-22T21:09:56+00:00\",\n            \"updated_at\": \"2019-04-22T21:11:49+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/8\"\n        },\n        \"meta\": {\n            \"open_tickets\": \"\",\n            \"closed_tickets\": \"\",\n            \"tickets_amount\": \"\"\n        },\n        \"relationships\": {\n            \"agents\": {\n                \"data\": [\n                    {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                ]\n            },\n            \"ticket_fields\": {\n                \"data\": [\n                    {\n                        \"type\": \"ticket_fields\",\n                        \"id\": 13\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/departments/8\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"d31ba0bf-0142-4e96-b2a2-e944dabb7052","name":"Campo obrigatório ausente","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"type\": \"departments\",\n\t\t\"attributes\": {\n\t\t\t\"description\": \"Descrição do departamento - Alterado.\",\n\t\t\t\"email_prefix\": \"dep222\",\n\t\t\t\"position\": \"2\",\n\t\t\t\"active\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"agents\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"agents\",\n\t\t\t\t\t\t\"id\": 3\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t\"ticket_fields\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\t\t\t\"id\": 13\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:18:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.name\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"083130c6-7db8-4cc1-97a1-b94234e71983"},{"name":"Remoção","id":"2432bcf0-3bd8-4223-8172-fe2e0a2828e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","urlObject":{"protocol":"https","path":["api","v2.0","departments",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"18","key":"id"}]}},"response":[{"id":"1108c245-fc73-4387-bc4d-ba451441a440","name":"Sucesso","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments",":id"],"variable":[{"key":"id","value":"18"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 12:44:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"961"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":null},{"id":"7fe5416a-d829-471e-a05a-dd39ce1e02ab","name":"ID inválido","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","departments",":id"],"variable":[{"key":"id","value":"180"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:05:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Category] 180\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"2432bcf0-3bd8-4223-8172-fe2e0a2828e1"},{"name":"Remoção em massa","id":"5cae8f2b-1dcf-4e17-b837-2e34d4256750","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"departments\",\n\t\t\t\"id\": 19\n\t\t},\n\t\t{\n\t\t\t\"type\": \"departments\",\n\t\t\t\"id\": 20\n\t\t},\n\t\t{\n\t\t\t\"type\": \"departments\",\n\t\t\t\"id\": 21\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments","urlObject":{"protocol":"https","path":["api","v2.0","departments"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"dd417363-5acb-4ab8-a3c8-037e7d0512b8","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"departments\",\n\t\t\t\"id\": 19\n\t\t},\n\t\t{\n\t\t\t\"type\": \"departments\",\n\t\t\t\"id\": 20\n\t\t},\n\t\t{\n\t\t\t\"type\": \"departments\",\n\t\t\t\"id\": 21\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/departments"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 12:45:02 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "}],"_postman_id":"5cae8f2b-1dcf-4e17-b837-2e34d4256750"},{"name":"Incremental","id":"6d466f6c-f88d-488a-8c34-53e5c30a0437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/departments/incremental?start_time=0","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","departments","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"6d466f6c-f88d-488a-8c34-53e5c30a0437"}],"id":"c2d8bc6f-c1a7-4891-a51b-0cd6e31385bc","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Descrição</td>\n</tr>\n<tr>\n<td>email_preffix</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Prefixo do email</td>\n</tr>\n<tr>\n<td>position</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Ordenação</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Se está ativo</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n<tr>\n<td>tickets_amount</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Total de tickets</td>\n</tr>\n<tr>\n<td>closed_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets fechados</td>\n</tr>\n<tr>\n<td>open_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets abertos</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"tabelas-auxiliares\">Tabelas Auxiliares</h3>\n<h4 id=\"tabela-auxiliar-10---relacionamentos\">Tabela Auxiliar 1.0 - Relacionamentos</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Agents</td>\n<td>Agente vinculado ao departamento</td>\n</tr>\n<tr>\n<td>ticket_fields</td>\n<td>Campo personalizado do ticket vinculado ao departamento</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"7172776d-a043-4dff-97b8-edc25a5eb36e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5b09a9f7-50bf-440e-9bed-027305bffe82","type":"text/javascript","exec":[""]}}],"_postman_id":"c2d8bc6f-c1a7-4891-a51b-0cd6e31385bc"},{"name":"Campos Personalizados","item":[{"name":"Criação","id":"4f893849-5ab4-49c7-b834-971ef054103f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado 1\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":467,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields","urlObject":{"protocol":"https","path":["api","v2.0","ticket_fields"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"15eb2e30-a7b0-490f-a286-5398994e39af","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado 1\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":25,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:08:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.field_type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"7b31602e-6aa5-4500-8ce7-f066a54fb89c","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado 1\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":25,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:07:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"899a6172-1147-40f9-bfa5-a5594aae9e2a","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado 1\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":25,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:07:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"f5be812c-1b7d-4725-b787-7f327fa1b7e6","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado 1\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":25,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:06:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields/16"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"994"},{"key":"ETag","value":"\"87373684a6d5087d0030cfad3a1f76e0396bccab\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"ticket_fields\",\n        \"id\": 16,\n        \"attributes\": {\n            \"label\": \"Campo Personalizado 1\",\n            \"name\": \"campo_personalizado_1\",\n            \"field_type\": \"text\",\n            \"required\": true,\n            \"default_values\": [],\n            \"settings\": {\n                \"only_past_dates\": false\n            },\n            \"ticket_type\": 1,\n            \"position\": \"0\",\n            \"active\": false,\n            \"roles\": {\n                \"visibility\": \"all\"\n            },\n            \"created_at\": \"2019-05-06T20:06:33+00:00\",\n            \"update_at\": \"2019-05-06T20:06:33+00:00\"\n        },\n        \"links\": [],\n        \"relationships\": {\n            \"departments\": {\n                \"data\": [\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/ticket_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"4f893849-5ab4-49c7-b834-971ef054103f"},{"name":"Paginação","id":"c3a24809-b008-42f9-95a4-49736bc44afb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields?filter[label]=Campo Personalizado 1&filter[active]=false&filter[type]=text&filter[required]=true","description":"<p><strong>Filtros:</strong><br />label<br />active<br />type<br />required   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","ticket_fields"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[label]","value":"Campo Personalizado 1"},{"key":"filter[active]","value":"false"},{"key":"filter[type]","value":"text"},{"key":"filter[required]","value":"true"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"10bf7ddb-0e4a-4b20-a069-d6694997a5fe","name":"Filtragem","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields?filter[label]=Campo Personalizado 1&filter[active]=false&filter[type]=text&filter[required]=true","protocol":"https","host":["documentacao","desk360","com","br"],"path":["api","v2.0","ticket_fields"],"query":[{"key":"filter[label]","value":"Campo Personalizado 1"},{"key":"filter[active]","value":"false"},{"key":"filter[type]","value":"text"},{"key":"filter[required]","value":"true"},{"key":"sort","value":"title","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:23:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"W/\"b509abf97f4b58e48c58d07b1b88be0269e828d4\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"ticket_fields\",\n            \"id\": 16,\n            \"attributes\": {\n                \"label\": \"Campo Personalizado 1\",\n                \"name\": \"campo_personalizado_1\",\n                \"field_type\": \"text\",\n                \"required\": true,\n                \"default_values\": [],\n                \"settings\": {\n                    \"only_past_dates\": false\n                },\n                \"ticket_type\": 1,\n                \"position\": 0,\n                \"active\": false,\n                \"roles\": {\n                    \"visibility\": \"all\"\n                },\n                \"created_at\": \"2019-05-06T20:06:33+00:00\",\n                \"update_at\": \"2019-05-06T20:06:33+00:00\"\n            },\n            \"links\": [],\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 25\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/ticket_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"467463f1-d88a-4dce-a898-a50b30e61311","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://documentacao.desk360.com.br/api/v2.0/ticket_fields","protocol":"https","host":["documentacao","desk360","com","br"],"path":["api","v2.0","ticket_fields"],"query":[{"key":"filter[title]","value":"Campo Personalizado 1","type":"text","disabled":true},{"key":"sort","value":"title","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:19:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"968"},{"key":"ETag","value":"W/\"bc7a0c814fab2f1cee9d44fffdd2892ce68857e3\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"ticket_fields\",\n            \"id\": 16,\n            \"attributes\": {\n                \"label\": \"Campo Personalizado 1\",\n                \"name\": \"campo_personalizado_1\",\n                \"field_type\": \"text\",\n                \"required\": true,\n                \"default_values\": [],\n                \"settings\": {\n                    \"only_past_dates\": false\n                },\n                \"ticket_type\": 1,\n                \"position\": 0,\n                \"active\": false,\n                \"roles\": {\n                    \"visibility\": \"all\"\n                },\n                \"created_at\": \"2019-05-06T20:06:33+00:00\",\n                \"update_at\": \"2019-05-06T20:06:33+00:00\"\n            },\n            \"links\": [],\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 25\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"ticket_fields\",\n            \"id\": 14,\n            \"attributes\": {\n                \"label\": \"Campo Personalizado A\",\n                \"name\": \"campo_personalizado_a\",\n                \"field_type\": \"text\",\n                \"required\": true,\n                \"default_values\": [],\n                \"settings\": {\n                    \"only_past_dates\": false\n                },\n                \"ticket_type\": 1,\n                \"position\": 0,\n                \"active\": false,\n                \"roles\": {\n                    \"visibility\": \"all\"\n                },\n                \"created_at\": \"2019-04-29T20:39:16+00:00\",\n                \"update_at\": \"2019-04-29T20:39:16+00:00\"\n            },\n            \"links\": [],\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 25\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"ticket_fields\",\n            \"id\": 13,\n            \"attributes\": {\n                \"label\": \"Campo customizado B\",\n                \"name\": \"campo_customizado_b\",\n                \"field_type\": \"numeric\",\n                \"required\": false,\n                \"default_values\": [],\n                \"settings\": {\n                    \"only_past_dates\": false\n                },\n                \"ticket_type\": 1,\n                \"position\": 0,\n                \"active\": false,\n                \"roles\": {\n                    \"visibility\": \"all\"\n                },\n                \"created_at\": \"2019-04-22T21:10:59+00:00\",\n                \"update_at\": \"2019-04-22T21:10:59+00:00\"\n            },\n            \"links\": [],\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"ticket_fields\",\n            \"id\": 12,\n            \"attributes\": {\n                \"label\": \"Campo customizado A\",\n                \"name\": \"campo_customizado_a\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"default_values\": [],\n                \"settings\": {\n                    \"only_past_dates\": false\n                },\n                \"ticket_type\": 1,\n                \"position\": 0,\n                \"active\": false,\n                \"roles\": {\n                    \"visibility\": \"all\"\n                },\n                \"created_at\": \"2019-04-22T21:04:26+00:00\",\n                \"update_at\": \"2019-04-22T21:04:26+00:00\"\n            },\n            \"links\": [],\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 25\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/ticket_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"c3a24809-b008-42f9-95a4-49736bc44afb"},{"name":"Detalhes","id":"fa38a8a4-9461-48e5-8513-ff4f7b0acc46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","urlObject":{"protocol":"https","path":["api","v2.0","ticket_fields",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"93e94631-ff0a-4e82-88fc-2432d3b7ccec","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_fields",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:42:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"986"},{"key":"ETag","value":"W/\"317b128a9aa10a8e1105c58d1ad00ecbc9ac751e\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"ticket_fields\",\n        \"id\": 1,\n        \"attributes\": {\n            \"label\": \"Celular\",\n            \"name\": \"contact_2\",\n            \"field_type\": \"text\",\n            \"required\": false,\n            \"ticket_type\": 1,\n            \"position\": 4,\n            \"active\": false,\n            \"created_at\": \"2019-04-22T17:09:55+00:00\",\n            \"update_at\": \"2019-04-22T17:09:55+00:00\"\n        },\n        \"links\": []\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/ticket_fields/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"cce8dc25-cd38-4881-9c20-06aa4527cd3d","name":"ID inválido","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_fields",":id"],"variable":[{"key":"id","value":"0"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:43:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ErrorException\",\n            \"title\": \"Trying to get property 'id' of non-object\",\n            \"status\": 500\n        }\n    ]\n}"}],"_postman_id":"fa38a8a4-9461-48e5-8513-ff4f7b0acc46"},{"name":"Edição","id":"aabd3884-cfb8-4cc8-900a-e88483789d0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado Editado\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":23,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","urlObject":{"protocol":"https","path":["api","v2.0","ticket_fields",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"16","key":"id"}]}},"response":[{"id":"2af0edc6-d3ed-4e03-af48-e4dfd9e56708","name":"Campo obrigatório ausente","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":false,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":true,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado Editado\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":23,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_fields",":id"],"variable":[{"key":"id","value":"16"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:47:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"c59e6794-6034-4da5-ad88-c941c90d002a","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{  \n  \"data\":{  \n    \"type\":\"ticket_fields\",\n    \"attributes\":{  \n      \"field_type\":\"text\",\n      \"name\":\"\",\n      \"default_values\":[  \n\n      ],\n      \"ticket_type\":1,\n      \"roles\":{  \n        \"visibility\":\"all\"\n      },\n      \"active\":true,\n      \"settings\":{  \n        \"only_past_dates\":false\n      },\n      \"required\":false,\n      \"position\":\"0\",\n      \"label\":\"Campo Personalizado Editado\"\n    },\n    \"relationships\":{  \n      \"departments\":{  \n        \"data\":[  \n          {  \n            \"id\":23,\n            \"type\":\"departments\"\n          }\n        ]\n      }\n    }\n  },\n  \"meta\":{  \n\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_fields",":id"],"variable":[{"key":"id","value":"16"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:45:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"986"},{"key":"ETag","value":"W/\"0867ec93c1d1ccf38ca0c71497cd0e1f84ec3fa3\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"ticket_fields\",\n        \"id\": 16,\n        \"attributes\": {\n            \"label\": \"Campo Personalizado Editado\",\n            \"name\": \"campo_personalizado_editado\",\n            \"field_type\": \"text\",\n            \"required\": false,\n            \"default_values\": [],\n            \"settings\": {\n                \"only_past_dates\": false\n            },\n            \"ticket_type\": 1,\n            \"position\": \"0\",\n            \"active\": true,\n            \"roles\": {\n                \"visibility\": \"all\"\n            },\n            \"created_at\": \"2019-05-06T20:06:33+00:00\",\n            \"update_at\": \"2019-05-06T20:45:37+00:00\"\n        },\n        \"links\": [],\n        \"relationships\": {\n            \"departments\": {\n                \"data\": [\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 23\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/ticket_fields/16\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"aabd3884-cfb8-4cc8-900a-e88483789d0d"},{"name":"Remoção","id":"d4720b7d-5ed8-4c9f-8982-a33de1ebebe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","urlObject":{"protocol":"https","path":["api","v2.0","ticket_fields",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"16","key":"id"}]}},"response":[{"id":"dbc8e3a0-9aaf-41b7-a762-55611c33f60e","name":"Sucesso","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_fields",":id"],"variable":[{"key":"id","value":"16"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:48:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"988"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "},{"id":"e050644b-0996-44e3-a460-6dc2c4bfaeb2","name":"ID inválido","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","ticket_fields",":id"],"variable":[{"key":"id","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:48:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\CustomField] 0\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"d4720b7d-5ed8-4c9f-8982-a33de1ebebe6"},{"name":"Remoção em massa","id":"a184a61e-1640-407a-b4fe-5c9d5d6ec0c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\"id\": 13\n\t\t},\n\t\t{\n\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\"id\": 12\n\t\t},\n\t\t{\n\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\"id\": 14\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields","urlObject":{"protocol":"https","path":["api","v2.0","ticket_fields"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"26a82686-7dfd-4a27-b4ca-ef16400da11a","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\"id\": 13\n\t\t},\n\t\t{\n\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\"id\": 12\n\t\t},\n\t\t{\n\t\t\t\"type\": \"ticket_fields\",\n\t\t\t\"id\": 14\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/ticket_fields"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 20:49:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"969"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"     "}],"_postman_id":"a184a61e-1640-407a-b4fe-5c9d5d6ec0c6"},{"name":"Campos personalizados vinculados ao ticket","id":"0bb70437-b4e8-4371-bdac-07bcf50708de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/ticket_custom_field/incremental?start_time=0","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","ticket_custom_field","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"0bb70437-b4e8-4371-bdac-07bcf50708de"},{"name":"Incremental Custom Fields","id":"d801ff73-b35e-4e42-a919-8ce7d22564c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/custom_field/incremental?start_time=0","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","custom_field","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"d801ff73-b35e-4e42-a919-8ce7d22564c8"}],"id":"b722896c-57c3-4bb2-86c4-7f8c019788fe","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Descrição do campo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Nome interno do input</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Tipo do campo</td>\n</tr>\n<tr>\n<td>required</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Preenchimento obrigatório</td>\n</tr>\n<tr>\n<td>options</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Possíveis opções quando select</td>\n</tr>\n<tr>\n<td>settings</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Configurações do campo</td>\n</tr>\n<tr>\n<td>roles</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Regras para exibir o campo</td>\n</tr>\n<tr>\n<td>mask</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Formato do campo</td>\n</tr>\n<tr>\n<td>ticket_type</td>\n<td>integer</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>1</td>\n<td>Tipo de Ticket</td>\n</tr>\n<tr>\n<td>position</td>\n<td>integer</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Ordenação</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Se está ativo</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"tabelas-auxiliares\">Tabelas Auxiliares</h3>\n<h4 id=\"tabela-auxiliar-10---relacionamentos\">Tabela Auxiliar 1.0 - Relacionamentos</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>department</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td>Departamento vinculado ao campo personalizado</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"2eaa5722-f437-4417-ae71-9fa62b47a6a3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f187e7d6-267d-4237-99e7-f159445765af","type":"text/javascript","exec":[""]}}],"_postman_id":"b722896c-57c3-4bb2-86c4-7f8c019788fe"}],"id":"58b494c4-9cc0-4512-9440-8ed308b6fb90","description":"<p>Configurações relacionadas a tickets.</p>\n","event":[{"listen":"prerequest","script":{"id":"ec471448-da9e-4e70-ac00-bd248090affa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3390b991-316c-41af-b620-54242e5cf6b7","type":"text/javascript","exec":[""]}}],"_postman_id":"58b494c4-9cc0-4512-9440-8ed308b6fb90"}],"id":"c657e14c-8bec-46a4-9454-67be63e3a00a","description":"<hr />\n<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Código</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Titulo</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Conteudo do ticket</td>\n</tr>\n<tr>\n<td>ticket_type</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Tipo (Externo = 1, Interno = 2)</td>\n</tr>\n<tr>\n<td>priority_id</td>\n<td>numeric</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Id da prioridade</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>array</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Campos personalizados</td>\n</tr>\n<tr>\n<td>due_date</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Prazo de resposta</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>numeric</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Id do status</td>\n</tr>\n<tr>\n<td>is_public</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Ticket publico</td>\n</tr>\n<tr>\n<td>main_ticket</td>\n<td>numeric</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Id do ticket principal</td>\n</tr>\n<tr>\n<td>internal_status</td>\n<td>numeric</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Status interno</td>\n</tr>\n<tr>\n<td>consolidate</td>\n<td>object</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Consolidado</td>\n</tr>\n<tr>\n<td>interaction_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data ultima interação</td>\n</tr>\n<tr>\n<td>closed_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de encerramento</td>\n</tr>\n<tr>\n<td>deleted_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de remoção</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n<tr>\n<td>responsible_changed_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da ultima troca de responsável</td>\n</tr>\n<tr>\n<td>agent_first_interaction_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data primeira interação de um agente</td>\n</tr>\n<tr>\n<td>pause_sla</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Se o ticket está com SLA pausado ou não</td>\n</tr>\n<tr>\n<td>deadline</td>\n<td>object</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Retorna os dados de vencimento do prazo de resposta</td>\n</tr>\n<tr>\n<td>content_preview</td>\n<td>object</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>retorna os primeiros 200 caracteres da primeira interação do ticket</td>\n</tr>\n<tr>\n<td>sla_status</td>\n<td>object</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>contém a informação se ticket está com o SLA pausado ou não</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"tabelas-auxiliares\">Tabelas Auxiliares</h3>\n<h4 id=\"tabela-auxiliar-10---relacionamentos\">Tabela Auxiliar 1.0 - Relacionamentos</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>department</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td>Departamento vinculado ao ticket</td>\n</tr>\n<tr>\n<td>responsible</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>Agente responsável pelo ticket</td>\n</tr>\n<tr>\n<td>requester</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td>Usuário vinculado ao ticket</td>\n</tr>\n<tr>\n<td>author</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>Agente ou usuário criador do ticket</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"d8cffb87-049d-4537-8d12-7c184abe509e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e9f1b044-81da-4d90-977c-f8b3f91bc524","type":"text/javascript","exec":[""]}}],"_postman_id":"c657e14c-8bec-46a4-9454-67be63e3a00a"},{"name":"Pessoas","item":[{"name":"Gerenciar","item":[{"name":"Usuários","item":[{"name":"Criação","id":"4b821269-cb55-496a-9e0d-71d64d2c37f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n      \"type\": \"customers\",\n      \"attributes\": {\n        \"name\": \"Usuário API\",\n        \"email\": \"usuarioapi@desk360.com.br\",\n        \"avatar\": \"https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n        \"active\": 1,\n        \"observations\": \"Observação do usuário API\",\n        \"custom_fields\": {\n          \"position\": \"analista\",\n          \"contact 1\": \"1134123456\",\n          \"street\": \"Rua Brasil\"\n        },\n        \"cell_phone\": \"14915121214\"\n      },\n      \"relationships\": {\n        \"companies\": {\n          \"data\": [\n                {\n                    \"id\": 1,\n                    \"type\": \"companies\"\n                }\n          ]\n        }\n      }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers","urlObject":{"protocol":"https","path":["api","v2.0","customers"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"40f7d406-77d4-4ca1-87e7-11d508661416","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n      \"type\": \"customers\",\n      \"attributes\": {\n        \"name\": \"Usuário API\",\n        \"email\": \"usuarioapi@desk360.com.br\",\n        \"avatar\": \"https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n        \"active\": 1,\n        \"observations\": \"Observação do usuário API\",\n        \"custom_fields\": {\n          \"position\": \"analista\",\n          \"contact 1\": \"1134123456\",\n          \"street\": \"Rua Brasil\"\n        },\n        \"visibility\": false\n      },\n      \"relationships\": {\n        \"companies\": {\n          \"data\": {\n              \"type\": \"companies\",\n              \"id\": 1\n          }\n        }\n      }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 20:42:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"4a6dd9c4-5375-422d-b330-eeed18bc74df","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n      \"type\": \"customers\",\n      \"attributes\": {\n        \"name\": \"Usuário API\",\n        \"email\": \"usuarioapi@desk360.com.br\",\n        \"avatar\": \"https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n        \"active\": 1,\n        \"observations\": \"Observação do usuário API\",\n        \"custom_fields\": {\n          \"position\": \"analista\",\n          \"contact 1\": \"1134123456\",\n          \"street\": \"Rua Brasil\"\n        },\n        \"visibility\": false\n      },\n      \"relationships\": {\n        \"companies\": {\n          \"data\": {\n              \"type\": \"companies\",\n              \"id\": 1\n          }\n        }\n      }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 20:41:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"d3f2f2ba-ed81-4a72-bcd9-79ac28a64dd1","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n      \"type\": \"customers\",\n      \"attributes\": {\n        \"name\": \"\",\n        \"email\": \"\",\n        \"avatar\": \"https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n        \"active\": 1,\n        \"observations\": \"Observação do usuário API\",\n        \"custom_fields\": {\n          \"position\": \"analista\",\n          \"contact 1\": \"1134123456\",\n          \"street\": \"Rua Brasil\"\n        },\n        \"visibility\": false\n      },\n      \"relationships\": {\n        \"companies\": {\n          \"data\": {\n              \"type\": \"companies\",\n              \"id\": 1\n          }\n        }\n      }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 20:45:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.name\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.attributes.email\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"f3775ae2-4e08-4cf0-95fc-d48ca11c477a","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n      \"type\": \"customers\",\n      \"attributes\": {\n        \"name\": \"Usuário API\",\n        \"email\": \"usuarioapi@desk360.com.br\",\n        \"avatar\": \"https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n        \"active\": 1,\n        \"observations\": \"Observação do usuário API\",\n        \"custom_fields\": {\n          \"position\": \"analista\",\n          \"contact 1\": \"1134123456\",\n          \"street\": \"Rua Brasil\"\n        },\n        \"visibility\": false\n      },\n      \"relationships\": {\n        \"companies\": {\n          \"data\": {\n              \"type\": \"companies\",\n              \"id\": 1\n          }\n        }\n      }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 20:23:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/customers/8"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"5ddec6b9026d6e3782dcc26b22a88c24af6f6ff4\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"id\": 8,\n        \"attributes\": {\n            \"name\": \"Usuário API\",\n            \"user_id\": 11,\n            \"email\": \"usuarioapi@desk360.com.br\",\n            \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n            \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n            \"is_confirmed\": false,\n            \"active\": true,\n            \"custom_fields\": {\n                \"position\": \"analista\",\n                \"contact 1\": \"1134123456\",\n                \"street\": \"Rua Brasil\"\n            },\n            \"observations\": \"Observação do usuário API\",\n            \"created_at\": \"2019-04-22T20:23:30+00:00\",\n            \"updated_at\": \"2019-04-22T20:23:30+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/8\"\n        },\n        \"meta\": {\n            \"tickets_amount\": \"\",\n            \"closed_tickets\": \"\",\n            \"open_tickets\": \"\",\n            \"unassigned_tickets\": \"\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": {\n                    \"type\": \"companies\",\n                    \"id\": 1\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"4b821269-cb55-496a-9e0d-71d64d2c37f6"},{"name":"Paginação","id":"0e90ea7f-d980-4e42-952b-20ec4df1a906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers?filter[name]=Usuário A&filter[active]=true&filter[company]=1","description":"<p><strong>Filtros:</strong><br />name<br />active<br />company   </p>\n<p><strong>Ordenações:</strong><br />name<br />active   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","customers"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[name]","value":"Usuário A"},{"key":"filter[active]","value":"true"},{"key":"filter[company]","value":"1"}],"variable":[]}},"response":[{"id":"2290014f-c223-4b61-8ad1-ededa9ad685d","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers?sort=tickets","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customers"],"query":[{"key":"sort","value":"tickets"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 18:47:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `tickets` is not allowed. Allowed sort(s) are `name, active, active`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"239c48b4-9f1c-49df-b522-95b79a324255","name":"Ordenação","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers?sort=name","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customers"],"query":[{"key":"sort","value":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 13:00:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"949"},{"key":"ETag","value":"W/\"b9b1e5ecf0bedd74243f3a46eac410e9dfcb16e1\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"customers\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Equipe Desk360\",\n                \"user_id\": 2,\n                \"email\": \"desk360@desk360.com.br\",\n                \"avatar\": \"https://www.gravatar.com/avatar/193482f5ba223856ff8b20249855c83d?d=mm\",\n                \"avatar_url\": \"https://www.gravatar.com/avatar/193482f5ba223856ff8b20249855c83d?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"custom_fields\": null,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/1\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 2,\n                \"closed_tickets\": 2,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 1\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Usuário A\",\n                \"user_id\": 4,\n                \"email\": \"usuarioa@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:48:15+00:00\",\n                \"updated_at\": \"2019-04-22T17:48:15+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/2\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 8,\n            \"attributes\": {\n                \"name\": \"Usuário API\",\n                \"user_id\": 11,\n                \"email\": \"usuarioapi@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n                \"is_confirmed\": false,\n                \"active\": true,\n                \"custom_fields\": {\n                    \"street\": \"Rua Brasil\",\n                    \"position\": \"analista\",\n                    \"contact 1\": \"1134123456\"\n                },\n                \"observations\": \"Observação do usuário API\",\n                \"created_at\": \"2019-04-22T20:23:30+00:00\",\n                \"updated_at\": \"2019-04-22T20:23:30+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/8\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 3,\n            \"attributes\": {\n                \"name\": \"Usuário B\",\n                \"user_id\": 5,\n                \"email\": \"usuariob@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/a2f192edf982068384d35e713bd0611b?d=mm\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/a2f192edf982068384d35e713bd0611b?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": false,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:49:08+00:00\",\n                \"updated_at\": \"2019-04-22T17:49:08+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/3\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 4,\n            \"attributes\": {\n                \"name\": \"Usuário C\",\n                \"user_id\": 6,\n                \"email\": \"usuarioc@desk360.com.br\",\n                \"avatar\": \"https://www.gravatar.com/avatar/e5c57ec1cb16221359536ffdf0edc969?d=mm\",\n                \"avatar_url\": \"https://www.gravatar.com/avatar/e5c57ec1cb16221359536ffdf0edc969?d=mm\",\n                \"is_confirmed\": false,\n                \"active\": true,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:49:27+00:00\",\n                \"updated_at\": \"2019-04-22T17:49:27+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/4\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            }\n        }\n    ],\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"3775c6ad-7a2d-4738-8569-0e020a28c21f","name":"Filtro inválido","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers?filter[avatar]=avatar&filter[observations]=observação&filter[is_confirmed]=false","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customers"],"query":[{"key":"filter[avatar]","value":"avatar"},{"key":"filter[observations]","value":"observação"},{"key":"filter[is_confirmed]","value":"false"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 21:15:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `avatar, observations, is_confirmed` are not allowed. Allowed filter(s) are `company, name, active, customer`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"7b4280f1-7b61-4a12-80cb-4a05f84d55fd","name":"Sucesso","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2019 21:10:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"987"},{"key":"ETag","value":"W/\"d6978870b34f5b0f688136e1739af792bb6093ff\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"customers\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Equipe Desk360\",\n                \"user_id\": 2,\n                \"email\": \"desk360@desk360.com.br\",\n                \"avatar\": \"https://www.gravatar.com/avatar/193482f5ba223856ff8b20249855c83d?d=mm\",\n                \"avatar_url\": \"https://www.gravatar.com/avatar/193482f5ba223856ff8b20249855c83d?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"custom_fields\": null,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/1\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 2,\n                \"closed_tickets\": 2,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 1\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Usuário A\",\n                \"user_id\": 4,\n                \"email\": \"usuarioa@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:48:15+00:00\",\n                \"updated_at\": \"2019-04-22T17:48:15+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/2\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 8,\n            \"attributes\": {\n                \"name\": \"Usuário API\",\n                \"user_id\": 11,\n                \"email\": \"usuarioapi@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://images.tcdn.com.br/static_inst/desk360/wp-content/uploads/logo-horizontal-1.svg\",\n                \"is_confirmed\": false,\n                \"active\": true,\n                \"custom_fields\": {\n                    \"street\": \"Rua Brasil\",\n                    \"position\": \"analista\",\n                    \"contact 1\": \"1134123456\"\n                },\n                \"observations\": \"Observação do usuário API\",\n                \"created_at\": \"2019-04-22T20:23:30+00:00\",\n                \"updated_at\": \"2019-04-22T20:23:30+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/8\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 3,\n            \"attributes\": {\n                \"name\": \"Usuário B\",\n                \"user_id\": 5,\n                \"email\": \"usuariob@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/a2f192edf982068384d35e713bd0611b?d=mm\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/a2f192edf982068384d35e713bd0611b?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": false,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:49:08+00:00\",\n                \"updated_at\": \"2019-04-22T17:49:08+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/3\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            }\n        },\n        {\n            \"type\": \"customers\",\n            \"id\": 4,\n            \"attributes\": {\n                \"name\": \"Usuário C\",\n                \"user_id\": 6,\n                \"email\": \"usuarioc@desk360.com.br\",\n                \"avatar\": \"https://www.gravatar.com/avatar/e5c57ec1cb16221359536ffdf0edc969?d=mm\",\n                \"avatar_url\": \"https://www.gravatar.com/avatar/e5c57ec1cb16221359536ffdf0edc969?d=mm\",\n                \"is_confirmed\": false,\n                \"active\": true,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:49:27+00:00\",\n                \"updated_at\": \"2019-04-22T17:49:27+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/4\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            }\n        }\n    ],\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"9f03ca2f-258e-4d41-83a7-b89a0127f7a3","name":"Filtragem","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers?filter[name]=Usuário A&filter[active]=active&filter[company]=1","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customers"],"query":[{"key":"filter[name]","value":"Usuário A"},{"key":"filter[active]","value":"active"},{"key":"filter[company]","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 23 Apr 2019 12:53:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"959"},{"key":"ETag","value":"W/\"144000ede9ded1a359ea73d8f6735d013a74b3e8\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"customers\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Usuário A\",\n                \"user_id\": 4,\n                \"email\": \"usuarioa@desk360.com.br\",\n                \"avatar\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"avatar_url\": \"https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://documentacao.desk360.com.br/cdn/images?url=https://www.gravatar.com/avatar/e5df519e5a44cfcf2a6c363a2fd332cc?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"custom_fields\": [],\n                \"created_at\": \"2019-04-22T17:48:15+00:00\",\n                \"updated_at\": \"2019-04-22T17:48:15+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/2\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 0,\n                \"closed_tickets\": 0,\n                \"open_tickets\": 0,\n                \"unassigned_tickets\": 0\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                }\n            }\n        }\n    ],\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"0e90ea7f-d980-4e42-952b-20ec4df1a906"},{"name":"Detalhes","id":"8f8449b1-d32f-4b56-ac4c-60d312124f5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/:id","urlObject":{"protocol":"https","path":["api","v2.0","customers",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"342a6664-c009-4bda-bf74-fa64dd02994a","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:02:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"W/\"4a0c0ad6f3a3d0f202d87636682090aff176fd35\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"id\": 1,\n        \"attributes\": {\n            \"name\": \"Equipe Desk360\",\n            \"user_id\": 2,\n            \"email\": \"desk360@desk360.com.br\",\n            \"avatar\": \"https://www.gravatar.com/avatar/193482f5ba223856ff8b20249855c83d?d=mm\",\n            \"avatar_url\": \"https://www.gravatar.com/avatar/193482f5ba223856ff8b20249855c83d?d=mm\",\n            \"is_confirmed\": true,\n            \"active\": true,\n            \"custom_fields\": null,\n            \"created_at\": \"2019-04-22T17:09:55+00:00\",\n            \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/1\"\n        },\n        \"meta\": {\n            \"tickets_amount\": 2,\n            \"closed_tickets\": 2,\n            \"open_tickets\": 0,\n            \"unassigned_tickets\": 1\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"636d11c5-c3b0-4870-9ca2-80f09c23d3d6","name":"ID inválido","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/000"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:02:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Customer].\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"8f8449b1-d32f-4b56-ac4c-60d312124f5b"},{"name":"Incremental","id":"65922aac-3ce2-46f0-b030-0c9e78b64617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/customers/incremental?start_time=0","description":"<p><strong>Descrição</strong><br />\nFaz a listagem de solicitantes incrementalmente, ideal para importações <br />\nEssa API tem um limite de retorno de 1000 registros por requisição</p>\n<p><strong>Request</strong><br />\nO parâmetro <code>start_time</code> é obrigatório e inicialmente pode ser passado como zero, depois você pode utilizar o timestamp do último registro listado.</p>\n<p><strong>Response</strong><br />\nNo retorno dessa API tem duas chaves:</p>\n<ul>\n<li>A chave <code>data</code>, são os dados a serem consumidos</li>\n<li>A chave <code>meta</code> guarda três informações<ul>\n<li><code>end_of_stream</code> quando true, indica que não há mais registros para listar</li>\n<li><code>total</code> é o total de registros</li>\n<li><code>end_time</code> é o timestamp do último registro importado, você pode utilizar esse end_time para passar na próxima requisição como start_time, e assim ir listando os registros incrementalmente</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","customers","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"65922aac-3ce2-46f0-b030-0c9e78b64617"},{"name":"Edição","id":"9644d016-c370-4f67-9b34-bb407a83b4f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"id\": 14,\n        \"attributes\": {\n            \"name\": \"Usuário Editado API\",\n            \"user_id\": 17,\n            \"email\": \"usuarioeditadoapi@desk360.com.br\",\n            \"avatar\": \"https://www.gravatar.com/avatar/94a54534ad8613d3d76bda4a7aab5a97?d=mm\",\n            \"avatar_url\": \"https://www.gravatar.com/avatar/94a54534ad8613d3d76bda4a7aab5a97?d=mm\",\n            \"is_confirmed\": false,\n            \"active\": 0,\n            \"custom_fields\": {\n                \"position\": \"gerente\",\n                \"contact 1\": \"1199999999\",\n                \"street\": \"Rua São Paulo\"\n            },\n            \"cell_phone\": \"14915121214\",\n            \"observations\": \"Observação editada do usuário API\",\n            \"created_at\": \"2019-04-24T12:20:25+00:00\",\n            \"updated_at\": \"2019-04-24T12:50:20+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/14\"\n        },\n        \"meta\": {\n            \"tickets_amount\": \"\",\n            \"closed_tickets\": \"\",\n            \"open_tickets\": \"\",\n            \"unassigned_tickets\": \"\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": {\n                    \"type\": \"companies\",\n                    \"id\": 1\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/:id","urlObject":{"protocol":"https","path":["api","v2.0","customers",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"14","key":"id"}]}},"response":[{"id":"5c58af54-bd01-4f91-8186-5eaa37103c3d","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n      \"type\": \"customers\",\n      \"id\": \"14\",\n      \"attributes\": {\n        \"name\": \"Usuário Editado API\",\n        \"email\": \"usuarioeditadoapi@desk360.com.br\",\n        \"avatar\": \"\",\n        \"active\": 0,\n        \"observations\": \"Observação editada do usuário API\",\n        \"custom_fields\": {\n          \"position\": \"gerente\",\n          \"contact 1\": \"1199999999\",\n          \"street\": \"Rua São Paulo\"\n        },\n        \"visibility\": true\n      },\n      \"relationships\": {\n        \"companies\": {\n          \"data\": {\n              \"type\": \"companies\",\n              \"id\": 1\n          }\n        }\n      }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customers",":id"],"variable":[{"key":"id","value":"14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:50:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"W/\"b279c6db128cbc582abd15d7c2d70675241d3668\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"id\": 14,\n        \"attributes\": {\n            \"name\": \"Usuário Editado API\",\n            \"user_id\": 17,\n            \"email\": \"usuarioeditadoapi@desk360.com.br\",\n            \"avatar\": \"https://www.gravatar.com/avatar/94a54534ad8613d3d76bda4a7aab5a97?d=mm\",\n            \"avatar_url\": \"https://www.gravatar.com/avatar/94a54534ad8613d3d76bda4a7aab5a97?d=mm\",\n            \"is_confirmed\": false,\n            \"active\": 0,\n            \"custom_fields\": {\n                \"position\": \"gerente\",\n                \"contact 1\": \"1199999999\",\n                \"street\": \"Rua São Paulo\"\n            },\n            \"observations\": \"Observação editada do usuário API\",\n            \"created_at\": \"2019-04-24T12:20:25+00:00\",\n            \"updated_at\": \"2019-04-24T12:50:20+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/14\"\n        },\n        \"meta\": {\n            \"tickets_amount\": \"\",\n            \"closed_tickets\": \"\",\n            \"open_tickets\": \"\",\n            \"unassigned_tickets\": \"\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": {\n                    \"type\": \"companies\",\n                    \"id\": 1\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"c2911297-2e03-4ba9-9592-7868c180be40","name":"Campo obrigatório ausente","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"attributes\": {\n            \"name\": \"Usuário Editado API\",\n            \"user_id\": 17,\n            \"email\": \"usuarioeditadoapi@desk360.com.br\",\n            \"avatar\": \"https://www.gravatar.com/avatar/94a54534ad8613d3d76bda4a7aab5a97?d=mm\",\n            \"avatar_url\": \"https://www.gravatar.com/avatar/94a54534ad8613d3d76bda4a7aab5a97?d=mm\",\n            \"is_confirmed\": false,\n            \"active\": 0,\n            \"custom_fields\": {\n                \"position\": \"gerente\",\n                \"contact 1\": \"1199999999\",\n                \"street\": \"Rua São Paulo\"\n            },\n            \"observations\": \"Observação editada do usuário API\",\n            \"created_at\": \"2019-04-24T12:20:25+00:00\",\n            \"updated_at\": \"2019-04-24T12:50:20+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers/14\"\n        },\n        \"meta\": {\n            \"tickets_amount\": \"\",\n            \"closed_tickets\": \"\",\n            \"open_tickets\": \"\",\n            \"unassigned_tickets\": \"\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": {\n                    \"type\": \"companies\",\n                    \"id\": 1\n                }\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customers\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customers",":id"],"variable":[{"key":"id","value":"14"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 18:43:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.id\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"9644d016-c370-4f67-9b34-bb407a83b4f7"},{"name":"Remoção","id":"5059a323-bc98-4e9b-8267-a9d1ad62360b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/:id","urlObject":{"protocol":"https","path":["api","v2.0","customers",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"360e9c3a-8de5-46c1-87ae-aa623017e947","name":"Sucesso","originalRequest":{"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/10"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:05:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":null},{"id":"e2fbcb53-72a6-42ab-aed0-b7981feeb0c0","name":"ID inválido","originalRequest":{"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/0000"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:06:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Customer] 0\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"5059a323-bc98-4e9b-8267-a9d1ad62360b"},{"name":"Remoção em massa","id":"fcd54ef5-f803-4f28-bc4d-f8dececa1ec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"customers\",\n\t\t\t\"id\": 11\n\t\t},\n\t\t{\n\t\t\t\"type\": \"customers\",\n\t\t\t\"id\": 12\n\t\t},\n\t\t{\n\t\t\t\"type\": \"customers\",\n\t\t\t\"id\": 13\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/","urlObject":{"protocol":"https","path":["api","v2.0","customers",""],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"ba388584-e86a-4bba-9d98-578b0b12bed0","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"customers\",\n\t\t\t\"id\": 11\n\t\t},\n\t\t{\n\t\t\t\"type\": \"customers\",\n\t\t\t\"id\": 12\n\t\t},\n\t\t{\n\t\t\t\"type\": \"customers\",\n\t\t\t\"id\": 13\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 12:14:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"963"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "}],"_postman_id":"fcd54ef5-f803-4f28-bc4d-f8dececa1ec5"},{"name":"Importação","id":"8a4c3a06-7f40-4146-a7c8-2994385ca50c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customers_imports\",\n    \"attributes\": {\n        \"name\": 0,\n        \"email\": 1,\n        \"sheet_data\": [\n            [\"%nome\", \"%email\"],\n            [\"Usuário 1 importação\", \"usuarioimportacao1@desk360.com.br\"],\n            [\"Usuário 2 importação\", \"usuarioimportacao2@desk360.com.br\"] \n        ]\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers_imports","urlObject":{"protocol":"https","path":["api","v2.0","customers_imports"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"ed200332-e529-4e48-ac9e-21b0ff9bd7ec","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customers_imports\",\n    \"attributes\": {\n        \"name\": 0,\n        \"email\": 1,\n        \"sheet_data\": [\n            [\"%nome\", \"%email\"],\n            [\"Usuário 1 importação\", \"usuarioimportacao1@desk360.com.br\"],\n            [\"Usuário 2 importação\", \"usuarioimportacao2@desk360.com.br\"] \n        ]\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customers_imports"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Apr 2019 15:16:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"974"},{"key":"ETag","value":"W/\"97d170e1550eee4afc0af065b78cda302a97674c\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"8a4c3a06-7f40-4146-a7c8-2994385ca50c"}],"id":"c9724ca1-429d-4344-9701-f62d1859c7bd","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Email</td>\n</tr>\n<tr>\n<td>avatar</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>URL do Avatar</td>\n</tr>\n<tr>\n<td>company</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>A empresa</td>\n</tr>\n<tr>\n<td>is_confirmed</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Se cliente confirmou cadastro</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Se está ativo</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Observações, campo livre</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Campos Customizados</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n<tr>\n<td>tickets_amount</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Total de tickets</td>\n</tr>\n<tr>\n<td>closed_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets fechados</td>\n</tr>\n<tr>\n<td>open_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets abertos</td>\n</tr>\n<tr>\n<td>unassigned_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets não atribuídos</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"tabelas-auxiliares\">Tabelas Auxiliares</h3>\n<h4 id=\"tabela-auxiliar-10---relacionamentos\">Tabela Auxiliar 1.0 - Relacionamentos</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Companies</td>\n<td>Organização vinculada ao usuário</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"506a2d2f-d971-459a-9716-998d96b63c1f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8d2b77a1-8309-4932-a6fd-a7b6584244a5","type":"text/javascript","exec":[""]}}],"_postman_id":"c9724ca1-429d-4344-9701-f62d1859c7bd"},{"name":"Colaboradores","item":[{"name":"Criação","id":"716e4265-53a6-47b7-89b4-984a340848d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"agents\",\n        \"attributes\": {\n            \"name\": \"Agente Documentação\",\n            \"email\": \"agente.documentacao@desk360.com.br\",\n            \"role_id\": 2,\n            \"active\": true,\n            \"settings\": {\n                \"omnize\": {\n                    \"chat_enable\": true,\n                    \"chat_limit\": \"9\"\n                },\n                \"notification_enable\": true\n            },\n            \"enable_knowledge_base_viewing\": false,\n            \"enable_knowledge_base_viewing_and_editing\": false,\n            \"attend_whatsapp\": false,\n            \"visualization_type_admin\": false,\n            \"all_groups\": false,\n            \"visualization_type\": false,\n            \"no_group_ticket_visualization\": false\n        },\n        \"relationships\": {\n            \"departments\": {\n                \"data\": [\n                    {\n                        \"id\": 25,\n                        \"type\": \"departments\"\n                    }\n                ]\n            }\n        }\n    },\n    \"meta\": {}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents","urlObject":{"protocol":"https","path":["api","v2.0","agents"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"26c84b02-74e8-46a6-af1c-633a8435fbe8","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"name\":\"Agente Documentação\",\n         \"email\":\"agente.documentacao@desk360.com.br\",\n         \"role_id\":2,\n         \"active\":true,\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         }\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":25,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 20:25:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"56c6d307-7654-46c9-9af9-2974f1ab6e9f","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"name\":\"Agente Documentação\",\n         \"email\":\"agente.documentacao@desk360.com.br\",\n         \"role_id\":2,\n         \"active\":true,\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         }\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":25,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 18:48:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/agents/26"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"960"},{"key":"ETag","value":"\"572b80931a4793542dbb30d94fa4977cb7a08089\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"agents\",\n        \"id\": 26,\n        \"attributes\": {\n            \"name\": \"Agente Documentação\",\n            \"email\": \"agente.documentacao@desk360.com.br\",\n            \"role_id\": 2,\n            \"avatar\": null,\n            \"avatar_url\": \"https://www.gravatar.com/avatar/c0dde06f229af105f38892081739bb64?d=mm\",\n            \"is_confirmed\": false,\n            \"active\": true,\n            \"settings\": {\n                \"omnize\": {\n                    \"chat_enable\": true,\n                    \"chat_limit\": \"9\"\n                },\n                \"notification_enable\": true\n            },\n            \"created_at\": \"2019-05-02T18:48:10+00:00\",\n            \"updated_at\": \"2019-05-02T18:48:10+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/26\"\n        },\n        \"meta\": {\n            \"tickets_amount\": 0,\n            \"open_tickets\": 0,\n            \"has_outer_admin\": null,\n            \"closed_tickets\": 0,\n            \"quantity_of_departments\": 1\n        },\n        \"relationships\": {\n            \"departments\": {\n                \"data\": [\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 25\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"7f483007-d127-48d8-aea8-86281b5c6aaf","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"email\":\"agente.documentacao@desk360.com.br\",\n         \"role_id\":2,\n         \"active\":true,\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         }\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":25,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 20:25:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.name\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"d6f7ba3b-f22b-4669-9121-d3eabe148b7f","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"name\":\"Agente Documentação\",\n         \"email\":\"agente.documentacao@desk360.com.br\",\n         \"role_id\":2,\n         \"active\":true,\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         }\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":25,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 02 May 2019 20:25:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"716e4265-53a6-47b7-89b4-984a340848d9"},{"name":"Paginação","id":"12502302-75bf-4c7a-8b6f-391cfecdb53c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents?filter[user]=Cristian&filter[active]=active&filter[role_id]=1&filter[department]=25&sort=name","description":"<p><strong>Filtros:</strong><br />user<br />active<br />role_id<br />department   </p>\n<p><strong>Ordenações:</strong><br />active<br />enabled<br />tickets_amount<br />name<br />role_id   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","agents"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[user]","value":"Cristian"},{"key":"filter[active]","value":"active"},{"key":"filter[role_id]","value":"1"},{"description":{"content":"<p>Aguardando correção da issue 218.</p>\n","type":"text/plain"},"key":"filter[department]","value":"25"},{"key":"sort","value":"name"}],"variable":[]}},"response":[{"id":"2d3cd698-97a7-4f7e-859d-4ef7e02c526b","name":"Ordenação","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents?sort=name","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents"],"query":[{"key":"sort","value":"name"},{"key":"filter[department]","value":"25","description":"Aguardando correção da issue 218.","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:11:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"970"},{"key":"ETag","value":"W/\"bff89b16e4850be46bcb1790759fb4167567b906\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"agents\",\n            \"id\": 3,\n            \"attributes\": {\n                \"name\": \"Cristian Braga\",\n                \"email\": \"cristian.braga@tray.net.br\",\n                \"role_id\": 1,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": true,\n                        \"chat_limit\": \"9\"\n                    },\n                    \"notification_enable\": true\n                },\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-02T20:12:45+00:00\",\n                \"last_acess\": \"2019-05-02T20:12:45+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 8,\n                \"open_tickets\": 5,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 3,\n                \"quantity_of_departments\": 2\n            },\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"agents\",\n            \"id\": 7,\n            \"attributes\": {\n                \"name\": \"Vitor Rodrigues\",\n                \"email\": \"vrodrigues@tray.net.br\",\n                \"role_id\": 1,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": 1,\n                        \"chat_limit\": null\n                    },\n                    \"notification_enable\": true\n                },\n                \"created_at\": \"2019-04-22T18:16:25+00:00\",\n                \"updated_at\": \"2019-05-02T20:12:42+00:00\",\n                \"last_acess\": \"2019-05-02T20:07:00+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/7\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 3,\n                \"open_tickets\": 2,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 1,\n                \"quantity_of_departments\": 2\n            },\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 25\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"9ff3f248-0f34-41b4-a414-f56547e8b566","name":"Filtragem","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents?filter[user]=Cristian&filter[active]=active&filter[role_id]=1","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents"],"query":[{"key":"filter[user]","value":"Cristian"},{"key":"filter[active]","value":"active"},{"key":"filter[role_id]","value":"1"},{"key":"filter[department]","value":"25","description":"Aguardando correção da issue 218.","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:10:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"951"},{"key":"ETag","value":"W/\"db3744ef1e0180de07c972c6fcaa77f9c08fd139\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"agents\",\n            \"id\": 3,\n            \"attributes\": {\n                \"name\": \"Cristian Braga\",\n                \"email\": \"cristian.braga@tray.net.br\",\n                \"role_id\": 1,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": true,\n                        \"chat_limit\": \"9\"\n                    },\n                    \"notification_enable\": true\n                },\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-02T20:12:45+00:00\",\n                \"last_acess\": \"2019-05-02T20:12:45+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 8,\n                \"open_tickets\": 5,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 3,\n                \"quantity_of_departments\": 2\n            },\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"bfb22e52-e528-47d3-9665-3da60a88f6c3","name":"Filtro inválido","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents?filter[naoexiste_estefiltro]=25","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents"],"query":[{"key":"filter[naoexiste_estefiltro]","value":"25"},{"key":"filter[department]","value":"25","description":"Aguardando correção da issue 218.","type":"text","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:12:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `naoexiste_estefiltro` are not allowed. Allowed filter(s) are `user, name, email, role_id, departments, active`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"f5114551-988e-4e1f-abb1-bdd5355ff465","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents?sort=ord_naoexiste","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents"],"query":[{"key":"filter[department]","value":"25","description":"Aguardando correção da issue 218.","type":"text","disabled":true},{"key":"sort","value":"ord_naoexiste"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:12:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `ord_naoexiste` is not allowed. Allowed sort(s) are `active, enabled, tickets_amount, name, role_id`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"f5deb118-d8ed-4b4b-8635-4e0195805983","name":"sucesso","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 11:38:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"975"},{"key":"ETag","value":"W/\"bff89b16e4850be46bcb1790759fb4167567b906\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"agents\",\n            \"id\": 3,\n            \"attributes\": {\n                \"name\": \"Cristian Braga\",\n                \"email\": \"cristian.braga@tray.net.br\",\n                \"role_id\": 1,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": true,\n                        \"chat_limit\": \"9\"\n                    },\n                    \"notification_enable\": true\n                },\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-02T20:12:45+00:00\",\n                \"last_acess\": \"2019-05-02T20:12:45+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 8,\n                \"open_tickets\": 5,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 3,\n                \"quantity_of_departments\": 2\n            },\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"agents\",\n            \"id\": 7,\n            \"attributes\": {\n                \"name\": \"Vitor Rodrigues\",\n                \"email\": \"vrodrigues@tray.net.br\",\n                \"role_id\": 1,\n                \"avatar\": null,\n                \"avatar_url\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"is_confirmed\": true,\n                \"active\": true,\n                \"settings\": {\n                    \"omnize\": {\n                        \"chat_enable\": 1,\n                        \"chat_limit\": null\n                    },\n                    \"notification_enable\": true\n                },\n                \"created_at\": \"2019-04-22T18:16:25+00:00\",\n                \"updated_at\": \"2019-05-02T20:12:42+00:00\",\n                \"last_acess\": \"2019-05-02T20:07:00+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/7\"\n            },\n            \"meta\": {\n                \"tickets_amount\": 3,\n                \"open_tickets\": 2,\n                \"has_outer_admin\": null,\n                \"closed_tickets\": 1,\n                \"quantity_of_departments\": 2\n            },\n            \"relationships\": {\n                \"departments\": {\n                    \"data\": [\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 23\n                        },\n                        {\n                            \"type\": \"departments\",\n                            \"id\": 25\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"12502302-75bf-4c7a-8b6f-391cfecdb53c"},{"name":"Detalhes","id":"489e78f2-6d9b-427d-b5a4-b8d4cba5f401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","urlObject":{"protocol":"https","path":["api","v2.0","agents",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"3","key":"id"}]}},"response":[{"id":"04773553-adf0-47b5-b4ed-30adc50ff1a2","name":"ID inválido","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents",":id"],"variable":[{"key":"id","value":"30"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:25:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ErrorException\",\n            \"title\": \"Creating default object from empty value\",\n            \"status\": 500\n        }\n    ]\n}"},{"id":"d5778c99-e8d1-45a1-b8ff-f70f8f05ab7a","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:20:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"994"},{"key":"ETag","value":"W/\"3833a4f72860ded490890d70c7054d5cbcacf3f2\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"agents\",\n        \"id\": 3,\n        \"attributes\": {\n            \"name\": \"Cristian Braga\",\n            \"email\": \"cristian.braga@tray.net.br\",\n            \"role_id\": 1,\n            \"avatar\": null,\n            \"avatar_url\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n            \"is_confirmed\": true,\n            \"active\": true,\n            \"settings\": {\n                \"omnize\": {\n                    \"chat_enable\": true,\n                    \"chat_limit\": \"9\"\n                },\n                \"notification_enable\": true\n            },\n            \"created_at\": \"2019-04-22T17:09:55+00:00\",\n            \"updated_at\": \"2019-05-02T20:12:45+00:00\",\n            \"last_acess\": \"2019-05-02T20:12:45+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n        },\n        \"meta\": {\n            \"tickets_amount\": 8,\n            \"open_tickets\": 5,\n            \"has_outer_admin\": 2,\n            \"closed_tickets\": 3,\n            \"quantity_of_departments\": 2\n        },\n        \"relationships\": {\n            \"departments\": {\n                \"data\": [\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 23\n                    },\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"489e78f2-6d9b-427d-b5a4-b8d4cba5f401"},{"name":"Incremental","id":"0a5c0e16-8dd6-4682-9113-2cb7041eec04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/agents/incremental?start_time=0","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","agents","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"0a5c0e16-8dd6-4682-9113-2cb7041eec04"},{"name":"Edição","id":"191c3b58-cf18-4be3-b7af-8039a5e98db1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"id\":3,\n         \"name\":\"Cristian Braga\",\n         \"email\":\"cristian.braga@tray.net.br\",\n         \"role_id\":1,\n         \"active\":true,\n         \"is_confirmed\":true,\n         \"avatar\":null,\n         \"avatar_url\":\"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         },\n         \"enable_knowledge_base_viewing\": false,\n         \"enable_knowledge_base_viewing_and_editing\": false,\n         \"attend_whatsapp\": false,\n         \"visualization_type_admin\": false,\n         \"all_groups\": false,\n    \t \"visualization_type\": false,\n         \"no_group_ticket_visualization\": false,\n         \"created_at\":\"2019-04-22T17:09:55+00:00\",\n         \"updated_at\":\"2019-05-02T20:12:45+00:00\",\n         \"last_acess\":\"2019-05-02T20:12:45+00:00\"\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":23,\n                  \"type\":\"departments\"\n               },\n               {\n                  \"id\":1,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      },\n      \"id\":3,\n      \"meta\":{\n         \"tickets_amount\":8,\n         \"open_tickets\":5,\n         \"has_outer_admin\":2,\n         \"closed_tickets\":3,\n         \"quantity_of_departments\":2\n      },\n      \"links\":{\n         \"self\":\"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","urlObject":{"protocol":"https","path":["api","v2.0","agents",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"3","key":"id"}]}},"response":[{"id":"4c9174f2-2ddc-404c-b90d-31789591e989","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"id\":3,\n         \"name\":\"Cristian Braga\",\n         \"email\":\"cristian.braga@tray.net.br\",\n         \"role_id\":1,\n         \"active\":true,\n         \"is_confirmed\":true,\n         \"avatar\":null,\n         \"avatar_url\":\"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         },\n         \"created_at\":\"2019-04-22T17:09:55+00:00\",\n         \"updated_at\":\"2019-05-02T20:12:45+00:00\",\n         \"last_acess\":\"2019-05-02T20:12:45+00:00\"\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":23,\n                  \"type\":\"departments\"\n               },\n               {\n                  \"id\":1,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      },\n      \"id\":3,\n      \"meta\":{\n         \"tickets_amount\":8,\n         \"open_tickets\":5,\n         \"has_outer_admin\":2,\n         \"closed_tickets\":3,\n         \"quantity_of_departments\":2\n      },\n      \"links\":{\n         \"self\":\"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents",":id"],"variable":[{"key":"id","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:33:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"962"},{"key":"ETag","value":"W/\"e40a4678a44523a7413b14005931f1f726967bb0\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"agents\",\n        \"id\": 3,\n        \"attributes\": {\n            \"name\": \"Cristian Braga\",\n            \"email\": \"cristian.braga@tray.net.br\",\n            \"role_id\": 1,\n            \"avatar\": null,\n            \"avatar_url\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n            \"is_confirmed\": true,\n            \"active\": true,\n            \"settings\": {\n                \"omnize\": {\n                    \"chat_enable\": true,\n                    \"chat_limit\": \"9\"\n                },\n                \"notification_enable\": true\n            },\n            \"created_at\": \"2019-04-22T17:09:55+00:00\",\n            \"updated_at\": \"2019-05-03T12:32:48+00:00\",\n            \"last_acess\": \"2019-05-02T20:12:45+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n        },\n        \"meta\": {\n            \"tickets_amount\": 0,\n            \"open_tickets\": 0,\n            \"has_outer_admin\": null,\n            \"closed_tickets\": 0,\n            \"quantity_of_departments\": 2\n        },\n        \"relationships\": {\n            \"departments\": {\n                \"data\": [\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 23\n                    },\n                    {\n                        \"type\": \"departments\",\n                        \"id\": 1\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"becbc04a-28a2-439a-b6c3-4700b5f4f8f2","name":"ID inválido","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n   \"data\":{\n      \"type\":\"agents\",\n      \"attributes\":{\n         \"id\":3,\n         \"name\":\"Cristian Braga\",\n         \"email\":\"cristian.braga@tray.net.br\",\n         \"role_id\":1,\n         \"active\":true,\n         \"is_confirmed\":true,\n         \"avatar\":null,\n         \"avatar_url\":\"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n         \"settings\":{\n            \"omnize\":{\n               \"chat_enable\":true,\n               \"chat_limit\":\"9\"\n            },\n            \"notification_enable\":true\n         },\n         \"created_at\":\"2019-04-22T17:09:55+00:00\",\n         \"updated_at\":\"2019-05-02T20:12:45+00:00\",\n         \"last_acess\":\"2019-05-02T20:12:45+00:00\"\n      },\n      \"relationships\":{\n         \"departments\":{\n            \"data\":[\n               {\n                  \"id\":23,\n                  \"type\":\"departments\"\n               },\n               {\n                  \"id\":1,\n                  \"type\":\"departments\"\n               }\n            ]\n         }\n      },\n      \"id\":3,\n      \"meta\":{\n         \"tickets_amount\":8,\n         \"open_tickets\":5,\n         \"has_outer_admin\":2,\n         \"closed_tickets\":3,\n         \"quantity_of_departments\":2\n      },\n      \"links\":{\n         \"self\":\"https://documentacao.desk360.com.br/api/v2.0/agents/3\"\n      }\n   },\n   \"meta\":{\n\n   }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents",":id"],"variable":[{"key":"id","value":"30"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:33:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\User] 30\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"191c3b58-cf18-4be3-b7af-8039a5e98db1"},{"name":"Remoção","id":"87930fda-de83-4e37-89a1-f3c9776521dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","urlObject":{"protocol":"https","path":["api","v2.0","agents",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"28","key":"id"}]}},"response":[{"id":"ce91db98-159e-460c-acfb-e39a699c574c","name":"Sucesso","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents",":id"],"variable":[{"key":"id","value":"28"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:42:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "},{"id":"ed04a6b8-bb71-4b19-94d7-99b555738137","name":"ID inválido","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","agents",":id"],"variable":[{"key":"id","value":"280"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 12:42:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\User] 280\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"87930fda-de83-4e37-89a1-f3c9776521dc"},{"name":"Remoção em massa","id":"051ad414-4671-4a6f-a787-8b02866474f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"agents\",\n\t\t\t\"id\": 29\n\t\t},\n\t\t{\n\t\t\t\"type\": \"agents\",\n\t\t\t\"id\": 30\n\t\t},\n\t\t{\n\t\t\t\"type\": \"agents\",\n\t\t\t\"id\": 31\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents","urlObject":{"protocol":"https","path":["api","v2.0","agents"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"88e7bb31-90c6-4e41-914c-30651cf6c6bf","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"agents\",\n\t\t\t\"id\": 29\n\t\t},\n\t\t{\n\t\t\t\"type\": \"agents\",\n\t\t\t\"id\": 30\n\t\t},\n\t\t{\n\t\t\t\"type\": \"agents\",\n\t\t\t\"id\": 31\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/agents"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2019 13:00:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"969"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":" "}],"_postman_id":"051ad414-4671-4a6f-a787-8b02866474f4"}],"id":"80a7677f-da68-46aa-a9a7-6349f877da5b","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td></td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td></td>\n<td>Email</td>\n</tr>\n<tr>\n<td>role</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td>2</td>\n<td>Cargo, 1 = Admin, 2 = Agente</td>\n</tr>\n<tr>\n<td>avatar</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td></td>\n<td>URL do Avatar</td>\n</tr>\n<tr>\n<td>departments</td>\n<td>relationship</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td></td>\n<td>Departamentos que é responsável</td>\n</tr>\n<tr>\n<td>is_confirmed</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Se agente confirmou cadastro</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td>true</td>\n<td>Se está ativo</td>\n</tr>\n<tr>\n<td>settings</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td></td>\n<td>Configurações</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n<tr>\n<td>login_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX \" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de último login</td>\n</tr>\n<tr>\n<td>tickets_amount</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Total de tickets</td>\n</tr>\n<tr>\n<td>closed_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets fechados</td>\n</tr>\n<tr>\n<td>open_tickets</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Tickets abertos</td>\n</tr>\n<tr>\n<td>quantity_of_departaments</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Quantidade de departamentos vinculados ao colaborador</td>\n</tr>\n<tr>\n<td>has_outer_admin</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Retorna se há administrador cadastrado no sistema</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"e5998d01-52e3-4548-bd8d-b91344a108fa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2b42e485-c7a1-423d-b51a-a2236af6aa3e","type":"text/javascript","exec":[""]}}],"_postman_id":"80a7677f-da68-46aa-a9a7-6349f877da5b"},{"name":"Organizações","item":[{"name":"Criação","id":"b4af5e8c-62e2-45a9-8e52-70cf520e72a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"companies\",\n        \"attributes\": {\n            \"name\": \"Nome organização\",\n            \"observation\": \"Observação\",\n            \"active\": true,\n            \"visibility\": false,\n            \"domains\": [],\n            \"custom_fields\": {}\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies","urlObject":{"protocol":"https","path":["api","v2.0","companies"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"8d7be22e-1037-48e5-8f7a-7f8df6c27539","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome da organização\",\n\t\t\t\"observation\": \"Observação da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"true\"\n\t\t}\n\t}\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/companies"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 13 Mar 2019 16:32:30 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"913c7799-174e-4bca-9153-936bafc2ddb8","name":"Token expirado","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome da organização\",\n\t\t\t\"observation\": \"Observação da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"true\"\n\t\t}\n\t}\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/companies"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 13 Mar 2019 16:33:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token has expired\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"9880857d-0e1f-462c-87a6-0b22c0fc18e0","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome da organização\",\n\t\t\t\"observation\": \"Observação da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"true\"\n\t\t}\n\t}\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/companies"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Date","value":"Wed, 13 Mar 2019 15:15:14 GMT"},{"key":"Location","value":"https://saciii_qa.jupiter.desk360-dev.com.br/api/v2.0/companies/3"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"20da22808ee4ad3d7ceb02f554b9b37bb745ec0a\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"companies\",\n        \"id\": 3,\n        \"attributes\": {\n            \"name\": \"Nome da organização\",\n            \"active\": \"true\",\n            \"observation\": \"Observação da organização\",\n            \"visibility\": \"1\"\n        },\n        \"links\": {\n            \"self\": \"https://saciii_qa.jupiter.desk360-dev.com.br/api/v2.0/companies/3\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://saciii_qa.jupiter.desk360-dev.com.br/api/v2.0/companies\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"9b0b3215-db8d-4012-9364-38a1967c8ef2","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"\",\n\t\t\t\"observation\": \"Observação da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"true\"\n\t\t}\n\t}\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/companies"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 13 Mar 2019 15:16:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.name\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"e5eda1d4-52a4-4c32-b810-0c6eff87d020","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome da organização\",\n\t\t\t\"observation\": \"Observação da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"true\"\n\t\t}\n\t}\n}"},"url":"https://documentacao.desk360.com.br/api/v2.0/companies"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 13 Mar 2019 16:32:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"}],"_postman_id":"b4af5e8c-62e2-45a9-8e52-70cf520e72a5"},{"name":"Paginação","id":"3636a2e7-be56-47e6-88ea-7b2e48e1ff9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies?page[number]=1&page[size]=10&filter[name]=Organização A&filter[active]=true&filter[visibility]=true&sort=active&sort=name&sort=visibility","description":"<p><strong>Filtros:</strong><br />name<br />active<br />visibility   </p>\n<p><strong>Ordenações:</strong><br />name<br />active<br />visibility   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","companies"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"description":{"content":"<p>Página que deve ser retornada.</p>\n","type":"text/plain"},"key":"page[number]","value":"1"},{"description":{"content":"<p>Quantidade máxima de registros por página.</p>\n","type":"text/plain"},"key":"page[size]","value":"10"},{"description":{"content":"<p>Filtro por nome da organização</p>\n","type":"text/plain"},"key":"filter[name]","value":"Organização A"},{"description":{"content":"<p>Filtro por status (ativo/inativo) da organização</p>\n","type":"text/plain"},"key":"filter[active]","value":"true"},{"key":"filter[visibility]","value":"true"},{"description":{"content":"<p>Ordenação pelo status (ativo/inativo) da organização</p>\n","type":"text/plain"},"key":"sort","value":"active"},{"description":{"content":"<p>Ordenação pelo nome da organização</p>\n","type":"text/plain"},"key":"sort","value":"name"},{"description":{"content":"<p>Ordenação pela opção de \"Visível a todos os usuários\"</p>\n","type":"text/plain"},"key":"sort","value":"visibility"}],"variable":[]}},"response":[{"id":"2a7e37db-1889-47ce-a201-51578227613c","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies?page[number]=1&page[size]=10","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies"],"query":[{"key":"page[number]","value":"1","description":"Página que deve ser retornada."},{"key":"page[size]","value":"10","description":"Quantidade máxima de registros por página."},{"key":"filter[name]","value":"Organização A","description":"Filtro por nome da organização","disabled":true},{"key":"filter[active]","value":"true","description":"Filtro por status ativo/inativo da organização","disabled":true},{"key":"sort[name]","value":"","type":"text","disabled":true},{"key":"sort[active]","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 14:56:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"987"},{"key":"ETag","value":"W/\"8f7a7d96794add87aae8fd821f4e08c6b9f6bf1b\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"companies\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Organização A\",\n                \"active\": true,\n                \"visibility\": false\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n            }\n        },\n        {\n            \"type\": \"companies\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Organização B\",\n                \"active\": true,\n                \"visibility\": false\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/2\"\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://documentacao.desk360.com.br/api/v2.0/companies?page%5Bsize%5D=10&page%5Bnumber%5D=1\",\n        \"last\": \"http://documentacao.desk360.com.br/api/v2.0/companies?page%5Bsize%5D=10&page%5Bnumber%5D=1\",\n        \"prev\": null,\n        \"next\": null,\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"path\": \"http://documentacao.desk360.com.br/api/v2.0/companies\",\n        \"per_page\": 10,\n        \"to\": 2,\n        \"total\": 2\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    }\n}"},{"id":"480e40c3-4e24-45d2-9e86-f70f71f3256c","name":"Filtragem","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies?filter[name]=Organização A&filter[active]=true","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies"],"query":[{"key":"page[number]","value":"1","description":"Página que deve ser retornada.","disabled":true},{"key":"page[size]","value":"10","description":"Quantidade máxima de registros por página.","disabled":true},{"key":"filter[name]","value":"Organização A","description":"Filtro por nome da organização"},{"key":"filter[active]","value":"true","description":"Filtro por status ativo/inativo da organização"},{"key":"sort[name]","value":"","type":"text","disabled":true},{"key":"sort[active]","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 14:58:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"978"},{"key":"ETag","value":"W/\"74c362233e94f8dc1d129835531ddac90e94752a\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"companies\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Organização A\",\n                \"active\": true,\n                \"visibility\": false\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://documentacao.desk360.com.br/api/v2.0/companies?page%5Bsize%5D=10&filter%5Bname%5D=Organiza%C3%A7%C3%A3o%20A&filter%5Bactive%5D=true&page%5Bnumber%5D=1\",\n        \"last\": \"http://documentacao.desk360.com.br/api/v2.0/companies?page%5Bsize%5D=10&filter%5Bname%5D=Organiza%C3%A7%C3%A3o%20A&filter%5Bactive%5D=true&page%5Bnumber%5D=1\",\n        \"prev\": null,\n        \"next\": null,\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"path\": \"http://documentacao.desk360.com.br/api/v2.0/companies\",\n        \"per_page\": 10,\n        \"to\": 1,\n        \"total\": 1\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    }\n}"},{"id":"89517cfb-df5a-44fb-9739-2dbe182b00fe","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies?sort=parametro_naoexiste","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies"],"query":[{"key":"page[number]","value":"1","description":"Página que deve ser retornada.","disabled":true},{"key":"page[size]","value":"10","description":"Quantidade máxima de registros por página.","disabled":true},{"key":"filter[name]","value":"Organização A","description":"Filtro por nome da organização","disabled":true},{"key":"filter[active]","value":"true","description":"Filtro por status (ativo/inativo) da organização","disabled":true},{"key":"sort","value":"parametro_naoexiste","description":"Ordenação pelo status (ativo/inativo) da organização"},{"key":"sort","value":"name","description":"Ordenação pelo nome da organização","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 15:05:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `parametro_naoexiste` is not allowed. Allowed sort(s) are `visibility, name, active`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"b0130de8-469c-4c76-8772-0f96aaffc320","name":"Filtro inválido","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies?filter[invalido]=true","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies"],"query":[{"key":"page[number]","value":"1","description":"Página que deve ser retornada.","disabled":true},{"key":"page[size]","value":"10","description":"Quantidade máxima de registros por página.","disabled":true},{"key":"filter[name]","value":"Organização A","description":"Filtro por nome da organização","disabled":true},{"key":"filter[active]","value":"true","description":"Filtro por status (ativo/inativo) da organização","disabled":true},{"key":"sort","value":"active","description":"Ordenação pelo status (ativo/inativo) da organização","disabled":true},{"key":"sort","value":"name","description":"Ordenação pelo nome da organização","disabled":true},{"key":"sort","value":"visibility","description":"Ordenação pela opção de \"Visível a todos os usuários\"","type":"text","disabled":true},{"key":"filter[invalido]","value":"true"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 15:07:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `invalido` are not allowed. Allowed filter(s) are `name, active, visibility`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"f526894a-b588-4226-bbd4-de64b3532d55","name":"Ordenação","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies?sort=name","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies"],"query":[{"key":"page[number]","value":"1","description":"Página que deve ser retornada.","disabled":true},{"key":"page[size]","value":"10","description":"Quantidade máxima de registros por página.","disabled":true},{"key":"filter[name]","value":"Organização A","description":"Filtro por nome da organização","disabled":true},{"key":"filter[active]","value":"true","description":"Filtro por status ativo/inativo da organização","disabled":true},{"key":"sort[active]","value":"","type":"text","disabled":true},{"key":"sort","value":"name","description":"Ordenação pelo nome da organização"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 14:59:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"972"},{"key":"ETag","value":"W/\"197de3da8efff3ec1612c73773851cb958788c82\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"companies\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Organização A\",\n                \"active\": true,\n                \"visibility\": false\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n            }\n        },\n        {\n            \"type\": \"companies\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Organização B\",\n                \"active\": true,\n                \"visibility\": false\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/2\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"3636a2e7-be56-47e6-88ea-7b2e48e1ff9f"},{"name":"Detalhes","id":"5d1883af-d245-430b-a873-5f8100492e59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","urlObject":{"protocol":"https","path":["api","v2.0","companies",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"5c6803c3-b170-436d-b649-00139599a758","name":"ID inválido","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies",":id"],"variable":[{"key":"id","value":"11111"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 17:51:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Company].\",\n            \"status\": 404\n        }\n    ]\n}"},{"id":"7966c5ff-e8e4-42c1-9dc9-a598a62266d9","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 15:11:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"W/\"07284513a271032de80247faeacf0cb48a3a7fbf\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"companies\",\n        \"id\": 1,\n        \"attributes\": {\n            \"name\": \"Organização A\",\n            \"active\": true,\n            \"observation\": \"Observação da organização\",\n            \"visibility\": true\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"5d1883af-d245-430b-a873-5f8100492e59"},{"name":"Edição","id":"e2b18b2e-0822-49b3-a646-ac93a377166e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": 5,\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome da organização alterado\",\n\t\t\t\"observation\": \"Observação da organização...\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"false\"\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/5","urlObject":{"protocol":"https","path":["api","v2.0","companies","5"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"738858af-dbce-4932-99b2-b8cb17615c1f","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome editado da organização\",\n\t\t\t\"observation\": \"Observação editada da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"false\"\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 17:59:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"996"},{"key":"ETag","value":"W/\"2a612accb0923b35fec39a6d07905a91f0d8ee8a\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"companies\",\n        \"id\": 1,\n        \"attributes\": {\n            \"name\": \"Nome editado da organização\",\n            \"active\": \"false\",\n            \"observation\": \"Observação editada da organização\",\n            \"visibility\": \"1\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"f0887af9-118a-458f-8aa3-83b0ec2af70f","name":"ID inválido","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": 1,\n\t\t\"type\": \"companies\",\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Nome editado da organização\",\n\t\t\t\"observation\": \"Observação editada da organização\",\n\t\t\t\"visibility\": \"1\",\n\t\t\t\"active\": \"false\"\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies",":id"],"variable":[{"key":"id","value":"11111"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 18:00:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Company] 11111\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"e2b18b2e-0822-49b3-a646-ac93a377166e"},{"name":"Remoção","id":"8d81895b-d0e5-45c4-ab20-06f8e8e6c9ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","urlObject":{"protocol":"https","path":["api","v2.0","companies",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"5","key":"id"}]}},"response":[{"id":"a780f552-bf08-45dc-9cf0-95ad4cca0013","name":"ID inválido","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies",":id"],"variable":[{"key":"id","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 18:03:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Company] 0\",\n            \"status\": 404\n        }\n    ]\n}"},{"id":"fdb796f8-ace6-442d-8889-68c6920c803c","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","companies",":id"],"variable":[{"key":"id","value":"5"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 18:02:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"974"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "}],"_postman_id":"8d81895b-d0e5-45c4-ab20-06f8e8e6c9ac"},{"name":"Remoção em massa","id":"4df4430a-ea8d-40a4-9360-934d43094efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"companies\",\n\t\t\t\"id\": 1\n\t\t},\n\t\t{\n\t\t\t\"type\": \"companies\",\n\t\t\t\"id\": 2\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies","description":"<p><strong>Obs.:</strong> Caso contenha ids inválidos ou inexistentes no Body, será retornado o status code \"204 No Content\" e ids incorretos serão ignorados.</p>\n","urlObject":{"protocol":"https","path":["api","v2.0","companies"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"b8c2add9-3e09-4a8a-8ba5-05358af17cf9","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"companies\",\n\t\t\t\"id\": 2\n\t\t},\n\t\t{\n\t\t\t\"type\": \"companies\",\n\t\t\t\"id\": 4\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/companies"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 18:04:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"980"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"     "}],"_postman_id":"4df4430a-ea8d-40a4-9360-934d43094efa"},{"name":"Incremental","id":"72d9dc49-a64b-493e-ab65-b680b373b34b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/companies/incremental?start_time=0","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","companies","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"72d9dc49-a64b-493e-ab65-b680b373b34b"}],"id":"d80137d9-ee76-4c4f-b1a0-7779c2d1b3d9","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Título da organização</td>\n</tr>\n<tr>\n<td>visibility</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Visualização dos usuários da organização: 0 = Pode visualizar apenas tickets próprios e 1 = Pode visualizar todos os tickets da organização</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Se está ativo</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"12b3b7d4-ef77-461a-8a57-17d9ab5bef45","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"99039b65-210e-4959-af99-ff8f6e317999","type":"text/javascript","exec":[""]}}],"_postman_id":"d80137d9-ee76-4c4f-b1a0-7779c2d1b3d9"},{"name":"Grupos de colaboradores","item":[{"name":"Incremental","id":"7e86b8a4-0101-420f-8fdc-bde973e771fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.localhost/api/v3.0/api/v3.0/groups/incremental?start_time=0","urlObject":{"protocol":"http","path":["api","v3.0","api","v3.0","groups","incremental"],"host":["{{subdomain}}","desk360","localhost"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"7e86b8a4-0101-420f-8fdc-bde973e771fc"}],"id":"adc85325-a89c-4b89-8350-583591a8ba19","_postman_id":"adc85325-a89c-4b89-8350-583591a8ba19","description":""}],"id":"666b541b-4fbf-4098-bfe4-da2901aef01e","description":"<p>Gerenciamento das opções de Clientes, Colaboradores e Organizações.</p>\n","_postman_id":"666b541b-4fbf-4098-bfe4-da2901aef01e"},{"name":"Configurações","item":[{"name":"Campos de Cadastro","item":[{"name":"Criação","id":"09883b1a-f091-4339-ab2d-b82b2838cc02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção A\",\n        \"Opção B\",\n        \"Opção C\"\n      ],\n      \"active\": true,\n      \"required\": true,\n      \"label\": \"Campo de Cadastro 1\"\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields","urlObject":{"protocol":"https","path":["api","v2.0","customer_fields"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"1bad5a3f-8f1d-4bf6-8c3a-e74c9036e353","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção A\",\n        \"Opção B\",\n        \"Opção C\"\n      ],\n      \"active\": true,\n      \"required\": true,\n      \"label\": \"Campo de Cadastro 1\"\n    }\n  },\n  \"meta\": {}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:33:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"60506df5-353a-4692-9d5d-9db5ee16c0dd","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção A\",\n        \"Opção B\",\n        \"Opção C\"\n      ],\n      \"active\": true,\n      \"required\": true,\n      \"label\": \"Campo de Cadastro 1\"\n    }\n  },\n  \"meta\": {}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:31:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/customer_fields/20"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"\"11c8354172e583d1a528e478c01e3cae57100465\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"customer_fields\",\n        \"id\": 20,\n        \"attributes\": {\n            \"editable\": true,\n            \"label\": \"Campo de Cadastro 1\",\n            \"name\": \"campo_de_cadastro_1\",\n            \"field_type\": \"select\",\n            \"required\": true,\n            \"default_values\": [\n                \"Opção A\",\n                \"Opção B\",\n                \"Opção C\"\n            ],\n            \"position\": 14,\n            \"active\": true,\n            \"created_at\": \"2019-05-14T14:31:47+00:00\",\n            \"updated_at\": \"2019-05-14T14:31:47+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/20\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"7c1c930d-16b1-498e-be3f-eff757fbccbe","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção A\",\n        \"Opção B\",\n        \"Opção C\"\n      ],\n      \"active\": true,\n      \"required\": true,\n      \"label\": \"Campo de Cadastro 1\"\n    }\n  },\n  \"meta\": {}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:33:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"e3460883-8466-43cd-8b4c-97c5b96e293b","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"attributes\": {\n      \"field_type\": \"\",\n      \"default_values\": [\n        \"Opção A\",\n        \"Opção B\",\n        \"Opção C\"\n      ],\n      \"active\": ,\n      \"required\": true,\n      \"label\": \"Campo de Cadastro 1\"\n    }\n  },\n  \"meta\": {}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:34:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.attributes.label\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.attributes.field_type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"09883b1a-f091-4339-ab2d-b82b2838cc02"},{"name":"Paginação","id":"fa85f4da-cb7b-4f3d-bb8d-ba1c6aaec349","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/?filter[active]=false&filter[field_type]=text&filter[required]=false&filter[label]=Telefone","description":"<p><strong>Filtros:</strong><br />active<br />field_type<br />required<br />label   </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","customer_fields",""],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[active]","value":"false"},{"key":"filter[field_type]","value":"text"},{"key":"filter[required]","value":"false"},{"key":"filter[label]","value":"Telefone"}],"variable":[]}},"response":[{"id":"17bb19d3-e850-4bc5-bbcb-0e0952bfa4cd","name":"Filtro inválido","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/?filter[invalido]=invalido","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",""],"query":[{"key":"filter[invalido]","value":"invalido"},{"key":"filter[active]","value":"false","disabled":true},{"key":"filter[field_type]","value":"text","disabled":true},{"key":"filter[required]","value":"false","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:38:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `invalido` are not allowed. Allowed filter(s) are `label, active, required, field_type`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"3aa187b8-d4cf-4bc8-b65d-5a3b3f872632","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:36:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"956"},{"key":"ETag","value":"W/\"ec1dda191c4ea0551a64ecdd24baffd082918c70\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 7,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Cargo\",\n                \"name\": \"position\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 1,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T18:37:58+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/7\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 8,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Departamento\",\n                \"name\": \"departament\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 2,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-04-22T17:09:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/8\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 2,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Telefone\",\n                \"name\": \"contact_1\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 4,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:25:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/2\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 1,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Celular\",\n                \"name\": \"contact_2\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 5,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/1\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 3,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Endereço\",\n                \"name\": \"street\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 6,\n                \"active\": true,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/3\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 4,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Bairro\",\n                \"name\": \"neighborhood\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 7,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/4\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 5,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Cidade\",\n                \"name\": \"city\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 8,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/5\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 6,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Estado\",\n                \"name\": \"state\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 9,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/6\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 11,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Site\",\n                \"name\": \"website\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 9,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/11\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 9,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Twitter\",\n                \"name\": \"twitter\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 10,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/9\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 10,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Facebook\",\n                \"name\": \"facebook\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 11,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/10\"\n            }\n        },\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 20,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Campo de Cadastro 1\",\n                \"name\": \"campo_de_cadastro_1\",\n                \"field_type\": \"select\",\n                \"required\": true,\n                \"default_values\": [\n                    \"Opção A\",\n                    \"Opção B\",\n                    \"Opção C\"\n                ],\n                \"position\": 14,\n                \"active\": true,\n                \"created_at\": \"2019-05-14T14:31:47+00:00\",\n                \"updated_at\": \"2019-05-14T14:31:47+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/20\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"759eddf3-bfa3-4a03-8cd7-a3eab7d1281e","name":"Filtragem","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NhY2lpaV9xYS5qdXBpdGVyLmRlc2szNjAtZGV2LmNvbS5ici9hcGkvdjIuMC90b2tlbnMiLCJpYXQiOjE1NTI0NzkxNTYsImV4cCI6MTU1MjUxNTE1NiwibmJmIjoxNTUyNDc5MTU2LCJqdGkiOiIyT0JBR2hPRUxXaDBBcHdZIiwic3ViIjozLCJwcnYiOiJhYjI0ZThiN2Q5NGM3OGY2ODIwYWNjYzAyZWVlYmQ4ZjIxY2E4YmI2In0.h3F1PzN6UojL5vMlNzzGcRUHzLbQDHFXWlCOEO9W290","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/?filter[label]=Telefone&filter[active]=false&filter[field_type]=text&filter[required]=false","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",""],"query":[{"key":"filter[label]","value":"Telefone"},{"key":"filter[active]","value":"false"},{"key":"filter[field_type]","value":"text"},{"key":"filter[required]","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:37:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"965"},{"key":"ETag","value":"W/\"f3698a7a78f55ca590569620b60a946d2c189477\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"customer_fields\",\n            \"id\": 2,\n            \"attributes\": {\n                \"editable\": true,\n                \"label\": \"Telefone\",\n                \"name\": \"contact_1\",\n                \"field_type\": \"text\",\n                \"required\": false,\n                \"position\": 4,\n                \"active\": false,\n                \"created_at\": \"2019-04-22T17:09:55+00:00\",\n                \"updated_at\": \"2019-05-14T14:25:55+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/2\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"fa85f4da-cb7b-4f3d-bb8d-ba1c6aaec349"},{"name":"Detalhes","id":"a89e9ef9-3c70-46bc-b11f-ca5e0b4d46a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","urlObject":{"protocol":"https","path":["api","v2.0","customer_fields",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"4298e540-b4dc-46e9-b90e-d7363d41a953","name":"ID inválido","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",":id"],"variable":[{"key":"id","value":"0101"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:40:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ErrorException\",\n            \"title\": \"Trying to get property 'id' of non-object\",\n            \"status\": 500\n        }\n    ]\n}"},{"id":"7f998590-5ffc-456f-a50f-f28539097b1e","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:39:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"993"},{"key":"ETag","value":"W/\"b867771dfe30cb8905cfde19293200bfd5b654f8\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"customer_fields\",\n        \"id\": 1,\n        \"attributes\": {\n            \"editable\": true,\n            \"label\": \"Celular\",\n            \"name\": \"contact_2\",\n            \"field_type\": \"text\",\n            \"required\": false,\n            \"position\": 5,\n            \"active\": false,\n            \"created_at\": \"2019-04-22T17:09:55+00:00\",\n            \"updated_at\": \"2019-05-14T14:21:54+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/1\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"a89e9ef9-3c70-46bc-b11f-ca5e0b4d46a1"},{"name":"Edição","id":"06f6bceb-4582-45d7-b7f5-9b8d85d0f068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"id\": \"20\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção 1\",\n        \"Opção 2\",\n        \"Opção 3\"\n      ],\n      \"active\": false,\n      \"required\": false,\n      \"label\": \"Campo de Cadastro A\"\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","urlObject":{"protocol":"https","path":["api","v2.0","customer_fields",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"20","key":"id"}]}},"response":[{"id":"03e76a0e-a283-4958-a46f-705f4c96caca","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"id\": \"20\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção 1\",\n        \"Opção 2\",\n        \"Opção 3\"\n      ],\n      \"active\": false,\n      \"required\": false,\n      \"label\": \"Campo de Cadastro A\"\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",":id"],"variable":[{"key":"id","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:43:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"993"},{"key":"ETag","value":"W/\"bb7010bc029ce880f10456d201d1cf74e45083f7\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"customer_fields\",\n        \"id\": 20,\n        \"attributes\": {\n            \"editable\": true,\n            \"label\": \"Campo de Cadastro A\",\n            \"name\": \"campo_de_cadastro_a\",\n            \"field_type\": \"select\",\n            \"required\": false,\n            \"default_values\": [\n                \"Opção 1\",\n                \"Opção 2\",\n                \"Opção 3\"\n            ],\n            \"position\": 14,\n            \"active\": false,\n            \"created_at\": \"2019-05-14T14:31:47+00:00\",\n            \"updated_at\": \"2019-05-14T14:43:07+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields/20\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/customer_fields\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"83c6b8c6-ef63-4adf-adcd-53cc7aee8854","name":"Campo obrigatório ausente","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer_fields\",\n    \"id\": \"\",\n    \"attributes\": {\n      \"field_type\": \"select\",\n      \"default_values\": [\n        \"Opção 1\",\n        \"Opção 2\",\n        \"Opção 3\"\n      ],\n      \"active\": ,\n      \"required\": false,\n      \"label\": \"Campo de Cadastro A\"\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",":id"],"variable":[{"key":"id","value":"20"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:43:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.id\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"06f6bceb-4582-45d7-b7f5-9b8d85d0f068"},{"name":"Remoção","id":"cf4d330e-f716-4435-82e8-48c777f8ab73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","urlObject":{"protocol":"https","path":["api","v2.0","customer_fields",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"20","key":"id"}]}},"response":[{"id":"12f64ed0-8e41-4d1d-a174-355926ca8209","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",":id"],"variable":[{"key":"id","value":"20"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:45:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "},{"id":"f813daf2-640c-4aaa-8957-2ead1a7e4641","name":"ID inválido","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","customer_fields",":id"],"variable":[{"key":"id","value":"00"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:45:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\CustomField] 0\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"cf4d330e-f716-4435-82e8-48c777f8ab73"},{"name":"Remoção em massa","id":"61c5d793-8006-451c-9196-9e4a88532fea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"customer_fields\",\n\t\t\t\"id\": 7\n\t\t},\n\t\t{\n\t\t\t\"type\": \"customer_fields\",\n\t\t\t\"id\": 8\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields","description":"<p><strong>Obs.:</strong> Caso contenha ids inválidos ou inexistentes no Body, será retornado o status code \"204 No Content\" e ids incorretos serão ignorados.</p>\n","urlObject":{"protocol":"https","path":["api","v2.0","customer_fields"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"81344979-783a-4486-aa5d-45660eccc220","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"customer_fields\",\n\t\t\t\"id\": 7\n\t\t},\n\t\t{\n\t\t\t\"type\": \"customer_fields\",\n\t\t\t\"id\": 8\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/customer_fields"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 14:46:34 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"61c5d793-8006-451c-9196-9e4a88532fea"}],"id":"9ce49048-38e8-4e43-80df-5dfbdc7836db","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Descrição do campo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Nome interno do input</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Texto: <code>text</code>, Conjunto: <code>select</code>, Data: <code>date</code>, Numérico: <code>numeric</code>, Telefone: <code>phone</code></td>\n</tr>\n<tr>\n<td>required</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Define o se o preenchimento é obrigatório</td>\n</tr>\n<tr>\n<td>default_values</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Possíveis opções quando caixa de seleção</td>\n</tr>\n<tr>\n<td>position</td>\n<td>integer</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Posição em que será exibido entre os demais campos</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>true</td>\n<td>Define se está ativo e é exibido no cadastro</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"657b5d4a-5385-4ceb-871a-c0574059cf97","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"960e72e9-7380-491b-ac06-9da80225db02","type":"text/javascript","exec":[""]}}],"_postman_id":"9ce49048-38e8-4e43-80df-5dfbdc7836db"}],"id":"45bba807-862b-4e82-956d-b4eec57675c5","_postman_id":"45bba807-862b-4e82-956d-b4eec57675c5","description":""}],"id":"625e8122-d9ec-4f30-b27f-9d8bd49ad13a","description":"<p>Documentação das APIs utilizadas nos itens do menu Pessoas</p>\n","_postman_id":"625e8122-d9ec-4f30-b27f-9d8bd49ad13a"},{"name":"Sistema","item":[{"name":"Configurar","item":[{"name":"Feriados","item":[{"name":"Criação","id":"ef1a0006-bad0-49a1-92f1-a729187e1a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays","urlObject":{"protocol":"https","path":["api","v2.0","holidays"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"2b17e746-d464-4284-91b3-4e71e0cb8a83","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"\",\n    \"attributes\": {\n      \"name\": \"\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:45:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ],\n                \"data.attributes.name\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"a694a843-a0e5-4598-893b-bf406083fe68","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:44:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"c47b1046-d59f-445f-ad67-a9712e55ac42","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:43:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"e4ae0fbc-bb7c-4e11-a953-ec22f408c962","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:40:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/holidays/2"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"980"},{"key":"ETag","value":"\"cd5282951fdd6fda8b61509b45bb456490b438d3\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"holidays\",\n        \"id\": 2,\n        \"attributes\": {\n            \"name\": \"Feriado A\",\n            \"recurrent\": true,\n            \"start_at\": \"2019-12-24\",\n            \"end_at\": \"2019-12-25\",\n            \"created_at\": \"2019-05-14\",\n            \"updated_at\": \"2019-05-14\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"ef1a0006-bad0-49a1-92f1-a729187e1a38"},{"name":"Paginação","id":"5141e070-13e1-40d6-baae-cf363fb5b51e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays?filter[name]=Feriado A&filter[start_after]=2019-12-24&filter[end_before]=2019-12-25&filter[recurrent]=true&sort=name","urlObject":{"protocol":"https","path":["api","v2.0","holidays"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"filter[name]","value":"Feriado A"},{"key":"filter[start_after]","value":"2019-12-24"},{"key":"filter[end_before]","value":"2019-12-25"},{"key":"filter[recurrent]","value":"true"},{"key":"sort","value":"name"}],"variable":[]}},"response":[{"id":"52dcf8e1-6fa5-4348-82b2-1251aab1a19f","name":"Filtro inválido","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays?filter[invalido]=Feriado A","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays"],"query":[{"key":"filter[invalido]","value":"Feriado A"},{"key":"filter[start_after]","value":"2019-12-24","disabled":true},{"key":"filter[end_before]","value":"2019-12-25","disabled":true},{"key":"filter[recurrent]","value":"true","disabled":true},{"key":"sort","value":"name","type":"text","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:51:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `invalido` are not allowed. Allowed filter(s) are `name, start_after, end_before, recurrent`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"533d3c6f-e2de-4529-8867-ad82d009da1e","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays?sort=abc","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays"],"query":[{"key":"filter[name]","value":"Feriado A","disabled":true},{"key":"filter[start_after]","value":"2019-12-24","disabled":true},{"key":"filter[end_before]","value":"2019-12-25","disabled":true},{"key":"filter[recurrent]","value":"true","disabled":true},{"key":"sort","value":"abc"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:52:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `abc` is not allowed. Allowed sort(s) are `name, recurrent, start_at, end_at`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"557db39e-1b78-4a77-aa4e-900ec1ce48d9","name":"Filtragem","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays?filter[name]=Feriado A&filter[start_after]=2019-12-24&filter[end_before]=2019-12-25&filter[recurrent]=true","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays"],"query":[{"key":"filter[name]","value":"Feriado A"},{"key":"filter[start_after]","value":"2019-12-24"},{"key":"filter[end_before]","value":"2019-12-25"},{"key":"filter[recurrent]","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:50:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"997"},{"key":"ETag","value":"W/\"675210462efecc39c2d53807000469856dc8d4b4\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"holidays\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Feriado A\",\n                \"recurrent\": true,\n                \"start_at\": \"2019-12-24\",\n                \"end_at\": \"2019-12-25\",\n                \"created_at\": \"2019-05-14\",\n                \"updated_at\": \"2019-05-14\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"72cdeefa-c70a-4119-b321-e9305f3c731b","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:49:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"W/\"675210462efecc39c2d53807000469856dc8d4b4\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"holidays\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Feriado A\",\n                \"recurrent\": true,\n                \"start_at\": \"2019-12-24\",\n                \"end_at\": \"2019-12-25\",\n                \"created_at\": \"2019-05-14\",\n                \"updated_at\": \"2019-05-14\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"f884249e-37f3-430a-acaf-5485133a18ef","name":"Ordenação","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays?sort=name","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays"],"query":[{"key":"filter[name]","value":"Feriado A","disabled":true},{"key":"filter[start_after]","value":"2019-12-24","disabled":true},{"key":"filter[end_before]","value":"2019-12-25","disabled":true},{"key":"filter[recurrent]","value":"true","disabled":true},{"key":"sort","value":"name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:51:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"W/\"675210462efecc39c2d53807000469856dc8d4b4\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"holidays\",\n            \"id\": 2,\n            \"attributes\": {\n                \"name\": \"Feriado A\",\n                \"recurrent\": true,\n                \"start_at\": \"2019-12-24\",\n                \"end_at\": \"2019-12-25\",\n                \"created_at\": \"2019-05-14\",\n                \"updated_at\": \"2019-05-14\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"5141e070-13e1-40d6-baae-cf363fb5b51e"},{"name":"Detalhes","id":"9509dff8-413b-4e99-9001-b8863febba85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","urlObject":{"protocol":"https","path":["api","v2.0","holidays",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"2","key":"id"}]}},"response":[{"id":"b320dfd7-5b96-4547-9997-025011875eb9","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:53:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"W/\"01305ca97497b581a98513721df5fa7afe22d523\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"holidays\",\n        \"id\": 2,\n        \"attributes\": {\n            \"name\": \"Feriado A\",\n            \"recurrent\": true,\n            \"start_at\": \"2019-12-24\",\n            \"end_at\": \"2019-12-25\",\n            \"created_at\": \"2019-05-14\",\n            \"updated_at\": \"2019-05-14\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"d3ff49a2-9209-442c-8d81-3284315668ce","name":"ID inválido","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays",":id"],"variable":[{"key":"id","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:53:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Holiday].\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"9509dff8-413b-4e99-9001-b8863febba85"},{"name":"Edição","id":"d668a417-6494-4bd2-8343-e52bc7a74615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"id\": \"2\",\n    \"attributes\": {\n      \"name\": \"Feriado Editado A\",\n      \"start_at\": \"2019-12-29\",\n      \"end_at\": \"2019-12-30\",\n      \"recurrent\": false\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","urlObject":{"protocol":"https","path":["api","v2.0","holidays",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"2","key":"id"}]}},"response":[{"id":"3478b957-d678-49db-a35a-f9ad0b905189","name":"Campo obrigatório ausente","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"\",\n    \"id\": \"2\",\n    \"attributes\": {\n      \"name\": \"\",\n      \"start_at\": \"2019-12-29\",\n      \"end_at\": \"2019-12-30\",\n      \"recurrent\": false\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:54:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"e0079e76-9da9-4c1d-80ad-cc0f86a6912b","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"id\": \"2\",\n    \"attributes\": {\n      \"name\": \"Feriado Editado A\",\n      \"start_at\": \"2019-12-29\",\n      \"end_at\": \"2019-12-30\",\n      \"recurrent\": false\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:54:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"990"},{"key":"ETag","value":"W/\"1e75595c790adb3ee39da332f1d8f70179683a8b\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"holidays\",\n        \"id\": 2,\n        \"attributes\": {\n            \"name\": \"Feriado Editado A\",\n            \"recurrent\": false,\n            \"start_at\": \"2019-12-29\",\n            \"end_at\": \"2019-12-30\",\n            \"created_at\": \"2019-05-14\",\n            \"updated_at\": \"2019-05-14\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays/2\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/holidays\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"d668a417-6494-4bd2-8343-e52bc7a74615"},{"name":"Remoção","id":"f57f3e64-4bad-45e4-93ab-0150baddf8b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","urlObject":{"protocol":"https","path":["api","v2.0","holidays",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"2","key":"id"}]}},"response":[{"id":"8578ff8e-9081-4e9e-ad77-d0cf9c21563f","name":"ID inválido","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays",":id"],"variable":[{"key":"id","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:55:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Holiday] 0\",\n            \"status\": 404\n        }\n    ]\n}"},{"id":"d5f698c7-5d74-4206-ad5f-7440d74046c5","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"holidays\",\n    \"attributes\": {\n      \"name\": \"Feriado A\",\n      \"start_at\": \"2019-12-24\",\n      \"end_at\": \"2019-12-25\",\n      \"recurrent\": true\n    }\n  }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","holidays",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:55:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "}],"_postman_id":"f57f3e64-4bad-45e4-93ab-0150baddf8b4"},{"name":"Remoção em massa","id":"432bcc09-a25a-4dbe-b00e-aeedf7156d11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"holidays\",\n\t\t\t\"id\": 3\n\t\t},\n\t\t{\n\t\t\t\"type\": \"holidays\",\n\t\t\t\"id\": 4\n\t\t},\n\t\t{\n\t\t\t\"type\": \"holidays\",\n\t\t\t\"id\": 5\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays","urlObject":{"protocol":"https","path":["api","v2.0","holidays"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"9b838aaf-c124-4938-a316-edec43db5e7b","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"holidays\",\n\t\t\t\"id\": 3\n\t\t},\n\t\t{\n\t\t\t\"type\": \"holidays\",\n\t\t\t\"id\": 4\n\t\t},\n\t\t{\n\t\t\t\"type\": \"holidays\",\n\t\t\t\"id\": 5\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/holidays"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:57:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"990"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "}],"_postman_id":"432bcc09-a25a-4dbe-b00e-aeedf7156d11"}],"id":"7223b595-3d6e-4bc3-8901-cd5e8c115fe6","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>start_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>end_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Data final</td>\n</tr>\n<tr>\n<td>recurrent</td>\n<td>boolean</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td>false</td>\n<td>Se é recorrente</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","event":[{"listen":"prerequest","script":{"id":"237ee2ef-4020-406e-903e-4bee4d6e8142","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"eac462ef-33a8-4bde-8223-1b2137f17323","type":"text/javascript","exec":[""]}}],"_postman_id":"7223b595-3d6e-4bc3-8901-cd5e8c115fe6"},{"name":"Horário de Atendimento","item":[{"name":"Criação","id":"b0e205c4-ac6b-49a6-b220-2dd4e32f03cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"office_hours\",\n        \"attributes\": {\n            \"schedule\": [\n                {\n                    \"day\": 0,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 1,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 2,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 3,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 4,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 5,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 6,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                }\n            ]\n        }\n    }\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours","urlObject":{"protocol":"https","path":["api","v2.0","office_hours"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"disabled":true,"description":{"content":"<p>Obrigatório</p>\n","type":"text/plain"},"key":"date","value":null},{"disabled":true,"description":{"content":"<p>Obrigatório</p>\n","type":"text/plain"},"key":"schedule","value":null},{"disabled":true,"description":{"content":"<p>Somente leitura</p>\n","type":"text/plain"},"key":"created_at","value":null},{"disabled":true,"description":{"content":"<p>Somente leitura</p>\n","type":"text/plain"},"key":"updated_at","value":null}],"variable":[]}},"response":[{"id":"a0b3f966-6769-4441-97d5-d531decbc5fe","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"office_hours\",\n        \"attributes\": {\n            \"schedule\": [\n                {\n                    \"day\": 0,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 1,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 2,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 3,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 4,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 5,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 6,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                }\n            ]\n        }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","office_hours"],"query":[{"description":"Obrigatório","key":"date","value":null,"disabled":true},{"description":"Obrigatório","key":"schedule","value":null,"disabled":true},{"description":"Somente leitura","key":"created_at","value":null,"disabled":true},{"description":"Somente leitura","key":"updated_at","value":null,"disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:13:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"ba1becd6-d646-4aa3-b3bf-9abcdc80b2ca","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"office_hours\",\n        \"attributes\": {\n            \"schedule\": [\n                {\n                    \"day\": 0,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 1,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 2,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 3,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 4,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 5,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 6,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                }\n            ]\n        }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","office_hours"],"query":[{"description":"Obrigatório","key":"date","value":null,"disabled":true},{"description":"Obrigatório","key":"schedule","value":null,"disabled":true},{"description":"Somente leitura","key":"created_at","value":null,"disabled":true},{"description":"Somente leitura","key":"updated_at","value":null,"disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:14:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"d68d3511-dadf-4585-9f9f-d00d3e96f720","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"\",\n        \"attributes\": {\n            \"schedule\": [\n                {\n                    \"day\": 0,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 1,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 2,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 3,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 4,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 5,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 6,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                }\n            ]\n        }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","office_hours"],"query":[{"description":"Obrigatório","key":"date","value":null,"disabled":true},{"description":"Obrigatório","key":"schedule","value":null,"disabled":true},{"description":"Somente leitura","key":"created_at","value":null,"disabled":true},{"description":"Somente leitura","key":"updated_at","value":null,"disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:14:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"df7f3bcb-fdcb-4c35-b1da-a879cc68d9d6","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"office_hours\",\n        \"attributes\": {\n            \"schedule\": [\n                {\n                    \"day\": 0,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 1,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 2,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 3,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 4,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 5,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                },\n                {\n                    \"day\": 6,\n                    \"hours\": [\n                \t\t{\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                \t]\n                }\n            ]\n        }\n    }\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","office_hours"],"query":[{"description":"Obrigatório","key":"date","value":null,"disabled":true},{"description":"Obrigatório","key":"schedule","value":null,"disabled":true},{"description":"Somente leitura","key":"created_at","value":null,"disabled":true},{"description":"Somente leitura","key":"updated_at","value":null,"disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:13:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/office_hours"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"fe5eeb5b7cbb5f3346fcd588640501176926d36b\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"office_hours\",\n        \"id\": 2,\n        \"attributes\": {\n            \"date\": \"2019-05-06T00:00:00+00:00\",\n            \"schedule\": [\n                {\n                    \"day\": 0,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                },\n                {\n                    \"day\": 1,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                },\n                {\n                    \"day\": 2,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                },\n                {\n                    \"day\": 3,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                },\n                {\n                    \"day\": 4,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                },\n                {\n                    \"day\": 5,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                },\n                {\n                    \"day\": 6,\n                    \"hours\": [\n                        {\n                            \"start\": \"07:00\",\n                            \"end\": \"17:00\"\n                        },\n                        {\n                            \"start\": \"18:00\",\n                            \"end\": \"22:00\"\n                        }\n                    ]\n                }\n            ],\n            \"created_at\": \"2019-05-06T21:13:24+00:00\",\n            \"updated_at\": \"2019-05-06T21:13:24+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"b0e205c4-ac6b-49a6-b220-2dd4e32f03cc"},{"name":"Paginação","id":"d2f05b31-48fd-4aee-8737-8fff6b5f67a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours","urlObject":{"protocol":"https","path":["api","v2.0","office_hours"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"177dfae5-2b41-4e44-b536-17d1f7e9c1cf","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours?sort=invalida","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","office_hours"],"query":[{"key":"sort","value":"invalida"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:16:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `invalida` is not allowed. Allowed sort(s) are `date`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"3ca99c8d-fb5b-4007-a2c2-2e1670e1b719","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:15:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"991"},{"key":"ETag","value":"W/\"686fe458c658a323cf84f62af3e1083b90282e08\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"office_hours\",\n            \"id\": 2,\n            \"attributes\": {\n                \"date\": \"2019-05-06T00:00:00+00:00\",\n                \"schedule\": [\n                    {\n                        \"day\": 0,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 1,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 2,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 3,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 4,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 5,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 6,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    }\n                ],\n                \"created_at\": \"2019-05-06T21:13:24+00:00\",\n                \"updated_at\": \"2019-05-06T21:13:24+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n            }\n        },\n        {\n            \"type\": \"office_hours\",\n            \"id\": 1,\n            \"attributes\": {\n                \"date\": \"2019-05-02T00:00:00+00:00\",\n                \"schedule\": [\n                    {\n                        \"day\": 0,\n                        \"hours\": []\n                    },\n                    {\n                        \"day\": 1,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 2,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 3,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 4,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 5,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 6,\n                        \"hours\": []\n                    }\n                ],\n                \"created_at\": \"2019-05-02T18:42:20+00:00\",\n                \"updated_at\": \"2019-05-02T18:42:20+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"41049f0a-deec-41f3-ab88-687822dbdd35","name":"Ordenação","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/office_hours?sort=date","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","office_hours"],"query":[{"key":"sort","value":"date"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 06 May 2019 21:16:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"993"},{"key":"ETag","value":"W/\"1e8436651c9f8a57872d550da23c8a7a345f6883\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"office_hours\",\n            \"id\": 1,\n            \"attributes\": {\n                \"date\": \"2019-05-02T00:00:00+00:00\",\n                \"schedule\": [\n                    {\n                        \"day\": 0,\n                        \"hours\": []\n                    },\n                    {\n                        \"day\": 1,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 2,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 3,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 4,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 5,\n                        \"hours\": [\n                            {\n                                \"start\": \"08:00\",\n                                \"end\": \"12:00\"\n                            },\n                            {\n                                \"start\": \"14:00\",\n                                \"end\": \"18:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 6,\n                        \"hours\": []\n                    }\n                ],\n                \"created_at\": \"2019-05-02T18:42:20+00:00\",\n                \"updated_at\": \"2019-05-02T18:42:20+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n            }\n        },\n        {\n            \"type\": \"office_hours\",\n            \"id\": 2,\n            \"attributes\": {\n                \"date\": \"2019-05-06T00:00:00+00:00\",\n                \"schedule\": [\n                    {\n                        \"day\": 0,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 1,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 2,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 3,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 4,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 5,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    },\n                    {\n                        \"day\": 6,\n                        \"hours\": [\n                            {\n                                \"start\": \"07:00\",\n                                \"end\": \"17:00\"\n                            },\n                            {\n                                \"start\": \"18:00\",\n                                \"end\": \"22:00\"\n                            }\n                        ]\n                    }\n                ],\n                \"created_at\": \"2019-05-06T21:13:24+00:00\",\n                \"updated_at\": \"2019-05-06T21:13:24+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/office_hours\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"d2f05b31-48fd-4aee-8737-8fff6b5f67a4"}],"id":"d1679ec9-e197-4303-8402-a344ef033a61","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Data que horário de atendimento entrou em vigor</td>\n</tr>\n<tr>\n<td>schedule</td>\n<td>json</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Os dias e horários</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1b97f82d-62c7-49fd-a5fd-62aff9cef707","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cd1ae2b3-9fee-40e3-ae95-7e3c3ec4c320","type":"text/javascript","exec":[""]}}],"_postman_id":"d1679ec9-e197-4303-8402-a344ef033a61"}],"id":"471f1e06-55f6-4bf3-bd08-9a4f2dde5668","_postman_id":"471f1e06-55f6-4bf3-bd08-9a4f2dde5668","description":""},{"name":"Utilidades","item":[{"name":"Alertas","item":[{"name":"Criação","id":"f3ebae44-ab29-4047-badd-44e52d98f558","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"Título do alerta\",\n\t\t\t\"content\": \"Conteúdo do alerta\",\n\t\t\t\"start_at\": \"2019-05-02T14:00:00.000Z\",\n\t\t\t\"end_at\": \"2020-05-03T19:00:00.000Z\",\n\t\t\t\"visibility\": \"2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts","urlObject":{"protocol":"https","path":["api","v2.0","alerts"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"1c96acde-882c-42a5-9639-23816efcf26d","name":"Sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"Título do alerta\",\n\t\t\t\"content\": \"Conteúdo do alerta\",\n\t\t\t\"start_at\": \"2019-05-02T14:00:00.000Z\",\n\t\t\t\"end_at\": \"2020-05-03T19:00:00.000Z\",\n\t\t\t\"visibility\": \"2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 18:23:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Location","value":"https://documentacao.desk360.com.br/api/v2.0/alerts/2"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"\"458ec93b4c4564a198ab1fd13e49853eb5ae8641\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"alerts\",\n        \"id\": 2,\n        \"attributes\": {\n            \"title\": \"Título do alerta\",\n            \"content\": \"Conteúdo do alerta\",\n            \"start_at\": \"2019-05-02T14:00:00+00:00\",\n            \"end_at\": \"2020-05-03T19:00:00+00:00\",\n            \"visibility\": \"2\",\n            \"created_at\": \"2019-05-14T18:23:19+00:00\",\n            \"updated_at\": \"2019-05-14T18:23:19+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/2\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": [\n                    {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"},{"id":"8b75b787-efca-4965-ad13-44522facc769","name":"Token inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"Título do alerta\",\n\t\t\t\"content\": \"Conteúdo do alerta\",\n\t\t\t\"start_at\": \"2019-05-02T14:00:00.000Z\",\n\t\t\t\"end_at\": \"2020-05-03T19:00:00.000Z\",\n\t\t\t\"visibility\": \"2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 18:24:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token Signature could not be verified.\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"c1de172c-9360-488d-9028-e79c7e679e72","name":"Token não inserido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"Título do alerta\",\n\t\t\t\"content\": \"Conteúdo do alerta\",\n\t\t\t\"start_at\": \"2019-05-02T14:00:00.000Z\",\n\t\t\t\"end_at\": \"2020-05-03T19:00:00.000Z\",\n\t\t\t\"visibility\": \"2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 18:24:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"UnauthorizedHttpException\",\n            \"title\": \"Token not provided\",\n            \"status\": 401\n        }\n    ]\n}"},{"id":"d66f26d8-a4f3-44f9-b854-d0c14108cc1b","name":"Campo obrigatório ausente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"\",\n\t\t\t\"content\": \"Conteúdo do alerta\",\n\t\t\t\"start_at\": \"2019-05-02T14:00:00.000Z\",\n\t\t\t\"end_at\": \"2020-05-03T19:00:00.000Z\",\n\t\t\t\"visibility\": \"2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 18:25:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.attributes.title\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"}],"_postman_id":"f3ebae44-ab29-4047-badd-44e52d98f558"},{"name":"Paginação","id":"dca9d5b2-1c27-4763-b435-66a51b4f9190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts?sort=title","description":"<p><strong>Filtros:</strong><br />title<br />start_after<br />end_before    </p>\n<p><strong>Ordenações:</strong><br />title<br />start_after<br />end_before    </p>\n","urlObject":{"protocol":"https","path":["api","v2.0","alerts"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"disabled":true,"key":"filter[title]","value":"Título do alerta"},{"disabled":true,"key":"filter[start_after]","value":"2019-05-02"},{"disabled":true,"key":"filter[end_before]","value":"2020-05-04"},{"key":"sort","value":"title"}],"variable":[]}},"response":[{"id":"4754c5a5-7f6c-49f8-8702-3767858b4eca","name":"Filtro inválido","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts?filter[invalido]=invalido","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts"],"query":[{"key":"filter[invalido]","value":"invalido"},{"key":"filter[start_after]","value":"2019-05-02","disabled":true},{"key":"filter[end_before]","value":"2020-05-04","disabled":true},{"key":"sort","value":"title","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:53:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidFilterQuery\",\n            \"title\": \"Given filter(s) `invalido` are not allowed. Allowed filter(s) are `title, start_after, end_before`.\",\n            \"status\": 400\n        }\n    ]\n}"},{"id":"4c6bcae7-2320-40b2-9a3f-0c0444cada35","name":"Filtragem","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts?filter[title]=Título do alerta&filter[start_after]=2019-05-02&filter[end_before]=2020-05-04","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts"],"query":[{"key":"filter[title]","value":"Título do alerta"},{"key":"filter[start_after]","value":"2019-05-02"},{"key":"filter[end_before]","value":"2020-05-04"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:49:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"986"},{"key":"ETag","value":"W/\"4f99408b1d2eba5e516d8c73290cfff2444ffb16\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"alerts\",\n            \"id\": 2,\n            \"attributes\": {\n                \"title\": \"Título do alerta\",\n                \"content\": \"Conteúdo do alerta\",\n                \"start_at\": \"2019-05-02T14:00:00+00:00\",\n                \"end_at\": \"2020-05-03T19:00:00+00:00\",\n                \"visibility\": 2,\n                \"created_at\": \"2019-05-14T18:23:19+00:00\",\n                \"updated_at\": \"2019-05-14T18:23:19+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/2\"\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": [\n                        {\n                            \"type\": \"companies\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"6ce5723b-a0e1-4543-adf4-ea1f22ec6629","name":"Ordenação","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts?sort=title","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts"],"query":[{"key":"filter[title]","value":"Título do alerta","type":"text","disabled":true},{"key":"filter[start_after]","value":"2019-05-02","type":"text","disabled":true},{"key":"filter[end_before]","value":"2020-05-04","type":"text","disabled":true},{"key":"sort","value":"title"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:50:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"992"},{"key":"ETag","value":"W/\"974eb8f1f8b305c3c7607e60fd34c69b2e452f35\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"alerts\",\n            \"id\": 1,\n            \"attributes\": {\n                \"title\": \"Alerta A\",\n                \"content\": \"Conteúdo do Alerta A\",\n                \"start_at\": \"2019-05-01T15:00:00+00:00\",\n                \"end_at\": \"2019-10-31T15:00:00+00:00\",\n                \"visibility\": 0,\n                \"created_at\": \"2019-05-14T18:08:25+00:00\",\n                \"updated_at\": \"2019-05-14T18:08:25+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/1\"\n            }\n        },\n        {\n            \"type\": \"alerts\",\n            \"id\": 2,\n            \"attributes\": {\n                \"title\": \"Título do alerta\",\n                \"content\": \"Conteúdo do alerta\",\n                \"start_at\": \"2019-05-02T14:00:00+00:00\",\n                \"end_at\": \"2020-05-03T19:00:00+00:00\",\n                \"visibility\": 2,\n                \"created_at\": \"2019-05-14T18:23:19+00:00\",\n                \"updated_at\": \"2019-05-14T18:23:19+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/2\"\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": [\n                        {\n                            \"type\": \"companies\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"836ecbb1-62c7-4bf4-8fe1-13999fdab515","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts"],"query":[{"key":"","value":"","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:47:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"992"},{"key":"ETag","value":"W/\"4784ba6d15c35b3b927414638ba7dbdcec6acf42\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"alerts\",\n            \"id\": 2,\n            \"attributes\": {\n                \"title\": \"Título do alerta\",\n                \"content\": \"Conteúdo do alerta\",\n                \"start_at\": \"2019-05-02T14:00:00+00:00\",\n                \"end_at\": \"2020-05-03T19:00:00+00:00\",\n                \"visibility\": 2,\n                \"created_at\": \"2019-05-14T18:23:19+00:00\",\n                \"updated_at\": \"2019-05-14T18:23:19+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/2\"\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": [\n                        {\n                            \"type\": \"companies\",\n                            \"id\": 1\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"alerts\",\n            \"id\": 1,\n            \"attributes\": {\n                \"title\": \"Alerta A\",\n                \"content\": \"Conteúdo do Alerta A\",\n                \"start_at\": \"2019-05-01T15:00:00+00:00\",\n                \"end_at\": \"2019-10-31T15:00:00+00:00\",\n                \"visibility\": 0,\n                \"created_at\": \"2019-05-14T18:08:25+00:00\",\n                \"updated_at\": \"2019-05-14T18:08:25+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/1\"\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"edd94c82-f12d-47b3-85d3-e79e901487aa","name":"Ordenação inválida","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts?sort=invalido","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts"],"query":[{"key":"filter[title]","value":"Título do alerta","disabled":true},{"key":"filter[start_after]","value":"2019-05-02","disabled":true},{"key":"filter[end_before]","value":"2020-05-04","disabled":true},{"key":"sort","value":"invalido"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:53:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"InvalidSortQuery\",\n            \"title\": \"Given sort(s) `invalido` is not allowed. Allowed sort(s) are `title, start_at, end_at`.\",\n            \"status\": 400\n        }\n    ]\n}"}],"_postman_id":"dca9d5b2-1c27-4763-b435-66a51b4f9190"},{"name":"Detalhes","id":"b071bd47-49bd-4a45-b169-67ce497bbc31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id?include=companies","urlObject":{"protocol":"https","path":["api","v2.0","alerts",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"description":{"content":"<p>Inclui no final do retorno da requisição as informações e o link para as organizações.</p>\n","type":"text/plain"},"key":"include","value":"companies"}],"variable":[{"type":"string","value":"2","key":"id"}]}},"response":[{"id":"04695950-a6ee-41ae-a6b4-08f698cc3ac8","name":"ID inválido","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id?include=companies","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts",":id"],"query":[{"key":"include","value":"companies","description":"Inclui no final do retorno da requisição as informações e o link para as organizações."}],"variable":[{"key":"id","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:54:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Alert].\",\n            \"status\": 404\n        }\n    ]\n}"},{"id":"d6618009-0f55-4e09-97dd-64844feb385e","name":"Sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id?include=companies","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts",":id"],"query":[{"key":"include","value":"companies","description":"Inclui no final do retorno da requisição as informações e o link para as organizações."}],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:52:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"994"},{"key":"ETag","value":"W/\"79abf78bf81337c477a4c8cac4852763db51ae1a\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"alerts\",\n        \"id\": 2,\n        \"attributes\": {\n            \"title\": \"Título do alerta\",\n            \"content\": \"Conteúdo do alerta\",\n            \"start_at\": \"2019-05-02T14:00:00+00:00\",\n            \"end_at\": \"2020-05-03T19:00:00+00:00\",\n            \"visibility\": 2,\n            \"created_at\": \"2019-05-14T18:23:19+00:00\",\n            \"updated_at\": \"2019-05-14T18:23:19+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/2\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": [\n                    {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/2\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": [\n        {\n            \"type\": \"companies\",\n            \"id\": 1,\n            \"attributes\": {\n                \"name\": \"Nome editado da organização\",\n                \"active\": true,\n                \"observation\": \"Observação editada da organização\",\n                \"visibility\": true\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/companies/1\"\n            }\n        }\n    ]\n}"}],"_postman_id":"b071bd47-49bd-4a45-b169-67ce497bbc31"},{"name":"Edição","id":"e241531f-49da-497d-8b36-6a443f2e16de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": \"2\",\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"Título editado\",\n\t\t\t\"content\": \"Conteúdo alterado\",\n\t\t\t\"start_at\": \"2019-02-20T17:30:00.000Z\",\n\t\t\t\"end_at\": \"2022-11-30T20:30:00.000Z\",\n\t\t\t\"visibility\": \"2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id","urlObject":{"protocol":"https","path":["api","v2.0","alerts",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"1","key":"id"}]}},"response":[{"id":"924005e4-c081-41a1-9839-b94375bd1598","name":"Campo obrigatório ausente","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": \"2\",\n\t\t\"type\": \"\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"\",\n\t\t\t\"content\": \"Conteúdo alterado\",\n\t\t\t\"start_at\": \"2019-02-20T17:30:00.000Z\",\n\t\t\t\"end_at\": \"2022-11-30T20:30:00.000Z\",\n\t\t\t\"visibility\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:01:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ValidationException\",\n            \"title\": \"The given data was invalid.\",\n            \"status\": 422,\n            \"violations\": {\n                \"data.type\": [\n                    \"Campo obrigatório.\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"f7cec222-f94a-4734-9d2b-713e5a709751","name":"Sucesso","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"id\": \"2\",\n\t\t\"type\": \"alerts\",\n\t\t\"attributes\": {\n\t\t\t\"title\": \"Título editado\",\n\t\t\t\"content\": \"Conteúdo alterado\",\n\t\t\t\"start_at\": \"2019-02-20T17:30:00.000Z\",\n\t\t\t\"end_at\": \"2022-11-30T20:30:00.000Z\",\n\t\t\t\"visibility\": \"1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"companies\": {\n\t\t\t\t\"data\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"companies\",\n\t\t\t\t\t\t\"id\": 1\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"},"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 19:56:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"992"},{"key":"ETag","value":"W/\"0e01f22016ef372ed473c1eafd0464de8a80eccd\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"alerts\",\n        \"id\": 1,\n        \"attributes\": {\n            \"title\": \"Título editado\",\n            \"content\": \"Conteúdo alterado\",\n            \"start_at\": \"2019-02-20T17:30:00+00:00\",\n            \"end_at\": \"2022-11-30T20:30:00+00:00\",\n            \"visibility\": \"1\",\n            \"created_at\": \"2019-05-14T18:08:25+00:00\",\n            \"updated_at\": \"2019-05-14T19:56:15+00:00\"\n        },\n        \"links\": {\n            \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/1\"\n        },\n        \"relationships\": {\n            \"companies\": {\n                \"data\": [\n                    {\n                        \"type\": \"companies\",\n                        \"id\": 1\n                    }\n                ]\n            }\n        }\n    },\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/alerts/1\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": []\n}"}],"_postman_id":"e241531f-49da-497d-8b36-6a443f2e16de"},{"name":"Remoção","id":"b6ea7a5d-6fe0-426d-88d2-818a69226634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id","urlObject":{"protocol":"https","path":["api","v2.0","alerts",":id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"string","value":"2","key":"id"}]}},"response":[{"id":"10a881be-38b6-45be-9f3c-b4bde9d42ea3","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts",":id"],"variable":[{"key":"id","value":"2"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:02:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"     "},{"id":"3cde7c49-c84e-4ae9-96f0-a9d63ae10809","name":"ID inválido","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts/:id","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","alerts",":id"],"variable":[{"key":"id","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:02:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"id\": \"ModelNotFoundException\",\n            \"title\": \"No query results for model [Tray\\\\WebDesk\\\\Core\\\\Data\\\\Models\\\\Alert] 0\",\n            \"status\": 404\n        }\n    ]\n}"}],"_postman_id":"b6ea7a5d-6fe0-426d-88d2-818a69226634"},{"name":"Remoção em massa","id":"11a69bbf-02a6-422c-9ece-4835ed224195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"alerts\",\n\t\t\t\"id\": 2\n\t\t},\n\t\t{\n\t\t\t\"type\": \"alerts\",\n\t\t\t\"id\": 3\n\t\t},\n\t\t{\n\t\t\t\"type\": \"alerts\",\n\t\t\t\"id\": 4\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts","description":"<p><strong>Obs.:</strong> Caso contenha ids inválidos ou inexistentes no Body, será retornado o status code \"204 No Content\" e ids incorretos serão ignorados.</p>\n","urlObject":{"protocol":"https","path":["api","v2.0","alerts"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"9272adcb-150a-43ce-9f12-5292f7d9b99e","name":"Sucesso","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": [\n\t\t{\n\t\t\t\"type\": \"alerts\",\n\t\t\t\"id\": 2\n\t\t},\n\t\t{\n\t\t\t\"type\": \"alerts\",\n\t\t\t\"id\": 3\n\t\t},\n\t\t{\n\t\t\t\"type\": \"alerts\",\n\t\t\t\"id\": 4\n\t\t}\n\t]\n}"},"url":"https://{{subdomain}}.desk360.com.br/api/v2.0/alerts"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 14 May 2019 20:33:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"999"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""}],"cookie":[],"responseTime":null,"body":"    "}],"_postman_id":"11a69bbf-02a6-422c-9ece-4835ed224195"}],"id":"d59d7b6f-6b3d-46b7-a110-e61023de70e0","description":"<h3 id=\"atributos\">Atributos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Atributo</strong></th>\n<th><strong>Tipo</strong></th>\n<th><strong>Obrigatório</strong></th>\n<th><strong>Read Only</strong></th>\n<th><strong>Padrão</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>O título</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>O conteúdo</td>\n</tr>\n<tr>\n<td>start_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Data inicial de exibição</td>\n</tr>\n<tr>\n<td>end_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Data final de exibição</td>\n</tr>\n<tr>\n<td>visibility</td>\n<td>int</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td></td>\n<td>Refira-se à tabela auxiliar 1.0</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>iso8601</td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2NcWFvX\" /></td>\n<td><img height=\"20\" width=\"20\" src=\"https://bit.ly/2Sxl1WW\" /></td>\n<td></td>\n<td>Data da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"tabelas-auxiliares\">Tabelas Auxiliares</h3>\n<h4 id=\"tabela-auxiliar-10---visibilidade\">Tabela Auxiliar 1.0 - Visibilidade</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Todos usuários podem visualizar o alerta</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Todos usuários associados a qualquer empresa podem visualizar o alerta</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Somente usuários associados a empresas específicas podem visualizar o alerta</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ccafb7a3-90c1-4045-8481-8648d45e2a81","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e0fcff21-c625-4ce6-a81c-d78b9aed39b2","type":"text/javascript","exec":[""]}}],"_postman_id":"d59d7b6f-6b3d-46b7-a110-e61023de70e0"}],"id":"6e029db6-f28a-4daa-98ed-6c8e11eba8d6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{auth_token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1befbce9-ac99-4082-9700-7484b7bee235","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6de9235b-6260-42d2-8c88-d6ca41fbc038","type":"text/javascript","exec":[""]}}],"_postman_id":"6e029db6-f28a-4daa-98ed-6c8e11eba8d6","description":""}],"id":"4d4f4ea4-72a0-46e4-b372-4aa990f46f9c","description":"<p>Documentação das APIs utilizadas nos itens do menu Sistema</p>\n","_postman_id":"4d4f4ea4-72a0-46e4-b372-4aa990f46f9c"},{"name":"Base de conhecimento","item":[{"name":"Listagem de artigos","id":"fccf6ac7-cf9e-4666-a01d-38b1df19ef20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/apis/v1/articles/public","description":"<p><strong>Filtros:</strong>   </p>\n<ul>\n<li>title - Titulo do artigo</li>\n<li>category_id - Id da categoria</li>\n<li>category_name - Nome da categoria ( Com like no filtro )</li>\n<li>is_featured - Se o artigo é destacado</li>\n<li>is_featured_search - Se o artigo é destacado na busca</li>\n<li>keyword - Palavras chaves do artigo</li>\n<li>status - Status do artigo ( 0 = Rascunho, 1 = Publicado, 2 = Arquivado ) </li>\n<li>subtitle - Sub titulo do artigo</li>\n<li>visibility - Visibilidade do artigo  ( 1 = Todos, 2 = Usuários logados, 4 = Agentes ou admins)</li>\n</ul>\n<p><strong>Ordenações:</strong> </p>\n<ul>\n<li>created_at - Data de criação</li>\n<li>title - Titulo do artigo </li>\n<li>updated_at - Data da ultima atualização do artigo</li>\n<li>order - Ordenação na ferramenta</li>\n</ul>\n<h1 id=\"filtrando\">Filtrando</h1>\n<p>Esse listagem oferece suporte à filtragem pronta para uso, usando uma sintaxe projetada para ser mais fácil de ler, escrever e mais expressiva do que a sintaxe de colchetes usada por bibliotecas como qs .</p>\n<p>Por exemplo, para incluir apenas itens em que o status seja 1 ou 2, você escreveria:</p>\n<p><code>?filter=(status,:in,[1,2])</code>.</p>\n<p>Em contraste, com a sintaxe dos colchetes, você teria que escrever algo como:</p>\n<p><code>?filter[status][in][]=1&amp;filter[status][in][]=2</code>.</p>\n<p>Além disso, a sintaxe dos colchetes não pode representar matrizes vazias ou distinguir entre literais não-string (por exemplo <code>true</code>) e strings, enquanto o formato desta biblioteca pode. Veja os detalhes abaixo.</p>\n<p>Restrições de filtragem de formatação\nNo formato padrão desta biblioteca, o valor do filterparâmetro é uma ou mais \"restrições de filtro\" listadas uma ao lado da outra. Essas restrições restringem os resultados para incluir apenas aqueles que correspondem. O formato de uma restrição de filtro é: (fieldName,:operator,value). Por exemplo:</p>\n<ul>\n<li>(titulo,`Titulo`): inclui apenas itens em que o titulo é igual a \"Titulo\"</li>\n<li>(status,:gte,2): incluir apenas itens cujo salário seja maior ou igual a 2.</li>\n</ul>\n<p>O valor pode ser um <code>número</code>, <code>null</code>, <code>true</code>, ou <code>false</code>, ou uma string delimitada por crase (como `Titulo`). Para definir uma lista de valores, coloque os valores entre colchetes e separe-os com vírgulas (por exemplo, [1,2] ou [`titulo1`,`titulo2`]é uma lista de valores usada com o inoperador acima).</p>\n<h1 id=\"exemplo-de-filtro\">Exemplo de filtro</h1>\n<p>Por exemplo aqui está um filtro em que filtraremos pelo titulo ou keywork = Ajuda e os campos status = 1 e visibility = 1</p>\n<ul>\n<li>/apis/v1/articles/public?filter(status,1)(visibility,1)(:or,(keyword,`Ajuda`),(title,`Ajuda`))</li>\n</ul>\n","urlObject":{"protocol":"https","path":["apis","v1","articles","public"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"2020b6e0-1c13-4218-a734-65e7b8803519","name":"Listagem de artigos","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/apis/v1/articles/public"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"total\": 2\n    },\n    \"links\": {\n        \"self\": \"http://desk360.desk360.com.br/apis/v1/articles/public\"\n    },\n    \"data\": [\n        {\n            \"id\": \"5e6fb88f13e6a72b1da638b9\",\n            \"type\": \"articles\",\n            \"attributes\": {\n                \"status\": 1,\n                \"is_featured\": true,\n                \"is_featured_search\": true,\n                \"is_new\": false,\n                \"visibility\": 1,\n                \"order\": 0,\n                \"tags\": [],\n                \"url_article\": \"Primeiros_passos_do_Desk360\",\n                \"is_author_hidden\": true,\n                \"is_review_hidden\": false,\n                \"icon\": \"play_circle_filled\",\n                \"related_articles\": [\n                    {\n                        \"id\": \"5e7b714e73f4a33fdf36458a\",\n                        \"icon\": \"settings\",\n                        \"title\": \"O que o Desk360 faz?\",\n                        \"subtitle\": \"Saiba o que o Desk faz por você\"\n                    }\n                ],\n                \"keyword\": [\n                    \"ticket\",\n                    \"acessar\",\n                    \"acesso\",\n                    \"canais\",\n                    \"atendimento\",\n                    \"configurar\",\n                    \"passo\",\n                    \"inicial\"\n                ],\n                \"title\": \"Primeiros passos do Desk360\",\n                \"subtitle\": \"Guia inicial do Desk\",\n                \"content\": \"<p>Seja muito bem-vindo ao Desk360! =)</p>\",\n                \"author\": {\n                    \"id\": 4798,\n                    \"name\": \"Eduardo Kiyoshi Higa\",\n                    \"email\": \"ekiyoshi@tray.net.br\",\n                    \"role_id\": 1,\n                    \"created_at\": \"2019-01-29T19:52:57+00:00\",\n                    \"avatar_url\": \"https://webdesk.desk360.com.br/cdn/images?url=webdesk_avatar_7fb557b2dbddc9991c499f692803db84.png\"\n                },\n                \"category\": {\n                    \"id\": \"5e70da577067e826bae0fb1f\",\n                    \"icon\": \"extension\",\n                    \"name\": \"Primeiros passos\",\n                    \"order\": 0\n                },\n                \"slug\": \"webdesk\",\n                \"brand\": \"webdesk\",\n                \"created_at\": \"2020-03-16T17:34:07.892Z\",\n                \"updated_at\": \"2020-09-09T15:39:05.795Z\",\n                \"category_name\": \"Primeiros passos\",\n                \"category_id\": \"5e70da577067e826bae0fb1f\"\n            },\n            \"links\": {\n                \"self\": \"/apis/v1/articles/5e6fb88f13e6a72b1da638b9\"\n            }\n        }\n    ]\n}"}],"_postman_id":"fccf6ac7-cf9e-4666-a01d-38b1df19ef20"},{"name":"Criação de artigos","id":"21128ccf-8ce2-4c11-b3f7-97b3860a3ff8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"articles\",\n        \"attributes\": {\n            \"title\": \"Aliquam magna in lab\",\n            \"subtitle\": \"Voluptatibus veniam\",\n            \"content\": \"<p>Quos rerum voluptas .</p>\",\n            \"status\": 1,\n            \"is_featured\": false,\n            \"is_featured_search\": true,\n            \"related_articles\": [\n                {\n                    \"id\": \"5e591c7441c5e7718b726635\",\n                    \"icon\": \"art_track\",\n                    \"title\": \"Incluir artigos 015151561525\",\n                    \"subtitle\": \"Inclua artigos, manuais com tarefas ou procedimentos\"\n                }\n            ],\n            \"is_new\": true,\n            \"visibility\": 1,\n            \"author\": {\n                \"id\": 3,\n                \"name\": \"Gabriel Perez\",\n                \"email\": \"gabriel.perez@tray.net.br\",\n                \"role_id\": 1,\n                \"created_at\": \"2019-07-18T12:12:58+00:00\",\n                \"avatar_url\": \"https://gabriel_p.desk360.com.br/cdn/images?url=gabriel_p_avatar_d96bef05cedd10c06b7e3f2a3153f89c.jpg\"\n            },\n            \"category\": {\n                \"id\": \"5e591c740301f646bd153c37\",\n                \"icon\": \"public\",\n                \"name\": \"Atendimento ao cliente\",\n                \"order\": 0\n            },\n            \"url_article\": \"aperiam-deleniti-cor\",\n            \"is_author_hidden\": false,\n            \"is_review_hidden\": false,\n            \"keyword\": [],\n            \"icon\": \"settings\"\n        }\n    },\n    \"meta\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.desk360.com.br/apis/v1/articles","urlObject":{"protocol":"https","path":["apis","v1","articles"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"c4e1082d-82b0-4211-a23f-8829b795d8e5","name":"Listagem de artigos","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/apis/v1/articles/public"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"total\": 2\n    },\n    \"links\": {\n        \"self\": \"http://desk360.desk360.com.br/apis/v1/articles/public\"\n    },\n    \"data\": [\n        {\n            \"id\": \"5e6fb88f13e6a72b1da638b9\",\n            \"type\": \"articles\",\n            \"attributes\": {\n                \"status\": 1,\n                \"is_featured\": true,\n                \"is_featured_search\": true,\n                \"is_new\": false,\n                \"visibility\": 1,\n                \"order\": 0,\n                \"tags\": [],\n                \"url_article\": \"Primeiros_passos_do_Desk360\",\n                \"is_author_hidden\": true,\n                \"is_review_hidden\": false,\n                \"icon\": \"play_circle_filled\",\n                \"related_articles\": [\n                    {\n                        \"id\": \"5e7b714e73f4a33fdf36458a\",\n                        \"icon\": \"settings\",\n                        \"title\": \"O que o Desk360 faz?\",\n                        \"subtitle\": \"Saiba o que o Desk faz por você\"\n                    }\n                ],\n                \"keyword\": [\n                    \"ticket\",\n                    \"acessar\",\n                    \"acesso\",\n                    \"canais\",\n                    \"atendimento\",\n                    \"configurar\",\n                    \"passo\",\n                    \"inicial\"\n                ],\n                \"title\": \"Primeiros passos do Desk360\",\n                \"subtitle\": \"Guia inicial do Desk\",\n                \"content\": \"<p>Seja muito bem-vindo ao Desk360! =)</p>\",\n                \"author\": {\n                    \"id\": 4798,\n                    \"name\": \"Eduardo Kiyoshi Higa\",\n                    \"email\": \"ekiyoshi@tray.net.br\",\n                    \"role_id\": 1,\n                    \"created_at\": \"2019-01-29T19:52:57+00:00\",\n                    \"avatar_url\": \"https://webdesk.desk360.com.br/cdn/images?url=webdesk_avatar_7fb557b2dbddc9991c499f692803db84.png\"\n                },\n                \"category\": {\n                    \"id\": \"5e70da577067e826bae0fb1f\",\n                    \"icon\": \"extension\",\n                    \"name\": \"Primeiros passos\",\n                    \"order\": 0\n                },\n                \"slug\": \"webdesk\",\n                \"brand\": \"webdesk\",\n                \"created_at\": \"2020-03-16T17:34:07.892Z\",\n                \"updated_at\": \"2020-09-09T15:39:05.795Z\",\n                \"category_name\": \"Primeiros passos\",\n                \"category_id\": \"5e70da577067e826bae0fb1f\"\n            },\n            \"links\": {\n                \"self\": \"/apis/v1/articles/5e6fb88f13e6a72b1da638b9\"\n            }\n        }\n    ]\n}"}],"_postman_id":"21128ccf-8ce2-4c11-b3f7-97b3860a3ff8"},{"name":"Listagem de Categorias","id":"69cf395a-2262-49f6-bd78-90c6c17eef0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/apis/v1/categories/public","description":"<p><strong>Filtros:</strong>   </p>\n<ul>\n<li>name - Nome da categoria</li>\n<li>active - Se a categoria está ativa</li>\n<li>parent_category - Nome da categoria pai ( Geralmente é nulo, quando não nulo essa categoria é uma sub categoria )</li>\n<li>icon - Icone da categoria</li>\n<li>is_featured - Se a categoria é destacada</li>\n<li>is_on_main_page - Se a categoria é destacada especial na tela inicial</li>\n<li>content - Descrição da categoria</li>\n<li>order - Ordenação da categoria</li>\n<li>created_at - Data da criação </li>\n<li>updated_at - Data da ultima atualização</li>\n</ul>\n<p><strong>Ordenações:</strong> </p>\n<ul>\n<li>created_at - Data de criação</li>\n<li>name - Nome da categoria</li>\n<li>updated_at - Data da ultima atualização</li>\n<li>order - Ordenação na ferramenta</li>\n</ul>\n<h1 id=\"filtrando\">Filtrando</h1>\n<p>Esse listagem oferece suporte à filtragem pronta para uso, usando uma sintaxe projetada para ser mais fácil de ler, escrever e mais expressiva do que a sintaxe de colchetes usada por bibliotecas como qs .</p>\n<p>Por exemplo, para incluir apenas itens em que o status seja 1 ou 2, você escreveria:</p>\n<p><code>?filter=(order,:in,[1,2])</code>.</p>\n<p>Em contraste, com a sintaxe dos colchetes, você teria que escrever algo como:</p>\n<p><code>?filter[order][in][]=1&amp;filter[status][in][]=2</code>.</p>\n<p>Além disso, a sintaxe dos colchetes não pode representar matrizes vazias ou distinguir entre literais não-string (por exemplo <code>true</code>) e strings, enquanto o formato desta biblioteca pode. Veja os detalhes abaixo.</p>\n<p>Restrições de filtragem de formatação\nNo formato padrão desta biblioteca, o valor do filterparâmetro é uma ou mais \"restrições de filtro\" listadas uma ao lado da outra. Essas restrições restringem os resultados para incluir apenas aqueles que correspondem. O formato de uma restrição de filtro é: (fieldName,:operator,value). Por exemplo:</p>\n<ul>\n<li>(name,`Name`): inclui apenas itens em que o name é igual a \"Name\"</li>\n<li>(order,:gte,2): incluir apenas itens cujo a order seja maior ou igual a 2.</li>\n</ul>\n<p>O valor pode ser um <code>número</code>, <code>null</code>, <code>true</code>, ou <code>false</code>, ou uma string delimitada por crase (como `Titulo`). Para definir uma lista de valores, coloque os valores entre colchetes e separe-os com vírgulas (por exemplo, [1,2] ou [`titulo1`,`titulo2`]é uma lista de valores usada com o inoperador acima).</p>\n<h1 id=\"exemplo-de-filtro\">Exemplo de filtro</h1>\n<p>Por exemplo aqui está um filtro em que filtraremos pelo titulo ou keywork = Ajuda e os campos status = 1 e visibility = 1</p>\n<ul>\n<li>/apis/v1/categories/public?filter(order,:gte,5)(is_on_main_page,true)(:or,(name,`Ajuda`),(title,`Categoria`))</li>\n</ul>\n","urlObject":{"protocol":"https","path":["apis","v1","categories","public"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[]}},"response":[{"id":"ce8d55d9-416a-4fcd-8427-85da59ea856b","name":"Listagem de categorias","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.desk360.com.br/apis/v1/articles/public"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"total\": 1\n    },\n    \"links\": {\n        \"self\": \"http://desk360.desk360.com.br/apis/v1/categories/public\"\n    },\n    \"data\": [\n        {\n            \"id\": \"5f3ac5c4efaf5c67761e6808\",\n            \"type\": \"categories\",\n            \"attributes\": {\n                \"active\": 1,\n                \"icon\": \"expand_more\",\n                \"is_featured\": true,\n                \"is_on_main_page\": true,\n                \"order\": 1,\n                \"name\": \"Categoria\",\n                \"content\": \"Artigos relacionados a categoria\",\n                \"slug\": \"desk360\",\n                \"brand\": \"desk360\",\n                \"created_at\": \"2020-08-17T18:00:36.405Z\",\n                \"updated_at\": \"2020-10-13T18:18:18.393Z\"\n            },\n            \"links\": {\n                \"self\": \"/apis/v1/categories/5f3ac5c4efaf5c67761e6808\"\n            },\n            \"relationships\": {\n                \"parent_category\": {\n                    \"data\": null\n                },\n                \"articles\": {\n                    \"data\": [\n                        {\n                            \"id\": \"5f4566cb5c8e151d5869aa27\",\n                            \"type\": \"articles\"\n                        }\n                    ],\n                    \"links\": {\n                        \"related\": \"/apis/v1/article_categories?filter=(article,`5f3ac5c4efaf5c67761e6808`)\"\n                    }\n                },\n                \"sub_categories\": {\n                    \"data\": [\n                        {\n                            \"id\": \"5f4e820a9ab52105892107f9\",\n                            \"type\": \"categories\"\n                        }\n                    ],\n                    \"links\": {\n                        \"related\": \"/apis/v1/categories?filter=(categories,`5f3ac5c4efaf5c67761e6808`)\"\n                    }\n                }\n            }\n        }\n    ],\n    \"included\": []\n}"}],"_postman_id":"69cf395a-2262-49f6-bd78-90c6c17eef0a"}],"id":"381ff4dd-bf0a-4aec-9aae-04aac1b19537","description":"<p>Documentação de apis da base de conhecimento</p>\n","event":[{"listen":"prerequest","script":{"id":"07dcbe65-6fee-4199-9401-a12dfd85f537","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"21049fd2-174c-4cb2-9683-b35614d3ee09","type":"text/javascript","exec":[""]}}],"_postman_id":"381ff4dd-bf0a-4aec-9aae-04aac1b19537"},{"name":"Chat","item":[{"name":"Buscar chats","id":"2c2fd085-308c-4876-b848-0d42d406b803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.com.br/api/v3.0/desk_chats/incremental?start_time=0","description":"<p><strong>Descrição</strong><br />\nFaz a listagem de chats incrementalmente <br />\nEssa API tem um limite de retorno de 1000 registros por requisição</p>\n<p><strong>Request</strong><br />\nO parâmetro <code>start_time</code> é obrigatório e inicialmente pode ser passado como zero, depois você pode utilizar o timestamp do último registro listado.</p>\n<p><strong>Response</strong><br />\nNo retorno dessa API tem duas chaves:</p>\n<ul>\n<li>A chave <code>data</code>, são os dados a serem consumidos</li>\n<li>A chave <code>meta</code> guarda três informações<ul>\n<li><code>end_of_stream</code> quando true, indica que não há mais registros para listar</li>\n<li><code>total</code> é o total de registros</li>\n<li><code>end_time</code> é o timestamp do último registro importado, você pode utilizar esse end_time para passar na próxima requisição como start_time, e assim ir listando os registros incrementalmente</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"enums--value-objects\"><strong>Enums / Value Objects</strong></h2>\n<h5 id=\"status\">status</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Novo</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Em espera</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Respondido</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Fechado</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chat Perdido</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"chat_channel\">chat_channel</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Todos</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Whatsapp</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Chat Desk360</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"http","path":["api","v3.0","desk_chats","incremental"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"2c2fd085-308c-4876-b848-0d42d406b803"}],"id":"78c3d2aa-89f4-4891-91c3-001c2c72f455","_postman_id":"78c3d2aa-89f4-4891-91c3-001c2c72f455","description":""},{"name":"Importação","item":[{"name":"Buscar Tickets","id":"9d77e730-cf71-4926-a4d5-d808814e785f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.com.br/api/v3.0/tickets/incremental?start_time=0","description":"<p><strong>Descrição</strong><br />\nFaz a listagem de tickets incrementalmente <br />\nEssa API tem um limite de retorno de 1000 registros por requisição</p>\n<p><strong>Request</strong><br />\nO parâmetro <code>start_time</code> é obrigatório e inicialmente pode ser passado como zero, depois você pode utilizar o timestamp do último registro listado.</p>\n<p><strong>Response</strong><br />\nNo retorno dessa API tem duas chaves:</p>\n<ul>\n<li>A chave <code>data</code>, são os dados a serem consumidos</li>\n<li>A chave <code>meta</code> guarda três informações<ul>\n<li><code>end_of_stream</code> quando true, indica que não há mais registros para listar</li>\n<li><code>total</code> é o total de registros</li>\n<li><code>end_time</code> é o timestamp do último registro importado, você pode utilizar esse end_time para passar na próxima requisição como start_time, e assim ir listando os registros incrementalmente</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"enums--value-objects\"><strong>Enums / Value Objects</strong></h2>\n<h5 id=\"status_id\">status_id</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Aberto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Pendente</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Resolvido</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Em espera</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Fechado</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"priority_id\">priority_id</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Nenhum</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Baixa</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Média</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Alta</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Urgente</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"source\">source</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>local</td>\n<td>Painel de agente/admin</td>\n</tr>\n<tr>\n<td>final_local</td>\n<td>Painel do solicitante</td>\n</tr>\n<tr>\n<td>email</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>omnize</td>\n<td>Chat Omnize</td>\n</tr>\n<tr>\n<td>whatsapp</td>\n<td>Whatsapp</td>\n</tr>\n<tr>\n<td>share</td>\n<td>Ticket compartilhado de outra marca</td>\n</tr>\n<tr>\n<td>jivochat</td>\n<td>Chat Jivochat</td>\n</tr>\n<tr>\n<td>external</td>\n<td>Formulário externo</td>\n</tr>\n<tr>\n<td>deskchat</td>\n<td>Chat Desk360</td>\n</tr>\n<tr>\n<td>api</td>\n<td>Cliente que fez integração com API</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"internal_status\">internal_status</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Novo</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Atribuído</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Resposta do colaborador</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Resposta do solicitante</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Impedimento</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Fechado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"http","path":["api","v3.0","tickets","incremental"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"start_time","value":"0"}],"variable":[]}},"response":[],"_postman_id":"9d77e730-cf71-4926-a4d5-d808814e785f"},{"name":"Buscar Interações (comentários) de um Ticket","id":"4c4af87e-5782-462b-81cf-95121ca8e3a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.com.br/api/v3.0/tickets/:ticket_id/interactions","description":"<p><strong>Descrição</strong><br />\nPara cada ticket é necessário buscar as suas interações, as interações são todos os comentários realizados dentro de um ticket, fazem parte do histórico do atendimento. <br /></p>\n<p><strong>Request</strong><br />\nNa url substituir o <code>:id</code> pelo id do ticket no qual será buscado as interações. <br />\nTambém é possível passar o <code>filter[is_public]</code>, se for false, irá buscar interações internas, caso esteja true irá buscar somente as interações públicas, se não for passado retorna todas as interações <br /></p>\n<p><strong>Response</strong><br />\nO retorno irá conter todas as interações de um ticket. <br />\nNas interações terão os dados de quem fez a interação, data, interação e anexos da interação.</p>\n<p><strong>Filtros:</strong><br />is_public</p>\n","urlObject":{"protocol":"http","path":["api","v3.0","tickets",":ticket_id","interactions"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"any","value":"","key":"ticket_id"}]}},"response":[{"id":"0e0fc28c-48e7-4bf3-a937-2e54b577b4ec","name":"Sucesso","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:19:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"985"},{"key":"ETag","value":"W/\"15e7bf660f2205c9d735e65ab2500f13ee77ef9c\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da observação interna\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"2 segundos atrás\",\n                \"username\": \"Agente B\",\n                \"is_answer\": true,\n                \"is_public\": false,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da quinta interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:19:08+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"answer\": \"51 segundos atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:19:08+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da quarta interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:09:37+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"answer\": \"10 minutos atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:09:37+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da terceira interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:08:22+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"11 minutos atrás\",\n                \"username\": \"Agente B\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:08:22+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"<p>conteúdo da segunda interação</p>\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T17:38:00+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"2 horas atrás\",\n                \"username\": \"Agente B\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T17:38:00+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        },\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"conteúdo da primeira interação\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": true,\n                \"created_at\": \"2019-04-29T20:45:46+00:00\",\n                \"updated_at\": \"2019-04-30T20:19:59+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/4c1bc0adf678cf9c3d9589f711156afa?d=mm\",\n                \"answer\": \"23 horas atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": true,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-29T20:45:46+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 3\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"},{"id":"2007b0e7-c287-4e7e-beb5-8fe131adcf95","name":"Filtragem","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.desk360.com.br/api/v2.0/tickets/:id/interactions?filter[is_public]=false","protocol":"https","host":["{{subdomain}}","desk360","com","br"],"path":["api","v2.0","tickets",":id","interactions"],"query":[{"key":"filter[is_public]","value":"false"}],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 30 Apr 2019 20:30:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"1000"},{"key":"X-RateLimit-Remaining","value":"998"},{"key":"ETag","value":"W/\"ba38d93775dba7ac6160686f3cb6998eb08bde8d\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"tickets_interactions\",\n            \"id\": \"\",\n            \"attributes\": {\n                \"content\": \"Interação de observação interna</p>\",\n                \"activities\": [],\n                \"attachments\": [],\n                \"first_interaction\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\",\n                \"updated_at\": \"2019-04-30T20:30:52+00:00\"\n            },\n            \"links\": {\n                \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n            },\n            \"meta\": {\n                \"avatar\": \"https://www.gravatar.com/avatar/65bdcecb3177098dd0be9c36fd820f17?d=mm\",\n                \"answer\": \"10 minutos atrás\",\n                \"username\": \"Agente A\",\n                \"is_answer\": true,\n                \"is_public\": false,\n                \"is_customer\": false,\n                \"created_at\": \"2019-04-30T20:19:57+00:00\"\n            },\n            \"relationships\": {\n                \"agents\": {\n                    \"data\": {\n                        \"type\": \"agents\",\n                        \"id\": 7\n                    }\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"self\": \"https://documentacao.desk360.com.br/api/v2.0/tickets/1/interactions\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"meta\": [],\n    \"included\": []\n}"}],"_postman_id":"4c4af87e-5782-462b-81cf-95121ca8e3a8"},{"name":"Buscar Campos Personalizados vinculados ao ticket","id":"bc25cb43-e6cf-492e-92e5-7ce63d2459f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://{{subdomain}}.desk360.com.br/api/v3.0/ticket_custom_field/:ticket_id","description":"<p><strong>Descrição</strong><br />\nPara cada ticket é necessário buscar os campos personalizados. Nessa requisição retorna os dados de vínculo entre ticket e campo personalizado<br /></p>\n<p><strong>Request</strong><br />\nNa url substituir o <code>:id</code> pelo id do ticket no qual será buscado os campos personalizados. <br /></p>\n<p><strong>Response</strong><br />\nO retorno irá conter todos os campos personalizados vinculados em um ticket. <br />\nPara cada campo personalizado vinculado terá o valor atual do campo personalizado no ticket e dados do campo personalizado como nome e tipo do campo.</p>\n","urlObject":{"protocol":"http","path":["api","v3.0","ticket_custom_field",":ticket_id"],"host":["{{subdomain}}","desk360","com","br"],"query":[],"variable":[{"type":"any","value":"","key":"ticket_id"}]}},"response":[],"_postman_id":"bc25cb43-e6cf-492e-92e5-7ce63d2459f1"},{"name":"Etapas de migração","id":"279a1bd8-70dd-49cc-9c8a-5df683743fd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://{{subdomain}}.desk360.com.br/api/v2.0/migration_step?action=import","description":"<p><strong>Descrição</strong><br />\nEssa request será utilizada para ter o controle da migração dos clientes para a Octadesk, serão três etapas: <br /></p>\n<ul>\n<li>Trial: cliente clicou no botão de \"trial\" dentro do Desk e foi redirecionado para criar conta no Octadesk.<br /></li>\n<li>Pagamento: cliente efetuou pagamento para a Octadesk.<br /></li>\n<li>Importação: cliente fez a importação dos dados do Desk para Octadesk.</li>\n</ul>\n<p><strong>Request</strong><br />\nDeverá ser passado o parâmetro <code>action</code> na URL com os valores inerentes a cada etapa da migração, objeto de valor abaixo.</p>\n<p><strong>Response</strong><br />\nEssa request retorna o status 204.</p>\n<h2 id=\"enums--value-objects\"><strong>Enums / Value Objects</strong></h2>\n<h5 id=\"action\">action</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Valor</strong></th>\n<th><strong>Descrição</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>trial</td>\n<td>Clicou para ser trial</td>\n</tr>\n<tr>\n<td>payment</td>\n<td>Efetuou pagamento</td>\n</tr>\n<tr>\n<td>import</td>\n<td>Importou os dados</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"http","path":["api","v2.0","migration_step"],"host":["{{subdomain}}","desk360","com","br"],"query":[{"key":"action","value":"import"}],"variable":[]}},"response":[],"_postman_id":"279a1bd8-70dd-49cc-9c8a-5df683743fd7"}],"id":"919484f2-037d-4849-909f-cb7ecf38883f","description":"<p>As requisições nesse diretório são o passo a passo para realizar a importação de dados relacionados aos tickets do Desk360</p>\n","_postman_id":"919484f2-037d-4849-909f-cb7ecf38883f"}],"event":[{"listen":"prerequest","script":{"id":"6765deb0-ffda-4a78-a5bc-3daf58cdee47","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1ea1dc9a-c95e-41f7-9954-b41816c64311","type":"text/javascript","exec":[""]}}]}