{"info":{"_postman_id":"95006864-2f13-4316-9840-3ce3bc633f20","name":"API de integração","description":"<html><head></head><body><h2 id=\"introdução\">Introdução</h2>\n<p>Esta é a documentação da API. Ela descreve as funcionalidades e fornece exemplos com o objetivo de servir de guia para o desenvolvimento de integrações com a API, que utiliza o modelo de arquitetura REST.</p>\n<h2 id=\"primeiros-passos\">Primeiros passos</h2>\n<p>Para utilização desta API, primeiramente é necessário obter o token de sua base. Para isso, siga os seguintes passos:</p>\n<ol>\n<li><p>Acesse <a href=\"https://app.pontomais.com.br/#/acessar\">https://app.pontomais.com.br/#/acessar</a>;</p>\n</li>\n<li><p>Utilize as credenciais de administrador da empresa para autenticar-se;</p>\n</li>\n<li><p>No menu de navegação no canto esquerdo, clique em Marketplace;</p>\n</li>\n<li><p>Clique em \"Saiba mais\" dentro da área da \"API Pontomais\";</p>\n</li>\n<li><p>Realize a contratação da API, caso não tenha feito;</p>\n</li>\n<li><p>Após a contratação, estará disponível o campo \"Token público\" que contém o token de acesso à API.</p>\n</li>\n</ol>\n<h2 id=\"tipos-de-dados\">Tipos de dados</h2>\n<p>Instruções para o preenchimento conforme o tipo do campo:</p>\n<ul>\n<li><p><strong>Boolean</strong>: preencha com <strong>true</strong> (para verdadeiro) e <strong>false</strong> (para falso).</p>\n</li>\n<li><p><strong>String</strong>: preencha com caracteres alfanuméricos e/ou especiais.</p>\n</li>\n<li><p><strong>Date</strong>: preencha com uma <em>String</em> no formato “YYYY-MM-DD”.</p>\n</li>\n<li><p><strong>Integer</strong>: preencha somente com números.</p>\n</li>\n<li><p><strong>Float</strong>: preencha somente com números de ponto flutuante.</p>\n</li>\n<li><p><strong>Code</strong>: preencha com caracteres alfa numéricos (<em>String</em>) que sejam únicos no sistema de origem.</p>\n</li>\n<li><p><strong>Phone</strong>: preencha com uma <em>String</em> no formato “(DD) XXXX-XXXX” ou “(DD) XXXXX-XXXX”.</p>\n</li>\n<li><p><strong>Timestamp</strong>: preencha com uma cadeia de caracteres numéricos que representem uma data e horário.</p>\n</li>\n<li><p><strong>Object</strong>: preencha com um objeto. Nesta documentação os dados do tipo <em>Object</em> possuem uma tabela específica que determina as características de cada atributo.</p>\n</li>\n</ul>\n<h2 id=\"hierarquia-de-alocação-de-colaboradores\">Hierarquia de alocação de colaboradores</h2>\n<ul>\n<li>Unidade de Negócio<ul>\n<li>Departamento<ul>\n<li>Equipe<ul>\n<li>Colaborador</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4785048","collectionId":"95006864-2f13-4316-9840-3ce3bc633f20","publishedId":"RWMCvVxN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"303030"},"publishDate":"2020-06-18T12:56:07.000Z"},"item":[{"name":"Unidades de Negócio","item":[{"name":"Listar","event":[{"listen":"test","script":{"id":"db34758f-4bdb-4541-8654-ed2026f93aab","exec":[""],"type":"text/javascript"}}],"id":"02fec7aa-3772-46e3-afb3-0be80837bdaa","request":{"method":"GET","header":[{"description":"<p>Token do cliente.</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/business_units?page={{page_number}}&per_page={{per_page}}","description":"<p>Lista as unidades de negócio do cliente.</p>\n<h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Número da página atual</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Quantidade de unidades de negócio por página</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da unidade de negócio</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Integer</td>\n<td>Código da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação da unidade de negócio</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização da unidade de negócio</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da empesa ou pessoa</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF no caso de pessoa física</td>\n</tr>\n<tr>\n<td>cnpj</td>\n<td>String (18)</td>\n<td>CNPJ no caso de pessoa jurídica</td>\n</tr>\n<tr>\n<td>cei</td>\n<td>String (13)</td>\n<td>Matricula CEI ou o seu CNO (Cadastro Nacional de Obras)</td>\n</tr>\n<tr>\n<td>state_inscription</td>\n<td>String (18)</td>\n<td>Inscrição Estadual</td>\n</tr>\n<tr>\n<td>corporate_name</td>\n<td>String (120)</td>\n<td>Razão Social</td>\n</tr>\n<tr>\n<td>is_employer</td>\n<td>Boolean</td>\n<td>É empregadora? Ou seja, é uma pessoa jurídica ou física que registra, administra e paga colaboradores?</td>\n</tr>\n<tr>\n<td>is_construction</td>\n<td>Boolean</td>\n<td>É construtora?</td>\n</tr>\n<tr>\n<td>person_type</td>\n<td>Object</td>\n<td>Tipo do registro (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>coop_type</td>\n<td>Object</td>\n<td>Tipo de cooperativa (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>tax_classification</td>\n<td>Object</td>\n<td>Classificação tributária (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>juridical_nature</td>\n<td>Object</td>\n<td>Natureza jurídica (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Phone (16)</td>\n<td>Telefone para contato</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Object</td>\n<td>Endereço (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>brand</td>\n<td>Object</td>\n<td>Logotipo para espelho ponto (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>Object</td>\n<td>Fuso horário para batidas de ponto via software</td>\n</tr>\n<tr>\n<td>client_preference</td>\n<td>Object</td>\n<td>Configurações de controle de ponto</td>\n</tr>\n<tr>\n<td>employees_count</td>\n<td>Integer</td>\n<td>Quantidade de colaboradores</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-person_type\">Formato do objeto person_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo do registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-coop_type\">Formato do objeto coop_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de cooperativa</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-tax_classification\">Formato do objeto tax_classification</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code</td>\n<td>Código da classificação tributária</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da classificação tributária</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-juridical_nature\">Formato do objeto juridical_nature</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code</td>\n<td>Código da natureza jurídica</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da natureza jurídica</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address\">Formato do objeto address</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>street</td>\n<td>String</td>\n<td>Endereço</td>\n</tr>\n<tr>\n<td>number</td>\n<td>String</td>\n<td>Número</td>\n</tr>\n<tr>\n<td>complement</td>\n<td>String</td>\n<td>Complemento</td>\n</tr>\n<tr>\n<td>district</td>\n<td>String</td>\n<td>Bairro</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>String</td>\n<td>Cep</td>\n</tr>\n<tr>\n<td>address_type</td>\n<td>Object</td>\n<td>Tipo de endereço (verificar tabela descritiva do objeto e a tabela <strong>Tipo de endereço</strong>)</td>\n</tr>\n<tr>\n<td>street_type</td>\n<td>Object</td>\n<td>Tipo de local (verificar tabela descritiva do objeto e a tabela <strong>Tipo de local</strong>)</td>\n</tr>\n<tr>\n<td>city</td>\n<td>Object</td>\n<td>Cidade (verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>state</td>\n<td>Object</td>\n<td>Estado (verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>country</td>\n<td>Object</td>\n<td>País (verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address_type\">Formato do objeto address_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo do endereço</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"tipo-de-endereço\">Tipo de endereço</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Unidade</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Local do colaborador</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Estrangeiro do colaborador</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Cliente</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Faturamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-street_type\">Formato do objeto street_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de local</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"tipo-de-local\">Tipo de local</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Alameda</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Avenida</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Balneário</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bloco</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chácara</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Condomínio</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Conjunto</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Estrada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Fazenda</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Galeria</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Jardim</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Largo</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Loteamento</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Parque</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Praia</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Praça</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Quadra</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Rodovia</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Rua</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Setor</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Travessa</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Vila</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-city\">Formato do objeto city</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da cidade</td>\n</tr>\n<tr>\n<td>state</td>\n<td>String</td>\n<td>ID do estado (verificar a tabela <strong>Lista de estados</strong>)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-state\">Formato do objeto state</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Sigla de identificação do estado</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do estado</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-country\">Formato do objeto country</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Sigla de identificação do país</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do país</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"lista-de-estados\">Lista de estados</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>ID</th>\n<th>Estado</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AC</td>\n<td>Acre</td>\n</tr>\n<tr>\n<td>AL</td>\n<td>Alagoas</td>\n</tr>\n<tr>\n<td>AM</td>\n<td>Amazonas</td>\n</tr>\n<tr>\n<td>AP</td>\n<td>Amapá</td>\n</tr>\n<tr>\n<td>BA</td>\n<td>Bahia</td>\n</tr>\n<tr>\n<td>CE</td>\n<td>Ceará</td>\n</tr>\n<tr>\n<td>DF</td>\n<td>Distrito Federal</td>\n</tr>\n<tr>\n<td>ES</td>\n<td>Espírito Santo</td>\n</tr>\n<tr>\n<td>GO</td>\n<td>Goiás</td>\n</tr>\n<tr>\n<td>MA</td>\n<td>Maranhão</td>\n</tr>\n<tr>\n<td>MG</td>\n<td>Minas Gerais</td>\n</tr>\n<tr>\n<td>MS</td>\n<td>Mato Grosso do Sul</td>\n</tr>\n<tr>\n<td>MT</td>\n<td>Mato Grosso</td>\n</tr>\n<tr>\n<td>PA</td>\n<td>Pará</td>\n</tr>\n<tr>\n<td>PB</td>\n<td>Paraíba</td>\n</tr>\n<tr>\n<td>PE</td>\n<td>Pernambuco</td>\n</tr>\n<tr>\n<td>PI</td>\n<td>Piauí</td>\n</tr>\n<tr>\n<td>PR</td>\n<td>Paraná</td>\n</tr>\n<tr>\n<td>RJ</td>\n<td>Rio de Janeiro</td>\n</tr>\n<tr>\n<td>RN</td>\n<td>Rio Grande do Norte</td>\n</tr>\n<tr>\n<td>RO</td>\n<td>Rondônia</td>\n</tr>\n<tr>\n<td>RR</td>\n<td>Roraima</td>\n</tr>\n<tr>\n<td>RS</td>\n<td>Rio Grande do Sul</td>\n</tr>\n<tr>\n<td>SC</td>\n<td>Santa Catarina</td>\n</tr>\n<tr>\n<td>SE</td>\n<td>Sergipe</td>\n</tr>\n<tr>\n<td>SP</td>\n<td>São Paulo</td>\n</tr>\n<tr>\n<td>TO</td>\n<td>Tocantins</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","business_units"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Número da página ex: 1</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Quantidade por página ex: 10</p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"02d48449-0f6b-4a9e-8e6a-05961fc2d6eb","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/business_units?page={{page_number}}&per_page={{per_page_qtd}}&attributes=id,name","host":["{{server_url}}"],"path":["external_api","v1","business_units"],"query":[{"key":"page","value":"{{page_number}}","description":"Número da página ex: 1"},{"key":"per_page","value":"{{per_page_qtd}}","description":"Quantidade por página ex: 10\n\n"},{"key":"attributes","value":"id,name","description":"Atributos (ver disponíveis na tabela acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 10 Jul 2018 18:02:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"231d3325d75aa07b88573521f4045043\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"cf37b3fc-b235-4346-aee6-ba8be6118151","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.059651","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"business_units\": [\n        {\n            \"id\": 1230,\n            \"name\": \"Empresa Teste 1\"\n        },\n        {\n            \"id\": 1231,\n            \"name\": \"Empresa Teste 2\"\n        },\n        {\n            \"id\": 1232,\n            \"name\": \"Empresa Teste 3\"\n        },\n        {\n            \"id\": 1233,\n            \"name\": \"Empresa Teste 4\"\n        },\n        {\n            \"id\": 1234,\n            \"name\": \"Empresa Teste 5\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1531245762,\n        \"ip\": \"127.0.0.1\"\n    }\n}"}],"_postman_id":"02fec7aa-3772-46e3-afb3-0be80837bdaa"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"f25a8635-3121-4146-a8bd-52c259f4402a","exec":["pm.variables.set(\"business_unit_id\", 28525)"],"type":"text/javascript"}}],"id":"eb522967-4983-4db9-9cb1-a3879c0e29d5","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente.</p>\n"}],"url":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}?attributes=id,code,name,corporate_name,is_employer,person_type","description":"<p>Exibe os atributos de uma unidade especifica.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação da unidade de negócio</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização da unidade de negócio</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da empesa ou pessoa</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF no caso de pessoa física</td>\n</tr>\n<tr>\n<td>cnpj</td>\n<td>String (18)</td>\n<td>CNPJ no caso de pessoa jurídica</td>\n</tr>\n<tr>\n<td>cei</td>\n<td>String (13)</td>\n<td>Matricula CEI ou o seu CNO (Cadastro Nacional de Obras)</td>\n</tr>\n<tr>\n<td>state_inscription</td>\n<td>String (18)</td>\n<td>Inscrição Estadual</td>\n</tr>\n<tr>\n<td>corporate_name</td>\n<td>String (120)</td>\n<td>Razão Social</td>\n</tr>\n<tr>\n<td>is_employer</td>\n<td>Boolean</td>\n<td>É empregadora? Ou seja, é uma pessoa jurídica ou física que registra, administra e paga colaboradores?</td>\n</tr>\n<tr>\n<td>is_construction</td>\n<td>Boolean</td>\n<td>É construtora?</td>\n</tr>\n<tr>\n<td>person_type</td>\n<td>Object</td>\n<td>Tipo do registro (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>coop_type</td>\n<td>Object</td>\n<td>Tipo de cooperativa (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>tax_classification</td>\n<td>Object</td>\n<td>Classificação tributária (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>juridical_nature</td>\n<td>Object</td>\n<td>Natureza jurídica (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Phone (16)</td>\n<td>Telefone para contato</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Object</td>\n<td>Endereço (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>brand</td>\n<td>Object</td>\n<td>Logotipo para espelho ponto (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>Object</td>\n<td>Fuso horário para batidas de ponto via software</td>\n</tr>\n<tr>\n<td>client_preference</td>\n<td>Object</td>\n<td>Configurações de controle de ponto</td>\n</tr>\n<tr>\n<td>employees_count</td>\n<td>Integer</td>\n<td>Quantidade de colaboradores</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-person_type\">Formato do objeto person_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo do registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-coop_type\">Formato do objeto coop_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de cooperativa</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-tax_classification\">Formato do objeto tax_classification</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code</td>\n<td>Código da classificação tributária</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da classificação tributária</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-juridical_nature\">Formato do objeto juridical_nature</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code</td>\n<td>Código da natureza jurídica</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da natureza jurídica</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address\">Formato do objeto address</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>street</td>\n<td>String</td>\n<td>Endereço</td>\n</tr>\n<tr>\n<td>number</td>\n<td>String</td>\n<td>Número</td>\n</tr>\n<tr>\n<td>complement</td>\n<td>String</td>\n<td>Complemento</td>\n</tr>\n<tr>\n<td>district</td>\n<td>String</td>\n<td>Bairro</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>String</td>\n<td>Cep</td>\n</tr>\n<tr>\n<td>address_type</td>\n<td>Object</td>\n<td>Tipo de endereço (verificar tabela descritiva do objeto e a tabela <strong>Tipo de endereço</strong>)</td>\n</tr>\n<tr>\n<td>street_type</td>\n<td>Object</td>\n<td>Tipo de local (verificar tabela descritiva do objeto e a tabela <strong>Tipo de local</strong>)</td>\n</tr>\n<tr>\n<td>city</td>\n<td>Object</td>\n<td>Cidade (verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>state</td>\n<td>Object</td>\n<td>Estado (verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>country</td>\n<td>Object</td>\n<td>País (verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address_type\">Formato do objeto address_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo do endereço</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"tipo-de-endereço\">Tipo de endereço</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Unidade</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Local do colaborador</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Estrangeiro do colaborador</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Cliente</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Faturamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-street_type\">Formato do objeto street_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de local</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"tipo-de-local\">Tipo de local</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Alameda</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Avenida</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Balneário</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bloco</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chácara</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Condomínio</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Conjunto</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Estrada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Fazenda</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Galeria</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Jardim</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Largo</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Loteamento</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Parque</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Praia</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Praça</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Quadra</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Rodovia</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Rua</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Setor</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Travessa</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Vila</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-city\">Formato do objeto city</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da cidade</td>\n</tr>\n<tr>\n<td>state</td>\n<td>String</td>\n<td>ID do estado (verificar a tabela <strong>Lista de estados</strong>)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-state\">Formato do objeto state</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Sigla de identificação do estado</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do estado</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-country\">Formato do objeto country</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Sigla de identificação do país</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do país</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"lista-de-estados\">Lista de estados</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>ID</th>\n<th>Estado</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AC</td>\n<td>Acre</td>\n</tr>\n<tr>\n<td>AL</td>\n<td>Alagoas</td>\n</tr>\n<tr>\n<td>AM</td>\n<td>Amazonas</td>\n</tr>\n<tr>\n<td>AP</td>\n<td>Amapá</td>\n</tr>\n<tr>\n<td>BA</td>\n<td>Bahia</td>\n</tr>\n<tr>\n<td>CE</td>\n<td>Ceará</td>\n</tr>\n<tr>\n<td>DF</td>\n<td>Distrito Federal</td>\n</tr>\n<tr>\n<td>ES</td>\n<td>Espírito Santo</td>\n</tr>\n<tr>\n<td>GO</td>\n<td>Goiás</td>\n</tr>\n<tr>\n<td>MA</td>\n<td>Maranhão</td>\n</tr>\n<tr>\n<td>MG</td>\n<td>Minas Gerais</td>\n</tr>\n<tr>\n<td>MS</td>\n<td>Mato Grosso do Sul</td>\n</tr>\n<tr>\n<td>MT</td>\n<td>Mato Grosso</td>\n</tr>\n<tr>\n<td>PA</td>\n<td>Pará</td>\n</tr>\n<tr>\n<td>PB</td>\n<td>Paraíba</td>\n</tr>\n<tr>\n<td>PE</td>\n<td>Pernambuco</td>\n</tr>\n<tr>\n<td>PI</td>\n<td>Piauí</td>\n</tr>\n<tr>\n<td>PR</td>\n<td>Paraná</td>\n</tr>\n<tr>\n<td>RJ</td>\n<td>Rio de Janeiro</td>\n</tr>\n<tr>\n<td>RN</td>\n<td>Rio Grande do Norte</td>\n</tr>\n<tr>\n<td>RO</td>\n<td>Rondônia</td>\n</tr>\n<tr>\n<td>RR</td>\n<td>Roraima</td>\n</tr>\n<tr>\n<td>RS</td>\n<td>Rio Grande do Sul</td>\n</tr>\n<tr>\n<td>SC</td>\n<td>Santa Catarina</td>\n</tr>\n<tr>\n<td>SE</td>\n<td>Sergipe</td>\n</tr>\n<tr>\n<td>SP</td>\n<td>São Paulo</td>\n</tr>\n<tr>\n<td>TO</td>\n<td>Tocantins</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","business_units","{{business_unit_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,code,name,corporate_name,is_employer,person_type"}],"variable":[]}},"response":[{"id":"82e0c462-2068-4d41-9b6d-c116e596e984","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}?attributes=id,code,name,corporate_name,is_employer,person_type","host":["{{server_url}}"],"path":["external_api","v1","business_units","{{business_unit_id}}"],"query":[{"key":"attributes","value":"id,code,name,corporate_name,is_employer,person_type","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 18:54:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"37ef83354a0164cb8269645e1d531742\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"64074106-2687-4417-805e-20dd0dc8c382","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.611182","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"business_unit\": {\n        \"id\": 1234,\n        \"code\": \"0002\",\n        \"name\": \"Empresa Teste\",\n        \"corporate_name\": \"Empresa Teste Ltda\",\n        \"is_employer\": true,\n        \"person_type\": {\n            \"id\": 2,\n            \"name\": \"Jurídica\"\n        }\n    },\n    \"meta\": {\n        \"now\": 1531767279,\n        \"ip\": \"127.0.0.1\"\n    }\n}"},{"id":"924b147f-75d7-49c4-8eac-6afaf85d032f","name":"Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}?attributes=id,code,name,corporate_name,is_employer,person_type","host":["{{server_url}}"],"path":["external_api","v1","business_units","{{business_unit_id}}"],"query":[{"key":"attributes","value":"id,code,name,corporate_name,is_employer,person_type","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:01:17 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"278c5422-64f7-419d-a452-184e27b24f0e","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.381420","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531767676,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"eb522967-4983-4db9-9cb1-a3879c0e29d5"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"fa964351-8195-46b6-8c68-9f06ed6e8b6e","exec":["","pm.variables.set(\"person_type\", 2)","pm.variables.set(\"code\", \"0001\")","pm.variables.set(\"observation\", \"\")","pm.variables.set(\"name\", \"Empresa teste 1\")","pm.variables.set(\"cnpj\", \"99.999.999/9999-99\")","pm.variables.set(\"state_inscription\", \"isenta\")","pm.variables.set(\"corporate_name\", \"Empresa teste\")","pm.variables.set(\"is_construction\", false)","pm.variables.set(\"is_employer\", true)","pm.variables.set(\"phone\", \"(99) 99999-9999\")","pm.variables.set(\"street\", \"Padre Anchieta\")","pm.variables.set(\"number\", \"2310\")","pm.variables.set(\"complement\", \"Condomínio\")","pm.variables.set(\"district\", \"Bigorrilho\")","pm.variables.set(\"zip\", \"80730-000\")","pm.variables.set(\"street_type\", 19)","pm.variables.set(\"city_id\", 4106902)","  ",""],"type":"text/javascript"}}],"id":"3ac045b3-c69a-4975-9889-7c0a4090871e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"business_unit\":\n  {\n    \"person_type\": 2,\n    \"code\": \"0002\",\n    \"observation\": \"Lorem ipsum...\",\n    \"name\": \"Empresa teste 2\",\n    \"cnpj\": \"99.999.999/9999-99\",\n    \"state_inscription\": \"isenta\",\n    \"corporate_name\": \"Empresa Teste 2\",\n    \"is_construction\": false,\n    \"is_employer\": true,\n    \"phone\": \"(99) 99999-9999\",\n    \"timezone\": 2,\n    \"coop_type\": 0,\n    \"juridical_nature_id\": 1,\n    \"tax_classification_id\": 1,\n    \"client_preference_id\": 1\n  },\n  \"address\":\n  {\n    \"street\": \"Padre Anchieta\",\n    \"number\": \"2310\",\n    \"complement\": \"Condomínio\",\n    \"district\": \"Bigorrilho\",\n    \"zip\": \"80730-000\",\n    \"street_type\": 19,\n    \"city_id\": 4106902\n  }\n}"},"url":"{{server_url}}/external_api/v1/business_units","description":"<p>Cria uma unidade de negócio.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>person_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Tipo do registro (<em>1 - Pessoa física, 2 - Pessoa Jurídica</em>)</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Sim</td>\n<td>Nome da empesa ou pessoa</td>\n</tr>\n<tr>\n<td>cpf ou cnpj</td>\n<td>CPF: String (14), CNPJ: String (18)</td>\n<td>Sim</td>\n<td>CPF no caso de pessoa física, CNPJ no caso de pessoa jurídica</td>\n</tr>\n<tr>\n<td>state_inscription</td>\n<td>String (18)</td>\n<td>Não</td>\n<td>Inscrição Estadual</td>\n</tr>\n<tr>\n<td>corporate_name</td>\n<td>String (120)</td>\n<td>Não</td>\n<td>Razão Social</td>\n</tr>\n<tr>\n<td>is_employer</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É empregadora? Ou seja, é uma pessoa jurídica ou física que registra, administra e paga colaboradores? <em>true - sim, false - não</em>)</td>\n</tr>\n<tr>\n<td>is_construction</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É construtora? (<em>true - sim, false - não</em>)</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Phone (16)</td>\n<td>Não</td>\n<td>Telefone para contato</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Objeto</td>\n<td>Sim</td>\n<td>Verificar tabela descritiva do objeto</td>\n</tr>\n<tr>\n<td>client_preference_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Configuração de controle de ponto. Clique <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#c6b7384e-8d05-451e-989e-58a78b2e5e4a\">aqui</a> para obter a relação de configurações.</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do fuso horário para batidas de ponto via software</td>\n</tr>\n<tr>\n<td>tax_classification_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da classificação tributária</td>\n</tr>\n<tr>\n<td>juridical_nature_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da natureza jurídica</td>\n</tr>\n<tr>\n<td>coop_type</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do tipo de cooperativa</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address\">Formato do objeto address</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>street</td>\n<td>String</td>\n<td>Sim</td>\n<td>Endereço</td>\n</tr>\n<tr>\n<td>number</td>\n<td>String</td>\n<td>Sim</td>\n<td>Número</td>\n</tr>\n<tr>\n<td>complement</td>\n<td>String</td>\n<td>Não</td>\n<td>Complemento</td>\n</tr>\n<tr>\n<td>district</td>\n<td>String</td>\n<td>Sim</td>\n<td>Bairro</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>String</td>\n<td>Sim</td>\n<td>CEP</td>\n</tr>\n<tr>\n<td>street_type</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Tipo do endereço (veja a tabela <strong>Tipo de endereço</strong>)</td>\n</tr>\n<tr>\n<td>city_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da cidade (ver rota para pesquisar IDs das cidades)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"tipo-de-endereço\">Tipo de endereço</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Alameda</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Avenida</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Balneário</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bloco</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chácara</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Condomínio</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Conjunto</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Estrada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Fazenda</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Galeria</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Jardim</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Largo</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Loteamento</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Parque</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Praia</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Praça</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Quadra</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Rodovia</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Rua</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Setor</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Travessa</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Vila</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","business_units"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"81c27a12-0b6a-4738-980c-b86123555fb8","name":"Exemplo de sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"business_unit\":\n  {\n    \"person_type\": 2,\n    \"code\": \"0002\",\n    \"observation\": \"Lorem ipsum...\",\n    \"name\": \"Empresa teste 2\",\n    \"cnpj\": \"99.999.999/9999-99\",\n    \"state_inscription\": \"isenta\",\n    \"corporate_name\": \"Empresa Teste 2\",\n    \"is_construction\": false,\n    \"is_employer\": true,\n    \"phone\": \"(99) 99999-9999\",\n    \"timezone\": 2,\n    \"coop_type\": 0,\n    \"juridical_nature_id\": 1,\n    \"tax_classification_id\": 1\n  },\n  \"address\":\n  {\n    \"street\": \"Padre Anchieta\",\n    \"number\": \"2310\",\n    \"complement\": \"Condomínio\",\n    \"district\": \"Bigorrilho\",\n    \"zip\": \"80730-000\",\n    \"street_type\": 19,\n    \"city_id\": 4106902\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/business_units"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:06:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"479cc467d5322812c77b4a8b39aedcca\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"49827d6e-f01d-4d89-a39e-9263bdabc827","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"2.332233","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Unidade cadastrada com sucesso!\",\"meta\":{\"now\":1531768004,\"ip\":\"127.0.0.1\"},\"id\":10550}"},{"id":"b468a9ca-f8de-4eee-a648-54b6cb53d150","name":"Exemplo de erro no cadastro","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"business_unit\":\n  {\n    \"person_type\": 2,\n    \"code\": \"0002\",\n    \"observation\": \"Lorem ipsum...\",\n    \"name\": \"Empresa teste 2\",\n    \"cnpj\": \"99.999.999/9999-99\",\n    \"state_inscription\": \"isenta\",\n    \"corporate_name\": \"Empresa Teste 2\",\n    \"is_construction\": false,\n    \"is_employer\": true,\n    \"phone\": \"(99) 99999-9999\",\n    \"timezone\": 2,\n    \"coop_type\": 0,\n    \"juridical_nature_id\": 1,\n    \"tax_classification_id\": 1\n  },\n  \"address\":\n  {\n    \"street\": \"Padre Anchieta\",\n    \"number\": \"2310\",\n    \"complement\": \"Condomínio\",\n    \"district\": \"Bigorrilho\",\n    \"zip\": \"80730-000\",\n    \"street_type\": 19,\n    \"city_id\": 4106902\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/business_units"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:10:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"97c18114-fa60-41f6-850c-a198f7d9f901","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.071942","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"cnpj\":[\"Não é válido\"]},\"meta\":{\"now\":1531768223,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"3ac045b3-c69a-4975-9889-7c0a4090871e"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"0546209e-e695-46db-a68d-304d32933351","exec":["pm.variables.set(\"business_unit_id\", 29505)","","pm.variables.set(\"person_type\", 2)","pm.variables.set(\"code\", \"0001\")","pm.variables.set(\"observation\", \"\")","pm.variables.set(\"name\", \"Empresa teste 1\")","pm.variables.set(\"cnpj\", \"99.999.999/9999-99\")","pm.variables.set(\"state_inscription\", \"isenta\")","pm.variables.set(\"corporate_name\", \"Empresa teste\")","pm.variables.set(\"is_construction\", false)","pm.variables.set(\"is_employer\", true)","pm.variables.set(\"phone\", \"(99) 99999-9999\")","pm.variables.set(\"street\", \"Padre Anchieta\")","pm.variables.set(\"number\", \"2310\")","pm.variables.set(\"complement\", \"Condomínio\")","pm.variables.set(\"district\", \"Bigorrilho\")","pm.variables.set(\"zip\", \"80730-000\")","pm.variables.set(\"street_type\", 19)","pm.variables.set(\"city_id\", 4106902)","  ",""],"type":"text/javascript"}}],"id":"ee4e1811-0c05-454e-b968-561ca1a575f8","request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"business_unit\":\n  {\n    \"person_type\": 2,\n    \"code\": 201,\n    \"observation\": \"Lorem Ipsum\",\n    \"name\": \"Empresa Teste\",\n    \"cnpj\": \"99.999.999/9999-99\",\n    \"state_inscription\": \"\",\n    \"corporate_name\": \"Empresa Teste\",\n    \"is_construction\": true,\n    \"is_employer\": true,\n    \"phone\": \"(99) 99999-9999\"\n  },\n  \"address\":\n  {\n    \"street\": \"Padre Anchieta\",\n    \"number\": \"2310\",\n    \"complement\": \"Condomínio\",\n    \"district\": \"Bigorrilho\",\n    \"zip\": \"80730-000\",\n    \"street_type\": 19,\n    \"city_id\": 4106902\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}","description":"<p>Edita uma unidade de negócio.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>person_type</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Tipo do registro (<em>1 - Pessoa física, 2 - Pessoa Jurídica</em>)</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Não</td>\n<td>Nome da empesa ou pessoa</td>\n</tr>\n<tr>\n<td>cpf ou cnpj</td>\n<td>CPF: String (14), CNPJ: String (18)</td>\n<td>Não</td>\n<td>CPF no caso de pessoa física, CNPJ no caso de pessoa jurídica</td>\n</tr>\n<tr>\n<td>state_inscription</td>\n<td>String (18)</td>\n<td>Não</td>\n<td>Inscrição Estadual</td>\n</tr>\n<tr>\n<td>corporate_name</td>\n<td>String (120)</td>\n<td>Não</td>\n<td>Razão Social</td>\n</tr>\n<tr>\n<td>is_employer</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É empregadora? Ou seja, é uma pessoa jurídica ou física que registra, administra e paga colaboradores? <em>true - sim, false - não</em>)</td>\n</tr>\n<tr>\n<td>is_construction</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É construtora? (<em>true - sim, false - não</em>)</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Phone (16)</td>\n<td>Não</td>\n<td>Telefone para contato</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Objeto</td>\n<td>Não</td>\n<td>Verificar tabela descritiva do objeto</td>\n</tr>\n<tr>\n<td>client_preference_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Configuração de controle de ponto</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do fuso horário para batidas de ponto via software</td>\n</tr>\n<tr>\n<td>tax_classification_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da classificação tributária</td>\n</tr>\n<tr>\n<td>juridical_nature_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da natureza jurídica</td>\n</tr>\n<tr>\n<td>coop_type</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do tipo de cooperativa</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address\">Formato do objeto address</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>street</td>\n<td>String</td>\n<td>Não</td>\n<td>Endereço</td>\n</tr>\n<tr>\n<td>number</td>\n<td>String</td>\n<td>Não</td>\n<td>Número</td>\n</tr>\n<tr>\n<td>complement</td>\n<td>String</td>\n<td>Não</td>\n<td>Complemento</td>\n</tr>\n<tr>\n<td>district</td>\n<td>String</td>\n<td>Não</td>\n<td>Bairro</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>String</td>\n<td>Não</td>\n<td>CEP</td>\n</tr>\n<tr>\n<td>street_type</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Tipo do endereço (veja a tabela <strong>Tipo de endereço</strong>)</td>\n</tr>\n<tr>\n<td>city_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da cidade (ver rota para pesquisar IDs das cidades)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"tipo-de-endereço\">Tipo de endereço</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Alameda</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Avenida</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Balneário</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bloco</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chácara</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Condomínio</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Conjunto</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Estrada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Fazenda</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Galeria</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Jardim</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Largo</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Loteamento</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Parque</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Praia</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Praça</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Quadra</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Rodovia</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Rua</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Setor</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Travessa</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Vila</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","business_units","{{business_unit_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"965ea986-0280-4f9f-b9a3-d3c093104c32","name":"Exemplo de sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"business_unit\":\n  {\n    \"person_type\": 2,\n    \"code\": \"0002\",\n    \"observation\": \"Lorem ipsum...\",\n    \"name\": \"Empresa teste 2\",\n    \"cnpj\": \"99.999.999/9999-99\",\n    \"state_inscription\": \"isenta\",\n    \"corporate_name\": \"Empresa Teste 2\",\n    \"is_construction\": false,\n    \"is_employer\": true,\n    \"phone\": \"(99) 99999-9999\",\n    \"timezone\": 2,\n    \"coop_type\": 0,\n    \"juridical_nature_id\": 1,\n    \"tax_classification_id\": 1\n  },\n  \"address\":\n  {\n    \"street\": \"Padre Anchieta\",\n    \"number\": \"2310\",\n    \"complement\": \"Condomínio\",\n    \"district\": \"Bigorrilho\",\n    \"zip\": \"80730-000\",\n    \"street_type\": 19,\n    \"city_id\": 4106902\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/public_api/integration/business_units/10547"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:32:19 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"0fdafa60e904afef54c949dad8495688\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a7b941bb-4a61-4059-87dc-e3bcfb6904f2","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.071653","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Unidade editada com sucesso!\",\"meta\":{\"now\":1531769539,\"ip\":\"127.0.0.1\"}}"},{"id":"fdbd5d5f-43a2-4a5b-b61d-155912623129","name":"Exemplo de falha","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"business_unit\":\n  {\n    \"person_type\": 2,\n    \"code\": \"0002\",\n    \"observation\": \"Lorem ipsum...\",\n    \"name\": \"Empresa teste 2\",\n    \"cnpj\": \"99.999.999/9999-99\",\n    \"state_inscription\": \"isenta\",\n    \"corporate_name\": \"Empresa Teste 2\",\n    \"is_construction\": false,\n    \"is_employer\": true,\n    \"phone\": \"(99) 99999-9999\",\n    \"timezone\": 2,\n    \"coop_type\": 0,\n    \"juridical_nature_id\": 1,\n    \"tax_classification_id\": 1\n  },\n  \"address\":\n  {\n    \"street\": \"Padre Anchieta\",\n    \"number\": \"2310\",\n    \"complement\": \"Condomínio\",\n    \"district\": \"Bigorrilho\",\n    \"zip\": \"80730-000\",\n    \"street_type\": 19,\n    \"city_id\": 4106902\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/public_api/integration/business_units/{{business_unit_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:34:15 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"4eac1a0f-44ac-4ec3-9624-3216014708c8","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.062889","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"cnpj\":[\"Não é válido\"]},\"meta\":{\"now\":1531769655,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"ee4e1811-0c05-454e-b968-561ca1a575f8"},{"name":"Inativar","event":[{"listen":"prerequest","script":{"id":"450cc8de-ec3c-45e9-944c-eaae135c9a4e","exec":["pm.variables.set(\"business_unit_id\", 55136)"],"type":"text/javascript"}}],"id":"1436d14f-f307-496b-9f6e-446777576ee5","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}","description":"<p>Inativa uma unidade de negócio.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","business_units","{{business_unit_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"26103945-4f68-418a-8e84-9499ffc20dc9","name":"Exemplo de remoção com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:16:03 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1df60a9bc8835a8586ec9648e04b1a64\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"51a7d04b-2bf4-43e7-b045-ed032b23ca38","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.139280","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Unidade removida com sucesso!\",\"meta\":{\"now\":1531768563,\"ip\":\"127.0.0.1\"}}"},{"id":"83ee7be6-d41e-4deb-88fe-04e68483bbfd","name":"Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/business_units/{{business_unit_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:26:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"f2c32cc3-934d-49ca-a5dc-a1af5fe8260c","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.041549","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531769180,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"1436d14f-f307-496b-9f6e-446777576ee5"}],"id":"b4be9417-f3e8-451e-9c89-21c19d45cd7b","event":[{"listen":"prerequest","script":{"id":"606a083b-d39d-45d7-82ca-51c84ed8f398","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d80c8587-eb63-45f4-9acd-b1276b33653b","type":"text/javascript","exec":[""]}}],"_postman_id":"b4be9417-f3e8-451e-9c89-21c19d45cd7b","description":""},{"name":"Centro de Custos","item":[{"name":"Listar","event":[{"listen":"prerequest","script":{"id":"1e654dca-28d8-43a2-8a63-017f10d6e7af","exec":[""],"type":"text/javascript"}}],"id":"f6876fd1-e013-497e-acad-d7fdce1af284","request":{"method":"GET","header":[{"description":"<p>Token do cliente.</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/cost_centers","description":"<p>Lista os centros de custos.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial único gerado pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String</td>\n<td>Código identificador do centro de custo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do centro de custo</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do centro de custo</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cost_centers"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"76512d00-c02e-4e0f-b3a2-c5550e1fb3e2","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/cost_centers?attributes=id,name,code&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","cost_centers"],"query":[{"key":"attributes","value":"id,name,code","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:39:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f016a26b9f6c26165d39bc5ee0ed7637\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"2938db8f-1d65-4f77-9c37-f80e4b254bd9","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.310077","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"cost_centers\": [\n        {\n            \"id\": 12341,\n            \"name\": \"Centro de Custos 1\",\n            \"code\": \"0001\"\n        },\n        {\n            \"id\": 12342,\n            \"name\": \"Centro de Custos 2\",\n            \"code\": \"0002\"\n        },\n        {\n            \"id\": 12343,\n            \"name\": \"Centro de Custos 3\",\n            \"code\": \"0003\"\n        },\n        {\n            \"id\": 12344,\n            \"name\": \"Centro de Custos 4\",\n            \"code\": \"0004\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1531769941,\n        \"ip\": \"127.0.0.1\",\n        \"count\": 5\n    }\n}"}],"_postman_id":"f6876fd1-e013-497e-acad-d7fdce1af284"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"2a4e7fab-d831-4ab5-9524-1cc079ffd011","exec":["pm.variables.set(\"cost_center_id\", 29459)"],"type":"text/javascript"}}],"id":"e3982f9b-beb6-4a7f-9156-eba580e3f2e0","request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}?attributes=id,name,code","description":"<p>Rota para obter os atributos de um centro de custo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial único gerado pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String</td>\n<td>Código identificador do centro de custo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do centro de custo</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do centro de custo</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cost_centers","{{cost_center_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,name,code"}],"variable":[]}},"response":[{"id":"12d71b03-08e4-43eb-bec9-36353bb9bd96","name":"Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}?attributes=id,name,code","host":["{{server_url}}"],"path":["external_api","v1","cost_centers","{{cost_center_id}}"],"query":[{"key":"attributes","value":"id,name,code","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:45:21 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"30fff9d4-fe3a-49fb-a4ca-7aa27e8c3a0c","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.039322","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531770321,\"ip\":\"127.0.0.1\"}}"},{"id":"fbb8b47f-a327-40a4-936f-0c4c2ccff8c5","name":"Exemplo bem sucedido","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}?attributes=id,name,code","host":["{{server_url}}"],"path":["external_api","v1","cost_centers","{{cost_center_id}}"],"query":[{"key":"attributes","value":"id,name,code","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:43:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"62619b35f80709bd974d21a6e63b3305\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"49155119-eba9-45fb-9e43-79c791d11afd","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.051211","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n\t\"cost_center\":{\n\t\"id\": 12341,\n\t\"name\": \"Centro de Custos 1\",\n\t\"code\": \"0001\"\n\t},\n\t\"meta\":{\"now\":1531770192,\"ip\":\"127.0.0.1\"}\n}"}],"_postman_id":"e3982f9b-beb6-4a7f-9156-eba580e3f2e0"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"4e849a81-dd6c-4e44-9155-45452bbbd6b7","exec":["pm.variables.set(\"code\", \"0001\")","pm.variables.set(\"name\", \"Centro de Custos 1\")"],"type":"text/javascript"}}],"id":"ca0714df-796f-492c-8478-0edca5924445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"cost_center\": {\n        \"code\":\"{{code}}\",\n        \"name\":\"{{name}}\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/cost_centers","description":"<p>Cria um centro de custo.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do centro de custo</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cost_centers"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"2a252fc4-68e8-4456-b2d0-d88e062b62e1","name":"Exemplo de erro ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cost_center\": {\n    \"code\":\"\",\n    \"name\":\"\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/cost_centers"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:51:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"05fa0d22-0326-401c-86c2-92289fe76eb7","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.045746","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"name\":[\"Não pode ficar em branco\"]},\"meta\":{\"now\":1531770701,\"ip\":\"127.0.0.1\"}}"},{"id":"08da69e4-3e13-4137-86e2-288cf51d8515","name":"Exemplo de sucesso ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cost_center\": {\n    \"code\":\"0005\",\n    \"name\":\"Centro de Custos 5\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/cost_centers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:48:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a30a49fbb1507c2bb5840eab02c80adc\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"4ca8686b-6d9d-45c1-8e10-4e5f4909a425","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.238215","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Centro de custo cadastrado com sucesso!\",\"meta\":{\"now\":1531770481,\"ip\":\"127.0.0.1\"},\"id\":11669}"}],"_postman_id":"ca0714df-796f-492c-8478-0edca5924445"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"32fcace1-aafc-499d-869b-d21dd46c2c9e","exec":["pm.variables.set(\"cost_center_id\", 55136)","","pm.variables.set(\"code\", \"0001\")","pm.variables.set(\"name\", \"Centro de Custos 1\")"],"type":"text/javascript"}}],"id":"806d367e-9b0b-4be1-8f29-b1b690d1033a","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"cost_center\": {\n    \"code\":\"{{code}}\",\n    \"name\":\"{{name}}\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}","description":"<p>Edita um centro de custo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do centro de custo</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cost_centers","{{cost_center_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"fad9e75c-c9fb-4f6e-b89c-0150b1bbe000","name":"Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cost_center\":\n  {\n    \"code\":\"0006\",\n    \"name\":\"Centro de Custos 6\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:57:03 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2f18cc7a94aff123b6791b271bc87176\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"17f55261-7e52-4df3-9d44-325b40f4bdb3","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.058436","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Centro de custo editado com sucesso!\",\"meta\":{\"now\":1531771022,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"806d367e-9b0b-4be1-8f29-b1b690d1033a"},{"name":"Inativar","event":[{"listen":"prerequest","script":{"id":"6742b612-911e-47f0-983b-85652600795d","exec":["pm.variables.set(\"cost_center_id\", 55136)"],"type":"text/javascript"}}],"id":"a505b709-429b-440a-b77b-bf5b5ff94f5e","request":{"method":"DELETE","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}","description":"<p>Inativa um centro de custo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cost_centers","{{cost_center_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"6a74fce9-4eba-4b81-b3a4-12ad00a92b00","name":"Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:55:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"c740c426-6b33-432a-9074-2a1a15ecfea5","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.044606","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531770927,\"ip\":\"127.0.0.1\"}}"},{"id":"33ac1f0e-56a3-4bf2-ad79-616bc8a32817","name":"Exemplo de remoção com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/cost_centers/{{cost_center_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 19:53:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"945354060d34b423b1be7a0ad0a0ce1d\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"8482f1d4-f214-47f5-815c-e47a931888fe","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.058400","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Centro de custo removido com sucesso!\",\"meta\":{\"now\":1531770821,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"a505b709-429b-440a-b77b-bf5b5ff94f5e"}],"id":"46e8d5ea-8c35-4918-b7e9-cc4710a707c0","event":[{"listen":"prerequest","script":{"id":"630a4cfb-82a3-4380-947c-35ddbd54f132","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1b98149d-9782-4dbb-8db8-b3ffe8e6e10e","type":"text/javascript","exec":[""]}}],"_postman_id":"46e8d5ea-8c35-4918-b7e9-cc4710a707c0","description":""},{"name":"Departamentos","item":[{"name":"Listar","id":"cf8ffa85-8849-4697-87c9-dc5f704c80f8","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/departments","description":"<p>Lista os departamentos.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do departamento</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do departamento</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Objeto</td>\n<td>Unidade de negócio à qual o departamento pertence</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>employees_count</td>\n<td>Integer</td>\n<td>Quantidade de colaboradores</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do departamento</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-business_unit\">Formato do objeto business_unit</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","departments"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"a54a5b53-607e-4d9a-a7f4-f95ae1feedd4","name":"Exemplo de edição com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/departments?attributes=id,code,name,business_unit&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","departments"],"query":[{"key":"attributes","value":"id,code,name,business_unit","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:01:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c364e9bc15e88d2809099ea7f4d3fce1\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"7deab0c5-199c-427a-b87d-68ecf52ebf6c","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.173024","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"departments\": [\n        {\n            \"id\": 123123,\n            \"code\": \"0003\",\n            \"name\": \"Departamento 3\",\n            \"business_unit\": {\n                \"id\": 5,\n                \"name\": \"Pontomais\"\n            }\n        },\n        {\n            \"id\": 123124,\n            \"code\": \"0004\",\n            \"name\": \"Departamento 4\",\n            \"business_unit\": {\n                \"id\": 5,\n                \"name\": \"Pontomais\"\n            }\n        },\n        {\n            \"id\": 123125,\n            \"code\": \"0005\",\n            \"name\": \"Departamento 5\",\n            \"business_unit\": {\n                \"id\": 5,\n                \"name\": \"Pontomais\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"now\": 1531771293,\n        \"ip\": \"127.0.0.1\",\n        \"count\": 3\n    }\n}"}],"_postman_id":"cf8ffa85-8849-4697-87c9-dc5f704c80f8"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"91337a30-8e42-433b-9d53-dea05b5aebaa","exec":["pm.variables.set(\"department_id\", 43537)"],"type":"text/javascript"}}],"id":"790b8892-92c5-43b4-bebd-19e81155c091","request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/departments/{{department_id}}?attributes=id,code,name,business_unit,observation,created_at","description":"<p>Exibe os atributos de um departamento.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do departamento</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do departamento</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Objeto</td>\n<td>Unidade de negócio à qual o departamento pertence</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>employees_count</td>\n<td>Integer</td>\n<td>Quantidade de colaboradores</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do departamento</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-business_unit\">Formato do objeto business_unit</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","departments","{{department_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,code,name,business_unit,observation,created_at"}],"variable":[]}},"response":[{"id":"3ff1972a-f49f-41df-a41d-30f0033fd91d","name":"Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/public_api/integration/departments/{{department_id}}?attributes=id,code,name,business_unit","host":["{{server_url}}"],"path":["public_api","integration","departments","{{department_id}}"],"query":[{"key":"attributes","value":"id,code,name,business_unit","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:05:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"b446ff7b-49f3-4529-8f83-ebe9189bf6db","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.040992","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531771541,\"ip\":\"127.0.0.1\"}}"},{"id":"ef8e70fb-a03c-46c8-b0e7-226a93a44078","name":"Exemplo bem sucedido","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/departments/{{department_id}}?attributes=id,code,name,business_unit","host":["{{server_url}}"],"path":["external_api","v1","departments","{{department_id}}"],"query":[{"key":"attributes","value":"id,code,name,business_unit","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:03:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a0514b21d7c3083f2f00c838f45aae36\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"905492f0-0188-426c-8c70-0f8a1212d4de","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.042814","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"department\":{\"id\":14833,\"code\":\"0002\",\"name\":\"teste\",\"business_unit\":{\"id\":5,\"name\":\"Pontomais\"}},\"meta\":{\"now\":1531771402,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"790b8892-92c5-43b4-bebd-19e81155c091"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"021be472-6545-4882-afe1-98929c44935b","exec":["pm.variables.set(\"code\", \"0001\")","pm.variables.set(\"name\", \"Departamento 1\")","pm.variables.set(\"observation\", \"\")","pm.variables.set(\"business_unit_id\", 5)"],"type":"text/javascript"}}],"id":"802e6d5f-4b3e-459a-a806-c737fb7f2591","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"department\":\n  {\n    \"code\":\"{{code}}\",\n    \"name\":\"{{name}}\",\n    \"observation\":\"{{observation}}\",\n    \"business_unit_id\": {{business_unit_id}}\n  }\n}"},"url":"{{server_url}}/external_api/v1/departments","description":"<p>Cria um departamento.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do departamento</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador do departamento</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da unidade de négocio à qual o departamento deve pertencer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","departments"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"ba9f9af1-04b8-4e5c-90ca-770c0c212509","name":"Exemplo de erro no cadastro","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"department\": {\n    \"code\":\"0003\",\n    \"name\":\"Departamento 3\",\n    \"observation\":\"Lorem ipsum\",\n    \"business_unit_id\": 123123\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/departments"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:07:29 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"67a31ad4-a203-4174-a4b1-d045960ce88c","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.051208","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"business_unit\":[\"Não pode ficar em branco\",\"Não está incluído na lista\"]},\"meta\":{\"now\":1531771649,\"ip\":\"127.0.0.1\"}}"},{"id":"4ce95386-6a6d-4779-bd53-7ec982b0ad9d","name":"Exemplo bem sucedido de cadastro","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"department\": {\n    \"code\":\"0003\",\n    \"name\":\"Departamento 3\",\n    \"observation\":\"Lorem ipsum\",\n    \"business_unit_id\":123123\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/departments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:06:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1fb4ecae4b586a29e2e3c7b38fa0b156\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"11376126-ede1-46c7-82f9-90974bb8c1fb","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.326367","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Departamento cadastrado com sucesso!\",\"meta\":{\"now\":1531771583,\"ip\":\"127.0.0.1\"},\"id\":14901}"}],"_postman_id":"802e6d5f-4b3e-459a-a806-c737fb7f2591"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"59a1cc1e-e995-4612-8bf7-49be4caad268","exec":["pm.variables.set(\"department_id\", 14900)","pm.variables.set(\"code\", \"0001\")","pm.variables.set(\"name\", \"Departamento 1\")","pm.variables.set(\"observation\", \"\")","pm.variables.set(\"business_unit_id\", 5)"],"type":"text/javascript"}}],"id":"83fdfe62-7a4d-4ca0-b22e-7afe258d3ea0","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"department\":\n  {\n    \"code\":\"{{code}}\",\n    \"name\":\"{{name}}\",\n    \"observation\":\"{{observation}}\",\n    \"business_unit_id\": {{business_unit_id}}\n  }\n}"},"url":"{{server_url}}/external_api/v1/{{department_id}}","description":"<p>Edita um departamento.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Não</td>\n<td>Nome do departamento</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador do departamento</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da unidade de négocio à qual o departamento deve pertencer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","{{department_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"4ff34f2a-7baa-4429-879d-ebb894e6577a","name":"Exemplo de edição com erro","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"department\": {\n    \"code\":\"0003\",\n    \"name\":\"Departamento 3\",\n    \"observation\":\"\",\n    \"business_unit_id\": 123123\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/departments/{{department_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:12:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"8899e5b3-85ab-4fa8-befb-a88cea78aadc","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.053763","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"business_unit\":[\"Não pode ficar em branco\",\"Não está incluído na lista\"]},\"meta\":{\"now\":1531771932,\"ip\":\"127.0.0.1\"}}"},{"id":"299c8bb2-39da-4d7b-9c4c-bb96f20bc350","name":"Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"department\": {\n    \"code\":\"0003\",\n    \"name\":\"Departamento 3\",\n    \"observation\":\"\",\n    \"business_unit_id\": 5\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/departments/{{department_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:10:45 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"7ff1b554013c8bf91fc2938ff70dc58f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"f08f0f4a-ff7f-45d3-bea5-ffe7ca52bad8","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.054456","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Departamento editado com sucesso!\",\"meta\":{\"now\":1531771845,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"83fdfe62-7a4d-4ca0-b22e-7afe258d3ea0"},{"name":"Inativar","event":[{"listen":"prerequest","script":{"id":"3f44e90a-edf5-4afb-ae53-29865b6f75e2","type":"text/javascript","exec":["pm.variables.set(\"department_id\", 14900)",""]}}],"id":"dbf0465b-87b3-4007-9a16-e733f135fb4b","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/departments/{{department_id}}","description":"<p>Inativa um departamento.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do departamento</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","departments","{{department_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3de3654c-57e3-4edb-8e50-a791ba13d7da","name":"Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/departments/{{department_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:10:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"8ff821ef-8385-4586-ac63-87ffadc9528b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.040438","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531771806,\"ip\":\"127.0.0.1\"}}"},{"id":"9f899e1e-b073-4e6e-8c9a-f718ade5449c","name":"Exemplo de remoção com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/departments/{{department_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:09:11 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"0c6f0021ae33ca1cca1117e43ba355a7\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"ebab87aa-4a0a-43ec-ae93-e578ab211a9e","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.088724","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Departamento removido com sucesso!\",\"meta\":{\"now\":1531771751,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"dbf0465b-87b3-4007-9a16-e733f135fb4b"}],"id":"d83e8bfc-c6b2-4370-8b7d-91c363865ffd","event":[{"listen":"prerequest","script":{"id":"a23bef56-8616-417a-8e78-6acc3196120e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7bcd56e4-0aff-4b89-a7fa-02a4127846e3","type":"text/javascript","exec":[""]}}],"_postman_id":"d83e8bfc-c6b2-4370-8b7d-91c363865ffd","description":""},{"name":"Cargos","item":[{"name":"CBO","item":[{"name":"Listar","id":"11f26cdd-bcd6-445e-adc4-9ae058339a42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{external_token}}"}],"url":"{{server_url}}/external_api/v1/job_titles/cbos?attributes=id,code,name","description":"<p>Lista os cargos.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do cargo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>female_name</td>\n<td>String (60)</td>\n<td>Nome feminino do cargo</td>\n</tr>\n<tr>\n<td>cbo</td>\n<td>Object</td>\n<td>CBO (Classificação Brasileira de Ocupações)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"formato-do-objeto-cbo\">Formato do objeto cbo</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (6)</td>\n<td>Código CBO (Classificação Brasileira de Ocupações). Esse código pode ser encontrado em <a href=\"http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf\">http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf</a></td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da ocupação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","job_titles","cbos"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,code,name"}],"variable":[]}},"response":[{"id":"8ce73c17-28d7-4877-ae45-e89d84fa32dd","name":"Exemplo bem sucedido","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/job_titles?attributes=id,code,name&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","job_titles"],"query":[{"key":"attributes","value":"id,code,name","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:35:11 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"7f4c5a1d7230a9adc077a7879fa13609\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"bf5e7deb-7d12-4abe-a092-c2809dcec305","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.261941","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"job_titles\": [\n    {\n      \"id\": 6,\n      \"code\": \"01\",\n      \"name\": \"Gerente\"\n    },\n    {\n      \"id\": 5,\n      \"code\": \"02\",\n      \"name\": \"Analista Desenvolvedor\"\n    },\n    {\n      \"id\": 14,\n      \"code\": \"03\",\n      \"name\": \"Marketing\"\n    },\n    {\n      \"id\": 1394,\n      \"code\": \"04\",\n      \"name\": \"Encantador de Clientes\"\n    },\n    {\n      \"id\": 2356,\n      \"code\": \"05\",\n      \"name\": \"Consultor de Vendas\"\n    }\n  ],\n  \"meta\": {\n    \"now\": 1531773311,\n    \"ip\": \"127.0.0.1\",\n    \"count\": 6\n  }\n}"}],"_postman_id":"11f26cdd-bcd6-445e-adc4-9ae058339a42"}],"id":"3cf701c4-db84-4c6b-896f-15ab7c5dd8c7","_postman_id":"3cf701c4-db84-4c6b-896f-15ab7c5dd8c7","description":""},{"name":"Listar","id":"f1962828-00d9-46ca-a99c-02bd4ebca02a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{external_token}}"}],"url":"{{server_url}}/external_api/v1/job_titles?attributes=id,code,name,female_name,cbo&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista os cargos.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do cargo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>female_name</td>\n<td>String (60)</td>\n<td>Nome feminino do cargo</td>\n</tr>\n<tr>\n<td>cbo</td>\n<td>Object</td>\n<td>CBO (Classificação Brasileira de Ocupações)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"formato-do-objeto-cbo\">Formato do objeto cbo</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (6)</td>\n<td>Código CBO (Classificação Brasileira de Ocupações). Esse código pode ser encontrado em <a href=\"http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf\">http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf</a></td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da ocupação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","job_titles"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,code,name,female_name,cbo"},{"key":"count","value":"{{count}}"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"e5e01ddd-5108-482e-9595-ac3011f3fae6","name":"Exemplo bem sucedido","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/job_titles?attributes=id,code,name&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","job_titles"],"query":[{"key":"attributes","value":"id,code,name","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:35:11 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"7f4c5a1d7230a9adc077a7879fa13609\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"bf5e7deb-7d12-4abe-a092-c2809dcec305","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.261941","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"job_titles\": [\n    {\n      \"id\": 6,\n      \"code\": \"01\",\n      \"name\": \"Gerente\"\n    },\n    {\n      \"id\": 5,\n      \"code\": \"02\",\n      \"name\": \"Analista Desenvolvedor\"\n    },\n    {\n      \"id\": 14,\n      \"code\": \"03\",\n      \"name\": \"Marketing\"\n    },\n    {\n      \"id\": 1394,\n      \"code\": \"04\",\n      \"name\": \"Encantador de Clientes\"\n    },\n    {\n      \"id\": 2356,\n      \"code\": \"05\",\n      \"name\": \"Consultor de Vendas\"\n    }\n  ],\n  \"meta\": {\n    \"now\": 1531773311,\n    \"ip\": \"127.0.0.1\",\n    \"count\": 6\n  }\n}"}],"_postman_id":"f1962828-00d9-46ca-a99c-02bd4ebca02a"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"fbd847c3-3a09-4a72-b62d-3a462839fc2b","exec":["pm.variables.set(\"job_title_id\", 14)"],"type":"text/javascript"}}],"id":"8546c9d9-8450-42bc-b2a8-540191a730e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/job_titles/533813?attributes=id,code,name,cbo","description":"<p>Exibe os atributos de um cargo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>job_title_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do cargo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do cargo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>female_name</td>\n<td>String (60)</td>\n<td>Nome feminino do cargo</td>\n</tr>\n<tr>\n<td>cbo</td>\n<td>Object</td>\n<td>CBO (Classificação Brasileira de Ocupações)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"formato-do-objeto-cbo\">Formato do objeto cbo</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (6)</td>\n<td>Código CBO (Classificação Brasileira de Ocupações). Esse código pode ser encontrado em <a href=\"http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf\">http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf</a></td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da ocupação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","job_titles","533813"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,code,name,cbo"}],"variable":[]}},"response":[{"id":"c7632082-3916-45fe-9214-2844125f2694","name":"Exemplo bem sucedido","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}?attributes=id,code,name","host":["{{server_url}}"],"path":["external_api","v1","job_titles","{{job_title_id}}"],"query":[{"key":"attributes","value":"id,code,name","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:38:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9bf4e05e80b27e7193b40ecc07998e99\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a57c009f-b186-42bf-ba0c-3954b042507d","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.044707","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"job_title\":{\"id\": 6,\"code\":\"02\",\"name\":\"Gerente\"},\"meta\":{\"now\":1531773539,\"ip\":\"127.0.0.1\"}}"},{"id":"062b28bf-cde4-4c71-acf6-d4a8ef90750b","name":"Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}?attributes=id,code,name","host":["{{server_url}}"],"path":["external_api","v1","job_titles","{{job_title_id}}"],"query":[{"key":"attributes","value":"id,code,name","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:40:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"889909a4-612b-4f12-bf5e-21f9dfd75ca8","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.072800","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531773606,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"8546c9d9-8450-42bc-b2a8-540191a730e7"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"1113e3b2-974a-4cf6-95d6-7d16cfe2c133","exec":[""],"type":"text/javascript"}}],"id":"2f340ba2-85c2-46ef-bb4a-e302d53e6b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"job_title\": {\n  \t\"code\":\"{{job_title_code}}\",\n  \t\"name\":\"{{job_title_name}}\",\n    \"female_name\":\"{{job_title_female_name}}\",\n    \"cbo_code\": \"{{cbo_code}}\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/job_titles","description":"<p>Cria um cargo.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>código</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>female_name</td>\n<td>String (60)</td>\n<td>Não</td>\n<td>Nome feminino do cargo</td>\n</tr>\n<tr>\n<td>cbo_code</td>\n<td>String (6)</td>\n<td>Não</td>\n<td>Código CBO (Classificação Brasileira de Ocupações). Esse código pode ser encontrado em <a href=\"http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf\">http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","job_titles"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3496a10d-8cdc-4567-9f4b-1cda63f5c9e1","name":"CBO desconhecido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"job_title\": {\n  \t\"code\":\"{{code}}\",\n  \t\"name\":\"{{name}}\",\n    \"female_name\":\"{{female_name}}\",\n    \"cbo_code\": {{cbo_code}}\n  }\n}"},"url":"{{server_url}}/external_api/v1/job_titles"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"57ff6860-3d40-4ae8-8efd-5a3449e29475"},{"key":"X-Runtime","value":"0.131602"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Tue, 25 Aug 2020 20:46:49 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"base\": [\n            \"CBO desconhecido. Não foi possível encontrar um CBO a partir do cbo_code informado\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1598388408,\n        \"ip\": \"191.177.186.252\"\n    }\n}"},{"id":"495333f8-f015-482f-909a-c6d4bd7b1bdf","name":"Cargo criado com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"job_title\": {\n  \t\"code\":\"{{job_title_code}}\",\n  \t\"name\":\"{{job_title_name}}\",\n    \"female_name\":\"{{job_title_female_name}}\",\n    \"cbo_code\": \"{{cbo_code}}\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/job_titles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"201 Created"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"e160c7dd-3d8e-4831-92d4-eda76719762a"},{"key":"ETag","value":"W/\"e0fc1555c7f7d56e4b9c194719ad86fd\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.106116"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 27 Aug 2020 18:35:19 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Cargo cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1598553319,\n        \"ip\": \"172.19.0.1\"\n    },\n    \"id\": 127\n}"},{"id":"9d60ba5f-ea9d-4c5d-950d-be298c858596","name":"Exemplo de erro ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"job_title\":\n\t{\n\t\t\"id\": 8,\n\t\t\"code\":\"08\",\n\t\t\"name\":\"\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/job_titles"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:45:25 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"f1ebd1c8-7eb9-4334-b4e0-d6b09dbbc715","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.045499","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"name\":[\"Não pode ficar em branco\"]},\"meta\":{\"now\":1531773925,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"2f340ba2-85c2-46ef-bb4a-e302d53e6b58"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"926f0168-4b40-471a-b34d-351732da8863","exec":["pm.variables.set(\"job_title_id\", 14)","","pm.variables.set(\"code\", \"0004\")","pm.variables.set(\"name\", \"Super Nerd 1\")","pm.variables.set(\"female_name\", \"\")","pm.variables.set(\"cbo_id\", \"\")"],"type":"text/javascript"}}],"id":"e7a24037-b257-40a3-a5b2-80e3cc53baf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"job_title\":\n  {\n    \"code\":\"{{code}}\",\n    \"name\":\"{{name}}\",\n    \"female_name\":\"{{female_name}}\",\n    \"cbo_code\": \"{{cbo_code}}\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/job_titles/26385","description":"<p>Edita um cargo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>job_title_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do cargo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>código</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>female_name</td>\n<td>String (60)</td>\n<td>Não</td>\n<td>Nome feminino do cargo</td>\n</tr>\n<tr>\n<td>cbo_code</td>\n<td>String (6)</td>\n<td>Não</td>\n<td>Código CBO (Classificação Brasileira de Ocupações). Esse código pode ser encontrado em <a href=\"http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf\">http://www.mtecbo.gov.br/cbosite/pages/pesquisas/BuscaPorTitulo.jsf</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","job_titles","26385"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"e41e9525-2a2e-4902-89bf-d4b1150ac630","name":" Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"job_title\": {\n    \"code\":\"08\",\n    \"name\":\"Vendedor\",\n    \"female_name\":\"\",\n    \"cbo_id\":\"\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:47:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f76b3cbda9a6bfca2eea9ec67721b098\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"235b4f5f-5b3c-4957-a475-963e03768cef","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.067080","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Cargo editado com sucesso!\",\"meta\":{\"now\":1531774054,\"ip\":\"127.0.0.1\"}}"},{"id":"98f42a4e-9766-4dcd-8167-bb7594643621","name":"Exemplo de registro não encontrado","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"job_title\": {\n    \"code\":\"08\",\n    \"name\":\"Vendedor\",\n    \"female_name\":\"\",\n    \"cbo_id\":\"\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:46:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"dc492373-fd9c-4979-a16a-d5c45f438e3d","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.040058","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531773974,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"e7a24037-b257-40a3-a5b2-80e3cc53baf6"},{"name":"Inativar","event":[{"listen":"prerequest","script":{"id":"743af2a4-d8a5-4ffb-a39a-c70a687ef463","type":"text/javascript","exec":["pm.variables.set(\"job_title_id\", 77808)",""]}}],"id":"59841aed-3b5f-4e58-974d-f9b10b47c680","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}","description":"<p>Inativa um cargo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>job_title_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","job_titles","{{job_title_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"2c790015-f58e-496a-9fc7-ac914ce594cd","name":"Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:50:09 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"f56252e3-ff48-4781-bb02-2356f65f77f5","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.035578","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531774209,\"ip\":\"127.0.0.1\"}}"},{"id":"fa69a554-a448-4076-b8f9-5b9660a5ac0d","name":"Exemplo de remoção com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/job_titles/{{job_title_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:49:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f8ecfb581f14450a8d9b7b111aaa9eb6\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"bd690c13-cf98-445a-9d26-b5b44d5413d3","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.063943","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Cargo removido com sucesso!\",\"meta\":{\"now\":1531774140,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"59841aed-3b5f-4e58-974d-f9b10b47c680"}],"id":"d8db829b-fb2c-4bd7-a1a4-995dc2b0f466","event":[{"listen":"prerequest","script":{"id":"7030ea9d-3149-41bf-801d-bf0234eb5955","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e9b58a17-2059-49b4-8dc5-db4af2fd45fc","type":"text/javascript","exec":[""]}}],"_postman_id":"d8db829b-fb2c-4bd7-a1a4-995dc2b0f466","description":""},{"name":"Feriados","item":[{"name":"V1","item":[{"name":"Listar","event":[{"listen":"test","script":{"id":"2bcffda2-c520-4931-985f-e1f80c5d0f25","exec":["let response = pm.response.json()","","pm.environment.set(\"holiday_id\", response['holidays'][0]['id'])","",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"f6a10aa6-c072-4762-b0e2-0f39c4ef79bb","request":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token_local}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/holidays?attributes=id,name,fixed,date,active,team,department,business_unit,cost_center,shift&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista os feriados cadastrados.</p>\n<h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Contar total de registros (_true - sim</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Número da página iniciando em 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Número de registros por página</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Não</td>\n<td>Lista de campos desejados separados por vírgula, ex: \"id,code,name\"</td>\n</tr>\n<tr>\n<td>sort_property</td>\n<td>String</td>\n<td>Não</td>\n<td>Campos que devem ser ordenados, separados por vírgula, ex1: \"name\", ex2: \"name,date\"</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>String</td>\n<td>Não</td>\n<td>Direção da ordenação dos campos a serem ordenados (<em>valores possíveis são asc ou desc</em>), ex1: \"asc\", ex2: \"asc,desc\"</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por nome</td>\n</tr>\n<tr>\n<td>year</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por ano</td>\n</tr>\n<tr>\n<td>search</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca geral, busca por nome, data, equipe, departamento, unidade, centro de custos ou turno</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por equipe</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por departamento</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por unidade de negócios</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por centro de custos</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por turno</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>O feriado é recorrente? Ou seja, a data se repete em todos os anos? (_true - sim, se repete todos os anos</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>O feriado está ativo? (_true - sim</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Object</td>\n<td>Departamento à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Object</td>\n<td>Unidade de negócio à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Object</td>\n<td>Centro de custo à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno à qual o feriado se refere</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da equipe</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-department\">Formato do objeto department</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da departamento</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-business_unit\">Formato do objeto business_unit</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-cost_center\">Formato do objeto cost_center</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da centro de custos</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da centro de custos</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift\">Formato do objeto shift</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da turno</td>\n</tr>\n<tr>\n<td>main_parent_id</td>\n<td>Integer</td>\n<td>Identificador sequencial do histórico de alterações do turno gerado automaticamente pelo sistema</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","holidays"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,name,fixed,date,active,team,department,business_unit,cost_center,shift"},{"disabled":true,"key":"sort_property","value":"date"},{"disabled":true,"key":"sort_direction","value":"desc"},{"disabled":true,"key":"year","value":"2018"},{"key":"count","value":"{{count}}"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"9416f840-c0a0-4e0c-bd8e-4afc0f597121","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"url":{"raw":"{{server_url}}/external_api/v1/holidays?attributes=id,name,fixed,date,business_unit&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","holidays"],"query":[{"key":"attributes","value":"id,name,fixed,date,business_unit","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:53:36 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"d46d1fa60cbf4210751298c29c19f026\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"200 OK","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0a179588-7fd1-4b00-8c27-c9ff202f6b0e","description":"Custom header"},{"key":"X-Runtime","value":"0.305400","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"holidays\": [\n        {\n            \"id\": 316,\n            \"name\": \"Meu Novo Feriado\",\n            \"fixed\": false,\n            \"date\": \"2026-02-20\",\n            \"team\": {\n                \"id\": 1,\n                \"code\": \"0001\",\n                \"name\": \"Administração\"\n            },\n            \"department\": null,\n            \"business_unit\": null,\n            \"cost_center\": null,\n            \"shift\": null\n        },\n        {\n            \"id\": 317,\n            \"name\": \"Novo Feriado Importante\",\n            \"fixed\": false,\n            \"date\": \"2026-02-21\",\n            \"team\": {\n                \"id\": 1,\n                \"code\": \"0001\",\n                \"name\": \"Administração\"\n            },\n            \"department\": null,\n            \"business_unit\": null,\n            \"cost_center\": null,\n            \"shift\": null\n        }\n    ],\n    \"meta\": {\n        \"now\": 1771615562,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false,\n        \"count\": 2\n    }\n}"}],"_postman_id":"f6a10aa6-c072-4762-b0e2-0f39c4ef79bb"},{"name":"Detalhar","id":"8da40e3b-9340-4905-ae92-49657204c38a","request":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}","description":"<p>Exibe os atributos de um feriado.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holiday_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do feriado a ser detalhado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Não</td>\n<td>Lista de campos desejados separados por vírgula, ex: \"id,code,name\"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>O feriado é recorrente? Ou seja, a data se repete em todos os anos? (<em>true - sim, se repete todos os anos | false - não, a data se aplica apenas ao ano corrente</em>)</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>O feriado está ativo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Object</td>\n<td>Departamento à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Object</td>\n<td>Unidade de negócio à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Object</td>\n<td>Centro de custo à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno à qual o feriado se refere</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da equipe</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-department\">Formato do objeto department</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da departamento</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-business_unit\">Formato do objeto business_unit</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da unidade de negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-cost_center\">Formato do objeto cost_center</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da centro de custos</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da centro de custos</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift\">Formato do objeto shift</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome da turno</td>\n</tr>\n<tr>\n<td>main_parent_id</td>\n<td>Integer</td>\n<td>Identificador sequencial do histórico de alterações do turno gerado automaticamente pelo sistema</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","holidays","{{holiday_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3b320665-04df-441a-9a8c-f608a62a2046","name":" Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"url":{"raw":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}?attributes=id,name,fixed,date,business_unit,cost_center,team,shift,department","host":["{{server_url}}"],"path":["external_api","v1","holidays","{{holiday_id}}"],"query":[{"key":"attributes","value":"id,name,fixed,date,business_unit,cost_center,team,shift,department","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:54:29 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"818e97ab430b4500e92677579eee9656\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"200 OK","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"b43b7d7f-8c02-4c53-b6ee-e1aaa003b915","description":"Custom header"},{"key":"X-Runtime","value":"0.071246","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"holiday\": {\n        \"id\": 316,\n        \"created_at\": 1771615414,\n        \"updated_at\": 1771615414,\n        \"name\": \"Meu Novo Feriado\",\n        \"date\": \"2026-02-20\",\n        \"fixed\": false,\n        \"team\": {\n            \"id\": 1,\n            \"code\": \"0001\",\n            \"name\": \"Administração\"\n        },\n        \"department\": null,\n        \"business_unit\": null,\n        \"cost_center\": null,\n        \"shift\": null,\n        \"group_id\": null\n    },\n    \"meta\": {\n        \"now\": 1771615421,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"91345730-fc1d-4eda-b925-198257e2b001","name":" Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"url":{"raw":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}?attributes=id,name,fixed,date,business_unit,cost_center,team,shift,department","host":["{{server_url}}"],"path":["external_api","v1","holidays","{{holiday_id}}"],"query":[{"key":"attributes","value":"id,name,fixed,date,business_unit,cost_center,team,shift,department","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:55:07 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"3609a861-f176-4fe3-af7d-a63b28be9239","description":"Custom header"},{"key":"X-Runtime","value":"0.050734","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Registro não encontrado\",\n    \"meta\": {\n        \"now\": 1771615857,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"8da40e3b-9340-4905-ae92-49657204c38a"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"5e74d128-55c0-40fd-b946-5bbbf067d014","exec":["pm.variables.set(\"name\", \"Dia universal dos cavaleiros jedi\")","pm.variables.set(\"fixed\", true)","pm.variables.set(\"date\", \"02/07/2020\")","pm.variables.set(\"business_unit_id\", 10548)",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2f74cc8a-4b01-49e6-8537-7b57868c7412","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token_local}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\": \"Novo Feriado Departamento\",\n    \"fixed\": false,\n    \"date\": \"2026-02-22\",\n    \"team_id\": null,\n    \"department_id\": null,\n    \"business_unit_id\": 1,\n    \"cost_center_id\": null,\n    \"shift_id\": null\n  }\n}"},"url":"{{server_url}}/external_api/v1/holidays","description":"<p>Cria um feriado.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado é fixo? Ou seja, deve se repetir em todos os anos? (<em>true - sim, todos os anos | false - não, apenas no ano corrente</em>)</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado está ativo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da equipe à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as equipes</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do departamento à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os departamentos</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da unidade de negócio à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as unidades</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do centro de custos à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os centros de custos</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do turno à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os turnos</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","holidays"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"f3d6144b-f382-4fc2-94b8-62100a2ab3e8","name":" Exemplo de erro no cadastro","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:57:12 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"727e2e32-ac66-49b6-9c5c-7e2fe3f2a530","description":"Custom header"},{"key":"X-Runtime","value":"0.051999","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"business_unit\": [\n            \"Não está incluído na lista\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1771615753,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"2e3e781f-89a4-4211-9b82-40b1118b5bec","name":" Exemplo de sucesso ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:56:43 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6ab6bb62e7ef08152e1f47a896a3ca45\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"340f3256-f187-4f62-97b4-7063cbd3726c","description":"Custom header"},{"key":"X-Runtime","value":"0.545442","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Feriado cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1771615791,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    },\n    \"id\": 318,\n    \"job_id\": [\n        \"1771615791819864DB8F93C7720D823150309605E28B820D\"\n    ]\n}"}],"_postman_id":"2f74cc8a-4b01-49e6-8537-7b57868c7412"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"aaabc6c4-8d12-4452-b2e6-8b66a8cb3a10","exec":["pm.variables.set(\"holiday_id\", 80060)","","pm.variables.set(\"name\", \"Dia universal dos cavaleiros jedi\")","pm.variables.set(\"fixed\", true)","pm.variables.set(\"date\", \"02/07/2020\")","pm.variables.set(\"business_unit_id\", 10548)",""],"type":"text/javascript"}}],"id":"48433265-508a-4eff-84a7-32b7716907de","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\": \"{{name}}\",\n    \"fixed\": {{holiday_fixed}},\n    \"date\": \"{{date}}\",\n    \"team_id\": {{team_id}},\n    \"department_id\": {{department_id}},\n    \"business_unit_id\": {{business_unit_id}},\n    \"cost_center_id\": {{cost_center_id}},\n    \"shift_id\": {{shift_id}}\n  }\n}"},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}","description":"<p>Edita um Feriado.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holiday_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do feriado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado é fixo? Ou seja, deve se repetir em todos os anos? (<em>true - sim, todos os anos | false - não, apenas no ano corrente</em>)</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado está ativo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da equipe à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as equipes</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do departamento à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os departamentos</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da unidade de negócio à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as unidades</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do centro de custos à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os centros de custos</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do turno à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os turnos</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","holidays","{{holiday_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"5772e322-6f01-4c58-ac34-846421ddfb70","name":"Exemplo de registro não econtrado","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"acess-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:59:39 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0ca4b9a8-e79c-40fd-aa35-3c6a0cf76411","description":"Custom header"},{"key":"X-Runtime","value":"0.042797","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531774779,\"ip\":\"127.0.0.1\"}}"},{"id":"5a1edcea-d22d-493c-b39d-3dea607abcf3","name":" Exemplo de edição sem sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:03:08 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"18549872-6028-46f8-a0d3-91e33d6642d1","description":"Custom header"},{"key":"X-Runtime","value":"0.109022","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"business_unit\":[\"Não está incluído na lista\"]},\"meta\":{\"now\":1531774988,\"ip\":\"127.0.0.1\"}}"},{"id":"02560177-5736-48c2-93ad-adfe1742b823","name":" Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:01:18 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c137927d2019a05a4e9d32b7671d1672\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"c6d51fc1-2ae2-4a9b-840f-91d4b5620796","description":"Custom header"},{"key":"X-Runtime","value":"0.897760","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Feriado editado com sucesso!\",\n    \"meta\": {\n        \"now\": 1531774877,\n        \"ip\": \"127.0.0.1\"\n    },\n    \"id\": 80061\n}"},{"id":"5a5463f9-700b-4486-aa5b-1e22203a5d09","name":"Exemplo falha de edição de feriado agregado","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:01:18 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c137927d2019a05a4e9d32b7671d1672\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"c6d51fc1-2ae2-4a9b-840f-91d4b5620796","description":"Custom header"},{"key":"X-Runtime","value":"0.897760","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Esse feriado pertence a um grupo e não pode ser atualizado individualmente via API V1 use a API V2. Consulte a documentação para mais informações\",\n    \"meta\": {\n        \"now\": 1771611467,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"4681c574-2b5c-480c-ad67-5afac4890152","name":"Exemplo falha ao editar feriado de equipe fora do escopo do colaborador","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"holiday\": {\n    \"name\":\"Dia do programador\",\n    \"fixed\":true,\n    \"date\":\"12/09\",\n    \"business_unit_id\":10548\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:01:18 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c137927d2019a05a4e9d32b7671d1672\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"c6d51fc1-2ae2-4a9b-840f-91d4b5620796","description":"Custom header"},{"key":"X-Runtime","value":"0.897760","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"team_id\": \"A equipe está fora do Filtro de Unidades aplicado. Verifique o menu Configurações / Segurança.\"\n    },\n    \"meta\": {\n        \"now\": 1771619300,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"48433265-508a-4eff-84a7-32b7716907de"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"637d5c7c-20bd-4778-b572-1c465c4a17a4","exec":["pm.variables.set(\"holiday_id\", 80060)"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5c35e810-7124-45f7-abec-11f17cc33041","request":{"method":"DELETE","header":[{"key":"access-token","value":"$2a$12$fU/nJh74nnjTzLN9rp1/HeT5VRv3p2iT1X180mPeFi0oKizTmmSUS"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/holidays/321","description":"<p>Exclui um cargo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holiday_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do feriado a ser excluído</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","holidays","321"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3872b09b-e859-45b5-959c-13b4180ebdd5","name":" Exemplo de remoção com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-tokken","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:03:49 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6881a6f06bb9a5456402622cf0c99d8d\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"200 OK","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"84a8dd44-e49a-4176-943b-df857b2237ae","description":"Custom header"},{"key":"X-Runtime","value":"0.114004","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Feriado removido com sucesso!\",\n    \"meta\": {\n        \"now\": 1771615167,\n        \"ip\": \"172.0.0.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"9dfb43e7-30c1-413e-8a4e-95404e881a70","name":" Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/holidays/{{holiday_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:04:28 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d87c114c-b155-4499-b8ad-afdb56e91738","description":"Custom header"},{"key":"X-Runtime","value":"0.041714","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Registro não encontrado.\",\n    \"meta\": {\n        \"now\": 1771615199,\n        \"ip\": \"127.0.0.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"5c35e810-7124-45f7-abec-11f17cc33041"}],"id":"57f1a8c0-abb7-4a29-b648-73b5acc52d5d","description":"<p>Documentação para cadastrar Feriados para Equipes, Unidade de Negócio, Centro de Custo, Departamento ou Turno.<br />Nessa versão, é possível cadastrar apenas para um único grupamento dos informados acima.</p>\n","_postman_id":"57f1a8c0-abb7-4a29-b648-73b5acc52d5d"},{"name":"V2","item":[{"name":"Listar","id":"c171324e-e17a-4f96-9966-6afdaf362b14","request":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token}}","description":"<p>Token da API externa do cliente</p>\n"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays?attributes=id,name,fixed,date,active,team,department,business_unit,cost_center,shift&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista os feriados cadastrados.</p>\n<h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Contar total de registros (_true - sim</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Número da página iniciando em 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Número de registros por página</td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Não</td>\n<td>Lista de campos desejados separados por vírgula, ex: \"id,code,name\"</td>\n</tr>\n<tr>\n<td>sort_property</td>\n<td>String</td>\n<td>Não</td>\n<td>Campos que devem ser ordenados, separados por vírgula, ex1: \"name\", ex2: \"name,date\"</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>String</td>\n<td>Não</td>\n<td>Direção da ordenação dos campos a serem ordenados (<em>valores possíveis são asc ou desc</em>), ex1: \"asc\", ex2: \"asc,desc\"</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por nome</td>\n</tr>\n<tr>\n<td>year</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por ano</td>\n</tr>\n<tr>\n<td>search</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca geral, busca por nome, data, equipe, departamento, unidade, centro de custos ou turno</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por equipe</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por departamento</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por unidade de negócios</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por centro de custos</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtro de busca por turno</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>O feriado é recorrente? Ou seja, a data se repete em todos os anos? (_true - sim, se repete todos os anos</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>O feriado está ativo? (_true - sim</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Object</td>\n<td>Departamento à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Object</td>\n<td>Unidade de negócio à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Object</td>\n<td>Centro de custo à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno à qual o feriado se refere</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-retornado\">Formato do objeto retornado</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holidays</td>\n<td>lista</td>\n<td>id: ID do feriado  <br />name: Nome do Feriado  <br />date: Data do Feriado  <br />can_be_edited: Informa se o feriado pode ser editado pelo usuário que fez a requisição  <br />grupamento: Informa se o feriado é para uma Equipe, BU, Centro de Custo, Departamento. O valor retornado dentro dele é uma lista de id, name, code do grupamento informado</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>hash</td>\n<td>now: Hora da requisição  <br />ip: IP de origem da requisição  <br />obfuscated: Informa se os dados foram ofuscados  <br />count: Quantidade de objetos retornados.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","holidays"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,name,fixed,date,active,team,department,business_unit,cost_center,shift"},{"disabled":true,"key":"sort_property","value":"date"},{"disabled":true,"key":"sort_direction","value":"desc"},{"disabled":true,"key":"year","value":"2018"},{"key":"count","value":"{{count}}"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"6b057638-02f6-441a-b91d-e8d2e70de4ac","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"url":{"raw":"{{server_url}}/external_api/v2/holidays?attributes=id,name,fixed,date,business_unit&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v2","holidays"],"query":[{"key":"attributes","value":"id,name,fixed,date,business_unit","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:53:36 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"d46d1fa60cbf4210751298c29c19f026\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"200 OK","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0a179588-7fd1-4b00-8c27-c9ff202f6b0e","description":"Custom header"},{"key":"X-Runtime","value":"0.305400","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"holidays\": [\n        {\n            \"id\": 381,\n            \"name\": \"Meu feriado para Três Equipes\",\n            \"fixed\": true,\n            \"date\": \"2026-02-18\",\n            \"team\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Administração\",\n                    \"code\": \"0001\"\n                },\n                {\n                    \"id\": 2,\n                    \"name\": \"Administrativo\",\n                    \"code\": null\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"Financeiro\",\n                    \"code\": null\n                }\n            ],\n            \"can_be_edited\": true\n        }\n    ],\n    \"meta\": {\n        \"now\": 1771872909,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false,\n        \"count\": 1\n    }\n}"}],"_postman_id":"c171324e-e17a-4f96-9966-6afdaf362b14"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"8d442303-5dfb-4be1-9ec3-1824027ab179","exec":["pm.variables.set(\"holiday_id\", 81)"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6143604a-63d5-4cc1-845f-e1477ef6a797","request":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}","description":"<p>Exibe os atributos de um feriado.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holiday_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do feriado a ser detalhado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Não</td>\n<td>Lista de campos desejados separados por vírgula, ex: \"id,code,name\"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>O feriado é recorrente? Ou seja, a data se repete em todos os anos? (_true - sim, se repete todos os anos</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>O feriado está ativo? (_true - sim</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Object</td>\n<td>Departamento à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Object</td>\n<td>Unidade de negócio à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Object</td>\n<td>Centro de custo à qual o feriado se refere</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno à qual o feriado se refere</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-retornado\">Formato do objeto retornado</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holidays</td>\n<td>hash</td>\n<td>id: ID do feriado  <br />name: Nome do Feriado  <br />date: Data do Feriado  <br />can_be_edited: Informa se o feriado pode ser editado pelo usuário que fez a requisição  <br />grupamento: Informa se o feriado é para uma Equipe, BU, Centro de Custo, Departamento. O valor retornado dentro dele é uma lista de id, name, code do grupamento informado</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>hash</td>\n<td>now: Hora da requisição  <br />ip: IP de origem da requisição  <br />obfuscated: Informa se os dados foram ofuscados  <br />count: Quantidade de objetos retornados.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","holidays","{{holiday_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"a7596c36-a0da-4d4e-ac9e-74ac336500e6","name":" Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"url":{"raw":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}?attributes=id,name,fixed,date,business_unit","host":["{{server_url}}"],"path":["external_api","v2","holidays","{{holiday_id}}"],"query":[{"key":"attributes","value":"id,name,fixed,date,business_unit","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:54:29 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"818e97ab430b4500e92677579eee9656\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"200 OK","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"b43b7d7f-8c02-4c53-b6ee-e1aaa003b915","description":"Custom header"},{"key":"X-Runtime","value":"0.071246","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"holiday\": {\n        \"id\": 319,\n        \"name\": \"Feriado Imporante\",\n        \"date\": \"2026-05-01\",\n        \"fixed\": true,\n        \"active\": true,\n        \"teams\": [\n            {\n                \"id\": 5,\n                \"code\": null,\n                \"name\": \"RH\"\n            },\n            {\n                \"id\": 6,\n                \"code\": null,\n                \"name\": \"Desenvolvimento\"\n            }\n        ],\n        \"departments\": [],\n        \"business_units\": [],\n        \"cost_centers\": [],\n        \"shifts\": []\n    },\n    \"meta\": {\n        \"now\": 1771618072,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"abe13b83-e9a2-4826-bf98-d001a55c6655","name":" Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"url":{"raw":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}?attributes=id,name,fixed,date,business_unit","host":["{{server_url}}"],"path":["external_api","v2","holidays","{{holiday_id}}"],"query":[{"key":"attributes","value":"id,name,fixed,date,business_unit","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:55:07 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"3609a861-f176-4fe3-af7d-a63b28be9239","description":"Custom header"},{"key":"X-Runtime","value":"0.050734","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Registro não encontrado.\",\n    \"meta\": {\n        \"now\": 1771618096,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"6143604a-63d5-4cc1-845f-e1477ef6a797"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"5e74d128-55c0-40fd-b946-5bbbf067d014","exec":["pm.variables.set(\"name\", \"Dia universal dos cavaleiros jedi\")","pm.variables.set(\"fixed\", true)","pm.variables.set(\"date\", \"02/07/2020\")","pm.variables.set(\"business_unit_id\", 10548)",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9abcc315-0c46-450c-806c-69e1d7a1b8b6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Meu Feriado Favorito\",\n    \"fixed\": true,\n    \"date\": \"14/10/2026\",\n    \"teams\": [\n        1,\n        2\n    ],\n    \"departments\": [],\n    \"business_units\": [],\n    \"cost_centes\": [],\n    \"shifts\": []\n}"},"url":"{{server_url}} /external_api/v2/holidays","description":"<p>Cria um feriado.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado é fixo? Ou seja, deve se repetir em todos os anos? (_true - sim, todos os anos</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado está ativo? (_true - sim</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da equipe à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as equipes</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do departamento à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os departamentos</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da unidade de negócio à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as unidades</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do centro de custos à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os centros de custos</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do turno à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os turnos</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","holidays"],"host":["{{server_url}} "],"query":[],"variable":[]}},"response":[{"id":"e8b94765-34bb-4074-8837-6c1e9cd64039","name":" Exemplo de erro no cadastro","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Meu Feriado Favorito\",\n    \"fixed\": true,\n    \"date\": \"14/10/2026\",\n    \"teams\": [999999999999],\n    \"departments\": [],\n    \"business_units\": [],\n    \"cost_centes\": [],\n    \"shifts\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:57:12 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"727e2e32-ac66-49b6-9c5c-7e2fe3f2a530","description":"Custom header"},{"key":"X-Runtime","value":"0.051999","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"business_unit\": [\n            \"Não está incluído na lista\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1531774631,\n        \"ip\": \"127.0.0.1\"\n    }\n}"},{"id":"dd981573-8a37-486e-beea-6ad5c430c202","name":"Feriado já aplicado para alguns dos colaboradores","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Meu Feriado Favorito\",\n    \"fixed\": true,\n    \"date\": \"14/10/2026\",\n    \"teams\": [1],\n    \"departments\": [],\n    \"business_units\": [],\n    \"cost_centes\": [],\n    \"shifts\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:57:12 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"727e2e32-ac66-49b6-9c5c-7e2fe3f2a530","description":"Custom header"},{"key":"X-Runtime","value":"0.051999","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"date\": [\n            \"O feriado Meu Feriado Favorito já se aplica a alguns destes colaboradores\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1771618196,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"189d6938-9ca8-4d3d-a928-a70618eda2e5","name":" Exemplo de sucesso ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Meu Feriado Favorito\",\n  \"fixed\": true,\n  \"date\": \"14/10/2026\",\n  \"teams\": [1,2],\n  \"departments\": [],\n  \"business_units\": [],\n  \"cost_centes\": [],\n  \"shifts\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:56:43 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6ab6bb62e7ef08152e1f47a896a3ca45\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"340f3256-f187-4f62-97b4-7063cbd3726c","description":"Custom header"},{"key":"X-Runtime","value":"0.545442","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Feriado cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1771618424,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    },\n    \"id\": [\n        327,\n        328\n    ],\n    \"job_id\": [\n        \"1771618424406908F1B9B26D21EA5DC6D976F40E1454ADE5\",\n        \"177161842546988962EBA9460D3B00C448C2C2078335803F\"\n    ]\n}"}],"_postman_id":"9abcc315-0c46-450c-806c-69e1d7a1b8b6"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"aaabc6c4-8d12-4452-b2e6-8b66a8cb3a10","exec":["pm.variables.set(\"holiday_id\", 80060)","","pm.variables.set(\"name\", \"Dia universal dos cavaleiros jedi\")","pm.variables.set(\"fixed\", true)","pm.variables.set(\"date\", \"02/07/2020\")","pm.variables.set(\"business_unit_id\", 10548)",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a65286bf-370b-452e-8ad0-939f60b26436","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Meu Novo Nome\",\n  \"fixed\": true,\n  \"date\": \"18/02/2026\",\n  \"teams\": [1,2],\n  \"departments\": [],\n  \"business_units\": [],\n  \"cost_centers\": [],\n  \"shifts\": []\n}"},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}","description":"<p>Edita um Feriado.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holiday_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do feriado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do feriado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Dia e mês do feriado no formato DD/MM</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado é fixo? Ou seja, deve se repetir em todos os anos? (_true - sim, todos os anos</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>O feriado está ativo? (_true - sim</td>\n</tr>\n<tr>\n<td>teams</td>\n<td>List</td>\n<td>Não</td>\n<td>Lista de ID's das equipes à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as equipes</td>\n</tr>\n<tr>\n<td>departments</td>\n<td>List</td>\n<td>Não</td>\n<td>Lista de ID's dos quais departamento à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os departamentos</td>\n</tr>\n<tr>\n<td>business_units</td>\n<td>List</td>\n<td>Não</td>\n<td>Lista de ID's das quais unidades de negócio à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todas as unidades</td>\n</tr>\n<tr>\n<td>cost_centers</td>\n<td>List</td>\n<td>Não</td>\n<td>Lisda de ID's dos centro de custos à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os centros de custos</td>\n</tr>\n<tr>\n<td>shifts</td>\n<td>List</td>\n<td>Não</td>\n<td>Lista de ID's dos turnos à qual o feriado se refere. Se um ID não for informado o sistema aplicará a todos os turnos</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","holidays","{{holiday_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"6209a6a1-6b4c-4fa3-9dbe-354950291305","name":"Exemplo de registro não econtrado","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"acess-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Meu Novo Nome\",\n  \"fixed\": true,\n  \"date\": \"18/02/2026\",\n  \"teams\": [],\n  \"departments\": [1,9],\n  \"business_units\": [],\n  \"cost_centers\": [],\n  \"shifts\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:59:39 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0ca4b9a8-e79c-40fd-aa35-3c6a0cf76411","description":"Custom header"},{"key":"X-Runtime","value":"0.042797","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Registro não encontrado.\",\n    \"meta\": {\n        \"now\": 1771617254,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"486c4bc1-0519-47b8-ab9d-4b2025416579","name":" Exemplo de edição sem sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Equipe 8 Não Existe ou Não tem autorização\",\n  \"fixed\": true,\n  \"date\": \"18/02/2026\",\n  \"teams\": [1,2,8],\n  \"departments\": [],\n  \"business_units\": [],\n  \"cost_centers\": [],\n  \"shifts\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:03:08 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"18549872-6028-46f8-a0d3-91e33d6642d1","description":"Custom header"},{"key":"X-Runtime","value":"0.109022","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"team_id\": [\n            \"A equipe está fora do Filtro de Unidades aplicado. Verifique o menu Configurações / Segurança.\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1771854333,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"13165ef9-11b6-4bc4-ac78-be78b39418b0","name":" Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Meu Novo Nome\",\n  \"fixed\": true,\n  \"date\": \"18/02/2026\",\n  \"teams\": [1,2],\n  \"departments\": [],\n  \"business_units\": [],\n  \"cost_centers\": [],\n  \"shifts\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:01:18 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c137927d2019a05a4e9d32b7671d1672\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"c6d51fc1-2ae2-4a9b-840f-91d4b5620796","description":"Custom header"},{"key":"X-Runtime","value":"0.897760","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Feriado atualizado com sucesso!\",\n    \"job_id\": [\n        \"17716174253070433AB9A0ECB2B454CFD05609A54AF4CF20\"        \n    ],\n    \"meta\": {\n        \"now\": 1771617425,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"a65286bf-370b-452e-8ad0-939f60b26436"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"637d5c7c-20bd-4778-b572-1c465c4a17a4","exec":["pm.variables.set(\"holiday_id\", 80060)"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"19527e9e-8fcb-4681-8f95-7fd4dbdf4519","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{external_api_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}","description":"<p>Exclui um cargo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>holiday_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do feriado a ser excluído</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","holidays","{{holiday_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"525d7e25-c58c-4c4e-af1f-cf3b6c86e2b6","name":" Exemplo de remoção com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-tokken","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:03:49 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6881a6f06bb9a5456402622cf0c99d8d\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"200 OK","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"84a8dd44-e49a-4176-943b-df857b2237ae","description":"Custom header"},{"key":"X-Runtime","value":"0.114004","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Feriado removido com sucesso!\",\n    \"job_id\": [\n        \"1771616213878873D283FA3A08E7D563AF0DF775B10D5639\"\n    ],\n    \"meta\": {\n        \"now\": 1771616180,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"c3a43ade-649b-4c1b-a728-481ef8e69d1f","name":" Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:04:28 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d87c114c-b155-4499-b8ad-afdb56e91738","description":"Custom header"},{"key":"X-Runtime","value":"0.041714","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Registro não encontrado.\",\n    \"meta\": {\n        \"now\": 1771616243,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"b633db2c-e383-4c46-9d67-6c30a442fc3b","name":"Exemplo de falta de permissão para editar/excluir feriado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{external_api_token}}","description":"Token do cliente."}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v2/holidays/{{holiday_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 21:04:28 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"404 Not Found","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d87c114c-b155-4499-b8ad-afdb56e91738","description":"Custom header"},{"key":"X-Runtime","value":"0.041714","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Você não tem permissão para editar esse feriado pois ele é aplicado a mais de um Equipe que você não tem acesso. Entre em contato com o seu administrador.\",\n    \"meta\": {\n        \"now\": 1771616383,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"19527e9e-8fcb-4681-8f95-7fd4dbdf4519"}],"id":"a5a62278-0bed-45c3-95de-1736e38a6448","description":"<p>Documentação para cadastrar Feriados para Equipes, Unidade de Negócio, Centro de Custo, Departamento ou Turno.<br />Nessa versão, é possível fazer o cadastro de um Feriado para diversos Turnos de uma vez(Ou Unidade de Negócio ou Centro de Custo ou Departamento ou Turno).<br />Você precisará saber os ids dos Turnos que deseja cadastrar, criar uma lista e enviar a requisição.</p>\n","_postman_id":"a5a62278-0bed-45c3-95de-1736e38a6448"}],"id":"5fb6d53e-2b8e-4390-a12e-e4e3c99e838d","description":"<p>API de integração de Criação e atualização de Feriados</p>\n","event":[{"listen":"prerequest","script":{"id":"e3b3dd82-179e-4c1a-abfe-a7323db525c0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c1730be5-2360-46ff-a15b-705bfe539759","type":"text/javascript","exec":[""]}}],"_postman_id":"5fb6d53e-2b8e-4390-a12e-e4e3c99e838d"},{"name":"Cidades","item":[{"name":"Listar","id":"37c00871-b9b4-49df-88d5-426040508e19","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/cities?attributes=id,name&name=curitiba&page={{page_number}}&per_page={{per_page}}&sort_direction=asc&count={{count}}","description":"<p>Lista as cidades.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (255)</td>\n<td>Nome da cidade</td>\n</tr>\n<tr>\n<td>state</td>\n<td>String (2)</td>\n<td>Sigla do estado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cities"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,name"},{"key":"name","value":"curitiba"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"},{"key":"sort_direction","value":"asc"},{"key":"count","value":"{{count}}"}],"variable":[]}},"response":[{"id":"da2bcdf4-c1d7-45ec-981e-c8b131597106","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/cities?attributes=id,name&name=curitiba&page={{page_number}}&per_page={{per_page}}&sort_direction=asc","host":["{{server_url}}"],"path":["external_api","v1","cities"],"query":[{"key":"attributes","value":"id,name","description":"Atributos (ver disponíveis acima)"},{"key":"name","value":"curitiba","description":"String a ser buscada"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"},{"key":"sort_direction","value":"asc","description":"Direção da ordenação, pode ser 'asc' (cresente) ou  'des' decresente\n  "},{"key":"sort_property","value":"name","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:01:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"ae6756c75b64381da6bffc74d2bdce9d\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a98d2edd-7bbe-4fec-a552-c0aebf23473f","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.078464","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"cities\":[{\"id\":94,\"name\":\"Curitiba\",\"state\":\"PR\"},{\"id\":5140,\"name\":\"Curitibanos\",\"state\":\"SC\"}],\"meta\":{\"now\":1531850473,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"37c00871-b9b4-49df-88d5-426040508e19"}],"id":"4b0b18b8-81aa-4ae6-8377-771e8a0d4969","event":[{"listen":"prerequest","script":{"id":"c202035c-9935-4414-aa83-c83b80ca215e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bb1b0065-7e97-482d-a6cf-043b796659ed","type":"text/javascript","exec":[""]}}],"_postman_id":"4b0b18b8-81aa-4ae6-8377-771e8a0d4969","description":""},{"name":"Equipes","item":[{"name":"Gestores","item":[{"name":"Listar","id":"bde33fb2-0a28-4f38-8134-0ef058fcdfbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/possible_leaders?count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista colaboradores que possuem configurações para um perfil gestor.</p>\n<h2 id=\"formato-do-retorno\">Formato do retorno</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","possible_leaders"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Se \"true\" retorna a quantidade de registros encontrados. </p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página. Ex: 1</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página. Ex: 10 </p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"b4ade5e4-ebd9-45f9-a0c9-2149521ca5f6","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"url":{"raw":"{{server_url}}/external_api/v1/possible_leaders","host":["{{server_url}}"],"path":["external_api","v1","possible_leaders"],"query":[{"key":"count","value":"{{count}}","description":"Se \"true\" retorna a quantidade de registros encontrados. \n","disabled":true},{"key":"page","value":"{{page_number}}","description":"Número da página. Ex: 1","disabled":true},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página. Ex: 10 ","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"bf9de9128bfd743a9779c9805a34542f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"c010ce30-fac2-4edc-a6b9-288572642d93"},{"key":"X-Runtime","value":"1.399038"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"leaders\": [\n        {\n            \"id\": 1,\n            \"name\": \"Fernando Pessoa\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Fernanda Silva\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Alberto Caeiro\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1745431545,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"bde33fb2-0a28-4f38-8134-0ef058fcdfbb"},{"name":"Adicionar","event":[{"listen":"prerequest","script":{"id":"148c0947-76bc-481b-81ad-8d64513704ae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"203b5f5a-32ae-4e4c-90ac-efab3ada6bc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"access-token","type":"text","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"team\":\n  {\n    \"employee_ids\":[2]\n  }\n}"},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}/leaders","description":"<p>Adiciona gestor à equipe</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>leader_ids</td>\n<td>Array</td>\n<td>Sim</td>\n<td>Array de ids dos colaboradores que serão adicionados como gestores da equipe</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams","{{team_id}}","leaders"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"content","value":""}],"variable":[]}},"response":[{"id":"364b9c7a-d974-4340-b88a-fc4436923143","name":"Exemplo de requisição bem sucedida","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"team\":\n  {\n    \"employee_ids\":[2]\n  }\n}"},"url":{"raw":"{{server_url}}/external_api/v1/teams/{{team_id}}/leaders","host":["{{server_url}}"],"path":["external_api","v1","teams","{{team_id}}","leaders"],"query":[{"key":"content","value":null,"disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"104d9796b63599604650f5bdac36d76e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"91a8b217-fa9a-4f00-aca7-554747946249"},{"key":"X-Runtime","value":"1.995355"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": [\n        {\n            \"id\": 28,\n            \"employee_id\": 2,\n            \"messages\": \"Gestor adicionado com sucesso!\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1745528399,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"203b5f5a-32ae-4e4c-90ac-efab3ada6bc5"},{"name":"Remover","id":"10fbc24c-edb7-4596-ae0d-67eb9004bdbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/teams/{{team_id}}/leaders/{{employee_id}}","description":"<p>Remove gestor de uma equipe</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe</td>\n</tr>\n<tr>\n<td>leader_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do gestor</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams","{{team_id}}","leaders","{{employee_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"bf6f77d9-1e10-478b-9051-c122cafc8cf9","name":"Exemplo de requisição bem sucedida","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/teams/{{team_id}}/leaders/{{leader_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"1df71ef652b578d13ff91193501a8365\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"73a2247f-48c4-4e9c-bcd1-76f33c0d356d"},{"key":"X-Runtime","value":"0.144933"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Gestor removido com sucesso!\",\n    \"meta\": {\n        \"now\": 1745528429,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"10fbc24c-edb7-4596-ae0d-67eb9004bdbb"}],"id":"27c00da2-a1c0-45e4-83b7-395bf736eb89","_postman_id":"27c00da2-a1c0-45e4-83b7-395bf736eb89","description":""},{"name":"Listar","id":"fbce78f3-18ff-4110-b81e-6e6f4abf3daa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/teams?attributes=id,code,name,department,leaders&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista as equipes.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da equipe</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Object</td>\n<td>Departamento ao qual a equipe pertence (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>leaders</td>\n<td>Array</td>\n<td>Lista de gestores da equipe (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-department\">Formato do objeto department</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do departamento</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Tipo de registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-no-array-leaders\">Formato do objeto no array leaders</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial do código do colaborador gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome completo do colaborador/gestor</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Foto do colaborador/gestor</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,code,name,department,leaders"},{"description":{"content":"<p>Se \"true\" retorna a quantidade de registros encontrados. </p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página. Ex: 1</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página. Ex: 10 </p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"38270c1f-d95d-4e9a-b793-c88c492f41ae","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/teams?attributes=id,code,name,department&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","teams"],"query":[{"key":"attributes","value":"id,code,name,department","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:15:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"d0c99b3059b8393de0f2e226270800b4\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"5dc4d391-84f6-4771-a10e-912a9ac5b126","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.055761","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"teams\": [\n    {\n      \"id\": 9,\n      \"code\": \"01\",\n      \"name\": \"Produto & TI\",\n      \"department\": {\n        \"id\": 9,\n        \"code\": \"01\",\n        \"name\": \"Departamento 1\"\n      }\n    },\n    {\n      \"id\": 1830,\n      \"code\": \"02\",\n      \"name\": \"Marketing e Vendas\",\n      \"department\": {\n        \"id\": 10,\n        \"code\": \"02\",\n        \"name\": \"Departamento 2\"\n      }\n    },\n    {\n      \"id\": 10,\n      \"code\": \"03\",\n      \"name\": \"Administração\",\n      \"department\": {\n        \"id\": 11,\n        \"code\": \"03\",\n        \"name\": \"Departamento 3\"\n      }\n    }\n  ],\n  \"meta\": {\n    \"now\": 1531772154,\n    \"ip\": \"127.0.0.1\",\n    \"count\": 4\n  }\n}"}],"_postman_id":"fbce78f3-18ff-4110-b81e-6e6f4abf3daa"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"d87c33aa-8b52-408a-97c9-c8eee8f5a78d","exec":["pm.variables.set(\"team_id\", 55136)"],"type":"text/javascript"}}],"id":"b6a6016e-7d3b-4d71-b71b-145353ed63fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/teams/{{team_id}}?attributes=id,code,name,department,leaders","description":"<p>Exibe os atributos de uma equipe.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe a ser detalhada</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador da equipe</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Object</td>\n<td>Departamento ao qual a equipe pertence (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>leaders</td>\n<td>Array</td>\n<td>Lista de gestores da equipe (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-department\">Formato do objeto department</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Código identificador do departamento</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Tipo de registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-no-array-leaders\">Formato do objeto no array leaders</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial do código do colaborador gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome completo do colaborador/gestor</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Foto do colaborador/gestor</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams","{{team_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,code,name,department,leaders"}],"variable":[]}},"response":[{"id":"9011d2fa-f197-45cd-9da9-6e02a1caee0e","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/teams/{{team_id}}?attributes=id,code,name,department","host":["{{server_url}}"],"path":["external_api","v1","teams","{{team_id}}"],"query":[{"key":"attributes","value":"id,code,name,department","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:20:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"037b450219bfc75c56a80e7fcfd5fc38\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"34fd0a0f-9e35-4475-a7e6-e331a10e3363","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.033770","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"team\":{\"id\":21847,\"code\":\"0004\",\"name\":\"Equipe 4\",\"department\":{\"id\":14899,\"code\":\"0003\",\"name\":\"Departamento 3\"}},\"meta\":{\"now\":1531772401,\"ip\":\"127.0.0.1\"}}"},{"id":"efedb6a0-0339-4a5a-a062-841ce5cc253a","name":"Exemplo de registro não encontrado","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/teams/{{team_id}}?attributes=id,code,name,department","host":["{{server_url}}"],"path":["external_api","v1","teams","{{team_id}}"],"query":[{"key":"attributes","value":"id,code,name,department","description":"Atributos (ver disponíveis acima)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:21:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a5a10ec4-bffd-44c3-9693-50a1e469c2fd","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.048441","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531772483,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"b6a6016e-7d3b-4d71-b71b-145353ed63fb"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"e0dd9fdb-cc5a-418a-8bad-7c3b2a8c2dfe","exec":["pm.variables.set(\"code\", \"0004\")","pm.variables.set(\"name\", \"Equipe 1\")","pm.variables.set(\"observation\", \"\")","pm.variables.set(\"department_id\", 14899)","pm.variables.set(\"leader_ids\", [])",""],"type":"text/javascript"}}],"id":"837fe456-f631-4dcc-99e6-c2a3b91cabbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"team\":\n  {\n    \"code\":\"{{code}}\",\n    \"name\":\"{{name}}\",\n    \"observation\":\"{{observation}}\",\n    \"department_id\":{{department_id}},\n    \"leader_ids\":[]\n  }\n}"},"url":"{{server_url}}/external_api/v1/teams","description":"<p>Cria uma equipe.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador da equipe</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do departamento ao qual a equipe deve pertencer</td>\n</tr>\n<tr>\n<td>leader_ids</td>\n<td>Array</td>\n<td>Não</td>\n<td>Array de ids de colaboradores a serem cadastrados como gestores</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"4d09bc09-81a8-4651-b5d4-7ad86d1c117d","name":"Exemplo de erro ao cadastar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"team\": {\n    \"code\": \"0004\",\n    \"name\": \"Equipe 4\",\n    \"observation\": \"\",\n    \"leader_ids\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/teams"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:24:35 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"23095b6a-43dd-4155-9073-498b8f99a8f9","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.062429","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"department\":[\"Não pode ficar em branco\"]},\"meta\":{\"now\":1531772675,\"ip\":\"127.0.0.1\"}}"},{"id":"dfa332de-537b-4b95-b93e-5a291d2b88a5","name":"Exemplo de sucesso ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"team\": {\n    \"code\":\"0004\",\n    \"name\":\"Equipe 4\",\n    \"observation\":\"\",\n    \"department_id\": 9999,\n    \"leader_ids\":[]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/teams"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:23:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"dcc229e59349fa39fd4ef3d2cd258c8a\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a4b08708-a0f1-4fa1-b19a-5c4a15125071","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.783246","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Equipe cadastrada com sucesso!\",\"meta\":{\"now\":1531772607,\"ip\":\"127.0.0.1\"},\"id\":21848}"}],"_postman_id":"837fe456-f631-4dcc-99e6-c2a3b91cabbe"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"3e092897-07f3-402d-91e6-48afa38967d9","exec":["pm.variables.set(\"team_id\", 21847)","pm.variables.set(\"code\", \"0004\")","pm.variables.set(\"name\", \"Equipe 1\")","pm.variables.set(\"observation\", \"\")","pm.variables.set(\"department_id\", 14899)","pm.variables.set(\"leader_ids\", [])",""],"type":"text/javascript"}}],"id":"15df934f-d7cb-4620-9b3e-027f60fa5a61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>Token do cliente.</p>\n","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"team\":\n  {\n    \"code\":\"{{code}}\",\n    \"name\":\"{{name}}\",\n    \"observation\":\"{{observation}}\",\n    \"department_id\":{{department_id}},\n    \"leader_ids\":null\n  }\n}"},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}","description":"<p>Edita uma equipe.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>code</td>\n<td>Code (60)</td>\n<td>Não</td>\n<td>Código identificador da equipe</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do departamento ao qual a equipe deve pertencer</td>\n</tr>\n<tr>\n<td>leader_ids *</td>\n<td>Array</td>\n<td>Não</td>\n<td>Array de ids de colaboradores a serem cadastrados como gestores. Irá remover todos os gestores e adicionar a listagem enviada</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"-leader_ids\">* leader_ids</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Ação</th>\n<th>Como passar o atributo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Excluir todos os gestores da equipe</td>\n<td>{ \"team\": { \"leader_ids\":[] } }</td>\n</tr>\n<tr>\n<td>Manter todos os gestores</td>\n<td>não enviar o atributo</td>\n</tr>\n<tr>\n<td>Manter todos os gestores</td>\n<td>{ \"team\": { \"leader_ids\":null } }</td>\n</tr>\n<tr>\n<td>Alterar os gestores</td>\n<td>{ \"team\": { \"leader_ids\":[1, 2, n] } }</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams","{{team_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"27e14d10-c4ba-4f3f-ba3f-d5e13961fb86","name":"Ecemplo de edição com error","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"team\": {\n    \"code\": \"0004\",\n    \"name\": \"Equipe 4\",\n    \"observation\": \"\",\n    \"department_id\": \"\",\n    \"leader_ids\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:26:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"103e8cf5-d968-4b9b-a74a-e2df116da874","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.061308","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"department\":[\"Não pode ficar em branco\"]},\"meta\":{\"now\":1531772816,\"ip\":\"127.0.0.1\"}}"},{"id":"a62ae14e-8651-46ef-a83a-68e627f76db2","name":"Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"team\": {\n    \"code\": \"0004\",\n    \"name\": \"Equipe 4\",\n    \"observation\": \"\",\n    \"department_id\": 12345,\n    \"leader_ids\": []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:25:53 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"fc1caa7ac24df1b381888c5a7cf505a4\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"cb910c6f-0837-4b79-837f-085c73fa2ee6","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.056991","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Equipe editada com sucesso!\",\"meta\":{\"now\":1531772753,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"15df934f-d7cb-4620-9b3e-027f60fa5a61"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"63ab5e85-696e-4213-8bcd-07c81e688c3e","exec":[""],"type":"text/javascript","packages":{}}}],"id":"e7f6ee36-0985-4490-923f-13e4ebe60036","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}","description":"<p>Inativa uma equipe.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams","{{team_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"8f02a3ea-da00-4858-a029-25d02da4ba41","name":"Exemplo de remoção bem sucedida","originalRequest":{"method":"DELETE","header":[{"key":"access--token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:29:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"0916fdc705ff675fc01845cf988bb7f9\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"308bdd27-dc10-454f-9814-4143da0260f4","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.102097","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Equipe removida com sucesso!\",\"meta\":{\"now\":1531772992,\"ip\":\"127.0.0.1\"}}"},{"id":"4539ae9a-0707-458d-942e-e084fcc4ed27","name":"Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:30:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"02af423b-cd79-45d7-862d-b0ed3acc6b6d","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.064914","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531773058,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"e7f6ee36-0985-4490-923f-13e4ebe60036"},{"name":"Desfazer exclusão","id":"3861a768-94ae-4b75-99ba-2a6a63abb9cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}/recover","description":"<p>Inativa uma equipe.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","teams","{{team_id}}","recover"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"b967724a-debb-4afd-a1d1-ce562790d043","name":"Exemplo de requisição bem sucedida","originalRequest":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/teams/{{team_id}}/recover"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"ff1ba4aff9162ca64c5efd7dbeaf1f4e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"68673157-44f4-457c-bbb5-6bb8e7de1948"},{"key":"X-Runtime","value":"2.088432"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Equipe restaurada com sucesso!\",\n    \"meta\": {\n        \"now\": 1745525740,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"3861a768-94ae-4b75-99ba-2a6a63abb9cb"}],"id":"84ff3ac3-72b2-45b0-b6f6-aeaa502fb65d","event":[{"listen":"prerequest","script":{"id":"39378fb1-1af2-49ab-b6d5-3fe70a761144","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4df36306-1a6b-4cd3-bbce-0eb8abd03c9b","type":"text/javascript","exec":[""]}}],"_postman_id":"84ff3ac3-72b2-45b0-b6f6-aeaa502fb65d","description":""},{"name":"Colaboradores","item":[{"name":"Movimentações","item":[{"name":"Equipe","item":[{"name":"Listar","event":[{"listen":"prerequest","script":{"id":"7f225325-620b-4b4a-9758-01c584c8d44c","exec":[""],"type":"text/javascript"}}],"id":"dbdb7d44-c237-4864-8ab7-4bd853f96932","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes?attributes=id,team,date&count={{count}}&page={{page_number}}&per_page={{per_page}}&sort_direction=asc&sort_property=first_name","description":"<p>Lista as movimentações do colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da equipe</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","team_changes"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,team,date"},{"description":{"content":"<p>Retorna a quantidade de registros encontrados</p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página</p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"},{"description":{"content":"<p>Direção da ordenação, pode ser 'asc' (cresente) ou  'des' decresente\n  </p>\n","type":"text/plain"},"key":"sort_direction","value":"asc"},{"description":{"content":"<p>Atributo  para ordenação</p>\n","type":"text/plain"},"key":"sort_property","value":"first_name"}],"variable":[]}},"response":[{"id":"71d440c0-be4e-4d68-b026-d24370385c9a","name":"Exemplo de sucesso ao listar","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes?attributes=id,team,date&count={{count}}&page={{page_number}}&per_page={{per_page}}&sort_direction=asc&sort_property=first_name","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","team_changes"],"query":[{"key":"attributes","value":"id,team,date"},{"key":"count","value":"{{count}}"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"},{"key":"sort_direction","value":"asc","description":"Direção da ordenação, pode ser 'asc' (cresente) ou  'des' decresente\n  "},{"key":"sort_property","value":"first_name","description":"Atributo  para ordenação"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 14:25:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6f0ad35ae6b69f1f4f0129b7ecbc2cbb\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"386c48ee-054f-477f-a1e7-075c8bc1b045","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.077564","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"team_changes\":[{\"id\":11286,\"team\":{\"id\":1830,\"name\":\"Marketing e Vendas\"},\"date\":\"24/05/2016\"}],\"meta\":{\"now\":1532442322,\"ip\":\"127.0.0.1\",\"count\":1}}"}],"_postman_id":"dbdb7d44-c237-4864-8ab7-4bd853f96932"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"482f7a8c-e536-43f9-97ca-c1187a3844bc","exec":["pm.variables.set(\"employee_id\", 12794)","pm.variables.set(\"team_change_id\", 11286)"],"type":"text/javascript"}}],"id":"826b6dc1-4027-4b66-ae47-e659eea6fa29","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente.</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes/{{team_change_id}}?attributes=id,team,date","description":"<p>Detalha a movimentação do colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>team_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>equipe da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da equipe</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","team_changes","{{team_change_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,team,date"}],"variable":[]}},"response":[{"id":"e199a544-3736-4383-b0cf-cff42bb11d8a","name":"Exemplo de sucesso ao detalhar","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes/{{team_changes_id}}?attributes=id,team,date","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","team_changes","{{team_changes_id}}"],"query":[{"key":"attributes","value":"id,team,date","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 14:30:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"98b653d1ecc577e894ba85a629346eaa\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"2621e270-2f25-4811-bc62-384384ac09db","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.066397","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"team_change\":{\"id\":11286,\"team\":{\"id\":1830,\"name\":\"Marketing e Vendas\"},\"date\":\"24/05/2016\"},\"meta\":{\"now\":1532442612,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"826b6dc1-4027-4b66-ae47-e659eea6fa29"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"5de560fe-ff3e-4178-b90f-4e3e037bd0ab","exec":["pm.variables.set(\"employee_id\", 55136)","","pm.variables.set(\"date\", \"24/07/2018\")","pm.variables.set(\"team_id\", 9)",""],"type":"text/javascript"}}],"id":"c95a693c-7ad8-49be-995b-33f77de27ddb","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"team_change\":{\n\t\t\"date\": \"{{team_change_date}}\",\n\t\t\"team_id\": {{team_id}}\n\t}\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes","description":"<p>Cria uma movimentação de equipe para o colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do turno a ser movimentado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","team_changes"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"99f8ee65-f4c7-45e8-b5cc-a0cccdc5ab29","name":"Exemplo de sucesso ao criar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"team_change\":{\n\t\t\"date\":\"2020-03-10\",\n\t\t\"team_id\": 3\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 14:48:26 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"fcbcaf99e791e4079a0f09ea3cf91009\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"5ebbf286-50e2-4675-8da1-3ff0030707ee","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.373393","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Mudança de equipe registrada com sucesso!\",\n    \"meta\": {\n        \"now\": 1532443706,\n        \"ip\": \"127.0.0.1\"\n    },\n    \"id\": 37679\n}"}],"_postman_id":"c95a693c-7ad8-49be-995b-33f77de27ddb"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"bc4d1dd5-3c20-483d-b4ba-9ce3ec6a8c36","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"team_changes_id\", 37679)"],"type":"text/javascript"}}],"id":"e496101f-2f93-4ccb-bafc-f655d92964e8","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes/{{team_change_id}}","description":"<p>Exclui uma movimentação de equipe do colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador a ser excluído a movimentação</td>\n</tr>\n<tr>\n<td>team_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação de equipe a ser excluída</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","team_changes","{{team_change_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"4aeb87a4-ddbc-4a0d-9f9e-42c1ede41279","name":"Exemplo de exclusão com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/team_changes/{{team_changes_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 14:59:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9b7865cc0d05de9ee4a48fd287c5152d\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"7718a128-4e8b-421c-9ca5-f06b93b00c58","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.095774","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Mudança de equipe removida com sucesso!\",\"meta\":{\"now\":1532444363,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"e496101f-2f93-4ccb-bafc-f655d92964e8"}],"id":"05cc6f98-e903-485a-b0ea-d4803aae2203","_postman_id":"05cc6f98-e903-485a-b0ea-d4803aae2203","description":""},{"name":"Cargo","item":[{"name":"Listar","event":[{"listen":"prerequest","script":{"id":"7f225325-620b-4b4a-9758-01c584c8d44c","exec":["pm.variables.set(\"employee_id\", 55136)"],"type":"text/javascript"}}],"id":"42d47faa-a11f-4d83-9eeb-cbace8b03ffd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/28/job_title_changes?attributes=id,job_title,date,effective_date,motive&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista as movimentações de cargo colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador a ser mostrada as movimentações</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>String</td>\n<td>Data de notificação da demissão</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Object</td>\n<td>Cargo da movimentação (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>motive</td>\n<td>Object</td>\n<td>Motivo da movimentação (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-job_title\">Formato do objeto job_title</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-motive\">Formato do objeto motive</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador gerado pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do motivo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-objeto-motive\">Opções do objeto motive</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Admissão</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Demissão</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Alteração de Cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","28","job_title_changes"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,job_title,date,effective_date,motive"},{"description":{"content":"<p>Retorna a quantidade de registros encontrados</p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página</p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"f1a119f5-b9fc-4965-9e2d-8cc26fc9f6cf","name":"Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes?attributes=id,job_title,date&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","job_title_changes"],"query":[{"key":"attributes","value":"id,job_title,date","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 15:12:19 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"244fb0c8326c75f9323cdfa4e432c844\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"c30be5d6-07c0-42f9-940b-818c4427b98d","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.058163","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"job_title_changes\":[{\"id\":61432,\"job_title\":{\"id\":2356,\"name\":\"Consultor de Vendas\"},\"date\":\"01/07/2018\"}],\"meta\":{\"now\":1532445139,\"ip\":\"127.0.0.1\",\"count\":1}}"}],"_postman_id":"42d47faa-a11f-4d83-9eeb-cbace8b03ffd"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"7a0e91c3-b691-4ad6-8898-70d09360d344","type":"text/javascript","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"job_title_change_id\", 61432)"]}}],"id":"f2f27e34-81f8-46de-9bcb-33af4925898a","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes/{{job_title_change_id}}?attributes=id,job_title,date","description":"<p>Detalha a movimentação do colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>job_title_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Object</td>\n<td>Cargo da movimentação (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-job_title\">Formato do objeto job_title</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","job_title_changes","{{job_title_change_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,job_title,date"}],"variable":[]}},"response":[{"id":"a48a5154-e51a-44ac-9348-ae560a2beb62","name":"Exemplo de detalhe com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes/{{job_title_change_id}}?attributes=id,job_title,date","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","job_title_changes","{{job_title_change_id}}"],"query":[{"key":"attributes","value":"id,job_title,date","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 15:19:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"366487c0b5c0fc90b1ea0bb0e3996c15\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"482560f7-a7ef-4c85-bcba-a21c924ce79a","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.051500","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"job_title_change\":{\"id\":61432,\"job_title\":{\"id\":2356,\"name\":\"Consultor de Vendas\"},\"date\":\"01/07/2018\"},\"meta\":{\"now\":1532445563,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"f2f27e34-81f8-46de-9bcb-33af4925898a"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"a04adbe7-4fff-49a1-86ad-3c08795e10cc","exec":[""],"type":"text/javascript"}}],"id":"7df5d862-f772-4fc9-9ecf-55106437a88d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"job_title_change\":{\n\t\t\"date\":\"{{date}}\",\n\t\t\"motive\": {{motive}},\n\t\t\"job_title_id\":{{job_title_id}}\n\t}\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes","description":"<p>Rota para criar uma movimentação de cargo para o colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>job_title_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do cargo a ser movimentado</td>\n</tr>\n<tr>\n<td>motive</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Índice do motivo da movimentação (veja a tabela <strong>Legenda de motivos de movimentação</strong>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"legenda-de-motivos-de-movimentação\">Legenda de motivos de movimentação</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Índice do motivo</th>\n<th>Motivo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Admissão</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Demissão</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Alteração de cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","job_title_changes"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"84788662-e9b7-4957-8aa8-aca9b72b23d4","name":"Exemplo de criação com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"job_title_change\":{\n\t\t\"date\":\"{{date}}\",\n\t\t\"motive\": {{motive}},\n\t\t\"job_title_id\":{{job_title_id}}\n\t}\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 15:34:29 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"8f6dabe03f4782e57141698cd03f9247\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"9ba12e11-0bb7-4912-b28e-e7c0306f62a8","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.233810","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Mudança de cargo registrada com sucesso!\",\"meta\":{\"now\":1532446469,\"ip\":\"127.0.0.1\"},\"id\":61495}"}],"_postman_id":"7df5d862-f772-4fc9-9ecf-55106437a88d"},{"name":"Editar admissão","event":[{"listen":"prerequest","script":{"id":"6fcd598d-3344-4808-93b7-ca994c58d788","exec":[""],"type":"text/javascript"}}],"id":"c6d1193f-23e6-4d94-b13b-4b83eb3e8d0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"job_title_change\":{\n\t\t\"date\":\"{{date}}\",\n\t\t\"job_title_id\":{{job_title_id}}\n\t}\n}\n"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes/update_admission","description":"<p>Edição de data e/ou cargo de uma admissão de um colaborador.\nATENÇÃO: você somente conseguirá alterar uma admissão se não houver alterações de cargo.\nCaso já exista alterações de cargo, o indicado é utilizar o endpoint de Criação, onde você conseguirá incluir uma nova alteração de cargo.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>job_title_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do cargo a ser movimentado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","job_title_changes","update_admission"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"01c56c4a-e7ee-4f7d-8cdc-802514c47604","name":"Exemplo de edição de admissão","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"job_title_change\":{\n\t\t\"date\": \"03/08/2021\",\n\t\t\"job_title_id\": 1\n\t}\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes/update_admission"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 15:34:29 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"8f6dabe03f4782e57141698cd03f9247\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"9ba12e11-0bb7-4912-b28e-e7c0306f62a8","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.233810","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Admissão alterada com sucesso!\",\n    \"meta\": {\n        \"now\": 1628173888,\n        \"ip\": \"172.16.57.1\"\n    }\n}"}],"_postman_id":"c6d1193f-23e6-4d94-b13b-4b83eb3e8d0c"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"8b486444-5197-4e51-bd3d-7d0025bc44f7","type":"text/javascript","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"job_title_change_id\", 61494)"]}}],"id":"7b28cfb9-14b5-4c13-9423-bacb3a0d137a","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes/{{job_title_change_id}}","description":"<p>Exclui uma movimentação de cargo do colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>job_title_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","job_title_changes","{{job_title_change_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"9a562790-0e0f-45f0-89c5-684df3e23689","name":"Exemplo de exclusão com sucessso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/job_title_changes/{{job_title_change_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 15:33:45 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"dd54004e756c9469f93aff985f945f19\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"232a4e83-ac41-4cba-a66d-3f69a54e7f88","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.706504","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Mudança de cargo removida com sucesso!\",\"meta\":{\"now\":1532446424,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"7b28cfb9-14b5-4c13-9423-bacb3a0d137a"}],"id":"34cee73a-8d00-408b-b77c-a7e810bee0a4","_postman_id":"34cee73a-8d00-408b-b77c-a7e810bee0a4","description":""},{"name":"Turno","item":[{"name":"Listar","event":[{"listen":"prerequest","script":{"id":"7f225325-620b-4b4a-9758-01c584c8d44c","exec":["pm.variables.set(\"employee_id\", 55136)"],"type":"text/javascript"}}],"id":"89611ca4-058b-4b48-b4e1-9128b72a0a0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes?attributes=id,shift,date,shift_day&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista as movimentações de turno colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início no turno</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno da movimentação (Verifique a tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>shift_day</td>\n<td>Object</td>\n<td>Dia de início no turno (Verifique a tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift\">Formato do objeto shift</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Código identificador do turno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift_day\">Formato do objeto shift_day</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>cyclic_day</td>\n<td>Integer</td>\n<td>Número do dia</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>ID do turno</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>Array</td>\n<td>Conjuntos de períodos do dia (Verifique a tabela descritiva dos objetos do array <strong>periods</strong>)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-dos-objetos-do-array-periods\">Formato dos objetos do array periods</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>enter_time</td>\n<td>String</td>\n<td>Horário de início do período</td>\n</tr>\n<tr>\n<td>leave_time</td>\n<td>String</td>\n<td>Horário de fim do período</td>\n</tr>\n<tr>\n<td>main_interval_after</td>\n<td>Boolean</td>\n<td>Após o intervalo principal da jornada?</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","shift_changes"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,shift,date,shift_day"},{"description":{"content":"<p>Retorna a quantidade de registros encontrados</p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página</p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"715ed1db-61b8-4cdc-a442-2aff820965df","name":"Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do usuário.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes?attributes=id,shift,date&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","shift_changes"],"query":[{"key":"attributes","value":"id,shift,date","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 17:34:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f6678486591e7b3bc43e39eaa72c4009\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"8594620c-7e04-41e7-9785-72b4bc48a465","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.891259","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"shift_changes\":[{\"id\":78471,\"shift\":{\"id\":31531,\"name\":\"teste semanal + 1 semana\",\"code\":\"37\"},\"date\":\"01/07/2018\"}],\"meta\":{\"now\":1532453687,\"ip\":\"127.0.0.1\",\"count\":1}}"}],"_postman_id":"89611ca4-058b-4b48-b4e1-9128b72a0a0d"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"96754fb5-94fc-4dae-8f8f-403fb9f5701f","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"shift_change_id\", 78471)"],"type":"text/javascript"}}],"id":"6d4373b6-3397-402b-a455-06dc571e4832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes/{{shift_change_id}}?attributes=id,shift,date,shift_day","description":"<p>Rota para detalhar a movimentação de turno do colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>shift_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início no turno</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno da movimentação (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>shift_day</td>\n<td>Object</td>\n<td>Dia de início no turno (Verifique a tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift\">Formato do objeto shift</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Código identificador do turno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift_day\">Formato do objeto shift_day</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>cyclic_day</td>\n<td>Integer</td>\n<td>Número do dia</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>ID do turno</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>Array</td>\n<td>Conjuntos de períodos do dia (Verifique a tabela descritiva dos objetos do array <strong>periods</strong>)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-dos-objetos-do-array-periods\">Formato dos objetos do array periods</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>enter_time</td>\n<td>String</td>\n<td>Horário de início do período</td>\n</tr>\n<tr>\n<td>leave_time</td>\n<td>String</td>\n<td>Horário de fim do período</td>\n</tr>\n<tr>\n<td>main_interval_after</td>\n<td>Boolean</td>\n<td>Após o intervalo principal da jornada?</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","shift_changes","{{shift_change_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,shift,date,shift_day"}],"variable":[]}},"response":[{"id":"a49b4ddd-1db6-4d99-acc9-49ab3ed9fe57","name":"Exemplo de detalhe com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes/{{shift_change_id}}?attributes=id,job_title,date","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","shift_changes","{{shift_change_id}}"],"query":[{"key":"attributes","value":"id,job_title,date","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 17:37:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9facaa0a19f76227dd31e22f8f0631c1\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a49ed630-2c22-4d3b-ad7e-5da8773da524","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.262180","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"shift_change\":{\"id\":78471,\"date\":\"01/07/2018\"},\"meta\":{\"now\":1532453854,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"6d4373b6-3397-402b-a455-06dc571e4832"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"c8ee2356-2126-48a1-92b6-47f1e9da8b44","exec":["pm.variables.set(\"employee_id\", 55136)","","pm.variables.set(\"date\", \"24/07/2018\")","pm.variables.set(\"shift_id\", 25436)","pm.variables.set(\"shift_day_id\", 1705)",""],"type":"text/javascript","packages":{}}}],"id":"2105824d-8826-4c06-bc1f-a2006266d277","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"shift_change\":{\n    \"date\":\"{{date}}\",\n    \"shift_id\":{{shift_id}},\n    \"shift_day_id\": {{shift_day_id}}\t\t\n  }\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes","description":"<p>Cria uma movimentação de turno para o colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início no turno</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do turno a ser movimentado</td>\n</tr>\n<tr>\n<td>shift_day_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do dia inicial, somente para os turnos (12h/36h, 24h/72h, 5d/1d). <strong><a href=\"#daca1e16-cdd2-4021-9538-d382c3b3c0a5\">Consultar os dias do turno</a></strong>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","shift_changes"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"8f90bce7-2bee-43d0-8913-611750d40c12","name":"Exemplo de criação com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shift_change\":{\n\t\t\"date\":\"2020-03-10\",\n\t\t\"shift_id\": 3\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 18:03:32 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"adf2121b08599f99d1376e06509204a9\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"f2a5cc10-b859-4d1c-b13a-a75a81849f04","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.326162","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Mudança de turno registrada com sucesso!\",\"meta\":{\"now\":1532455412,\"ip\":\"127.0.0.1\"},\"id\":78506}"}],"_postman_id":"2105824d-8826-4c06-bc1f-a2006266d277"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"247731ca-af6a-4e1e-bf56-82c9caac0a60","type":"text/javascript","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"shift_change_id\", 78505)"]}}],"id":"89acce68-1ce0-45eb-85d2-6b84b97a1563","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes/{{shift_change_id}}","description":"<p>Exclui uma movimentação de turno do colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>shift_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","shift_changes","{{shift_change_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"9fbc4b83-02b9-4c22-bfde-6c3e1094b402","name":"Exemplo de exclusão com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/shift_changes/{{shift_change_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 24 Jul 2018 18:00:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"406e5d8048fd9f92fe19c1c55ee87d3a\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"cbd8bc24-6662-44ab-98d7-d592ff67e82b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.541672","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Mudança de turno removida com sucesso!\",\"meta\":{\"now\":1532455256,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"89acce68-1ce0-45eb-85d2-6b84b97a1563"}],"id":"dffef1fb-9d7f-4172-83b5-28f97db798c9","_postman_id":"dffef1fb-9d7f-4172-83b5-28f97db798c9","description":""},{"name":"Afastamento e Férias","item":[{"name":"Listar","event":[{"listen":"prerequest","script":{"id":"7f225325-620b-4b4a-9758-01c584c8d44c","exec":["pm.variables.set(\"employee_id\", 55136)"],"type":"text/javascript"}}],"id":"e73b38cd-fd06-4ec7-bb41-550ff17645e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences?attributes=id,observation,start_date,end_date,total_days&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista os afastamentos e férias de um colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Data de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>total_days</td>\n<td>Integer</td>\n<td>Total de dias afastado</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>É atestado médico?</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>Número do CRM</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>Número do CID</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>String</td>\n<td>Nome do médico</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>String</td>\n<td>Nome da clinica</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Object</td>\n<td>Objeto do arquivo (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Objeto do colaborador (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>absence_type</td>\n<td>Object</td>\n<td>Objeto do tipo de afastamento (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-file\">Formato do objeto file</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>URL do arquivo anexado</td>\n</tr>\n<tr>\n<td>content_type</td>\n<td>String</td>\n<td>Formato do arquivo anexado</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Objeto da imagem de perfil do colaborador</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-picture\">Formato do objeto picture</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>URL da imagem em tamanho padrão</td>\n</tr>\n<tr>\n<td>medium_url</td>\n<td>String</td>\n<td>URL da imagem redimencionada para tamanho médio</td>\n</tr>\n<tr>\n<td>small_url</td>\n<td>String</td>\n<td>URL da imagem redimencionada para tamanho pequeno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-absence_type\">Formato do objeto absence_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do tipo do afastamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-absence_type\">Opções do absence_type</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Afastamento</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Férias</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Afastamento ou férias (indefinido)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","absences"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,observation,start_date,end_date,total_days"},{"key":"count","value":"{{count}}"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"d304ce50-b97d-4938-a848-5f23d60173e9","name":"Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences?attributes=id,observation,start_date,end_date&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","absences"],"query":[{"key":"attributes","value":"id,observation,start_date,end_date","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Jul 2018 12:11:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3b182e99ab30143bb6df56bbecdd4f99\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"036f6ded-c3a4-423d-bdae-3c538d45b68b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.696998","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"absences\":[{\"id\":4383,\"observation\":\"Férias\",\"start_date\":\"24/07/2018\",\"end_date\":\"24/08/2018\",\"total_days\":\"32\"}],\"meta\":{\"now\":1532607067,\"ip\":\"127.0.0.1\",\"count\":1}}"}],"_postman_id":"e73b38cd-fd06-4ec7-bb41-550ff17645e7"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"37403226-9d83-45fc-8c53-1c66d072b68c","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"absence_id\", 4383)"],"type":"text/javascript"}}],"id":"165afbd7-1271-46a6-afca-3159e2c1a3c4","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences/{{absence_id}}?attributes=id,start_date,end_date,observation,total_days","description":"<p>Exibe o afastamento ou férias de um colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>absence_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do afastamento ou férias</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Data de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>total_days</td>\n<td>Integer</td>\n<td>Total de dias afastado</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>É atestado médico?</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>Número do CRM</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>Número do CID</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>String</td>\n<td>Nome do médico</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>String</td>\n<td>Nome da clinica</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Object</td>\n<td>Objeto do arquivo (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Objeto do colaborador (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>absence_type</td>\n<td>Object</td>\n<td>Objeto do tipo de afastamento (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-file\">Formato do objeto file</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>URL do arquivo anexado</td>\n</tr>\n<tr>\n<td>content_type</td>\n<td>String</td>\n<td>Formato do arquivo anexado</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Objeto da imagem de perfil do colaborador</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-picture\">Formato do objeto picture</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>URL da imagem em tamanho padrão</td>\n</tr>\n<tr>\n<td>medium_url</td>\n<td>String</td>\n<td>URL da imagem redimencionada para tamanho médio</td>\n</tr>\n<tr>\n<td>small_url</td>\n<td>String</td>\n<td>URL da imagem redimencionada para tamanho pequeno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-absence_type\">Formato do objeto absence_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do tipo do afastamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-absence_type\">Opções do absence_type</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Afastamento</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Férias</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Afastamento ou férias (indefinido)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","absences","{{absence_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,start_date,end_date,observation,total_days"}],"variable":[]}},"response":[{"id":"6a7e5d64-8aac-47ef-8d45-85a3e7c3ce00","name":"Exemplo de detalhe com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences/{{absence_id}}?attributes=id,start_date,end_date,observation","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","absences","{{absence_id}}"],"query":[{"key":"attributes","value":"id,start_date,end_date,observation","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Jul 2018 12:11:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"b1a3bd9b4752be3609ae76a6a769d242\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"01975252-7d10-48fa-9db5-7c0edfc3b796","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.050953","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"absence\":{\"id\":4383,\"start_date\":\"24/07/2018\",\"end_date\":\"24/08/2018\",\"observation\":\"Férias\"},\"meta\":{\"now\":1532607118,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"165afbd7-1271-46a6-afca-3159e2c1a3c4"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"4725f0ea-940e-4da5-841a-d653f17eaf90","exec":["","","pm.variables.set(\"start_date\", \"24/07/2018\")","pm.variables.set(\"end_date\", \"24/08/2018\")","pm.variables.set(\"observation\", \"Férias\")",""],"type":"text/javascript"}}],"id":"6af1cdaa-b679-40b9-a7c2-dd8b1d97a3d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"absence\": {\n        \"start_date\": \"2023-07-01\",\n        \"end_date\": \"2023-07-07\",\n        \"observation\": \"Lic.Maternidade\",\n        \"absence_type\": 1,\n        \"is_medical_certificate\": true,\n        \"crm\": \"Lançado pela API\",\n        \"cid\": \"Lançado pela API\",\n        \"medical_name\": \"Lançado pela API\",\n        \"clinic_name\": \"Lançado pela API\",\n        \"file\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAIgArQMBEQACEQEDEQH/xAAaAAEAAwEBAQAAAAAAAAAAAAAAAgMEBQEG/8QANRAAAQQBAwIEBAQEBwAAAAAAAAECAxEEBRIhBjETQVFxImGBkRSh0fAjJLHhFSYyQ2KCsv/EABkBAQEBAQEBAAAAAAAAAAAAAAABAgMEBv/EACsRAQADAAEEAQMDAwUAAAAAAAABAhEDBBIhMUETImFRodEUcfEkMjORwf/aAAwDAQACEQMRAD8A7RHzIAAAAAAAAAAAAAAAAAAAAAAAAeBNAaA0BoDQGgNAaA0BoDQGgNAaA0BoDQGgNAaA0BrwoAAAAAAAAAAAAAAAAAAAAAAAAEbKpYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNlCwFg/skiKrVdS7UWlWuEUh59wjaALKFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNgWQwy5DlbDG57kartrUtaTuGq1m05C6PIixn4mRio5J41uRr+UVUXhfqnFBqLRXttX38qvxL/AkhSmxvkR6tROypfb7hnunO2F34iHIn35ibY44UayOJP9StSkS/K15VfcN91bTtvERDM6OSNjHyMc1siW1VSkcnyDnNZiImflGwhYCwFgLAWAsBYCwFgLAWB4rmpwqoB7YCwFgV2UaInwMhSRs80WWx1tRreF/7XaKG65mxM6zq61tV5XkMyWEfRabpUGBgf4vrLFVn+xjLwsi+V/p6E/D28XDWlPq8vr4hx9S1CfUclZ8h3NU1idmJ6Ihcebl5Lclu6y7RtLdq0r4YsmGKVEtrJFW3+tewnw3w8P1ZyJx0G9K5D2vjZm4j8yNLdjNfbk+v9ia6/wBHaYyLRv6Mum6HPmY78qaaLDxmO2rLOtcp34+X9Rrnx9Pa8d0zkflLM0GXEdA9cqB+JO7amU13wNX5iJW/TTSY8+J+fhqd0pPFKiZGdixQuRNszncOVfJE/fkNdJ6K0T91oiEtN0HwOomYeoSQK1qb0Y6/4yKi8In77EmfC8fTdvP2XmP5UZ2huk1p2Jp0sEu9znK2N3ECIvZ3oXWL9PvL20nf/P7vZempVikdhZ+LmSRJckUTviT9/Qas9JOTNLRMx7SxelsjLw4MrGyoXxy1dordnrfsvA1a9Ha9YtWfEtDui8xMhrEyofBVLWZUVKX0oa1/QX334c3M0HJxdXh050saum5jlXhq/oInXG/TWpyxxzPtuyOkp48WSbGzYMl0SW+Nic+yc9/sNdbdFaK7W2tWh4uZH01lS40+K6KZj3va5FVzfhqr9kE+3TgpaOCZiYyXP0vpqbOwmZk2XDjQyL8CvS1dzXqgmccOLpLXp3zOQ52r6dNpWYuNO5rl2o5HN7Kiljy483FPFbtlisOSF8GhsXxn6YjljxWwsdSPpiSOX09V7kdZ7ppuRn7tWh6tHhK7FzYI58CZ38RrmIqtXtuQTEy3wc0U+20bEvpcXpHGTVY8pkqS6ft3sjVbtfJL82+f0M9z3V6KkckXiftfOdUauuq6i7w3fy0K7YkRe/q76/0o1EY8XU831b+PUenHsrzO70Uv+YsdP+L/APypm3p6+i/5odjTtHnwdfl1XIyYUwo3SP8AF8W912lL7X+RN8Y9HHwWpzTy2n7fKvI29S6KyLTXsZkQZDnrjvcjVciqtL9lv7j1KW/1PFEU9xPpVk4r8DptNGkkjkz8ydFZEj0qNOO6+Xb8xHvWLU7OD6Mz90/sdeQTIuFK6lgZEkdbuz/Pj2RBVeurb7Zb9X/leptI1CdzG421Ileruzla7v8AdBHp15vt5+O8+v8AKvGiTTtd1CPKmijZqbXfhpkf53+Xf8hPmErX6fNbun/d6UaFo+RoOc/UdTmgix4Y3JaSWsl9q/fehM6xwcFuC/1Lz4j92mTFnk6KyWsVsT5VfkbXLStYrt9fbyHy6TS09LMR87P76u6gY+XRdLlikbsikhdIm7ve1qe/KkhrqImeKufGNOs6djZmuYE2Y+NcdGOYjFfSuf3RPakXzET4b5uKt+Ws29NWBC3Hly8fwcDHR3MTIEpzmdtz/qR0469s2jIj9M/T8uZ01pU+JoeoYsj4VknfI1u1/Fomznj1Qsy4dNw2pxWrPzv8PdDxspmlY+MyTCzsbdUsU3Hhc80vN0t8Kie4n2cFLRxxWJi0fO/D5vq+HCx9X2YLkrw0WRqOtGO9E/Q1X15eLq4pHJ9jh2aeVCyquxX47JVdlRvlajfhY1223eVr6ewarNYnbQ8mglhZFJIxWNmbvZz3bdX7ESazGT+rqYnU2bi6O7TY0YrVarWSKvxMavkhJr513r1V68f04/7cVO3HY08z0Dq9O6pjaRmOyp8aSeREqNWOrbaUt+pmY16On5a8Vu6Y8sup5UOVmSS4sT4YXru8NzrpfNfuWIc+W1bWmaxkMiOVFRUVUVO1LVFYFVVXcqqrvVQfkv5gFW+6gL4oArldW5yrXa17EwNy+pQ3L6hBVvv5Aeq5VW1W3L5qoX8vL+ZMR617mqu1ytvvS0Vdl57AAivcULA04ma/Gyo8hW+K6NKYj1tE4pPt6fImN0v22iyDZmJhSQLFuldI1ySeiIioqfWy4RaIr2zCncGINwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcBGy4pYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNmgsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCJcAYAwBgDAGAMAYAwBgDAGAMAYAwBgDAGAMAYAwBg//9k=\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences","description":"<p>Cria um afastamento ou férias para um colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>absence_type</td>\n<td>Inteiro</td>\n<td>Sim</td>\n<td>Tipo de afastamento (Verificar tabela de opções do absence_type)</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>É atestado médico?</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>Não</td>\n<td>Número do CRM (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>Não</td>\n<td>Número do CID (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>Não</td>\n<td>String</td>\n<td>Nome do médico (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>Não</td>\n<td>String</td>\n<td>Nome da clinica (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>file</td>\n<td>String</td>\n<td>Não</td>\n<td>Arquivo em formato Base64 (É obrigatório caso seja atestado médico)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-absence_type\">Opções do absence_type</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Afastamento</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Férias</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","absences"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"39b4c68e-b0e7-44f9-85ef-49c057ece999","name":"Exemplo de criação com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n    \"absence\": {\n        \"start_date\": \"2023-07-01\",\n        \"end_date\": \"2023-07-07\",\n        \"observation\": \"Lic.Maternidade\",\n        \"absence_type\": 1,\n        \"is_medical_certificate\": true,\n        \"crm\": \"Lançado pela API\",\n        \"cid\": \"Lançado pela API\",\n        \"medical_name\": \"Lançado pela API\",\n        \"clinic_name\": \"Lançado pela API\",\n        \"file\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAIgArQMBEQACEQEDEQH/xAAaAAEAAwEBAQAAAAAAAAAAAAAAAgMEBQEG/8QANRAAAQQBAwIEBAQEBwAAAAAAAAECAxEEBRIhBjETQVFxImGBkRSh0fAjJLHhFSYyQ2KCsv/EABkBAQEBAQEBAAAAAAAAAAAAAAABAgMEBv/EACsRAQADAAEEAQMDAwUAAAAAAAABAhEDBBIhMUETImFRodEUcfEkMjORwf/aAAwDAQACEQMRAD8A7RHzIAAAAAAAAAAAAAAAAAAAAAAAAeBNAaA0BoDQGgNAaA0BoDQGgNAaA0BoDQGgNAaA0BrwoAAAAAAAAAAAAAAAAAAAAAAAAEbKpYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNlCwFg/skiKrVdS7UWlWuEUh59wjaALKFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNgWQwy5DlbDG57kartrUtaTuGq1m05C6PIixn4mRio5J41uRr+UVUXhfqnFBqLRXttX38qvxL/AkhSmxvkR6tROypfb7hnunO2F34iHIn35ibY44UayOJP9StSkS/K15VfcN91bTtvERDM6OSNjHyMc1siW1VSkcnyDnNZiImflGwhYCwFgLAWAsBYCwFgLAWB4rmpwqoB7YCwFgV2UaInwMhSRs80WWx1tRreF/7XaKG65mxM6zq61tV5XkMyWEfRabpUGBgf4vrLFVn+xjLwsi+V/p6E/D28XDWlPq8vr4hx9S1CfUclZ8h3NU1idmJ6Ihcebl5Lclu6y7RtLdq0r4YsmGKVEtrJFW3+tewnw3w8P1ZyJx0G9K5D2vjZm4j8yNLdjNfbk+v9ia6/wBHaYyLRv6Mum6HPmY78qaaLDxmO2rLOtcp34+X9Rrnx9Pa8d0zkflLM0GXEdA9cqB+JO7amU13wNX5iJW/TTSY8+J+fhqd0pPFKiZGdixQuRNszncOVfJE/fkNdJ6K0T91oiEtN0HwOomYeoSQK1qb0Y6/4yKi8In77EmfC8fTdvP2XmP5UZ2huk1p2Jp0sEu9znK2N3ECIvZ3oXWL9PvL20nf/P7vZempVikdhZ+LmSRJckUTviT9/Qas9JOTNLRMx7SxelsjLw4MrGyoXxy1dordnrfsvA1a9Ha9YtWfEtDui8xMhrEyofBVLWZUVKX0oa1/QX334c3M0HJxdXh050saum5jlXhq/oInXG/TWpyxxzPtuyOkp48WSbGzYMl0SW+Nic+yc9/sNdbdFaK7W2tWh4uZH01lS40+K6KZj3va5FVzfhqr9kE+3TgpaOCZiYyXP0vpqbOwmZk2XDjQyL8CvS1dzXqgmccOLpLXp3zOQ52r6dNpWYuNO5rl2o5HN7Kiljy483FPFbtlisOSF8GhsXxn6YjljxWwsdSPpiSOX09V7kdZ7ppuRn7tWh6tHhK7FzYI58CZ38RrmIqtXtuQTEy3wc0U+20bEvpcXpHGTVY8pkqS6ft3sjVbtfJL82+f0M9z3V6KkckXiftfOdUauuq6i7w3fy0K7YkRe/q76/0o1EY8XU831b+PUenHsrzO70Uv+YsdP+L/APypm3p6+i/5odjTtHnwdfl1XIyYUwo3SP8AF8W912lL7X+RN8Y9HHwWpzTy2n7fKvI29S6KyLTXsZkQZDnrjvcjVciqtL9lv7j1KW/1PFEU9xPpVk4r8DptNGkkjkz8ydFZEj0qNOO6+Xb8xHvWLU7OD6Mz90/sdeQTIuFK6lgZEkdbuz/Pj2RBVeurb7Zb9X/leptI1CdzG421Ileruzla7v8AdBHp15vt5+O8+v8AKvGiTTtd1CPKmijZqbXfhpkf53+Xf8hPmErX6fNbun/d6UaFo+RoOc/UdTmgix4Y3JaSWsl9q/fehM6xwcFuC/1Lz4j92mTFnk6KyWsVsT5VfkbXLStYrt9fbyHy6TS09LMR87P76u6gY+XRdLlikbsikhdIm7ve1qe/KkhrqImeKufGNOs6djZmuYE2Y+NcdGOYjFfSuf3RPakXzET4b5uKt+Ws29NWBC3Hly8fwcDHR3MTIEpzmdtz/qR0469s2jIj9M/T8uZ01pU+JoeoYsj4VknfI1u1/Fomznj1Qsy4dNw2pxWrPzv8PdDxspmlY+MyTCzsbdUsU3Hhc80vN0t8Kie4n2cFLRxxWJi0fO/D5vq+HCx9X2YLkrw0WRqOtGO9E/Q1X15eLq4pHJ9jh2aeVCyquxX47JVdlRvlajfhY1223eVr6ewarNYnbQ8mglhZFJIxWNmbvZz3bdX7ESazGT+rqYnU2bi6O7TY0YrVarWSKvxMavkhJr513r1V68f04/7cVO3HY08z0Dq9O6pjaRmOyp8aSeREqNWOrbaUt+pmY16On5a8Vu6Y8sup5UOVmSS4sT4YXru8NzrpfNfuWIc+W1bWmaxkMiOVFRUVUVO1LVFYFVVXcqqrvVQfkv5gFW+6gL4oArldW5yrXa17EwNy+pQ3L6hBVvv5Aeq5VW1W3L5qoX8vL+ZMR617mqu1ytvvS0Vdl57AAivcULA04ma/Gyo8hW+K6NKYj1tE4pPt6fImN0v22iyDZmJhSQLFuldI1ySeiIioqfWy4RaIr2zCncGINwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcBGy4pYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNmgsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCJcAYAwBgDAGAMAYAwBgDAGAMAYAwBgDAGAMAYAwBg//9k=\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"ec3322bbe979b59d827b5296bcb4a304\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"ae9b3bc2-7be4-4f78-9b29-7df5671d60bf"},{"key":"X-Runtime","value":"10.451810"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Afastamento cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1678389979,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    },\n    \"id\": 3\n}"}],"_postman_id":"6af1cdaa-b679-40b9-a7c2-dd8b1d97a3d5"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"5dca28a9-94a6-4cb4-a39b-690db162f4bd","exec":["pm.variables.set(\"employee_id\", 74)","pm.variables.set(\"absence_id\", 1)","","pm.variables.set(\"start_date\", \"24/07/2018\")","pm.variables.set(\"end_date\", \"25/08/2018\")","",""],"type":"text/javascript"}}],"id":"c7f8bce9-7441-42fc-be4b-e72fdbdc0d8f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"absence\": {\n        \"start_date\": \"2023-07-08\",\n        \"end_date\": \"2023-07-09\",\n        \"observation\": \"Lic.Maternidade\",\n        \"absence_type\": 1,\n        \"is_medical_certificate\": true,\n        \"crm\": \"Lançado pela API\",\n        \"cid\": \"Lançado pela API\",\n        \"medical_name\": \"Lançado pela API\",\n        \"clinic_name\": \"Lançado pela API\",\n        \"file\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAIgArQMBEQACEQEDEQH/xAAaAAEAAwEBAQAAAAAAAAAAAAAAAgMEBQEG/8QANRAAAQQBAwIEBAQEBwAAAAAAAAECAxEEBRIhBjETQVFxImGBkRSh0fAjJLHhFSYyQ2KCsv/EABkBAQEBAQEBAAAAAAAAAAAAAAABAgMEBv/EACsRAQADAAEEAQMDAwUAAAAAAAABAhEDBBIhMUETImFRodEUcfEkMjORwf/aAAwDAQACEQMRAD8A7RHzIAAAAAAAAAAAAAAAAAAAAAAAAeBNAaA0BoDQGgNAaA0BoDQGgNAaA0BoDQGgNAaA0BrwoAAAAAAAAAAAAAAAAAAAAAAAAEbKpYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNlCwFg/skiKrVdS7UWlWuEUh59wjaALKFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNgWQwy5DlbDG57kartrUtaTuGq1m05C6PIixn4mRio5J41uRr+UVUXhfqnFBqLRXttX38qvxL/AkhSmxvkR6tROypfb7hnunO2F34iHIn35ibY44UayOJP9StSkS/K15VfcN91bTtvERDM6OSNjHyMc1siW1VSkcnyDnNZiImflGwhYCwFgLAWAsBYCwFgLAWB4rmpwqoB7YCwFgV2UaInwMhSRs80WWx1tRreF/7XaKG65mxM6zq61tV5XkMyWEfRabpUGBgf4vrLFVn+xjLwsi+V/p6E/D28XDWlPq8vr4hx9S1CfUclZ8h3NU1idmJ6Ihcebl5Lclu6y7RtLdq0r4YsmGKVEtrJFW3+tewnw3w8P1ZyJx0G9K5D2vjZm4j8yNLdjNfbk+v9ia6/wBHaYyLRv6Mum6HPmY78qaaLDxmO2rLOtcp34+X9Rrnx9Pa8d0zkflLM0GXEdA9cqB+JO7amU13wNX5iJW/TTSY8+J+fhqd0pPFKiZGdixQuRNszncOVfJE/fkNdJ6K0T91oiEtN0HwOomYeoSQK1qb0Y6/4yKi8In77EmfC8fTdvP2XmP5UZ2huk1p2Jp0sEu9znK2N3ECIvZ3oXWL9PvL20nf/P7vZempVikdhZ+LmSRJckUTviT9/Qas9JOTNLRMx7SxelsjLw4MrGyoXxy1dordnrfsvA1a9Ha9YtWfEtDui8xMhrEyofBVLWZUVKX0oa1/QX334c3M0HJxdXh050saum5jlXhq/oInXG/TWpyxxzPtuyOkp48WSbGzYMl0SW+Nic+yc9/sNdbdFaK7W2tWh4uZH01lS40+K6KZj3va5FVzfhqr9kE+3TgpaOCZiYyXP0vpqbOwmZk2XDjQyL8CvS1dzXqgmccOLpLXp3zOQ52r6dNpWYuNO5rl2o5HN7Kiljy483FPFbtlisOSF8GhsXxn6YjljxWwsdSPpiSOX09V7kdZ7ppuRn7tWh6tHhK7FzYI58CZ38RrmIqtXtuQTEy3wc0U+20bEvpcXpHGTVY8pkqS6ft3sjVbtfJL82+f0M9z3V6KkckXiftfOdUauuq6i7w3fy0K7YkRe/q76/0o1EY8XU831b+PUenHsrzO70Uv+YsdP+L/APypm3p6+i/5odjTtHnwdfl1XIyYUwo3SP8AF8W912lL7X+RN8Y9HHwWpzTy2n7fKvI29S6KyLTXsZkQZDnrjvcjVciqtL9lv7j1KW/1PFEU9xPpVk4r8DptNGkkjkz8ydFZEj0qNOO6+Xb8xHvWLU7OD6Mz90/sdeQTIuFK6lgZEkdbuz/Pj2RBVeurb7Zb9X/leptI1CdzG421Ileruzla7v8AdBHp15vt5+O8+v8AKvGiTTtd1CPKmijZqbXfhpkf53+Xf8hPmErX6fNbun/d6UaFo+RoOc/UdTmgix4Y3JaSWsl9q/fehM6xwcFuC/1Lz4j92mTFnk6KyWsVsT5VfkbXLStYrt9fbyHy6TS09LMR87P76u6gY+XRdLlikbsikhdIm7ve1qe/KkhrqImeKufGNOs6djZmuYE2Y+NcdGOYjFfSuf3RPakXzET4b5uKt+Ws29NWBC3Hly8fwcDHR3MTIEpzmdtz/qR0469s2jIj9M/T8uZ01pU+JoeoYsj4VknfI1u1/Fomznj1Qsy4dNw2pxWrPzv8PdDxspmlY+MyTCzsbdUsU3Hhc80vN0t8Kie4n2cFLRxxWJi0fO/D5vq+HCx9X2YLkrw0WRqOtGO9E/Q1X15eLq4pHJ9jh2aeVCyquxX47JVdlRvlajfhY1223eVr6ewarNYnbQ8mglhZFJIxWNmbvZz3bdX7ESazGT+rqYnU2bi6O7TY0YrVarWSKvxMavkhJr513r1V68f04/7cVO3HY08z0Dq9O6pjaRmOyp8aSeREqNWOrbaUt+pmY16On5a8Vu6Y8sup5UOVmSS4sT4YXru8NzrpfNfuWIc+W1bWmaxkMiOVFRUVUVO1LVFYFVVXcqqrvVQfkv5gFW+6gL4oArldW5yrXa17EwNy+pQ3L6hBVvv5Aeq5VW1W3L5qoX8vL+ZMR617mqu1ytvvS0Vdl57AAivcULA04ma/Gyo8hW+K6NKYj1tE4pPt6fImN0v22iyDZmJhSQLFuldI1ySeiIioqfWy4RaIr2zCncGINwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcBGy4pYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNmgsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCJcAYAwBgDAGAMAYAwBgDAGAMAYAwBgDAGAMAYAwBg//9k=\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences/{{absence_id}}","description":"<p>Edita um afastamento ou férias para o colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>absence_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do afastamento ou férias</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>absence_type</td>\n<td>Inteiro</td>\n<td>Sim</td>\n<td>Tipo de afastamento (Verificar tabela de opções do absence_type)</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>É atestado médico?</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>Não</td>\n<td>Número do CRM (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>Não</td>\n<td>Número do CID (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>Não</td>\n<td>String</td>\n<td>Nome do médico (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>Não</td>\n<td>String</td>\n<td>Nome da clinica (É obrigatório caso seja atestado médico)</td>\n</tr>\n<tr>\n<td>file</td>\n<td>String</td>\n<td>Não</td>\n<td>Arquivo em formato Base64 (É obrigatório caso seja atestado médico)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-absence_type\">Opções do absence_type</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Afastamento</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Férias</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","absences","{{absence_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"cccd6a71-980e-43aa-a6da-44e142590aa4","name":"Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n    \"absence\": {\n        \"start_date\": \"2023-07-08\",\n        \"end_date\": \"2023-07-09\",\n        \"observation\": \"Lic.Maternidade\",\n        \"absence_type\": 1,\n        \"is_medical_certificate\": true,\n        \"crm\": \"Lançado pela API\",\n        \"cid\": \"Lançado pela API\",\n        \"medical_name\": \"Lançado pela API\",\n        \"clinic_name\": \"Lançado pela API\",\n        \"file\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAIgArQMBEQACEQEDEQH/xAAaAAEAAwEBAQAAAAAAAAAAAAAAAgMEBQEG/8QANRAAAQQBAwIEBAQEBwAAAAAAAAECAxEEBRIhBjETQVFxImGBkRSh0fAjJLHhFSYyQ2KCsv/EABkBAQEBAQEBAAAAAAAAAAAAAAABAgMEBv/EACsRAQADAAEEAQMDAwUAAAAAAAABAhEDBBIhMUETImFRodEUcfEkMjORwf/aAAwDAQACEQMRAD8A7RHzIAAAAAAAAAAAAAAAAAAAAAAAAeBNAaA0BoDQGgNAaA0BoDQGgNAaA0BoDQGgNAaA0BrwoAAAAAAAAAAAAAAAAAAAAAAAAEbKpYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNlCwFg/skiKrVdS7UWlWuEUh59wjaALKFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNgWQwy5DlbDG57kartrUtaTuGq1m05C6PIixn4mRio5J41uRr+UVUXhfqnFBqLRXttX38qvxL/AkhSmxvkR6tROypfb7hnunO2F34iHIn35ibY44UayOJP9StSkS/K15VfcN91bTtvERDM6OSNjHyMc1siW1VSkcnyDnNZiImflGwhYCwFgLAWAsBYCwFgLAWB4rmpwqoB7YCwFgV2UaInwMhSRs80WWx1tRreF/7XaKG65mxM6zq61tV5XkMyWEfRabpUGBgf4vrLFVn+xjLwsi+V/p6E/D28XDWlPq8vr4hx9S1CfUclZ8h3NU1idmJ6Ihcebl5Lclu6y7RtLdq0r4YsmGKVEtrJFW3+tewnw3w8P1ZyJx0G9K5D2vjZm4j8yNLdjNfbk+v9ia6/wBHaYyLRv6Mum6HPmY78qaaLDxmO2rLOtcp34+X9Rrnx9Pa8d0zkflLM0GXEdA9cqB+JO7amU13wNX5iJW/TTSY8+J+fhqd0pPFKiZGdixQuRNszncOVfJE/fkNdJ6K0T91oiEtN0HwOomYeoSQK1qb0Y6/4yKi8In77EmfC8fTdvP2XmP5UZ2huk1p2Jp0sEu9znK2N3ECIvZ3oXWL9PvL20nf/P7vZempVikdhZ+LmSRJckUTviT9/Qas9JOTNLRMx7SxelsjLw4MrGyoXxy1dordnrfsvA1a9Ha9YtWfEtDui8xMhrEyofBVLWZUVKX0oa1/QX334c3M0HJxdXh050saum5jlXhq/oInXG/TWpyxxzPtuyOkp48WSbGzYMl0SW+Nic+yc9/sNdbdFaK7W2tWh4uZH01lS40+K6KZj3va5FVzfhqr9kE+3TgpaOCZiYyXP0vpqbOwmZk2XDjQyL8CvS1dzXqgmccOLpLXp3zOQ52r6dNpWYuNO5rl2o5HN7Kiljy483FPFbtlisOSF8GhsXxn6YjljxWwsdSPpiSOX09V7kdZ7ppuRn7tWh6tHhK7FzYI58CZ38RrmIqtXtuQTEy3wc0U+20bEvpcXpHGTVY8pkqS6ft3sjVbtfJL82+f0M9z3V6KkckXiftfOdUauuq6i7w3fy0K7YkRe/q76/0o1EY8XU831b+PUenHsrzO70Uv+YsdP+L/APypm3p6+i/5odjTtHnwdfl1XIyYUwo3SP8AF8W912lL7X+RN8Y9HHwWpzTy2n7fKvI29S6KyLTXsZkQZDnrjvcjVciqtL9lv7j1KW/1PFEU9xPpVk4r8DptNGkkjkz8ydFZEj0qNOO6+Xb8xHvWLU7OD6Mz90/sdeQTIuFK6lgZEkdbuz/Pj2RBVeurb7Zb9X/leptI1CdzG421Ileruzla7v8AdBHp15vt5+O8+v8AKvGiTTtd1CPKmijZqbXfhpkf53+Xf8hPmErX6fNbun/d6UaFo+RoOc/UdTmgix4Y3JaSWsl9q/fehM6xwcFuC/1Lz4j92mTFnk6KyWsVsT5VfkbXLStYrt9fbyHy6TS09LMR87P76u6gY+XRdLlikbsikhdIm7ve1qe/KkhrqImeKufGNOs6djZmuYE2Y+NcdGOYjFfSuf3RPakXzET4b5uKt+Ws29NWBC3Hly8fwcDHR3MTIEpzmdtz/qR0469s2jIj9M/T8uZ01pU+JoeoYsj4VknfI1u1/Fomznj1Qsy4dNw2pxWrPzv8PdDxspmlY+MyTCzsbdUsU3Hhc80vN0t8Kie4n2cFLRxxWJi0fO/D5vq+HCx9X2YLkrw0WRqOtGO9E/Q1X15eLq4pHJ9jh2aeVCyquxX47JVdlRvlajfhY1223eVr6ewarNYnbQ8mglhZFJIxWNmbvZz3bdX7ESazGT+rqYnU2bi6O7TY0YrVarWSKvxMavkhJr513r1V68f04/7cVO3HY08z0Dq9O6pjaRmOyp8aSeREqNWOrbaUt+pmY16On5a8Vu6Y8sup5UOVmSS4sT4YXru8NzrpfNfuWIc+W1bWmaxkMiOVFRUVUVO1LVFYFVVXcqqrvVQfkv5gFW+6gL4oArldW5yrXa17EwNy+pQ3L6hBVvv5Aeq5VW1W3L5qoX8vL+ZMR617mqu1ytvvS0Vdl57AAivcULA04ma/Gyo8hW+K6NKYj1tE4pPt6fImN0v22iyDZmJhSQLFuldI1ySeiIioqfWy4RaIr2zCncGINwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcA3ANwDcBGy4pYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwLGBYwV2ULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCNmgsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwIWULAWAsBYCwFgLAWAsBYCwFgLAWAsBYCwFgLAWAsCJcAYAwBgDAGAMAYAwBgDAGAMAYAwBgDAGAMAYAwBg//9k=\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences/{{absence_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"e0054f3cbe24302683c23ce7eff44918\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"fcea96ee-f92f-4437-a95c-522227d8a16e"},{"key":"X-Runtime","value":"36.531484"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Afastamento editado com sucesso!\",\n    \"meta\": {\n        \"now\": 1678390396,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    },\n    \"id\": 1\n}"}],"_postman_id":"c7f8bce9-7441-42fc-be4b-e72fdbdc0d8f"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"af366459-71f6-40b2-a9ee-b1dc4271a10a","type":"text/javascript","exec":["pm.variables.set(\"employee_id\", 55136)","pm.variables.set(\"absence_id\", 4383)"]}}],"id":"8870a9ec-d89d-46ae-a446-dfca4ea76f3e","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences/{{absence_id}}","description":"<p>Exclui o afastamento ou férias de um colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>absence_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do afastamento ou férias</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","absences","{{absence_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"08f367b1-51d1-470c-a285-e73a977f950a","name":"Exemplo de exclusão com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/absences/{{absence_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Jul 2018 12:12:57 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a73bdd641afc0a9cbd7061c95ef90bfe\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"1192cd5d-97b2-43c4-a40a-b068716db923","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.611766","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Afastamento removido com sucesso!\",\n    \"meta\": {\n        \"now\": 1532607175,\n        \"ip\": \"127.0.0.1\"\n    }\n}"}],"_postman_id":"8870a9ec-d89d-46ae-a446-dfca4ea76f3e"}],"id":"59200079-8d26-4860-aa3b-aea389f6833f","_postman_id":"59200079-8d26-4860-aa3b-aea389f6833f","description":""},{"name":"Pausas","item":[{"name":"Listar","event":[{"listen":"prerequest","script":{"id":"06a64c26-245e-4eba-8d62-e72a5c37836d","exec":["pm.variables.set(\"employee_id\", 1)"],"type":"text/javascript"}}],"id":"20aa178f-152e-48e0-86c5-bc22ec48285f","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks?attributes=id,first_break_start_time,second_break_start_time,date&sort_direction=asc&sort_property=date","description":"<p>Detalha uma pausa do colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>team_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início na pausa</td>\n</tr>\n<tr>\n<td>first_break_start_time</td>\n<td>String</td>\n<td>Horário inicial da primeira pausa</td>\n</tr>\n<tr>\n<td>second_break_start_time</td>\n<td>String</td>\n<td>Horário inicial da segunda pausa</td>\n</tr>\n<tr>\n<td>main_interval_start_time</td>\n<td>String</td>\n<td>Horário inicial do intervalo principal</td>\n</tr>\n<tr>\n<td>main_interval_end_time</td>\n<td>String</td>\n<td>Horário final do intervalo principal</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","breaks"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,first_break_start_time,second_break_start_time,date"},{"disabled":true,"key":"count","value":"{{count}}"},{"disabled":true,"key":"page","value":"{{page_number}}"},{"disabled":true,"key":"per_page","value":"{{per_page}}"},{"key":"sort_direction","value":"asc"},{"key":"sort_property","value":"date"}],"variable":[]}},"response":[{"id":"8640cc4b-6907-4c9f-beee-57c03753a9cf","name":"Exemplo de listagem de pausas com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks?attributes=id,first_break_start_time,second_break_start_time,date&count={{count}}&page={{page_number}}&per_page={{per_page}}&sort_direction=asc&sort_property=date","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","breaks"],"query":[{"key":"attributes","value":"id,first_break_start_time,second_break_start_time,date"},{"key":"count","value":"{{count}}"},{"key":"page","value":"{{page_number}}"},{"key":"per_page","value":"{{per_page}}"},{"key":"sort_direction","value":"asc"},{"key":"sort_property","value":"date"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"be372d8a92a92c673cbe9dbea4d4386a\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.378748"},{"key":"X-Request-Id","value":"fd655d35-d665-445d-9af0-cf31616fc147"},{"key":"Date","value":"Mon, 24 Feb 2020 13:16:32 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.0"},{"key":"Server","value":"nginx/1.15.7 + Phusion Passenger 6.0.0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"breaks\": [],\n    \"meta\": {\n        \"now\": 1582550191,\n        \"ip\": \"127.0.0.1\"\n    }\n}"}],"_postman_id":"20aa178f-152e-48e0-86c5-bc22ec48285f"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"be61bc6d-1dcf-4e0a-948d-87a11b6cd8ca","exec":["pm.variables.set(\"employee_id\", 1)","pm.variables.set(\"break_id\", 4)"],"type":"text/javascript"}}],"id":"8a7297c8-1401-4239-bdf2-e8585e11b9d4","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks/{{break_id}}?attributes=id,first_break_start_time,second_break_start_time,date","description":"<p>Detalha uma pausa do colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>team_change_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da movimentação</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>String</td>\n<td>Data de início na pausa</td>\n</tr>\n<tr>\n<td>first_break_start_time</td>\n<td>String</td>\n<td>Horário inicial da primeira pausa</td>\n</tr>\n<tr>\n<td>second_break_start_time</td>\n<td>String</td>\n<td>Horário inicial da segunda pausa</td>\n</tr>\n<tr>\n<td>main_interval_start_time</td>\n<td>String</td>\n<td>Horário inicial do intervalo principal</td>\n</tr>\n<tr>\n<td>main_interval_end_time</td>\n<td>String</td>\n<td>Horário final do intervalo principal</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","breaks","{{break_id}}"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,first_break_start_time,second_break_start_time,date"}],"variable":[]}},"response":[{"id":"724b7b9c-96d8-49c6-9052-90ea4aef0b6e","name":"Exemplo de detalhe com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks/{{break_id}}?attributes=id,first_break_start_time,second_break_start_time,date","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","breaks","{{break_id}}"],"query":[{"key":"attributes","value":"id,first_break_start_time,second_break_start_time,date"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"e4384ec85a3d2cfd2f96355981e34fd1\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.085072"},{"key":"X-Request-Id","value":"4e5ff24f-fa88-460f-9eb0-8e3e5f572919"},{"key":"Date","value":"Mon, 24 Feb 2020 13:18:27 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.0"},{"key":"Server","value":"nginx/1.15.7 + Phusion Passenger 6.0.0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"break\": {\n        \"id\": 4,\n        \"first_break_start_time\": \"09:00\",\n        \"second_break_start_time\": \"15:00\",\n        \"date\": \"2018-07-24\"\n    },\n    \"meta\": {\n        \"now\": 1582550307,\n        \"ip\": \"127.0.0.1\"\n    }\n}"}],"_postman_id":"8a7297c8-1401-4239-bdf2-e8585e11b9d4"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"fd9e3c4a-7944-46b3-bc54-b315d4b073d9","exec":["pm.variables.set(\"first_break_start_time\", \"09:00\")","pm.variables.set(\"second_break_start_time\", \"15:00\")","pm.variables.set(\"date\", \"24/07/2018\")","pm.variables.set(\"employee_id\", 1)","",""],"type":"text/javascript"}}],"id":"8111fccb-c9bb-43f8-8a47-dde3a1bae92e","request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"break\":{\n\t\t\"date\": \"{{date}}\",\n\t\t\"first_break_start_time\": \"{{first_break_start_time}}\",\n\t\t\"second_break_start_time\": \"{{second_break_start_time}}\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks","description":"<p>Cria uma pausa para um colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início na equipe</td>\n</tr>\n<tr>\n<td>first_break_start_time</td>\n<td>String</td>\n<td>Sim</td>\n<td>Horário inicial da primeira pausa do colaborador (HH:MM)</td>\n</tr>\n<tr>\n<td>second_break_start_time</td>\n<td>String</td>\n<td>Sim</td>\n<td>Horário inicial da segunda pausa do colaborador (HH:MM)</td>\n</tr>\n<tr>\n<td>main_interval_start_time</td>\n<td>String</td>\n<td>Não</td>\n<td>Horário inicial do intervalo principal (HH:MM)</td>\n</tr>\n<tr>\n<td>main_interval_end_time</td>\n<td>String</td>\n<td>Não</td>\n<td>Horário final do intervalo principal (HH:MM)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","breaks"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"a8acec37-3fcc-4548-9f51-11e2d233ffee","name":"Exemplo de criação com sucesso","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"break\":{\n\t\t\"date\": \"2020-03-10\",\n\t\t\"first_break_start_time\": \"11:00\",\n\t\t\"second_break_start_time\": \"13:00\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"201 Created"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"6bcc391a6d33a8964bd2070868491c73\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.116710"},{"key":"X-Request-Id","value":"c26f4b34-c725-4f4d-b0a3-4dd6d9e50845"},{"key":"Date","value":"Mon, 24 Feb 2020 13:17:16 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.0"},{"key":"Server","value":"nginx/1.15.7 + Phusion Passenger 6.0.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Cronograma de pausas registrada com sucesso!\",\n    \"meta\": {\n        \"now\": 1582550236,\n        \"ip\": \"127.0.0.1\"\n    },\n    \"id\": 3\n}"}],"_postman_id":"8111fccb-c9bb-43f8-8a47-dde3a1bae92e"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"821cdbe2-3e91-4685-bbe5-4a10888f3bfd","exec":["pm.variables.set(\"employee_id\", 1)","pm.variables.set(\"break_id\", 3)"],"type":"text/javascript"}}],"id":"90a87a16-8577-47d3-b955-cf7ebed28d5e","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks/{{break_id}}","description":"<p>Exclui uma pausa de um colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador a ser excluído a pausa</td>\n</tr>\n<tr>\n<td>break_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da pausa a ser excluída</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","breaks","{{break_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"e4c57bcb-96a2-4192-8667-dfd58de71769","name":"Exemplo de exclusão com sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/breaks/{{break_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"b0e1abef-798b-4b7c-a5a3-57788fdd7512"},{"key":"ETag","value":"W/\"5d8872d636a282e78358f6a0bc4b6cd4\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.111808"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Mon, 24 Feb 2020 13:17:37 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.0"},{"key":"Server","value":"nginx/1.15.7 + Phusion Passenger 6.0.0"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Cronograma de pausas removida com sucesso!\",\n    \"meta\": {\n        \"now\": 1582550257,\n        \"ip\": \"127.0.0.1\"\n    }\n}"}],"_postman_id":"90a87a16-8577-47d3-b955-cf7ebed28d5e"}],"id":"b26a134c-257e-49ca-b42b-b9268c85d37e","_postman_id":"b26a134c-257e-49ca-b42b-b9268c85d37e","description":""},{"name":"Sobreavisos","item":[{"name":"Listar","id":"95aa33ac-4af1-4b3e-9385-27e9a7ecc4b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys","description":"<p>Lista todos os sobreavisos cadastrado para um colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Data de início do sobreaviso</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>Horário de início do sobreaviso</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Data de fim do sobreaviso</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>Horário de fim do sobreaviso</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Boolean</td>\n<td>O sobreaviso abrange o dia todo? (<strong>true</strong> - sim, <strong>false</strong> - não)</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>String</td>\n<td>Assunto do sobreaviso</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Integer</td>\n<td>Data de criação do sobreaviso</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Integer</td>\n<td>Data de atualização do sobreaviso</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","standbys"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"2d2aa41d-3007-4a24-be24-bba3742d216b","name":"Listagem de sobreavisos","originalRequest":{"method":"GET","header":[{"key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"f9c851f4cdaea6232f53ab37f8b8bee7\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.045445"},{"key":"X-Request-Id","value":"42e2b2ca-9618-46cd-8276-6e0a4e36f647"},{"key":"Date","value":"Tue, 14 Jul 2020 10:57:51 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"employee_standbys\": [\n        {\n            \"id\": 263,\n            \"created_at\": 1594724266,\n            \"updated_at\": 1594724266,\n            \"start_date\": \"2020-07-11\",\n            \"start_time\": null,\n            \"end_date\": \"2020-07-12\",\n            \"end_time\": null,\n            \"all_day\": true,\n            \"subject\": \"Lorem ipsum\"\n        },\n        {\n            \"id\": 264,\n            \"created_at\": 1594724266,\n            \"updated_at\": 1594724266,\n            \"start_date\": \"2020-07-13\",\n            \"start_time\": \"04:00:00\",\n            \"end_date\": \"2020-07-14\",\n            \"end_time\": \"05:00:00\",\n            \"all_day\": false,\n            \"subject\": \"Lorem ipsum\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1594724271,\n        \"ip\": \"172.21.0.1\"\n    }\n}"}],"_postman_id":"95aa33ac-4af1-4b3e-9385-27e9a7ecc4b6"},{"name":"Detalhar","id":"f3bde212-0f07-4fe1-a00b-c6b80f505f10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys/{{standby_id}}","description":"<p>Exibe os atributos de um sobreaviso.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>standby_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do sobreaviso</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Data de início do sobreaviso</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>Horário de início do sobreaviso</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Data de fim do sobreaviso</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>Horário de fim do sobreaviso</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Boolean</td>\n<td>O sobreaviso abrange o dia todo? (<strong>true</strong> - sim, <strong>false</strong> - não)</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>String</td>\n<td>Assunto do sobreaviso</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Integer</td>\n<td>Data de criação do sobreaviso</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Integer</td>\n<td>Data de atualização do sobreaviso</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","standbys","{{standby_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"b1dcedc8-4e02-48e2-8d1b-576b9370ce09","name":"Detalhes de um sobreaviso","originalRequest":{"method":"GET","header":[{"key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys/{{standby_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"b00e0608-24a1-49c7-a2e7-0951a7fb9864"},{"key":"ETag","value":"W/\"b8dc45754be5785539582d99358798cc\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.099843"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Mon, 27 Jul 2020 13:51:41 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"employee_standby\": {\n        \"id\": 30,\n        \"created_at\": 1595563503,\n        \"updated_at\": 1595563503,\n        \"start_date\": \"2020-07-22\",\n        \"start_time\": \"04:00:00\",\n        \"end_date\": \"2020-07-22\",\n        \"end_time\": \"05:00:00\",\n        \"all_day\": false,\n        \"subject\": \"Lorem ipsum\"\n    },\n    \"meta\": {\n        \"now\": 1595857901,\n        \"ip\": \"191.177.186.252\"\n    }\n}"}],"_postman_id":"f3bde212-0f07-4fe1-a00b-c6b80f505f10"},{"name":"Criar","id":"3af0a8fe-3cc5-432f-b7c9-bd89bd3454dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employee_standbys\": [\n        {\n            \"start_date\": \"2024-01-14\",\n            \"start_time\": \"00:01:00\",\n            \"end_date\": \"2024-01-15\",\n            \"end_time\": \"05:29:00\",\n            \"all_day\": true,\n            \"subject\": \"Sobreaviso Adilso H12\"\n        }\n        \n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys","description":"<p>Cria sobreavisos para um colaborador.</p>\n<h2 id=\"estrutura-do-array-json-employee_standbys-a-ser-enviado\">Estrutura do array JSON <strong>employee_standbys</strong> a ser enviado</h2>\n<p>Cada objeto, referente a um sobreaviso, deve obedecer o seguinte formato:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Não</td>\n<td>Data de início do sobreaviso</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>Não</td>\n<td>Horário de início do sobreaviso</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Não</td>\n<td>Data de fim do sobreaviso</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>Não</td>\n<td>Horário de fim do sobreaviso</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Caso <strong>true</strong>, indica que o sobreaviso compreenderá o dia inteiro e, portanto, os atributos <strong>start_time</strong> e <strong>end_time</strong> serão ignorados. Caso <strong>false</strong>, os atributos <strong>start_time</strong> e <strong>end_time</strong> devem ser preenchidos.</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>String</td>\n<td>Não</td>\n<td>Assunto do sobreaviso</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","standbys"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"12adb0e4-e874-4e1a-98a1-e575499bae31","name":"Criação com múltiplas falhas","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"employee_standbys\": [\n        {\n            \"start_date\": \"2020-05-28\",\n            \"start_time\": \"08:00:00\",\n            \"end_date\": \"29/05/2020\",\n            \"end_time\": \"12:00:00\",\n            \"all_day\": true\n        },\n        {\n            \"start_date\": \"11/07/2020\",\n            \"start_time\": \"12:00:00\",\n            \"end_date\": \"12/07/2020\",\n            \"end_time\": \"13:00:00\",\n            \"all_day\": true\n        },\n        {\n            \"start_date\": \"13/07/2020\",\n            \"start_time\": \"04:00:00\",\n            \"end_date\": \"14/07/2020\",\n            \"end_time\": \"05:00:00\",\n            \"all_day\": false\n        }\n        \n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"06a6dd3bb5bcb4da001afa6f7872beb5\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.090989"},{"key":"X-Request-Id","value":"3d2215da-57f7-4cef-8ce4-a2a29cf78929"},{"key":"Date","value":"Tue, 14 Jul 2020 10:39:11 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"employee_standbys\": [\n        {\n            \"errors\": {\n                \"base\": [\n                    \"Existe período de jornada no período do sobreaviso\"\n                ]\n            }\n        },\n        {\n            \"errors\": {\n                \"base\": [\n                    \"Existe outro sobreaviso no período\"\n                ]\n            }\n        },\n        {\n            \"errors\": {\n                \"base\": [\n                    \"Existe outro sobreaviso no período\"\n                ]\n            }\n        }\n    ]\n}"},{"id":"a4b14f69-f4d6-479d-a298-628ad92353e4","name":"Criação com uma falha","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"employee_standbys\": [\n        {\n            \"start_date\": \"2020-05-28\",\n            \"start_time\": \"08:00:00\",\n            \"end_date\": \"29/05/2020\",\n            \"end_time\": \"12:00:00\",\n            \"all_day\": true\n        },\n        {\n            \"start_date\": \"11/07/2020\",\n            \"start_time\": \"12:00:00\",\n            \"end_date\": \"12/07/2020\",\n            \"end_time\": \"13:00:00\",\n            \"all_day\": true\n        },\n        {\n            \"start_date\": \"13/07/2020\",\n            \"start_time\": \"04:00:00\",\n            \"end_date\": \"14/07/2020\",\n            \"end_time\": \"05:00:00\",\n            \"all_day\": false\n        }\n        \n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"0582e579aec562e877435731362a057f\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.844029"},{"key":"X-Request-Id","value":"a76183bb-c2f1-4928-b359-6df7976e0edb"},{"key":"Date","value":"Tue, 14 Jul 2020 10:18:07 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"employee_standbys\": [\n        {\n            \"errors\": {\n                \"base\": [\n                    \"Existe período de jornada no período do sobreaviso\"\n                ]\n            }\n        },\n        {\n            \"id\": 261,\n            \"start_date\": \"2020-07-11\",\n            \"start_time\": null,\n            \"end_date\": \"2020-07-12\",\n            \"end_time\": null,\n            \"all_day\": true,\n            \"subject\": \"Lorem ipsum\",\n            \"created_at\": 1594721887,\n            \"updated_at\": 1594721887\n        },\n        {\n            \"id\": 262,\n            \"start_date\": \"2020-07-13\",\n            \"start_time\": \"04:00:00\",\n            \"end_date\": \"2020-07-14\",\n            \"end_time\": \"05:00:00\",\n            \"all_day\": false,\n            \"subject\": \"Lorem ipsum\",\n            \"created_at\": 1594721887,\n            \"updated_at\": 1594721887\n        }\n    ]\n}"}],"_postman_id":"3af0a8fe-3cc5-432f-b7c9-bd89bd3454dc"},{"name":"Excluir","id":"dc9644d0-6010-4360-977e-a79f720ce776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/standbys/{{standby_id}}","description":"<p>Remove um sobreaviso de um colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>standby_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do sobreaviso</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","standbys","{{standby_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc9644d0-6010-4360-977e-a79f720ce776"}],"id":"de0d5c0a-0822-4c8e-9b36-5d1847957d1b","_postman_id":"de0d5c0a-0822-4c8e-9b36-5d1847957d1b","description":""}],"id":"5245d6af-818c-483d-9945-1775f18bec8a","_postman_id":"5245d6af-818c-483d-9945-1775f18bec8a","description":""},{"name":"Dias de jornada","item":[{"name":"Justificar falta","id":"a27708a8-07aa-4cba-9038-a456f5895f21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"proposal\": {\n      \"status_id\": 34,\n      \"date\": \"2020-09-26\",\n      \"motive\": \"teste\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/justify_missing_day","description":"<p>Endpoint para lançamento de um ajuste do Tipo \"Falta com desconto\" e \"Suspensão\" em um dia de Falta</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Motivo do ajuste  <strong>obter através do endpoint 'Motivo dos ajustes'</strong></td>\n</tr>\n<tr>\n<td>date</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Dia do lançamento</td>\n</tr>\n<tr>\n<td>motive</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Descrição do ajuste</td>\n</tr>\n</tbody>\n</table>\n</div><p>OBS: **status_id deve ser do tipo \"Falta com desconto\" ou \"Suspensão\" **</p>\n","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","justify_missing_day"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"6753f069-0a68-409b-bd90-3617003a9290","name":"Justificar falta","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"proposal\": {\n      \"status_id\": 7,\n      \"date\": \"2020-09-23\",\n      \"motive\": \"teste\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/employees/{{Employee_id}}/justify_missing_day"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"201 Created"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"afde3e27086eb553efa45867585c9682\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"3.631090"},{"key":"X-Request-Id","value":"fd54c182-92b3-4a59-9cfa-68eebd8829f9"},{"key":"Date","value":"Wed, 30 Sep 2020 17:59:45 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.0"},{"key":"Server","value":"nginx/1.15.7 + Phusion Passenger 6.0.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Ajuste cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1601488783,\n        \"ip\": \"127.0.0.1\"\n    },\n    \"id\": 32\n}"}],"_postman_id":"a27708a8-07aa-4cba-9038-a456f5895f21"},{"name":"Motivo dos ajustes","id":"3452e4a2-c8c7-46bb-9c56-641d63c91f0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{server_url}}/external_api/v1/time_cards/proposals/status?attributes=id,observation,status_type","description":"<p>Lista os motivos de ajustes</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (15)</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>status_type</td>\n<td>Object</td>\n<td>Tipo do motivo (id, name)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","time_cards","proposals","status"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,observation,status_type"}],"variable":[]}},"response":[],"_postman_id":"3452e4a2-c8c7-46bb-9c56-641d63c91f0f"}],"id":"812197f0-e960-4d44-84a2-b54d354cac0d","_postman_id":"812197f0-e960-4d44-84a2-b54d354cac0d","description":""},{"name":"Documentos","item":[{"name":"Listar","id":"b854d735-66e1-47e9-a203-dbd57a0f4034","request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/documents?","description":"<p>Lista os documentos de um colaborador.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de cadastro do documento no sistema</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do documento no sistema</td>\n</tr>\n<tr>\n<td>number</td>\n<td>String (20)</td>\n<td>Número do documento</td>\n</tr>\n<tr>\n<td>document_type</td>\n<td>Object (2)</td>\n<td>Tipo do documento</td>\n</tr>\n<tr>\n<td>issuing_agency</td>\n<td>String (20)</td>\n<td>Órgão expedidor</td>\n</tr>\n<tr>\n<td>expedition_date</td>\n<td>String (10)</td>\n<td>Data de expedição</td>\n</tr>\n<tr>\n<td>expiration_date</td>\n<td>String (10)</td>\n<td>Data de expiração</td>\n</tr>\n<tr>\n<td>first_expedition_date</td>\n<td>String (10)</td>\n<td>Data da primeira expedição</td>\n</tr>\n<tr>\n<td>state</td>\n<td>Object (2)</td>\n<td>Estado (id, name)</td>\n</tr>\n<tr>\n<td>driver_license_category</td>\n<td>Object (2)</td>\n<td>Categoria da CNH (id, name)</td>\n</tr>\n<tr>\n<td>serial_number</td>\n<td>String (11)</td>\n<td>Número de série</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Observação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-document_type\">Formato do objeto document_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de documento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-state\">Formato do objeto state</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String (2)</td>\n<td>Sigla do estado</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do estado</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-driver_license_category\">Formato do objeto driver_license_category</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (2)</td>\n<td>Categoria da CNH</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","documents"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"cpf","value":"873.416.870-29"}],"variable":[]}},"response":[{"id":"c74e91a5-4d2b-4fe5-a579-4f311779b232","name":" Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/documents?","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","documents"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:17:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"e58fc80f2250af739c6f8f9886b3779e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a4774377-c754-4cf2-b6ae-40eb1adc4cdd","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.066285","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"documents\": [\n        {\n            \"id\": 2,\n            \"created_at\": 1580412265,\n            \"updated_at\": 1580412265,\n            \"number\": \"99999999999\",\n            \"document_type\": {\n                \"id\": 5,\n                \"name\": \"Carteira Nacional de Habilitação\"\n            },\n            \"issuing_agency\": \"SSP\",\n            \"expedition_date\": \"01/01/2020\",\n            \"expiration_date\": \"13/07/2023\",\n            \"first_expedition_date\": \"01/01/2020\",\n            \"state\": {\n                \"id\": \"PA\",\n                \"name\": \"Pará\"\n            },\n            \"driver_license_category\": {\n                \"id\": 6,\n                \"name\": \"AB\"\n            },\n            \"serial_number\": null,\n            \"observation\": \"10\"\n        },\n        {\n            \"id\": 1,\n            \"created_at\": 1580412200,\n            \"updated_at\": 1580412200,\n            \"number\": \"99.999.999-9\",\n            \"document_type\": {\n                \"id\": 1,\n                \"name\": \"RG\"\n            },\n            \"issuing_agency\": \"SSP\",\n            \"expedition_date\": \"16/01/2020\",\n            \"expiration_date\": null,\n            \"first_expedition_date\": null,\n            \"state\": null,\n            \"driver_license_category\": null,\n            \"serial_number\": null,\n            \"observation\": \"10\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1580483493,\n        \"ip\": \"172.23.0.1\"\n    }\n}"}],"_postman_id":"b854d735-66e1-47e9-a203-dbd57a0f4034"}],"id":"5b0fccf7-94d4-4a39-af01-180cc8dee7d0","_postman_id":"5b0fccf7-94d4-4a39-af01-180cc8dee7d0","description":""},{"name":"Listar","event":[{"listen":"test","script":{"id":"fdc96417-a053-49fa-a95d-6dc2bb618b3f","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"19a2d34e-bf98-404e-9d1d-f6f1c97b11c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/employees?active=true&attributes=id,first_name,last_name,email,pin,is_clt,cpf,nis,registration_number,time_card_source,has_time_cards,use_qrcode,enable_geolocation,work_hours,cost_center,user,enable_offline_time_cards,login&count={{count}}&page={{page_number}}&per_page={{per_page}}&sort_direction=asc&sort_property=first_name&incluirAnexos=false","description":"<p>Lista os colaboradores.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>String (50)</td>\n<td>Primeiro nome</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>String (50)</td>\n<td>Sobrenome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>Date</td>\n<td>Data de nascimento</td>\n</tr>\n<tr>\n<td>is_clt</td>\n<td>Boolean</td>\n<td>É CLT? (_true - sim</td>\n</tr>\n<tr>\n<td>is_retired</td>\n<td>Boolean</td>\n<td>É aposentado? (_true - sim</td>\n</tr>\n<tr>\n<td>main_phone_number</td>\n<td>String (16)</td>\n<td>Telefone principal</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>PIS</td>\n</tr>\n<tr>\n<td>user</td>\n<td>Integer</td>\n<td>ID do usuário</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Integer</td>\n<td>ID da equipe</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Integer</td>\n<td>ID do centro de custo</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Integer</td>\n<td>ID do cargo atual</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Integer</td>\n<td>ID do turno atual</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>Integer</td>\n<td>Gênero</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Integer</td>\n<td>ID do endereço</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Ativo? (_true - sim</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Boolean</td>\n<td>Registra ponto? (_true - sim</td>\n</tr>\n<tr>\n<td>time_card_source</td>\n<td>Integer</td>\n<td>Método de registro (verificar a tabela <strong>Opções do time_card_source</strong>)</td>\n</tr>\n<tr>\n<td>work_hours</td>\n<td>String (40)</td>\n<td>Jornada contratada</td>\n</tr>\n<tr>\n<td>pin</td>\n<td>String (4)</td>\n<td>Número do PIN</td>\n</tr>\n<tr>\n<td>qrcode</td>\n<td>String (255)</td>\n<td>Código do QR Code</td>\n</tr>\n<tr>\n<td>use_qrcode</td>\n<td>Boolean</td>\n<td>Usa QR Code? (_true - sim</td>\n</tr>\n<tr>\n<td>geolocation_enabled</td>\n<td>Boolean</td>\n<td>Localização habilitada? (_true - sim</td>\n</tr>\n<tr>\n<td>hourly_rate</td>\n<td>Float</td>\n<td>Valor Hora</td>\n</tr>\n<tr>\n<td>login</td>\n<td>String (255)</td>\n<td>Login do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<p>Todos os parâmetros são opcionais.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>incluirAnexos</td>\n<td>Boolean</td>\n<td>Anexos do colaborador (true or false)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-time_card_source\">Opções do time_card_source</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Registra ponto pelo Relógio Ponto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Registra ponto pela Pontomais</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"filtros-disponíveis\">Filtros disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (50)</td>\n<td>Filtra por nome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>Filtra por CPF</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>filtra por ID</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Filtra por PIS</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Filtra por matrícula</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>Filtra por e-mail</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Filtra por ID da unidade à qual o colaborador pertence</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do departamento ao qual o colaborador pertence</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da equipe à qual o colaborador pertence</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do centro de custos ao qual o colaborador pertence</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Se true retorna apenas ativos caso contrário os inativos</p>\n","type":"text/plain"},"key":"active","value":"true"},{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,first_name,last_name,email,pin,is_clt,cpf,nis,registration_number,time_card_source,has_time_cards,use_qrcode,enable_geolocation,work_hours,cost_center,user,enable_offline_time_cards,login"},{"description":{"content":"<p>Retorna a quantidade de registros encontrados</p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página</p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"},{"description":{"content":"<p>Direção da ordenação, pode ser 'asc' (cresente) ou  'des' decresente\n  </p>\n","type":"text/plain"},"key":"sort_direction","value":"asc"},{"description":{"content":"<p>Atributo  para ordenação</p>\n","type":"text/plain"},"key":"sort_property","value":"first_name"},{"disabled":true,"key":"cpf","value":"873.416.870-29"},{"key":"incluirAnexos","value":"false"}],"variable":[]}},"response":[{"id":"372e74c9-1a2b-495e-a969-301ef5be18d5","name":" Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/employees?active=false&attributes=id,name&count={{count}}&page={{page_number}}&per_page={{per_page}}&sort_direction=asc&sort_property=first_name","host":["{{server_url}}"],"path":["external_api","v1","employees"],"query":[{"key":"active","value":"false","description":"Se true retorna apenas ativos caso contrário retorna os dois"},{"key":"attributes","value":"id,name","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"},{"key":"sort_direction","value":"asc","description":"Direção da ordenação, pode ser 'asc' (cresente) ou  'des' decresente\n  "},{"key":"sort_property","value":"first_name","description":"Atributo  para ordenação"},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:17:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"e58fc80f2250af739c6f8f9886b3779e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a4774377-c754-4cf2-b6ae-40eb1adc4cdd","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.066285","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"employees\":[{\"id\":23732,\"name\":\"Abraão Doe\"},{\"id\":42,\"name\":\"André Doe\"},{\"id\":46322,\"name\":\"Daniela Doe\"},{\"id\":20,\"name\":\"Fernando Doe\"},{\"id\":372,\"name\":\"João Silva\"},{\"id\":14106,\"name\":\"Mauricio Doe\"},{\"id\":23533,\"name\":\"John Doe\"},{\"id\":18611,\"name\":\"Maria Doe\"},{\"id\":55134,\"name\":\"José Doe\"},{\"id\":27770,\"name\":\"Gustavo Doe\"}],\"meta\":{\"now\":1531851467,\"ip\":\"127.0.0.1\",\"count\":14}}"}],"_postman_id":"19a2d34e-bf98-404e-9d1d-f6f1c97b11c6"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"b5cc1abb-9697-4f3b-bd66-c35c6f6a9cad","exec":["pm.variables.set(\"employee_id\", 55135)"],"type":"text/javascript"}}],"id":"4b7f4707-2549-41bc-aef1-1b1b88190c87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}?attributes=id,first_name,last_name,email,pin,is_clt,cpf,nis,registration_number,time_card_source,has_time_cards,use_qrcode,enable_geolocation,work_hours,cost_center,user,enable_offline_time_cards","description":"<p>Exibe os atributos de um colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>String (50)</td>\n<td>Primeiro nome</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>String (50)</td>\n<td>Sobrenome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>Date</td>\n<td>Data de nascimento</td>\n</tr>\n<tr>\n<td>is_clt</td>\n<td>Boolean</td>\n<td>É CLT? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>is_retired</td>\n<td>Boolean</td>\n<td>É aposentado? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>main_phone_number</td>\n<td>Phone (16)</td>\n<td>Telefone principal</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>PIS</td>\n</tr>\n<tr>\n<td>user</td>\n<td>Integer</td>\n<td>ID do usuário</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Integer</td>\n<td>ID da equipe</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Integer</td>\n<td>ID do centro de custo</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Integer</td>\n<td>ID do cargo atual</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Integer</td>\n<td>ID do turno atual</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>Integer</td>\n<td>Gênero</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Integer</td>\n<td>ID do endereço</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Ativo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Boolean</td>\n<td>Registra ponto? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>time_card_source</td>\n<td>Integer</td>\n<td>Método de registro (verificar a tabela <strong>Opções do time_card_source</strong>)</td>\n</tr>\n<tr>\n<td>work_hours</td>\n<td>String (40)</td>\n<td>Jornada contratada</td>\n</tr>\n<tr>\n<td>pin</td>\n<td>String (4)</td>\n<td>Número do PIN</td>\n</tr>\n<tr>\n<td>qrcode</td>\n<td>String (255)</td>\n<td>Código do QR Code</td>\n</tr>\n<tr>\n<td>use_qrcode</td>\n<td>Boolean</td>\n<td>Usa QR Code? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>geolocation_enabled</td>\n<td>Boolean</td>\n<td>Localização habilitada? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>hourly_rate</td>\n<td>Float</td>\n<td>Valor Hora</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-time_card_source\">Opções do time_card_source</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Registra ponto pelo Relógio Ponto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Registra ponto pela Pontomais</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"filtros-disponíveis\">Filtros disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String (50)</td>\n<td>Filtra por nome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>Filtra por CPF</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>filtra por ID</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Filtra por PIS</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Filtra por matrícula</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>Filtra por e-mail</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Filtra por ID da unidade à qual o colaborador pertence</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do departamento ao qual o colaborador pertence</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da equipe à qual o colaborador pertence</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do centro de custos ao qual o colaborador pertence</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,first_name,last_name,email,pin,is_clt,cpf,nis,registration_number,time_card_source,has_time_cards,use_qrcode,enable_geolocation,work_hours,cost_center,user,enable_offline_time_cards"}],"variable":[]}},"response":[{"id":"92f8b65b-939f-432c-9795-81b67e5b11f4","name":"Exemplo de detalhe com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}?attributes=id,first_name,last_name,email,pin,is_clt,cpf,nis,registration_number,time_card_source,has_time_cards,use_qrcode,enable_geolocation,work_hours,cost_center,user,enable_offline_time_cards","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}"],"query":[{"key":"attributes","value":"id,first_name,last_name,email,pin,is_clt,cpf,nis,registration_number,time_card_source,has_time_cards,use_qrcode,enable_geolocation,work_hours,cost_center,user,enable_offline_time_cards","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"0f3d5220-1886-4033-994b-6facc482d4a9"},{"key":"ETag","value":"W/\"c767c83ce5d92bf07c69b1aed02f4e0e\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.066634"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Tue, 10 Mar 2020 20:11:45 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"employee\": {\n        \"id\": 8,\n        \"first_name\": \"Frodo\",\n        \"last_name\": \"Bolseiro\",\n        \"email\": \"frodo@pontomais.com.br\",\n        \"pin\": \"\",\n        \"is_clt\": true,\n        \"cpf\": \"999.999.999-99\",\n        \"nis\": \"999.99999.99-9\",\n        \"registration_number\": \"456\",\n        \"time_card_source\": {\n            \"id\": 2,\n            \"name\": \"Pontomais\"\n        },\n        \"has_time_cards\": true,\n        \"use_qrcode\": false,\n        \"enable_geolocation\": {\n            \"id\": 0,\n            \"name\": \"Usar configuração da conta\"\n        },\n        \"work_hours\": null,\n        \"cost_center\": {\n            \"id\": 2,\n            \"code\": \"0001\",\n            \"name\": \"Geral\"\n        },\n        \"user\": {\n            \"id\": 7,\n            \"email\": \"frodo@pontomais.com.br\",\n            \"active\": true,\n            \"admin\": false,\n            \"confirmed_at\": null,\n            \"group\": {\n                \"id\": 4,\n                \"name\": \"Colaboradores\"\n            }\n        },\n        \"enable_offline_time_cards\": {\n            \"id\": 0,\n            \"name\": \"Usar configuração da conta\"\n        }\n    },\n    \"meta\": {\n        \"now\": 1583871105,\n        \"ip\": \"172.26.0.1\"\n    }\n}"}],"_postman_id":"4b7f4707-2549-41bc-aef1-1b1b88190c87"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"1614fa11-cbb1-4da6-8fe8-8d3181b0fbda","exec":["pm.variables.set(\"name\", \"Darth Vader\");","pm.variables.set(\"nis\", \"999.99999.99-9\");","pm.variables.set(\"registration_number\", \"0001\");","pm.variables.set(\"cpf\", \"999.999.999-99\");","pm.variables.set(\"is_clt\", true);","pm.variables.set(\"admission_date\", \"2018-07-08\");","pm.variables.set(\"email\", \"darth.vader@pontomais.com.br\");"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2572cd26-5216-4455-945c-9276d238a054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"employee\": {\n        \"registration_number\": \"112234\",\n        \"cpf\": \"111.222.333-44\",\n        \"birthdate\": \"2000/01/01\",\n        \"name\": \"Maria Aparecida\",\n        \"is_clt\": true,\n        \"is_retired\": false,\n        \"main_phone_number\": \"(99) 99999-9999\",\n        \"nis\": \"123.4567.89-00\",\n        \"team_id\": 1,\n        \"cost_center_id\": 1,\n        \"job_title_id\": 1,\n        \"shift_id\": 1,\n        \"client_preference_id\": 1,\n        \"gender\": 1,\n        \"mothers_name\": \"Alice Fonseca\",\n        \"email\": \"email.colaborador@empresa.com.br\",\n        \"address\": {\n            \"address_type\": {{address_type}},\n            \"street_type\": {{street_type}},\n            \"street\": {{street}},\n            \"number\": {{number}},\n            \"complement\": {{complement}},\n            \"district\": {{district}},\n            \"zip\": {{zip}},\n            \"city_id\": {{city_id}},\n            \"city_name\": {{city_name}},\n            \"state_id\": {{state_id}},\n            \"country_id\": {{country_id}},\n            \"latitude\": {{latitude}},\n            \"longitude\": {{longitude}},\n            \"default_client_adrress_to_billing\": {{default_client_adrress_to_billing}}\n        },\n        \"active\": true,\n        \"has_time_cards\": {{employee_has_time_cards}},\n        \"time_card_source\": {{time_card_source}},\n        \"work_hours\": {{employee_work_hours}},\n        \"pin\": {{employee_pin}},\n        \"qrcode\": {{employee_qr_code}},\n        \"use_qrcode\": {{use_qrcode}},\n        \"geolocation_enabled\": {{employee_geolocation_enabled}},\n        \"hourly_rate\": {{employee_hourly_rate}},\n        \"login\": {{employee_email}},\n        \"integrated_with_feedz\": {{integrated_with_feedz}},\n        \"live_abroad\": {{live_abroad}},\n        \"esocial\": {{esocial}},\n        \"whats_app_number\": \"(99) 99999-9999\",\n        \"department_id\": {{department_id}},\n        \"business_unit_id\": {{business_unit_id}},\n        \"enable_geolocation\": {{enable_geolocation}},\n        \"enable_offline_time_cards\": {{enable_offline_time_cards}},\n        \"face_id\": {{face_id}},\n        \"contract_type\": {{contract_type}},\n        \"race\": {{race}},\n        \"marital_status\": {{marital_status}},\n        \"instruction_level\": {{instruction_level}},\n        \"fathers_name\": {{fathers_name}},\n        \"alternative_phone_number\": {{alternative_phone_number}},\n        \"alternative_email\": {{alternative_email}},\n        \"birth_city_id\": {{birth_city_id}},\n        \"birth_state_id\": {{birth_state_id}},\n        \"birth_country_id\": {{birth_country_id}},\n        \"is_foreign\": {{is_foreign}},\n        \"foreign_arrival_date\": {{foreign_arrival_date}},\n        \"foreign_visa_type\": {{foreign_visa_type}},\n        \"foreign_is_married_brazilian\": {{foreign_is_married_brazilian}},\n        \"foreign_has_brazilian_children\": {{foreign_has_brazilian_children}},\n        \"is_physical_disabled\": {{is_physical_disabled}},\n        \"is_blind\": {{is_blind}},\n        \"is_deaf\": {{is_deaf}},\n        \"is_mental_disabled\": {{is_mental_disabled}},\n        \"is_poor_intellectual\": {{is_poor_intellectual}},\n        \"is_rehabilitated\": {{is_rehabilitated}},\n        \"disabilities_observation\": {{disabilities_observation}},\n        \"observation\": {{observation}},\n        \"business_unit_cnpj_cpf\": [\n            \"{{bu_cnpj}}\"\n        ],\n        \"vacation_configuration_id\": {{vacation_configuration_id}},\n        \"admission_date\": {{admission_date}}\n    }\n}"},"url":"{{server_url}}/external_api/v1/employees","description":"<p>Inclui um Colaborador.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Sim</td>\n<td>Nome e sobrenome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>Sim</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>initial_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de início no Controle de ponto</td>\n</tr>\n<tr>\n<td>is_clt</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É CLT? (true - sim/false - não)</td>\n</tr>\n<tr>\n<td>live_abroad</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É Estrangeiro? (true - sim/false - não)</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Não</td>\n<td>PIS - Obrigatório quando a configuração <strong>\"Coletar PIS no cadastro de colaboradores\"</strong> (Configurações &gt; Relógios ponto) estiver marcada como \"Sim\")</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da equipe</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do centro de custo</td>\n</tr>\n<tr>\n<td>job_title_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do cargo atual</td>\n</tr>\n<tr>\n<td>shift_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do turno atual</td>\n</tr>\n<tr>\n<td>client_preference_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da configuração de controle de ponto.  <br />Consulte a lista em <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#98158b04-2e86-4a9e-a19f-76a1f992737e\">Preferências (Configurações de controle de ponto)</a></td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>Não</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Registra ponto? (true - sim/false - não)</td>\n</tr>\n<tr>\n<td>time_card_source</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Método de registro (verificar a tabela <strong>Opções do time_card_source</strong>)</td>\n</tr>\n<tr>\n<td>admission_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de admissão</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>String</td>\n<td>Não</td>\n<td>Imagem do colaborador em Base64</td>\n</tr>\n<tr>\n<td>group_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do grupo de acesso (Obrigatório quando \"Método de registro\" for \"Reconhecimento Facial\"),ver endpoint Usuários-&gt;Grupos de Acesso-&gt;Listar</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Não</td>\n<td>Senha para acesso (Obrigatório quando \"Método de registro\" for \"Reconhecimento Facial\")</td>\n</tr>\n<tr>\n<td>whats_app_number</td>\n<td>String</td>\n<td>Não</td>\n<td>formato esperado (99) 99999-9999 ou (99) 9999-9999 se informado irá ativar o registro de ponto por whatsapp desde que: o cliente tenha integração com whatsapp, se o numero não existe para outro colaborador, se o has_time_cards for true, e se o time_card_source for = 2</td>\n</tr>\n<tr>\n<td>business_unit_cnpj_cpf</td>\n<td>Array</td>\n<td>Não</td>\n<td>Array de CNPJ/CPF das unidades de negócios que deseja vincular o colaborador</td>\n</tr>\n<tr>\n<td>vacation_configuration_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Configuração de férias.  <br />Envie nulo para selecionar a opção 'Não fazer a gestão de férias através da extensão “Férias e folgas”'.  <br />Clique <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN#f96e2644-fc1d-4873-8ada-f113dad3ea08\">aqui</a> para obter a relação de configurações.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Gênero (verificar a tabela <strong>Opções de Gender</strong>)</td>\n</tr>\n<tr>\n<td>mothers_name</td>\n<td>String</td>\n<td>Não</td>\n<td>Nome da mãe</td>\n</tr>\n<tr>\n<td>marital_status</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Estado Civil (verificar a tabela <strong>Marital Status</strong>)</td>\n</tr>\n<tr>\n<td>race</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Etnia (verificar a tabela <strong>Opções de Race</strong>)</td>\n</tr>\n<tr>\n<td>instruction_level</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Escolaridade (verificar a tabela <strong>Opções de Instruction Level</strong>)</td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Data de Nascimento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-time_card_source\">Opções do time_card_source</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Caso o colaborador não registre ponto</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Relógio Ponto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Registro Simples</td>\n</tr>\n<tr>\n<td>3</td>\n<td>QR Code</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Reconhecimento Facial</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Registro Simples com Foto</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-address_type\">Opções do address_type</h2>\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>Unidade</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Local do colaborador</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Estrangeiro do colaborador</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Cliente</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Faturamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-street_type\">Opções do street_type</h2>\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>Alameda</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Avenida</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Balneário</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bloco</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chácara</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Conjunto</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Condomínio</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Estrada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Fazenda</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Galeria</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Jardim</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Largo</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Loteamento</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Praça</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Praia</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Parque</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Quadra</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Rua</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Setor</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Travessa</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Vila</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Rodovia</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-gender\">Opções de 'gender'</h2>\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>Masculino</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Feminino</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-enable_geolocation\">Opções de 'enable_geolocation'</h2>\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>Usar configuração da conta</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Permitir</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Não permitir</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-enable_offline_time_cards\">Opções de 'enable_offline_time_cards'</h2>\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>Usar configuração da conta</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Permitir</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Não permitir</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-contract_type\">Opções de 'contract_type'</h2>\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>Mensalista</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Comissionista</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-race-etina\">Opções de 'race' (Etina)</h2>\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>Branca</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Negra</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Parda (parda ou declarada como mulata, cabocla, cafuza, mameluca ou mestiça de negro com pessoa de outra cor ou raça)</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Amarela (de origem japonesa, chinesa, coreana etc)</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Indígena</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Não informado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-marital_status-estado-civil\">Opções de 'marital_status' (Estado Civil)</h2>\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>Solteiro</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Casado</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Divorciado</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Separado</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Viúvo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-instruction_level-escolaridade\">Opções de 'instruction_level' (Escolaridade)</h2>\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>Analfabeto, inclusive o que, embora tenha recebido instrução, não se alfabetizou</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Até o 5º ano incompleto do Ensino Fundamental (antiga 4ª série) ou que se tenha alfabetizado sem ter frequentado escola regular</td>\n</tr>\n<tr>\n<td>3</td>\n<td>5º ano completo do Ensino Fundamental</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Do 6º ao 9º ano do Ensino Fundamental incompleto (antiga 5ª a 8ª série)</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Ensino Fundamental Completo</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Ensino Médio incompleto</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Ensino Médio completo</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Educação Superior incompleta</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Educação Superior completa</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Pós-Graduação completa</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Mestrado completo</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Doutorado completo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-foreign_visa_type\">Opções de 'foreign_visa_type'</h2>\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>Visto permanente</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Visto temporário</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Asilado</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Refugiado</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Solicitante de Refúgio</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Residente em país fronteiriço ao Brasil</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Deficiente físico e com mais de 51 anos</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Com residência provisória e anistiado, em situação irregular</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Permanência no Brasil em razão de filhos ou cônjuge brasileiros</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Beneficiado pelo acordo entre países do Mercosul</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Dependente de agente diplomático e/ou consular de países que mantém convênio de reciprocidade para o exercício de atividade remunerada no Brasil</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Beneficiado pelo Tratado de Amizade, Cooperação e Consulta entre a República Federativa do Brasil e a República Portuguesa</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"adba898e-4acf-4b4d-8821-f636285e6dd6","name":"Exemplo de sucesso ao cadastrar","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"employee\": \n        {\n            \"name\": \"Darth Vader\",\n            \"nis\": \"999.99999.99-9\",\n            \"registration_number\": \"0001\",\n            \"cpf\": \"999.999.999-99\",\n            \"is_clt\": true,\n            \"email\": \"darth.vader@pontomais.com.br\",\n            \"admission_date\": \"22/02/2017\",\n            \"shift_id\": 19631,\n            \"job_title_id\": 6,\n            \"cost_center_id\": 7,\n            \"team_id\": 10,\n            \"live_abroad\": false\n        }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:25:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"77e6de4544edc10c48a4ddea93ab0f8e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"e6cde63b-cc40-4512-93de-ac538c4320bc","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.328140","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Colaborador cadastrado com sucesso!\",\"meta\":{\"now\":1531851946,\"ip\":\"127.0.0.1\"},\"id\":55135}"},{"id":"b9b1376e-980d-4b38-a74a-1212d29fa678","name":" Exemplo de falha no cadastro","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"employee\": \n        {\n            \"name\": \"Darth Vader\",\n            \"nis\": \"999.99999.99-9\",\n            \"registration_number\": \"0001\",\n            \"cpf\": \"999.999.999-99\",\n            \"is_clt\": true,\n            \"email\": \"darth.vader@pontomais.com.br\",\n            \"admission_date\": \"22/02/2017\",\n            \"shift_id\": 19631,\n            \"job_title_id\": 6,\n            \"cost_center_id\": 7,\n            \"team_id\": 10,\n            \"live_abroad\": false\n        }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:24:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"429d2d22-e909-44b7-a7e9-6b368c175aaf","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.085217","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"cpf\":[\"Já está em uso\"]},\"meta\":{\"now\":1531851876,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"2572cd26-5216-4455-945c-9276d238a054"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"40393363-7897-4b6a-bca7-439315c05bc5","exec":["pm.variables.set(\"employee_id\", 2)","","pm.variables.set(\"name\", \"Darth Vader\");","pm.variables.set(\"nis\", \"999.99999.99-9\");","pm.variables.set(\"registration_number\", \"0001\");","pm.variables.set(\"cpf\", \"999.999.999-99\");","pm.variables.set(\"is_clt\", true);","pm.variables.set(\"email\", \"darth.vader@pontomais.com.br\");"],"type":"text/javascript"}}],"id":"66de4c83-d3fa-4550-97d8-94520e637baf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"employee\": {\n    \"registration_number\": \"{{registration_number}}\",\n    \"cpf\":  \"{{cpf}}\",\n    \"birthdate\": {{birthdate}},\n    \"name\": \"{{name}}\",\n    \"is_clt\": {{employee_is_clt}},\n    \"is_retired\": {{employee_is_retired}},\n    \"main_phone_number\": {{phone_number}},\n    \"nis\":  \"{{nis}}\",\n    \"cost_center_id\": {{cost_center_id}},\n    \"gender\": {{gender_id}},\n    \"email\": \"{{employee_email}}\",\n    \"active\": {{active}},\n    \"has_time_cards\": {{employee_has_time_cards}},\n    \"time_card_source\": {{time_card_source}},\n    \"work_hours\": {{employee_work_hours}},\n    \"pin\": {{employee_pin}},\n    \"qrcode\": {{employee_qr_code}},\n    \"use_qrcode\": {{use_qrcode}},\n    \"geolocation_enabled\": {{employee_geolocation_enabled}},\n    \"hourly_rate\": {{employee_hourly_rate}},\n    \"login\": {{employee_email}},\n    \"integrated_with_feedz\": {{integrated_with_feedz}},\n    \"live_abroad\": {{live_abroad}},\n    \"esocial\": {{esocial}},\n    \"whats_app_number\": {{whats_app_number}},\n    \"department_id\": {{department_id}},\n    \"business_unit_id\": {{business_unit_id}},\n    \"enable_geolocation\": {{enable_geolocation}},\n    \"enable_offline_time_cards\": {{enable_offline_time_cards}},\n    \"face_id\": {{face_id}},\n    \"contract_type\": {{contract_type}},\n    \"race\": {{race}},\n    \"marital_status\": {{marital_status}},\n    \"instruction_level\": {{instruction_level}},\n    \"mothers_name\": {{mothers_name}},\n    \"fathers_name\": {{fathers_name}},\n    \"alternative_phone_number\": {{alternative_phone_number}},\n    \"alternative_email\": {{alternative_email}},\n    \"birth_city_id\": {{birth_city_id}},\n    \"birth_state_id\": {{birth_state_id}},\n    \"birth_country_id\": {{birth_country_id}},\n    \"is_foreign\": {{is_foreign}},\n    \"foreign_arrival_date\": {{foreign_arrival_date}},\n    \"foreign_visa_type\": {{foreign_visa_type}},\n    \"foreign_is_married_brazilian\": {{foreign_is_married_brazilian}},\n    \"foreign_has_brazilian_children\": {{foreign_has_brazilian_children}},\n    \"is_physical_disabled\": {{is_physical_disabled}},\n    \"is_blind\": {{is_blind}},\n    \"is_deaf\": {{is_deaf}},\n    \"is_mental_disabled\": {{is_mental_disabled}},\n    \"is_poor_intellectual\": {{is_poor_intellectual}},\n    \"is_rehabilitated\": {{is_rehabilitated}},\n    \"disabilities_observation\": {{disabilities_observation}},\n    \"observation\": {{observation}},\n    \"business_unit_cnpj_cpf\": [\"{{bu_cnpj}}\"],\n    \"vacation_configuration_id\": {{vacation_configuration_id}}\n  }  \n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}","description":"<p>Edita um colaborador.</p>\n<p>Para alterar o turno (shift_id) do colaborador, use o endpoint <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#2105824d-8826-4c06-bc1f-a2006266d277\">Colaboradores / Movimentações / Turno / Criar</a>.</p>\n<p>Para alterar a equipe (team_id) do colaborador (e por consequencia, seu Departamento e Unidade de Negócio), use o endpoint <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#c95a693c-7ad8-49be-995b-33f77de27ddb\">Colaboradores / Movimentações / Equipe / Criar</a>.</p>\n<p>Para alterar o cargo (job_title_id), use o endpoint <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#7df5d862-f772-4fc9-9ecf-55106437a88d\">Colaboradores / Movimentações / Cargo / Criar</a>.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Sim</td>\n<td>Nome e sobrenome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>Não</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>is_clt</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É CLT? (_true - sim</td>\n</tr>\n<tr>\n<td>live_abroad</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>É Estrangeiro? (_true - sim</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Não</td>\n<td>PIS - Obrigatório quando a configuração <strong>\"Coletar PIS no cadastro de colaboradores\"</strong> (Configurações &gt; Relógios ponto) estiver marcada como \"Sim\"</td>\n</tr>\n<tr>\n<td>client_preference_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID da configuração de controle de ponto</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>Não</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Registra ponto? (_true - sim</td>\n</tr>\n<tr>\n<td>time_card_source</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Método de registro (verificar a tabela <strong>Opções do time_card_source</strong>)</td>\n</tr>\n<tr>\n<td>admission_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de admissão</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>String</td>\n<td>Não</td>\n<td>Imagem do colaborador em Base64</td>\n</tr>\n<tr>\n<td>hourly_rate</td>\n<td>Float</td>\n<td>Não</td>\n<td>Valor/Hora</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do centro de custo</td>\n</tr>\n<tr>\n<td>group_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do grupo de acesso (Obrigatório quando \"Método de registro\" for \"Reconhecimento Facial\"),ver endpoint Usuários-&gt;Grupos de Acesso-&gt;Listar</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Não</td>\n<td>Senha para acesso (Obrigatório quando \"Método de registro\" for \"Reconhecimento Facial\")</td>\n</tr>\n<tr>\n<td>whats_app_number</td>\n<td>String</td>\n<td>Não</td>\n<td>formato esperado (99) 99999-9999 ou (99) 9999-9999 se informado irá ativar o registro de ponto por whatsapp desde que: o cliente tenha integração com whatsapp, se o numero não existe para outro colaborador, se o has_time_cards for true, e se o time_card_source for = 2</td>\n</tr>\n<tr>\n<td>disable_time_recording_by_whatsapp</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se = true desabilita o registro de ponto por WhatsaApp</td>\n</tr>\n<tr>\n<td>business_unit_cnpj_cpf</td>\n<td>Array</td>\n<td>Não</td>\n<td>Array de CNPJ/CPF das unidades de negócios que deseja vincular o colaborador</td>\n</tr>\n<tr>\n<td>vacation_configuration_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Configuração de férias.  <br />Envie nulo para selecionar a opção 'Não fazer a gestão de férias através da extensão “Férias e folgas”'.  <br />Clique <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#f96e2644-fc1d-4873-8ada-f113dad3ea08\">aqui</a> para obter a relação de configurações.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Gênero (verificar a tabela <strong>Opções de Gender</strong>)</td>\n</tr>\n<tr>\n<td>login</td>\n<td>String</td>\n<td>Não</td>\n<td>Login do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-time_card_source\">Opções do time_card_source</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Caso o colaborador não registre ponto</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Relógio Ponto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Registro Simples</td>\n</tr>\n<tr>\n<td>3</td>\n<td>QR Code</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Reconhecimento Facial</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-address_type\">Opções do address_type</h2>\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>Unidade</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Local do colaborador</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Estrangeiro do colaborador</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Cliente</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Faturamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-street_type\">Opções do street_type</h2>\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>Alameda</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Avenida</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Balneário</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Bloco</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Chácara</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Conjunto</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Condomínio</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Estrada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Fazenda</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Galeria</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Jardim</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Largo</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Loteamento</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Praça</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Praia</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Parque</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Quadra</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Rua</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Setor</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Travessa</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Vila</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Rodovia</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-gender\">Opções de 'gender'</h2>\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>Masculino</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Feminino</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-enable_geolocation\">Opções de 'enable_geolocation'</h2>\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>Usar configuração da conta</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Permitir</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Não permitir</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-enable_offline_time_cards\">Opções de 'enable_offline_time_cards'</h2>\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>Usar configuração da conta</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Permitir</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Não permitir</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-contract_type\">Opções de 'contract_type'</h2>\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>Mensalista</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Comissionista</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-race\">Opções de 'race'</h2>\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>Branca</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Negra</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Parda (parda ou declarada como mulata, cabocla, cafuza, mameluca ou mestiça de negro com pessoa de outra cor ou raça)</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Amarela (de origem japonesa, chinesa, coreana etc)</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Indígena</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Não informado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-marital_status\">Opções de 'marital_status'</h2>\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>Solteiro</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Casado</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Divorciado</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Separado</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Viúvo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-instruction_level\">Opções de 'instruction_level'</h2>\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>Analfabeto, inclusive o que, embora tenha recebido instrução, não se alfabetizou</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Até o 5º ano incompleto do Ensino Fundamental (antiga 4ª série) ou que se tenha alfabetizado sem ter frequentado escola regular</td>\n</tr>\n<tr>\n<td>3</td>\n<td>5º ano completo do Ensino Fundamental</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Do 6º ao 9º ano do Ensino Fundamental incompleto (antiga 5ª a 8ª série)</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Ensino Fundamental Completo</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Ensino Médio incompleto</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Ensino Médio completo</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Educação Superior incompleta</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Educação Superior completa</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Pós-Graduação completa</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Mestrado completo</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Doutorado completo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-de-foreign_visa_type\">Opções de 'foreign_visa_type'</h2>\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>Visto permanente</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Visto temporário</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Asilado</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Refugiado</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Solicitante de Refúgio</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Residente em país fronteiriço ao Brasil</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Deficiente físico e com mais de 51 anos</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Com residência provisória e anistiado, em situação irregular</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Permanência no Brasil em razão de filhos ou cônjuge brasileiros</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Beneficiado pelo acordo entre países do Mercosul</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Dependente de agente diplomático e/ou consular de países que mantém convênio de reciprocidade para o exercício de atividade remunerada no Brasil</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Beneficiado pelo Tratado de Amizade, Cooperação e Consulta entre a República Federativa do Brasil e a República Portuguesa</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"5f922631-00f4-4102-b885-8a79dea97a06","name":"Exemplo de edição com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"employee\": \n        {\n            \"name\": \"Darth Vader\",\n            \"nis\": \"999.99999.99-9\",\n            \"registration_number\": \"0001\",\n            \"cpf\": \"999.999.999-99\",\n            \"is_clt\": true,\n            \"email\": \"darth.vader@pontomais.com.br\",\n            \"admission_date\": \"22/02/2017\",\n            \"shift_id\": 19631,\n            \"job_title_id\": 6,\n            \"cost_center_id\": 7,\n            \"team_id\": 10,\n            \"live_abroad\": false\n        }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:49:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9455a22d75e29191e84171f74a31351f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"dfcf0271-e7a1-4ede-99e6-d7f4cd18cbab","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.087172","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Colaborador editado com sucesso!\",\"meta\":{\"now\":1531853380,\"ip\":\"127.0.0.1\"},\"id\":55135}"},{"id":"afe9e718-a33c-4e92-bbcc-b71d48979329","name":" Exemplo de edição sem sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"employee\": \n        {\n            \"name\": \"Darth Vader\",\n            \"nis\": \"999.99999.99-9\",\n            \"registration_number\": \"0001\",\n            \"cpf\": \"999.999.999-99\",\n            \"is_clt\": true,\n            \"email\": \"darth.vader@pontomais.com.br\",\n            \"admission_date\": \"22/02/2017\",\n            \"shift_id\": 19631,\n            \"job_title_id\": 6,\n            \"cost_center_id\": 7,\n            \"team_id\": 10,\n            \"live_abroad\": false\n        }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:47:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"eb1f7aea-f38c-4104-bd89-b4d947fbe1a5","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.097688","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"nis\":[\"Já está em uso\"],\"email\":[\"Já está em uso\"],\"cpf\":[\"Já está em uso\"]},\"meta\":{\"now\":1531853226,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"66de4c83-d3fa-4550-97d8-94520e637baf"},{"name":"Demitir","event":[{"listen":"prerequest","script":{"id":"64d4decf-e262-409f-908d-b82af9196a6d","exec":[""],"type":"text/javascript"}}],"id":"d6e2d4a5-fb3b-44b4-94de-8f2b37b431ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente.</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"date\":\"2021-02-01\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/dismiss","description":"<p>Demite um Colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data da demissão</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>Date</td>\n<td>Não</td>\n<td>Data efetiva da demissão (Caso não seja enviado, é considerado o campo date</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","dismiss"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"97cd60bf-1387-4bf0-8b99-8a869fc4d383","name":"Exemplo de falha ao demitir","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"date\":\"2018-07-17\",\n    \"effective_date\":\"2018-07-17\",\n    \"motive\":2\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/dismiss"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:03:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d49838f0-5e65-40bf-b55a-a8b5f77392a4","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.112344","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"date\":[\"Já está em uso\"]},\"meta\":{\"now\":1531854230,\"ip\":\"127.0.0.1\"}}"},{"id":"c26a8e3a-a401-481d-8bbe-98074461835b","name":" Exemplo de demissão com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"date\":\"2018-07-17\",\n    \"effective_date\":\"2018-07-17\",\n    \"motive\":2\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/dismiss"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:01:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f809be83d90bf8adcd9053e774a1eeb7\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0125d71a-19d8-479f-a93f-7827c6864cd3","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.545796","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Colaborador demitido com sucesso!\",\"meta\":{\"now\":1531854109,\"ip\":\"127.0.0.1\"},\"id\":61398}"}],"_postman_id":"d6e2d4a5-fb3b-44b4-94de-8f2b37b431ee"},{"name":"Verifica se existe","event":[{"listen":"prerequest","script":{"id":"50e50bdb-3e47-4e21-8f4e-502f2d871a84","exec":["pm.variables.set(\"cpf\", \"99999999999\")","pm.variables.set(\"nis\", \"99999999999\")",""],"type":"text/javascript"}}],"id":"e7ec2852-b836-4e60-ad47-c1fcf57136be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"},{"key":"hcm-token","value":"{{hcm-token}}","description":"<p>Token do cliente </p>\n"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"cpf\":\"99999999999\",\n    \"nis\":\"38266910278\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/employees/exists","description":"<p>Verifica se um colaborador já existe na base com o mesmo CPF ou PIS(nis)</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>PIS</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"retorno\">Retorno</h2>\n<p>Retorna uma lista de unidades de negócio onde o colaborador encontra-se cadastrado, ativo ou não.\nO id se refere ao ID do colaborador.</p>\n<p>{\n  \"employees\": [\n    {\n      \"id\": 1,\n      \"business_unit_id\": 573,\n      \"business_unit_name\": \"Matriz\",\n      \"active\": false\n    },\n    {\n      \"id\": 1,\n      \"business_unit_id\": 43,\n      \"business_unit_name\": \"Filial\",\n      \"active\": true\n    }\n  ]\n}</p>\n","urlObject":{"path":["external_api","v1","employees","exists"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"75ed536f-facc-4e7b-91e7-37f785e81f44","name":" Exemplo de verificação com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"cpf\":\"999.999.999-99\",\n    \"nis\":\"999.99999.99-9\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/exists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:01:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f809be83d90bf8adcd9053e774a1eeb7\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0125d71a-19d8-479f-a93f-7827c6864cd3","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.545796","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"employees\": [\n        {\n            \"id\": 1,\n            \"business_unit_id\": 573,\n            \"business_unit_name\": \"Móju\",\n            \"active\": false\n        },\n        {\n            \"id\": 1,\n            \"business_unit_id\": 43,\n            \"business_unit_name\": \"Filial 2\",\n            \"active\": true\n        }\n    ],\n    \"meta\": {\n        \"now\": 1618428400,\n        \"ip\": \"186.225.20.33\",\n        \"ids\": [1, 2]\n    }\n}"},{"id":"7a81297b-161c-4af3-82cd-54ecc3c78740","name":"Exemplo de verificação sem sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"cpf\":\"999.999.999-99\",\n    \"nis\":\"999.99999.99-9\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/exists"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:03:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d49838f0-5e65-40bf-b55a-a8b5f77392a4","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.112344","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Colaborador não encontrado\",\n    \"meta\": {\n        \"now\": 1618428252,\n        \"ip\": \"186.225.220.33\"\n    }\n}"}],"_postman_id":"e7ec2852-b836-4e60-ad47-c1fcf57136be"},{"name":"Verifica status do colaborador","event":[{"listen":"prerequest","script":{"id":"00860917-8dd7-4407-a65f-d96c4b5abc00","exec":["pm.variables.set(\"employee_id\", 1)"],"type":"text/javascript"}}],"id":"00796f79-cffc-47b5-bdcb-205b43c1e41a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/status","description":"<p>Exibe o status atual do colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"legenda-da-resposta\">Legenda da resposta</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Em jornada</td>\n<td>Quando o colaborador está trabalhando (nº impar de pontos)</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Intervalo</td>\n<td>Quando o colaborador saiu para almoço nº par de pontos e menor que o nº de pontos que deve ter na jornada)</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Ausente</td>\n<td>Quando é dia de trabalho e o colaborador ainda não registrou pontos, mas o horário de entrada dele ainda não chegou. Ex: (agora são 6h e ele entra as 8h)</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Expediente encerrado</td>\n<td>Quando o colaborador tem nº par de pontos e já registrou o total de pontos que deveria ter no turno. Ex: Colaborador registrou o 4º ponto do dia e no cadastro do turno tem 2 entradas e 2 saídas.</td>\n</tr>\n<tr>\n<td>6</td>\n<td>De folga</td>\n<td>Quando o dia atual não é dia de trabalho e o colaborador não iniciou jornada</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Atrasado</td>\n<td>Quando o colaborador não registrou pontos e o horário de entrada dele já passou. Ex: (agora são 08:20h e ele entra as 8h)</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Trabalhando em dia de folga</td>\n<td>Quando o dia atual não é dia de trabalho e o colaborador iniciou jornada</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Afastado</td>\n<td>Quando no dia atual o colaborador se encontra afastado</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Trabalhando em dia que está afastado</td>\n<td>Quando no dia atual o colaborador se encontra afastado mas está trabalhando</td>\n</tr>\n<tr>\n<td>11</td>\n<td>De férias</td>\n<td>Quando no dia atual o colaborador se encontra de férias</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Trabalhando em dia de férias</td>\n<td>Quando no dia atual o colaborador se encontra de férias mas está trabalhando</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","status"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"b5fdfbda-5999-4907-a465-ceb9c2070720","name":"Exemplo de verificação com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 05 Sep 2018 20:35:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c2761263294089ec97bfbc53c45b9f0d\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"f387c3cc-c4e2-4adf-85b3-81feb25da712","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.077650","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Status do colaborador obtido com sucesso !\",\"meta\":{\"now\":1536179719,\"ip\":\"127.0.0.1\"},\"status\":7}"}],"_postman_id":"00796f79-cffc-47b5-bdcb-205b43c1e41a"},{"name":"Verifica se existe","event":[{"listen":"prerequest","script":{"id":"50e50bdb-3e47-4e21-8f4e-502f2d871a84","exec":["pm.variables.set(\"cpf\", \"99999999999\")","pm.variables.set(\"nis\", \"99999999999\")",""],"type":"text/javascript"}}],"id":"272e5494-c682-4987-89a4-c75def7ddb90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"hcm-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"cpf\":\"99999999999\",\n    \"nis\":\"38266910278\"\n  }\n}"},"url":"{{server_url}}/external_api/v1/employees/exists","description":"<p>Verifica se um colaborador já existe na base com o mesmo CPF ou PIS(nis)</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>PIS</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"retorno\">Retorno</h2>\n<p>Retorna uma lista de unidades de negócio onde o colaborador encontra-se cadastrado, ativo ou não.\nO id se refere ao ID do colaborador.</p>\n<p>{\n  \"employees\": [\n    {\n      \"id\": 1,\n      \"business_unit_id\": 573,\n      \"business_unit_name\": \"Matriz\",\n      \"active\": false\n    },\n    {\n      \"id\": 1,\n      \"business_unit_id\": 43,\n      \"business_unit_name\": \"Filial\",\n      \"active\": true\n    }\n  ]\n}</p>\n","urlObject":{"path":["external_api","v1","employees","exists"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"7239e330-affc-4b46-b0e4-2fe556913749","name":" Exemplo de verificação com sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"cpf\":\"999.999.999-99\",\n    \"nis\":\"999.99999.99-9\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/exists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:01:50 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f809be83d90bf8adcd9053e774a1eeb7\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"201 Created","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0125d71a-19d8-479f-a93f-7827c6864cd3","description":"Custom header"},{"key":"X-Runtime","value":"0.545796","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"employees\": [\n        {\n            \"id\": 1,\n            \"business_unit_id\": 573,\n            \"business_unit_name\": \"Móju\",\n            \"active\": false\n        },\n        {\n            \"id\": 1,\n            \"business_unit_id\": 43,\n            \"business_unit_name\": \"Filial 2\",\n            \"active\": true\n        }\n    ],\n    \"meta\": {\n        \"now\": 1618428400,\n        \"ip\": \"186.225.20.33\",\n        \"ids\": [1, 2]\n    }\n}"},{"id":"4cb2f2ac-c0a3-421e-94fb-19c571e39299","name":"Exemplo de verificação sem sucesso","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"employee\":\n  {\n    \"cpf\":\"999.999.999-99\",\n    \"nis\":\"999.99999.99-9\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/employees/exists"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:03:50 GMT","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d49838f0-5e65-40bf-b55a-a8b5f77392a4","description":"Custom header"},{"key":"X-Runtime","value":"0.112344","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": \"Colaborador não encontrado\",\n    \"meta\": {\n        \"now\": 1618428252,\n        \"ip\": \"186.225.220.33\"\n    }\n}"}],"_postman_id":"272e5494-c682-4987-89a4-c75def7ddb90"}],"id":"440297c6-d9a8-4ba4-9189-c13ec4424df8","event":[{"listen":"prerequest","script":{"id":"baf4af41-6685-49ce-8879-c8c1cd702761","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"37f88c02-cf31-42f9-839c-6e738c7d25ed","type":"text/javascript","exec":[""]}}],"_postman_id":"440297c6-d9a8-4ba4-9189-c13ec4424df8","description":""},{"name":"Banco de horas","item":[{"name":"Listar","id":"b81a1327-bbce-4d6b-b0c5-e278dde64205","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/time_balance_entries?employee_id={{employee_id}}&withdraw=true&count=true&page=1&per_page=10&sort_property=date&sort_direction=desc&attributes=id,date,withdraw,amount,employee_id,observation,updated_by","description":"<p>Lista os lançamentos manuais do banco de horas.</p>\n<h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>ID do colaborador a ser filtrado</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Filtragem de lançamentos por tipo de operação, crédito e débito. <em>(__<strong>true</strong></em> <em>- lista apenas débitos /</em> <em><strong>false</strong></em> <em>- lista apenas créditos)</em></td>\n</tr>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Número da página atual</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Quantidade de unidades de negócio por página</td>\n</tr>\n<tr>\n<td>count</td>\n<td>Boolean</td>\n<td>Total de lançamentos retornados na listagem. <em>(__<strong>true</strong></em> <em>- exibe contador /</em> <em><strong>false</strong></em> <em>- oculta contador)</em></td>\n</tr>\n<tr>\n<td>sort_property</td>\n<td>String</td>\n<td>Atributo que a listagem deve considerar para ordenar os lançamentos</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>String</td>\n<td>Direção em que a listagem deve classificar os lançamentos. <em>(__<strong>asc</strong></em> <em>- ascendente /</em> <em><strong>desc</strong></em> <em>- descendente)</em></td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Atributos, separados por vírgula, a serem exibidos em cada lançamento. <strong>Veja abaixo os atributos disponíveis</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do lançamento</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do lançamento</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data a qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Indica se a operação é débito. <em>(__<strong>true</strong></em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>signed_amount</td>\n<td>Float</td>\n<td>Valor do lançamento em segundos e com sinalização</td>\n</tr>\n<tr>\n<td>signed_amount_humanized</td>\n<td>String</td>\n<td>Valor do lançamento em formato de horário e com sinalização</td>\n</tr>\n<tr>\n<td>work_day_id</td>\n<td>Integer</td>\n<td>ID da consolidação</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>updated_by</td>\n<td>Object</td>\n<td>Colaborador que realizou o lançamento. <strong>Veja abaixo o formato do objeto</strong>.</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Motivo do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-updated_by\">Formato do objeto updated_by</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","time_balance_entries"],"host":["{{server_url}}"],"query":[{"key":"employee_id","value":"{{employee_id}}"},{"key":"withdraw","value":"true"},{"key":"count","value":"true"},{"key":"page","value":"1"},{"key":"per_page","value":"10"},{"key":"sort_property","value":"date"},{"key":"sort_direction","value":"desc"},{"key":"attributes","value":"id,date,withdraw,amount,employee_id,observation,updated_by"}],"variable":[]}},"response":[{"id":"9f41bfad-8e56-4413-8b54-72ce28afeeb3","name":"Listar","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"url":{"raw":"{{server_url}}/external_api/v1/time_balance_entries?employee_id={{employee_id}}&withdraw=true&count=true&page=1&per_page=10&sort_property=date&sort_direction=desc&attributes=id,date,withdraw,amount,employee_id,observation,updated_by","host":["{{server_url}}"],"path":["external_api","v1","time_balance_entries"],"query":[{"key":"employee_id","value":"{{employee_id}}"},{"key":"withdraw","value":"true"},{"key":"count","value":"true"},{"key":"page","value":"1"},{"key":"per_page","value":"10"},{"key":"sort_property","value":"date"},{"key":"sort_direction","value":"desc"},{"key":"attributes","value":"id,date,withdraw,amount,employee_id,observation,updated_by"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b81a1327-bbce-4d6b-b0c5-e278dde64205"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"17df8fc9-c2eb-412e-aa0c-b6271042627f","exec":[""],"type":"text/javascript"}}],"id":"c71fbbc5-bbdf-454a-a3af-c33d73fb94fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/time_balance_entries/{{time_balance_entry_id}}?attributes=id,date,withdraw,amount,employee_id,observation,updated_by","description":"<p>Exibe os atributos de um lançamento de banco de horas.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>time_balance_entry_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<p>Todos os parâmetros são opcionais.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Atributos, separados por vírgula, a serem exibidos em cada lançamento. <strong>Veja abaixo os atributos disponíveis</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do lançamento</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do lançamento</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data a qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Indica se a operação é débito. <em>(__<strong>true</strong></em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>signed_amount</td>\n<td>Float</td>\n<td>Valor do lançamento em segundos e com sinalização</td>\n</tr>\n<tr>\n<td>signed_amount_humanized</td>\n<td>String</td>\n<td>Valor do lançamento em formato de horário e com sinalização</td>\n</tr>\n<tr>\n<td>work_day_id</td>\n<td>Integer</td>\n<td>ID da consolidação</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>updated_by</td>\n<td>Object</td>\n<td>Colaborador que realizou o lançamento. <strong>Veja abaixo o formato do objeto</strong>.</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Motivo do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-updated_by\">Formato do objeto updated_by</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","time_balance_entries","{{time_balance_entry_id}}"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,date,withdraw,amount,employee_id,observation,updated_by"}],"variable":[]}},"response":[{"id":"135ec871-48ad-44e0-bdd5-239c7f56f5fe","name":"Exemplo de falha","originalRequest":{"method":"GET","header":[{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"url":{"raw":"{{server_url}}/external_api/v1/time_balance_entries/99","host":["{{server_url}}"],"path":["external_api","v1","time_balance_entries","99"],"query":[{"key":"attributes","value":"id,date,withdraw,amount,employee_id,observation,updated_by","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"404 Not Found"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"e3fed551-f1b6-4d7c-9e7b-07a41062b8ca"},{"key":"X-Runtime","value":"0.056697"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Mon, 16 Nov 2020 21:33:04 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Registro não encontrado\",\n    \"meta\": {\n        \"now\": 1605562384,\n        \"ip\": \"172.20.0.1\"\n    }\n}"},{"id":"bef5bb92-3b33-4f81-a8d7-764c204964d3","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"url":{"raw":"{{server_url}}/external_api/v1/time_balance_entries/51","host":["{{server_url}}"],"path":["external_api","v1","time_balance_entries","51"],"query":[{"key":"attributes","value":"id,date,withdraw,amount,employee_id,observation,updated_by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"b9897269-8dad-4dbb-b2e5-892da92bd534"},{"key":"ETag","value":"W/\"7ed68651c9a98b8374168916286d7b6e\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.241450"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Mon, 16 Nov 2020 21:32:05 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"time_balance_entry\": {\n        \"id\": 51,\n        \"created_at\": 1605561228,\n        \"updated_at\": 1605561228,\n        \"date\": \"02/11/2020\",\n        \"withdraw\": true,\n        \"amount\": 7200,\n        \"signed_amount\": -7200,\n        \"signed_amount_humanized\": \"-02:00\",\n        \"work_day_id\": 1115,\n        \"employee_id\": 3,\n        \"updated_by\": {\n            \"id\": 1,\n            \"name\": \"Gollum Gollum Gollum\"\n        },\n        \"observation\": null\n    },\n    \"meta\": {\n        \"now\": 1605562325,\n        \"ip\": \"172.20.0.1\"\n    }\n}"}],"_postman_id":"c71fbbc5-bbdf-454a-a3af-c33d73fb94fe"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"d19d0c9a-8099-4c59-bb92-c22475357ddc","exec":[""],"type":"text/javascript"}}],"id":"3464e85d-bf85-433b-9ce4-af8caac668c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": {{amount}},\n    \"date\": \"{{date}}\",\n    \"employee_id\": {{employee_id}},\n    \"observation\": \"{{observation}}\",\n    \"withdraw\": {{withdraw}}\n  }\n}"},"url":"{{server_url}}/external_api/v1/time_balance_entries","description":"<p>Cria um lançamento de banco de horas.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Sim</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data a qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Motivo do lançamento</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Indica se a operação é débito. Se o atributo não estiver presente, o lançamento será do tipo crédito. <em>(__<strong>true</strong></em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","time_balance_entries"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"101deca3-0c80-474e-a968-c2c76d06c897","name":"Exemplo de falha","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": 7200.0,\n    \"date\": \"2020-11-02\",\n    \"employee_id\": 3,\n    \n    \"withdraw\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/time_balance_entries"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Runtime","value":"0.480151"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Request-Id","value":"1d8d6805-2e6c-4ca5-8abb-e3a025f5f815"},{"key":"Date","value":"Mon, 16 Nov 2020 21:29:21 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"observation\": [\n            \"Não pode ficar em branco\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1605562161,\n        \"ip\": \"172.20.0.1\"\n    }\n}"},{"id":"ce8075e0-a39a-4c20-a10d-c86e6739f424","name":"Exemplo de sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": 7200.0,\n    \"date\": \"2020-11-02\",\n    \"employee_id\": 3,\n    \"observation\": \"Ajuda 1\",\n    \"withdraw\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/time_balance_entries"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"201 Created"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"e05758a9a3cbd062c64cc36252c2da52\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.810448"},{"key":"X-Request-Id","value":"59741804-b529-4333-b9ed-d9c9472d7ff6"},{"key":"Date","value":"Mon, 16 Nov 2020 21:27:29 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Saldo de banco de horas lançado com sucesso!\",\n    \"meta\": {\n        \"now\": 1605562048,\n        \"ip\": \"172.20.0.1\"\n    },\n    \"id\": 52\n}"}],"_postman_id":"3464e85d-bf85-433b-9ce4-af8caac668c2"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"db9b91ab-a825-4bc5-894e-280de12abe29","exec":[""],"type":"text/javascript"}}],"id":"4f0b69ba-bad5-480d-beb1-3b5c3c1b7163","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": {{amount}},\n    \"date\": \"{{date}}\",\n    \"observation\": \"{{observation}}\",\n    \"withdraw\": {{withdraw}}\n  }\n}"},"url":"{{server_url}}/external_api/v1/time_balance_entries/59","description":"<p>Edita um lançamento de banco de horas.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>time_balance_entry_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Não</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Não</td>\n<td>Data a qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Não</td>\n<td>Motivo do lançamento</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Indica se a operação é débito. Se o atributo não estiver presente, o lançamento será do tipo crédito. <em>(__<strong>true</strong></em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","time_balance_entries","59"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"12a7c792-c9b0-4fdf-baba-0711cd097d2c","name":"Exemplo de sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": 7200,\n    \"date\": \"2020-11-03\",\n    \"observation\": \"Lorem ipsum\",\n    \"withdraw\": false\n  }\n}"},"url":"{{server_url}}/external_api/v1/time_balance_entries/14"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"2bf3e22018cf1706075ee7c1ed5d0d6f\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.691088"},{"key":"X-Request-Id","value":"70aac75b-446d-43a1-a463-e57fd8ff3157"},{"key":"Date","value":"Mon, 16 Nov 2020 21:35:44 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Saldo de banco de horas atualizado com sucesso!\",\n    \"meta\": {\n        \"now\": 1605562543,\n        \"ip\": \"172.20.0.1\"\n    }\n}"},{"id":"ec611492-7b91-4691-a360-340f0145c5d2","name":"Exemplo de falha","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": \"asd\",\n    \"date\": \"2020-11-03\",\n    \"observation\": \"Lorem ipsum\",\n    \"withdraw\": false\n  }\n}"},"url":"{{server_url}}/external_api/v1/time_balance_entries/14"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Runtime","value":"0.425231"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Request-Id","value":"508ed00b-49b6-43fe-a054-dade252d6bcd"},{"key":"Date","value":"Mon, 16 Nov 2020 21:37:53 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"amount\": [\n            \"Deve ser um número\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1605562673,\n        \"ip\": \"172.20.0.1\"\n    }\n}"}],"_postman_id":"4f0b69ba-bad5-480d-beb1-3b5c3c1b7163"},{"name":"Excluir","event":[{"listen":"prerequest","script":{"id":"a1dc19db-54d1-46ee-a21b-4cb6977adc4a","exec":["pm.variables.set(\"department_id\", 14900)",""],"type":"text/javascript"}}],"id":"63a0bf58-d62a-459c-bbfd-4eadf114a270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/time_balance_entries/{{time_balance_entry_id}}","description":"<p>Exclui um lançamento de banco de horas.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>time_balance_entry_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","time_balance_entries","{{time_balance_entry_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3c3b3ccb-830f-4c20-b8d5-090dcbf6f835","name":"Exemplo de sucesso","originalRequest":{"method":"DELETE","header":[{"description":"Token do cliente","key":"access-token","value":"{{client_token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/time_balance_entries/15"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"340579d8-ed3a-4867-846f-54d682acf184"},{"key":"ETag","value":"W/\"f956325c6b43862eaf15d04c7824f547\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"1.011806"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Mon, 16 Nov 2020 21:34:32 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Saldo de banco de horas removido com sucesso!\",\n    \"meta\": {\n        \"now\": 1605562471,\n        \"ip\": \"172.20.0.1\"\n    }\n}"},{"id":"0bfbebcf-7c70-48c0-b9fd-111e4eb58e5e","name":"Exemplo de registro não encontrado","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server_url}}/external_api/v1/departments/{{department_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:10:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"8ff821ef-8385-4586-ac63-87ffadc9528b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.040438","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531771806,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"63a0bf58-d62a-459c-bbfd-4eadf114a270"}],"id":"c34874cf-6516-4381-880a-f2ce9695f3fc","event":[{"listen":"prerequest","script":{"id":"318478fb-ba58-49d4-a9db-eda5b29bb505","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"71965c01-d669-445a-997b-cf3e5ca557e2","type":"text/javascript","exec":[""]}}],"_postman_id":"c34874cf-6516-4381-880a-f2ce9695f3fc","description":""},{"name":"Turnos","item":[{"name":"V2","item":[{"name":"Criar Turno com horários - Semanal","id":"d33fa9e2-347b-4877-8f5e-e5558559ab73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0123\",\n    \"shift_type\": 1,\n    \"name\":       \"Semanal\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              1,\n        \"week_index\":            0,\n        \"periods\":               []\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              2,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              3,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              4,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              5,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              6,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              7,\n        \"week_index\":            0,\n        \"periods\":               [\n            { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts","description":"<p>Cadastra um turno semanal (quando os dias de descanso são em dias fixos da semana).</p>\n<h1 id=\"atributos-disponíveis\">Atributos disponíveis</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Sim (Não pode se repetir)</td>\n<td>Código identificador do turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo 1 (Semanal)</td>\n</tr>\n<tr>\n<td>days</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho para cada dia da semana (ver tabela abaixo)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-days\">Atributo \"days\"</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>day_change_time</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>O horário de virada do dia (\"HH:MM\").  <br />Pontos batidos após esse horário serão considerados como pertencentes ao dia seguinte.  <br />Quando não preenchido, o sistema calculará um valor automaticamente.  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Virada de turno\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>extra_time_50_percent</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>A quantidade de horas extras (\"HH:MM\") que serão contabilizadas no fator 1.  <br />Horas que ultrapassarem esse limite serão contabilizadas como fator 2.  <br />Quando não preenchido, o sistema adotará o valor padrão \"02:00\".  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Limite de horas extras\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>week_day</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>O dia da semana (1 a 7).  <br />Ver tabela abaixo.</td>\n</tr>\n<tr>\n<td>week_index</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Caso seja uma única semana de trabalho, preencha com 0 em todos os dias.  <br />Caso sejam várias semanas, cada uma com horários distintos, preencha os dias da primeira semana com 0, da segunda semana com 1, e assim por diante.</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho.  <br />Caso o dia seja de descanso, informe um array vazio ([]).</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-periods\">Atributo \"periods\"</h2>\n<p>Informe quantos períodos forem necessários no dia.<br />Dias diferentes podem ter uma quantidade de períodos diferentes.</p>\n<p>Caso seja um dia de descanso, deixe o array vazio.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>enter_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de entrada (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>leave_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de saída (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>main_interval_after</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se o intervalo principal do colaborador ocorre imediamente após esse período, informe <em>true</em>.  <br />Caso contrário informe <em>false</em>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"dias-da-semana\">Dias da Semana</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Dia da Semana</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Domingo</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Segunda-Feira</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Terça-Feira</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Quarta-Feira</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Quinta-Feira</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Sexta-Feira</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Sábado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","shifts"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"cc108133-fa60-46e5-8514-36d2ce1a742e","name":"Exemplo bem sucedido","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0123\",\n    \"shift_type\": 1,\n    \"name\":       \"Semanal\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              1,\n        \"week_index\":            0,\n        \"periods\":               []\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              2,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              3,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              4,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              5,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              6,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              7,\n        \"week_index\":            0,\n        \"periods\":               [\n            { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"e2b9b3dcbb07f722430c79429b2b2045\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"3ff1cd57-0171-4db7-9e5a-ffa9039bbeb0"},{"key":"X-Runtime","value":"1.508252"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado.\",\n    \"id\": 235,\n    \"meta\": {\n        \"now\": 1752682885,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"b459fb5d-46de-4fe8-b0aa-d99aa7f27e4a","name":"Exemplo erro - horário virada conflitante","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0123\",\n    \"shift_type\": 1,\n    \"name\":       \"Semanal\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              1,\n        \"week_index\":            0,\n        \"periods\":               []\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              2,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              3,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              4,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              5,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              6,\n        \"week_index\":            0,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"10:00\",\n        \"extra_time_50_percent\": null,\n        \"week_day\":              7,\n        \"week_index\":            0,\n        \"periods\":               [\n            { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"cdd237f3-62af-4605-a268-ac43a845d71c"},{"key":"X-Runtime","value":"0.112427"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"days\": [\n            \"Não é válido\"\n        ],\n        \"days.7\": {\n            \"periods\": [\n                \"Não é válido\"\n            ],\n            \"periods.0\": {\n                \"day\": [\n                    \"O horário informado está conflitando com o horário de virada.\"\n                ]\n            }\n        },\n        \"base\": [\n            \"Esse turno possui um código igual ao de outro turno já cadastrado, é preciso que altere o código deste para um novo e clique em salvar. ;)\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1752682918,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"d33fa9e2-347b-4877-8f5e-e5558559ab73"},{"name":"Criar Turno com horários - 12h/36h","id":"0dceb801-0967-46e0-b102-3fc341a64c12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0124\",\n    \"shift_type\": 2,\n    \"name\":       \"12h/36h\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"cyclic_day\":            1,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"cyclic_day\":            2,\n        \"periods\":               []\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts","description":"<p>Cadastra um turno 12h/36h (quando se trabalha 12 horas e descansa nas 36 horas seguintes).</p>\n<h1 id=\"atributos-disponíveis\">Atributos disponíveis</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Sim (Não pode se repetir)</td>\n<td>Código identificador do turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo 2 (12h/36h)</td>\n</tr>\n<tr>\n<td>days</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho (ver tabela abaixo)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-days\">Atributo \"days\"</h2>\n<p>Nota: o dia de descanso pode ser omitido. Nesse caso, ele terá o mesmo Limite de Hora Extra (atributo 'extra_time_50_percent') do dia de trabalho.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>day_change_time</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>O horário de virada do dia (\"HH:MM\").  <br />Pontos batidos após esse horário serão considerados como pertencentes ao dia seguinte.  <br />Quando não preenchido, o sistema calculará um valor automaticamente.  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Virada de turno\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>extra_time_50_percent</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>A quantidade de horas extras (\"HH:MM\") que serão contabilizadas no fator 1.  <br />Horas que ultrapassarem esse limite serão contabilizadas como fator 2.  <br />Quando não preenchido, o sistema adotará o valor padrão \"02:00\".  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Limite de horas extras\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>cyclic_day</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo: 1 para o dia de trabalho, 2 para o dia de descanso.</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho.  <br />No dia de descanso, deve ser informado um array vazio.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-periods\">Atributo \"periods\"</h2>\n<p>Informe quantos períodos forem necessários no dia.</p>\n<p>Caso seja o dia de descanso, deixe o array vazio.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>enter_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de entrada (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>leave_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de saída (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>main_interval_after</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se o intervalo principal do colaborador ocorre imediamente após esse período, informe <em>true</em>.  <br />Caso contrário informe <em>false</em>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","shifts"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"9e3a0236-6074-4f1d-998a-c413345a639e","name":"Exemplo sucesso","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0124\",\n    \"shift_type\": 2,\n    \"name\":       \"12h/36h\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"cyclic_day\":            1,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"cyclic_day\":            2,\n        \"periods\":               []\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"8c96547c4c2bf8631275f2bcacc09bc3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"3da3852b-ebef-4901-a9c2-92c8524e56c7"},{"key":"X-Runtime","value":"0.543167"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado.\",\n    \"id\": 237,\n    \"meta\": {\n        \"now\": 1752773197,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"baf4106f-7498-403c-8ca5-d0751af2d5d4","name":"Exemplo sucesso - sem informar dia de descanso","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0125\",\n    \"shift_type\": 2,\n    \"name\":       \"12h/36h\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"03:00\",\n        \"cyclic_day\":            1,\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"b0fdb95cd6203faf6c30eeb63d566093\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"a124111e-6ff9-483e-9265-f4224af08ce2"},{"key":"X-Runtime","value":"2.185668"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado.\",\n    \"id\": 243,\n    \"meta\": {\n        \"now\": 1753100445,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"be870d8f-4e84-4976-8fda-bb9587d2668c","name":"Exemplo erro: dia de trabalho sem horários","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0124\",\n    \"shift_type\": 2,\n    \"name\":       \"12h/36h\",\n    \"days\":       [\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"cyclic_day\":            1,\n        \"periods\":               [\n        ]\n      },\n      {\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": null,\n        \"cyclic_day\":            2,\n        \"periods\":               []\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"631e3598-be91-4721-a5f7-6334db7c000b"},{"key":"X-Runtime","value":"0.149041"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"base\": [\n            \"O dia de trabalho (cyclic_day: 1) deve ser informado com horários preenchidos.\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1752773170,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"0dceb801-0967-46e0-b102-3fc341a64c12"},{"name":"Criar Turno com horários - 24h/72h","id":"f26e9d6e-a6af-485d-9ab0-753c7d8f908c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0125\",\n    \"shift_type\": 3,\n    \"name\":       \"24h/72h\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"duration\":              26,\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"20:00\", \"leave_time\": \"01:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"02:00\", \"leave_time\": \"08:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            2,\n        \"extra_time_50_percent\": \"12:00\"\n      },\n      {\n        \"cyclic_day\":            3,\n        \"extra_time_50_percent\": \"12:00\"\n      },\n      {\n        \"cyclic_day\":            4,\n        \"extra_time_50_percent\": \"12:00\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts","description":"<p>Cadastra um turno 24h/72h (quando se trabalha 24 horas seguidas e descansa nas 72 horas seguintes).</p>\n<h1 id=\"atributos-disponíveis\">Atributos disponíveis</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Sim (Não pode se repetir)</td>\n<td>Código identificador do turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo 3 (24h/72h)</td>\n</tr>\n<tr>\n<td>days</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho (ver tabela abaixo)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-days\">Atributo \"days\"</h2>\n<p>Nota: os dias de descanso podem ser omitidos. Nesse caso, eles terão o mesmo Limite de Hora Extra (atributo 'extra_time_50_percent') do dia de trabalho.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cyclic_day</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo:  <br />- 1 para o dia de trabalho  <br />- 2 para o primeiro dia de descanso  <br />- 3 para o segundo dia de descanso  <br />- 4 para o terceiro dia de descanso</td>\n</tr>\n<tr>\n<td>duration</td>\n<td>Integer</td>\n<td>Não</td>\n<td>O tamanho da jornada, em horas.  <br />Informar apenas para o dia de trabalho.  <br />Quando não preenchido, o sistema atribuirá uma duração de 24 horas.  <br />Um explicação mais detalhada desse campo se encontra na <a href=\"https://materiais.vr.com.br/central-de-ajuda/turno-24h-72h/\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>extra_time_50_percent</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>A quantidade de horas extras (\"HH:MM\") que serão contabilizadas no fator 1.  <br />Horas que ultrapassarem esse limite serão contabilizadas como fator 2.  <br />Quando não preenchido, o sistema adotará o valor padrão \"02:00\".  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Limite de horas extras\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho.  <br />No dia de descanso, deve ser informado um array vazio.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-periods\">Atributo \"periods\"</h2>\n<p>Informe quantos períodos forem necessários no dia.</p>\n<p>Caso seja o dia de descanso, deixe o array vazio ou não informe o atributo.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>enter_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de entrada (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>leave_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de saída (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>main_interval_after</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se o intervalo principal do colaborador ocorre imediamente após esse período, informe <em>true</em>.  <br />Caso contrário informe <em>false</em>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","shifts"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"e59937db-e610-4ab7-aef3-c52914d7a35f","name":"Exemplo sucesso","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0234\",\n    \"shift_type\": 3,\n    \"name\":       \"24h/72h\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"duration\":              26,\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"20:00\", \"leave_time\": \"01:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"02:00\", \"leave_time\": \"08:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            2,\n        \"extra_time_50_percent\": \"12:00\"\n      },\n      {\n        \"cyclic_day\":            3,\n        \"extra_time_50_percent\": \"12:00\"\n      },\n      {\n        \"cyclic_day\":            4,\n        \"extra_time_50_percent\": \"12:00\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"357a4ac57836c5a50b610f1e9058e38e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"1d30ed3a-599c-4604-a4e5-4468157a6af2"},{"key":"X-Runtime","value":"0.546029"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado.\",\n    \"id\": 245,\n    \"meta\": {\n        \"now\": 1753185187,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"a9ab4530-8e81-4f90-8b74-8fd5a44ec397","name":"Exemplo sucesso - sem informar dias descanso","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0235\",\n    \"shift_type\": 3,\n    \"name\":       \"24h/72h\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"duration\":              26,\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"20:00\", \"leave_time\": \"01:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"02:00\", \"leave_time\": \"08:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"80aebe87a6c6113345e33e785f8364e9\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"db459f64-d3ca-4b42-b330-fe7bfa6b8978"},{"key":"X-Runtime","value":"0.179950"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado.\",\n    \"id\": 246,\n    \"meta\": {\n        \"now\": 1753185224,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"27656201-3145-4410-8291-338a1ad7f993","name":"Exemplo erro - dia de descanso com horários","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0236\",\n    \"shift_type\": 3,\n    \"name\":       \"24h/72h\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"duration\":              26,\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"20:00\", \"leave_time\": \"01:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"02:00\", \"leave_time\": \"08:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            2,\n        \"extra_time_50_percent\": \"12:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"20:00\", \"leave_time\": \"01:00\", \"main_interval_after\": false },\n          { \"enter_time\": \"02:00\", \"leave_time\": \"08:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"a61b16a2-85a4-48ae-8690-3a39fcdeb00b"},{"key":"X-Runtime","value":"0.176152"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"base\": [\n            \"O dia de descanso não pode ter horários de trabalho.\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1753185276,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"f26e9d6e-a6af-485d-9ab0-753c7d8f908c"},{"name":"Criar Turno com horários - 5d/1d","id":"e29c9bdc-815a-47a6-ad02-278593a2b17b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0456\",\n    \"shift_type\": 4,\n    \"name\":       \"5d/1d\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            2,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            3,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            4,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            5,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            6,\n        \"extra_time_50_percent\": \"2:00\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts","description":"<p>Cadastra um turno 5d/1d (quando se trabalha 5 dias seguidos e descansa no sexto dia).</p>\n<h1 id=\"atributos-disponíveis\">Atributos disponíveis</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Sim (Não pode se repetir)</td>\n<td>Código identificador do turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo 4 (5d/1d)</td>\n</tr>\n<tr>\n<td>days</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho (ver tabela abaixo)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-days\">Atributo \"days\"</h2>\n<p>Nota: os dias de descanso podem ser omitidos. Nesse caso, eles terão o mesmo Limite de Hora Extra (atributo 'extra_time_50_percent') do dia de trabalho.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cyclic_day</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Fixo:  <br />- 1 para o primeiro dia de trabalho  <br />- 2 para o segundo dia de trabalho  <br />- 3 para o terceiro dia de trabalho  <br />- 4 para o quarto dia de trabalho  <br />- 5 para o quinto dia de trabalho  <br />- 6 para o dia de descanso</td>\n</tr>\n<tr>\n<td>day_change_time</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>O horário de virada do dia (\"HH:MM\").  <br />Pontos batidos após esse horário serão considerados como pertencentes ao dia seguinte.  <br />Quando não preenchido, o sistema calculará um valor automaticamente.  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Virada de turno\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>extra_time_50_percent</td>\n<td>String (5)</td>\n<td>Não</td>\n<td>A quantidade de horas extras (\"HH:MM\") que serão contabilizadas no fator 1.  <br />Horas que ultrapassarem esse limite serão contabilizadas como fator 2.  <br />Quando não preenchido, o sistema adotará o valor padrão \"02:00\".  <br />Uma explicação mais detalhada desse campo se encontra na seção \"Limite de horas extras\" <a href=\"https://materiais.vr.com.br/central-de-ajuda/configurando-turnos/#elementor-toc__heading-anchor-3\">nesse artigo</a> da central de ajuda.</td>\n</tr>\n<tr>\n<td>periods</td>\n<td>Array of objects</td>\n<td>Sim</td>\n<td>Definição dos horários de trabalho.  <br />No dia de descanso, deve ser informado um array vazio.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributo-periods\">Atributo \"periods\"</h2>\n<p>Informe quantos períodos forem necessários no dia.</p>\n<p>Caso seja o dia de descanso, deixe o array vazio ou não informe o atributo.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>enter_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de entrada (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>leave_time</td>\n<td>String (5)</td>\n<td>Sim</td>\n<td>Horário de saída (\"HH:MM\")</td>\n</tr>\n<tr>\n<td>main_interval_after</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se o intervalo principal do colaborador ocorre imediamente após esse período, informe <em>true</em>.  <br />Caso contrário informe <em>false</em>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v2","shifts"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3123d20f-f090-4e1b-b5fe-a7061b9016f6","name":"Exemplo sucesso","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0456\",\n    \"shift_type\": 4,\n    \"name\":       \"5d/1d\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            2,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            3,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            4,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            5,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            6,\n        \"extra_time_50_percent\": \"2:00\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"0812244271060bdc36bee1a193ece08e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"60af5bd6-9305-403a-86b0-b18555d8d34b"},{"key":"X-Runtime","value":"0.191352"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado.\",\n    \"id\": 249,\n    \"meta\": {\n        \"now\": 1753282250,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"79182c2e-8410-4f81-9bf2-f6308e77fb8f","name":"Exemplo erro - dia de descanso com horários","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\":       \"0457\",\n    \"shift_type\": 4,\n    \"name\":       \"5d/1d\",\n    \"days\":       [\n      {\n        \"cyclic_day\":            1,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            2,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            3,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            4,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            5,\n        \"day_change_time\":       \"23:59\",\n        \"extra_time_50_percent\": \"02:00\",\n        \"periods\":               [\n          { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": true },\n          { \"enter_time\": \"14:00\", \"leave_time\": \"18:00\", \"main_interval_after\": false }\n        ]\n      },\n      {\n        \"cyclic_day\":            6,\n        \"extra_time_50_percent\": \"2:00\",\n        \"periods\": [\n            { \"enter_time\": \"08:00\", \"leave_time\": \"12:00\", \"main_interval_after\": false }\n        ]\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v2/shifts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"a5686925-a102-4450-9d14-5cd51d135478"},{"key":"X-Runtime","value":"0.185932"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"base\": [\n            \"O dia de descanso não pode ter horários de trabalho.\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1753281932,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"e29c9bdc-815a-47a6-ad02-278593a2b17b"}],"id":"2dde5b39-1747-4ea2-98ff-00c1d82933b9","_postman_id":"2dde5b39-1747-4ea2-98ff-00c1d82933b9","description":""},{"name":"Listar","id":"8fd5fec9-63ac-4c58-a090-3c00e4a2c1a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts?attributes=id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday&count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista os turnos.</p>\n<h1 id=\"atributos-disponíveis\">Atributos disponíveis</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Código identificador do turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>enabled</td>\n<td>Boolean</td>\n<td>Ativo? (true - sim / false - Indisponíveis )</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>Integer</td>\n<td>Tipo de turno (veja a tabela <strong>Tipo de turno</strong> abaixo)</td>\n</tr>\n<tr>\n<td>without_holidays</td>\n<td>Boolean</td>\n<td>Ignora feriados? (true - ativos</td>\n</tr>\n<tr>\n<td>flexible</td>\n<td>Boolean</td>\n<td>Jornada flexível? (_true - sim</td>\n</tr>\n<tr>\n<td>flexible_interval</td>\n<td>Boolean</td>\n<td>Intervalo flexível? (_true - sim</td>\n</tr>\n<tr>\n<td>auto_interval</td>\n<td>Boolean</td>\n<td>Intervalo pré-assinalado? (_true - sim</td>\n</tr>\n<tr>\n<td>ignore_absences_in_cyclical_shift</td>\n<td>Boolean</td>\n<td>Ignorar afastamento em turno cíclico? (_true - sim</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"tipos-de-turno\">Tipos de turno</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Semanal</td>\n</tr>\n<tr>\n<td>2</td>\n<td>12h/36h</td>\n</tr>\n<tr>\n<td>3</td>\n<td>24h/72h</td>\n</tr>\n<tr>\n<td>4</td>\n<td>5d/1d</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Customizado</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Intermitente</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","shifts"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday"},{"description":{"content":"<p>Se \"true\" retorna a quantidade de registros encontrados. </p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página. Ex: 1</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página. Ex: 10 </p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"117c6340-a7e1-41ce-92e8-458f2546dc25","name":" Exemplo bem sucedido de listagem","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/shifts?attributes=id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","shifts"],"query":[{"key":"attributes","value":"id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 18:15:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f875a8b5989acae495378567139ce21a\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d7136ac8-eb21-42c7-9aa7-a9b1c39f0266","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.757577","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"shifts\": [\n    {\n      \"id\": 19631,\n      \"code\": \"219\",\n      \"name\": \"Noturno\",\n      \"shift_type\": 1,\n      \"advanced\": false,\n      \"flexible\": false,\n      \"flexible_interval\": false,\n      \"auto_interval\": false,\n      \"without_holidays\": false,\n      \"holiday\": null\n    },\n    {\n      \"id\": 25436,\n      \"code\": \"01\",\n      \"name\": \"Turno 08:30h às 12:00h / 13:30h às 18:00h\",\n      \"shift_type\": 1,\n      \"advanced\": false,\n      \"flexible\": false,\n      \"flexible_interval\": false,\n      \"auto_interval\": false,\n      \"without_holidays\": false,\n      \"holiday\": null\n    },\n    {\n      \"id\": 26790,\n      \"code\": \"03\",\n      \"name\": \"Turno 08:30h às 11:30h / 12:30h às 17:30h\",\n      \"shift_type\": 1,\n      \"advanced\": false,\n      \"flexible\": false,\n      \"flexible_interval\": false,\n      \"auto_interval\": false,\n      \"without_holidays\": false,\n      \"holiday\": null\n    },\n    {\n      \"id\": 26791,\n      \"code\": \"04\",\n      \"name\": \"Turno DEV - Flexível\",\n      \"shift_type\": 1,\n      \"advanced\": false,\n      \"flexible\": true,\n      \"flexible_interval\": true,\n      \"auto_interval\": false,\n      \"without_holidays\": false,\n      \"holiday\": null\n    },\n    {\n      \"id\": 31531,\n      \"code\": \"37\",\n      \"name\": \"Turno alternativo\",\n      \"shift_type\": 1,\n      \"advanced\": false,\n      \"flexible\": false,\n      \"flexible_interval\": false,\n      \"auto_interval\": false,\n      \"without_holidays\": false,\n      \"holiday\": null\n    }\n  ],\n  \"meta\": {\n    \"now\": 1531851311,\n    \"ip\": \"127.0.0.1\",\n    \"count\": 6\n  }\n}"}],"_postman_id":"8fd5fec9-63ac-4c58-a090-3c00e4a2c1a3"},{"name":"Detalhes","id":"24fa642c-0b24-46fc-b655-c215adc7f528","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}","description":"<p>Exibe os dias do ciclo, usado quando o turno é 12h/36h, 24h/72h, 5d/1d.</p>\n","urlObject":{"path":["external_api","v1","shifts","{{shift_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"0a8e10a5-2988-4ad9-82c6-946103fe172f","name":"Exemplo bem sucedido","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"c55a83dfdb250143a1459080a34843a2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"7847663e-84c3-42c8-a55b-c2337f42ee31"},{"key":"X-Runtime","value":"0.172486"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"shift\": {\n        \"id\": 207,\n        \"created_at\": 1715862139,\n        \"updated_at\": 1715862139,\n        \"code\": \"0008\",\n        \"name\": \"12/36\",\n        \"active\": true,\n        \"code_name\": \"0008 - 12/36\",\n        \"days\": [\n            {\n                \"id\": 1084,\n                \"day_change_time\": \"23:59:00\",\n                \"extra_time_50_percent\": \"02:00:00\",\n                \"is_holiday\": false,\n                \"special_day\": null,\n                \"duration\": 24,\n                \"cyclic_day\": 1,\n                \"periods\": [\n                    {\n                        \"id\": 1600,\n                        \"enter_time\": \"08:00:00\",\n                        \"leave_time\": \"12:00:00\",\n                        \"main_interval_after\": false\n                    },\n                    {\n                        \"id\": 1601,\n                        \"enter_time\": \"14:00:00\",\n                        \"leave_time\": \"18:00:00\",\n                        \"main_interval_after\": false\n                    }\n                ]\n            },\n            {\n                \"id\": 1085,\n                \"day_change_time\": \"23:59:00\",\n                \"extra_time_50_percent\": \"02:00:00\",\n                \"is_holiday\": false,\n                \"special_day\": null,\n                \"duration\": 24,\n                \"cyclic_day\": 2,\n                \"periods\": []\n            }\n        ],\n        \"holiday\": null,\n        \"shift_type\": 2,\n        \"without_holidays\": false,\n        \"standbys\": false,\n        \"advanced\": false,\n        \"advanced_preference\": null,\n        \"flexible\": false,\n        \"flexible_allowance\": false,\n        \"flexible_interval\": false,\n        \"ignore_absences_in_cyclical_shift\": false,\n        \"custom_interval_type\": 1,\n        \"custom_interval_extra_time_enabled\": true,\n        \"default_dsr\": null,\n        \"auto_interval\": true,\n        \"apply_auto_interval_in_day_off\": false,\n        \"apply_auto_interval_in_all_intervals\": false,\n        \"apply_auto_interval_different_time_cards\": false,\n        \"auto_interval_in_day_off\": null,\n        \"apply_auto_interval_in_day_with_periods\": false,\n        \"workload_in_day_off\": null,\n        \"auto_interval_in_day_with_periods\": null,\n        \"workload_in_day_with_periods\": null,\n        \"cumulative_extra_time\": false,\n        \"cumulative_preference\": null,\n        \"apply_holiday_on_days_off\": false,\n        \"count_only_extra_time_on_holidays\": false,\n        \"limit_type\": 1,\n        \"limit_amount\": null,\n        \"limit_range\": null,\n        \"main_parent_id\": 52,\n        \"nr17\": false,\n        \"enabled\": true,\n        \"missing_time_on_holiday\": null,\n        \"work_schedule\": false,\n        \"auto_assign_time_cards\": false,\n        \"multiple_day\": false\n    },\n    \"meta\": {\n        \"now\": 1745435826,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"24fa642c-0b24-46fc-b655-c215adc7f528"},{"name":"Criar Turno","id":"986cc1e8-b48d-4c09-8ab5-0d25db17a795","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"shift\": {\n    \"code\": \"021\",\n    \"name\": \"Turno teste semanal\",\n    \"shift_type\": 1,\n    \"week_days\": [2,3,4,5,6],\n    \"hours_per_day\": 8,\n    \"weekly_hours\": 40,               \n    \"interval_start_time\": \"12:00\",\n    \"interval_end_time\": \"13:00\"                    \n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/shifts","description":"<p>Lista os turnos.</p>\n<h1 id=\"atributos-disponíveis\">Atributos disponíveis</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Sim (Não pode se repetir)</td>\n<td>Código identificador do turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Sim</td>\n<td>Nome do turno</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Tipo de turno (veja a tabela <strong>Tipo de turno</strong> abaixo)</td>\n</tr>\n<tr>\n<td>week_days</td>\n<td>Array of integer</td>\n<td>Sim  <br />(para <strong>shift_type</strong> 1 <strong>não</strong> informar domingo.  <br /><strong>shift_type</strong> 2 e 3 deve ser informado [1]  <br /><strong>shift_type</strong> = 4 deve ser informado = [1,2,3,4,5])</td>\n<td>Dias da Semana (veja a tabela <strong>Dias da Semana</strong> abaixo)</td>\n</tr>\n<tr>\n<td>hours_per_day</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Quantidade de horas de trabalho diário</td>\n</tr>\n<tr>\n<td>weekly_hours</td>\n<td>Integer</td>\n<td>Sim (&gt; 0 se <strong>shift_type</strong> = 1)</td>\n<td>Quantidade de horas de trabalho Semanal</td>\n</tr>\n<tr>\n<td>interval_start_time</td>\n<td>String</td>\n<td>Sim</td>\n<td>Horário do Inicio do Intervalo formato HH:MM</td>\n</tr>\n<tr>\n<td>interval_end_time</td>\n<td>String</td>\n<td>Sim</td>\n<td>Horário do Final do Intervalo formato HH:MM</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"tipos-de-turno\">Tipos de turno</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Nome</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Semanal</td>\n</tr>\n<tr>\n<td>2</td>\n<td>12h/36h</td>\n</tr>\n<tr>\n<td>3</td>\n<td>24h/72h</td>\n</tr>\n<tr>\n<td>4</td>\n<td>5d/1d</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"dias-da-semana\">Dias da Semana</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Dia da Semana</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Domingo</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Segunda-Feira</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Terça-Feira</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Quarta-Feira</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Quinta-Feira</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Sexta-Feira</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Sábado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","shifts"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"ffa6f21e-3f14-4646-8367-d046d280b35f","name":"Exemplo bem sucedido","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"shift\": {\n        \"code\": \"0001\",\n        \"name\": \"Turno 40h semanais\",\n        \"shift_type\": 1,\n         \"week_days\": [\n            2,\n            3,\n            4,\n            5,\n            6,\n            7\n        ],\n        \"hours_per_day\":8,\n        \"weekly_hours\": 40,                \n        \"interval_start_time\": \"12:00\",\n        \"interval_end_time\": \"13:00\"                     \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/shifts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"1904994f3d21d301778553c9cafbdc2d\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"eb609fba-cdd5-4f1f-b4b2-e90df392f4e0"},{"key":"X-Runtime","value":"1.143733"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1680117336,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    },\n    \"id\": 62\n}"}],"_postman_id":"986cc1e8-b48d-4c09-8ab5-0d25db17a795"},{"name":"Listar dias","event":[{"listen":"prerequest","script":{"id":"c0a8f5d4-60d8-424c-b899-e5452b4f6ed2","exec":["pm.variables.set(\"shift_id\", 374)"],"type":"text/javascript"}}],"id":"ae6dd439-64bf-4c57-bf57-89860bb48a41","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}/days?","description":"<p>Exibe os dias do ciclo, usado quando o turno é 12h/36h, 24h/72h, 5d/1d.</p>\n","urlObject":{"path":["external_api","v1","shifts","{{shift_id}}","days"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"attributes","value":"id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday"}],"variable":[]}},"response":[{"id":"3fa7f9b1-4ca7-41b6-a81f-98990d0fafbb","name":"Exemplo de listagem de dias sem sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/shifts/{{shift_id}}/days?","host":["{{server_url}}"],"path":["external_api","v1","shifts","{{shift_id}}","days"],"query":[{"key":"attributes","value":"id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"404 Not Found"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"11da1ad6-39dd-4505-b031-fef1a4f0c6a9"},{"key":"X-Runtime","value":"0.049123"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 19:35:08 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Registro não encontrado\",\n    \"meta\": {\n        \"now\": 1581622508,\n        \"ip\": \"187.32.131.210\"\n    }\n}"},{"id":"7e9e35fa-2fab-4d6d-8a25-7aaf98c3e8cb","name":"Exemplo de sucesso ao listar dias","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/shifts/{{shift_id}}/days?","host":["{{server_url}}"],"path":["external_api","v1","shifts","{{shift_id}}","days"],"query":[{"key":"attributes","value":"id,code,name,shift_type,advanced,flexible,flexible_interval,auto_interval,without_holidays,holiday","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"018f2813-0b11-48a7-bee5-af9fd30bc266"},{"key":"ETag","value":"W/\"176030a16f804d28b3d211c92979e8bf\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.104337"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 19:15:20 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"days\": [\n        {\n            \"id\": 2645,\n            \"periods\": [],\n            \"description\": \"1-Folga\"\n        },\n        {\n            \"id\": 2646,\n            \"periods\": [\n                \"08:00\",\n                \"12:00\",\n                \"14:00\",\n                \"18:00\"\n            ],\n            \"description\": \"2-08:00 às 18:00\"\n        },\n        {\n            \"id\": 2647,\n            \"periods\": [\n                \"08:00\",\n                \"12:00\",\n                \"14:00\",\n                \"18:00\"\n            ],\n            \"description\": \"3-08:00 às 18:00\"\n        },\n        {\n            \"id\": 2648,\n            \"periods\": [\n                \"08:00\",\n                \"12:00\",\n                \"14:00\",\n                \"18:00\"\n            ],\n            \"description\": \"4-08:00 às 18:00\"\n        },\n        {\n            \"id\": 2649,\n            \"periods\": [\n                \"08:00\",\n                \"12:00\",\n                \"14:00\",\n                \"18:00\"\n            ],\n            \"description\": \"5-08:00 às 18:00\"\n        },\n        {\n            \"id\": 2650,\n            \"periods\": [\n                \"08:00\",\n                \"12:00\",\n                \"14:00\",\n                \"18:00\"\n            ],\n            \"description\": \"6-08:00 às 18:00\"\n        },\n        {\n            \"id\": 2651,\n            \"periods\": [],\n            \"description\": \"7-Folga\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1581621320,\n        \"ip\": \"187.32.131.210\"\n    }\n}"}],"_postman_id":"ae6dd439-64bf-4c57-bf57-89860bb48a41"},{"name":"Excluir","id":"731b03a4-86f5-4b68-9ed4-52d8f9f3cab6","request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}","description":"<p>Exibe os dias do ciclo, usado quando o turno é 12h/36h, 24h/72h, 5d/1d.</p>\n","urlObject":{"path":["external_api","v1","shifts","{{shift_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"7e7a3e5f-ba6c-462c-aa61-a6db7470e03a","name":"Exemplo de sucesso","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"263b931e64a7b79cbef87af05b9aa3e2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"3988523a-bdfa-46f1-98af-14fcff2af977"},{"key":"X-Runtime","value":"0.261750"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno removido.\",\n    \"meta\": {\n        \"now\": 1745523219,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"474b0d69-9ed2-414a-b220-902d768ffcc0","name":"Exemplo de retorno com erro","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"a905a103-187f-4416-98c4-3356c0802b24"},{"key":"X-Runtime","value":"1.504434"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"base\": [\n            \"Turno não pode ser removido pois existem colaboradores associados\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1745439586,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"731b03a4-86f5-4b68-9ed4-52d8f9f3cab6"},{"name":"Desfazer exclusão","id":"21a5afd7-7266-4264-8817-f4302811e727","request":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}/recover","description":"<p>Exibe os dias do ciclo, usado quando o turno é 12h/36h, 24h/72h, 5d/1d.</p>\n","urlObject":{"path":["external_api","v1","shifts","{{shift_id}}","recover"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"e6ead37a-6312-427d-b90f-3d438f6af598","name":"Exemplo de sucesso","originalRequest":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/shifts/{{shift_id}}/recover"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"0f7ece829d0fb39ee07973213e5c9371\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"a016d563-642b-4e02-b2e8-82310b5dfe4c"},{"key":"X-Runtime","value":"0.095883"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Turno restaurado.\",\n    \"meta\": {\n        \"now\": 1745523241,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"21a5afd7-7266-4264-8817-f4302811e727"}],"id":"1baf5b12-9e3e-4e06-9b0b-73cc877cf77a","description":"<p><strong>Attributos disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>number</td>\n<td>identificador único</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>código</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>nome</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>ativo</td>\n</tr>\n<tr>\n<td>shift_type</td>\n<td>number</td>\n<td>tipo do turno, ver tabela tipo do turno</td>\n</tr>\n<tr>\n<td>without_holidays</td>\n<td>boolean</td>\n<td>ignora feriados</td>\n</tr>\n<tr>\n<td>flexible</td>\n<td>boolean</td>\n<td>jornada flexível</td>\n</tr>\n<tr>\n<td>flexible_interval</td>\n<td>boolean</td>\n<td>intervalo flexível</td>\n</tr>\n<tr>\n<td>auto_interval</td>\n<td>boolean</td>\n<td>intervalo pré-assinalado</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"3747224a-8575-446b-b83e-44fa15e07020","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"03d9db89-8b04-47ef-bbe5-6df8665373c3","type":"text/javascript","exec":[""]}}],"_postman_id":"1baf5b12-9e3e-4e06-9b0b-73cc877cf77a"},{"name":"Usuários","item":[{"name":"Grupos de Acesso","item":[{"name":"Listar","id":"15a2e830-2db9-4609-84b4-3cd7e74ba81b","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/users/groups?attributes=id,name","description":"<p>Lista os grupos de acesso.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do grupo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","users","groups"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,name"}],"variable":[]}},"response":[{"id":"3b2aa604-32f1-4a95-a4ba-0d2a5fc7036d","name":"Exemplo de sucesso ao listar","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/users/groups?attributes=id,name","host":["{{server_url}}"],"path":["external_api","v1","users","groups"],"query":[{"key":"attributes","value":"id,name","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:17:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"26a4b4f33092d600a258fbf6eab8c6da\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"3870a80f-6331-4332-a584-f4e9add6b2bd","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.037311","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"groups\":[{\"id\":9,\"name\":\"Diretor\"},{\"id\":7,\"name\":\"Operação\"},{\"id\":305,\"name\":\"Gestores\"}],\"meta\":{\"now\":1531855020,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"15a2e830-2db9-4609-84b4-3cd7e74ba81b"}],"id":"13eedaca-b53c-4b47-93e0-ce274a48bb13","_postman_id":"13eedaca-b53c-4b47-93e0-ce274a48bb13","description":""},{"name":"Notificações","item":[{"name":"Listar","id":"b22bb7e6-0be6-44e4-bc33-da435dc59428","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente</p>\n","key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/notifications?count={{count}}&page={{page_number}}&per_page={{per_page}}","description":"<p>Lista as notificações.</p>\n<h2 id=\"objeto-de-retorno\">Objeto de retorno</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>String (60)</td>\n<td>Titulo da Notificação</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String</td>\n<td>Mensagem da Notificação</td>\n</tr>\n<tr>\n<td>visualized</td>\n<td>Boolean</td>\n<td>Visualizado</td>\n</tr>\n<tr>\n<td>notification_type</td>\n<td>Object</td>\n<td>Objeto do tipo da notificação</td>\n</tr>\n<tr>\n<td>work_day</td>\n<td>Object</td>\n<td>Objeto do dia de trabalho</td>\n</tr>\n<tr>\n<td>exemption</td>\n<td>Object</td>\n<td>Objeto da Solicitação de Abono</td>\n</tr>\n<tr>\n<td>proposal</td>\n<td>Object</td>\n<td>Objeto da Solicitação de Ajuste</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Objeto do Colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-notification_type\">Formato do objeto notification_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Tipo da Notificação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-work_day\">Formato do objeto work_day</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Object</td>\n<td>Status do dia de trabalho</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do dia de trabalho</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-exemption\">Formato do objeto exemption</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Object</td>\n<td>Status do dia de trabalho</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do dia de trabalho</td>\n</tr>\n<tr>\n<td>exemption</td>\n<td>Object</td>\n<td>Tipo do Abono</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Objeto do Colaborador</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Object</td>\n<td>Objeto do Gestor que respondeu a solicitação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-exemption_type\">Formato do objeto exemption_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Tipo do Abono</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-solicitation_status\">Formato do objeto solicitation_status</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Status da Solicitação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-proposal\">Formato do objeto proposal</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Object</td>\n<td>Status do dia de trabalho</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do dia de trabalho</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Objeto do Colaborador</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Object</td>\n<td>Objeto do Gestor que respondeu a solicitação</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Colaborador</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Objeto da foto</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-answered_by\">Formato do objeto answered_by</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Gestor</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Objeto da foto</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-picture\">Formato do objeto picture</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>Url da foto</td>\n</tr>\n<tr>\n<td>medium_url</td>\n<td>String</td>\n<td>Url da foto redimencionada para tamanho médio</td>\n</tr>\n<tr>\n<td>small_url</td>\n<td>String</td>\n<td>Url da foto redimencionada para tamanho pequeno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-tipo-do-status\">Formato do objeto tipo do status</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (60)</td>\n<td>Observação do status</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Ativo ou desativado para novas inserções</td>\n</tr>\n<tr>\n<td>status_type</td>\n<td>Object</td>\n<td>Tipo do Status</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-status_type\">Formato do objeto status_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Tipo do Status</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","notifications"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Se \"true\" retorna a quantidade de registros encontrados. </p>\n","type":"text/plain"},"key":"count","value":"{{count}}"},{"description":{"content":"<p>Número da página. Ex: 1</p>\n","type":"text/plain"},"key":"page","value":"{{page_number}}"},{"description":{"content":"<p>Número de itens por página. Ex: 10 </p>\n","type":"text/plain"},"key":"per_page","value":"{{per_page}}"}],"variable":[]}},"response":[{"id":"4ba43622-a2b6-438a-ac77-150f58c3e96a","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/teams?attributes=id,code,name,department&count={{count}}&page={{page_number}}&per_page={{per_page}}","host":["{{server_url}}"],"path":["external_api","v1","teams"],"query":[{"key":"attributes","value":"id,code,name,department","description":"Atributos (ver disponíveis acima)"},{"key":"count","value":"{{count}}","description":"Retorna a quantidade de registros encontrados\n"},{"key":"page","value":"{{page_number}}","description":"Número da página"},{"key":"per_page","value":"{{per_page}}","description":"Número de itens por página\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 16 Jul 2018 20:15:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"d0c99b3059b8393de0f2e226270800b4\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"5dc4d391-84f6-4771-a10e-912a9ac5b126","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.055761","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"notifications\": [\n        {\n            \"id\": \"5f3ae16672864f06a9f027f5\",\n            \"created_at\": 1597694477,\n            \"updated_at\": 1597694477,\n            \"title\": \"Teste 1\",\n            \"message\": \"Teste de Notificação 1\",\n            \"visualized\": false,\n            \"notification_type\": {\n                \"id\": 1,\n                \"name\": \"Ponto\"\n            },\n            \"employee\": {\n                \"id\": 1,\n                \"name\": \"Darth Vader\",\n                \"picture\": {\n                    \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                    \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                    \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                },\n                \"accessible\": true\n            },\n            \"proposal\": {\n                \"id\": 128,\n                \"date\": \"2020-08-06\",\n                \"status\": {\n                    \"id\": 6,\n                    \"observation\": \"Ajuste\",\n                    \"active\": true,\n                    \"status_type\": {\n                        \"id\": 5,\n                        \"name\": \"Ajuste de horário\"\n                    }\n                },\n                \"employee\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                },\n                \"answered_by\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                }\n            },\n            \"work_day\": {\n                \"id\": 1299,\n                \"status\": {\n                    \"id\": 2,\n                    \"name\": \"Falta\"\n                },\n                \"date\": \"14/08/2020\"\n            },\n            \"exemption\": {\n                \"id\": 22,\n                \"date\": \"2020-08-16\",\n                \"status\": {\n                    \"id\": 3,\n                    \"observation\": \"Atestado\",\n                    \"active\": true,\n                    \"status_type\": {\n                        \"id\": 3,\n                        \"name\": \"Abono\"\n                    }\n                },\n                \"solicitation_status\": null,\n                \"exemption_type\": {\n                    \"id\": 1,\n                    \"name\": \"Padrão\"\n                },\n                \"employee\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                },\n                \"answered_by\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                }\n            }\n        },\n        {\n            \"id\": \"5f3ae15f72864f06a9f027f4\",\n            \"created_at\": 1597694475,\n            \"updated_at\": 1597694475,\n            \"title\": \"Teste 2\",\n            \"message\": \"Teste de Notificação 2\",\n            \"visualized\": false,\n            \"notification_type\": {\n                \"id\": 1,\n                \"name\": \"Ponto\"\n            },\n            \"employee\": {\n                \"id\": 1,\n                \"name\": \"Darth Vader\",\n                \"picture\": {\n                    \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                    \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                    \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                },\n                \"accessible\": true\n            },\n            \"proposal\": null,\n            \"work_day\": null,\n            \"exemption\": {\n                \"id\": 22,\n                \"date\": \"2020-08-16\",\n                \"status\": {\n                    \"id\": 3,\n                    \"observation\": \"Atestado\",\n                    \"active\": true,\n                    \"status_type\": {\n                        \"id\": 3,\n                        \"name\": \"Abono\"\n                    }\n                },\n                \"solicitation_status\": null,\n                \"exemption_type\": {\n                    \"id\": 1,\n                    \"name\": \"Padrão\"\n                },\n                \"employee\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                },\n                \"answered_by\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                }\n            }\n        },\n        {\n            \"id\": \"5f3ae15472864f06a9f027f3\",\n            \"created_at\": 1597694472,\n            \"updated_at\": 1597694472,\n            \"title\": \"Teste 3\",\n            \"message\": \"Teste de Notificação 3\",\n            \"visualized\": false,\n            \"notification_type\": {\n                \"id\": 1,\n                \"name\": \"Ponto\"\n            },\n            \"employee\": {\n                \"id\": 1,\n                \"name\": \"Darth Vader\",\n                \"picture\": {\n                    \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                    \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                    \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                },\n                \"accessible\": true\n            },\n            \"proposal\": {\n                \"id\": 128,\n                \"date\": \"2020-08-06\",\n                \"status\": {\n                    \"id\": 6,\n                    \"observation\": \"Ajuste\",\n                    \"active\": true,\n                    \"status_type\": {\n                        \"id\": 5,\n                        \"name\": \"Ajuste de horário\"\n                    }\n                },\n                \"employee\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                },\n                \"answered_by\": {\n                    \"id\": 1,\n                    \"name\": \"Darth Vader\",\n                    \"picture\": {\n                        \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                        \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                        \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                    },\n                    \"accessible\": true\n                }\n            },\n            \"work_day\": null,\n            \"exemption\": null\n        },\n        {\n            \"id\": \"5f3ae14b72864f06a9f027f2\",\n            \"created_at\": 1597694470,\n            \"updated_at\": 1597694470,\n            \"title\": \"Teste 4\",\n            \"message\": \"Teste de Notificação 4\",\n            \"visualized\": false,\n            \"notification_type\": {\n                \"id\": 1,\n                \"name\": \"Ponto\"\n            },\n            \"employee\": {\n                \"id\": 1,\n                \"name\": \"Darth Vader\",\n                \"picture\": {\n                    \"url\": \"//s3.amazonaws.com/picture_path_default.jpg?1582815627\",\n                    \"medium_url\": \"//s3.amazonaws.com/picture_path_medium.jpg?1582815627\",\n                    \"small_url\": \"//s3.amazonaws.com/picture_path_small.jpg?1582815627\"\n                },\n                \"accessible\": true\n            },\n            \"proposal\": null,\n            \"work_day\": {\n                \"id\": 1299,\n                \"status\": {\n                    \"id\": 2,\n                    \"name\": \"Falta\"\n                },\n                \"date\": \"14/08/2020\"\n            },\n            \"exemption\": null\n        }\n    ],\n    \"meta\": {\n        \"now\": 1597694523,\n        \"ip\": \"172.19.0.1\",\n        \"visualized_count\": 0,\n        \"not_visualized_count\": 4,\n        \"count\": 4\n    }\n}"}],"_postman_id":"b22bb7e6-0be6-44e4-bc33-da435dc59428"}],"id":"f9b7d583-dc2b-4f94-901a-32636d4519c4","_postman_id":"f9b7d583-dc2b-4f94-901a-32636d4519c4","description":""},{"name":"Listar","id":"d6939b5d-4eaa-43b1-8d75-dacfeb5aea58","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/users?attributes=id,group,employee","description":"<p>Lista os usuários.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Colaborador ao qual o usuário pertence (id,name)</td>\n</tr>\n<tr>\n<td>group</td>\n<td>Object</td>\n<td>Grupo ao qual o usuário pertence (id,name)</td>\n</tr>\n<tr>\n<td>sign_in_count</td>\n<td>String</td>\n<td>Contagem de acessos</td>\n</tr>\n<tr>\n<td>last_sign_in_at</td>\n<td>Timestamp</td>\n<td>Data do último acesso</td>\n</tr>\n<tr>\n<td>last_sign_in_ip</td>\n<td>String</td>\n<td>IP do último acesso</td>\n</tr>\n<tr>\n<td>confirmed_at</td>\n<td>String</td>\n<td>Data de confirmação do usuário</td>\n</tr>\n<tr>\n<td>active</td>\n<td>String</td>\n<td>Ativo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>admin</td>\n<td>String</td>\n<td>É administrador? (<em>true - sim | false - não</em>)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","users"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,group,employee"}],"variable":[]}},"response":[{"id":"07323b2f-b3b3-45b7-84dd-2feb98dedb66","name":"Exemplo de sucesso ao listar","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/users?attributes=id,group,employee","host":["{{server_url}}"],"path":["external_api","v1","users"],"query":[{"key":"attributes","value":"id,group,employee"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:21:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"2e654b946314eeca4e33e23c875d7098\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"047267ec-34fd-4132-9d27-e47f05923a6f","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.117109","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 66,\n            \"group\": {\n                \"id\": 9,\n                \"name\": \"Diretor\"\n            },\n            \"employee\": {\n                \"id\": 19,\n                \"name\": \"Luke Skywalker\"\n            }\n        },\n        {\n            \"id\": 67,\n            \"group\": {\n                \"id\": 7,\n                \"name\": \"Colaboradores\"\n            },\n            \"employee\": {\n                \"id\": 21,\n                \"name\": \"Stormtrooper\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"now\": 1531855287,\n        \"ip\": \"127.0.0.1\"\n    }\n}"}],"_postman_id":"d6939b5d-4eaa-43b1-8d75-dacfeb5aea58"},{"name":"Detalhar","event":[{"listen":"prerequest","script":{"id":"f8b8f4a7-5a8f-4b92-8f01-7148d1aad210","exec":[""],"type":"text/javascript","packages":{}}}],"id":"62c2e8e1-2cbe-460b-b572-72746e33f0cf","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"url":"{{server_url}}/external_api/v1/users/{{user_id}}?attributes=id,employee,group","description":"<p>Exibe os atributos de um usuário.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>user_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do usuário</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Colaborador ao qual o usuário pertence (id,name)</td>\n</tr>\n<tr>\n<td>group</td>\n<td>Object</td>\n<td>Grupo ao qual o usuário pertence (id,name)</td>\n</tr>\n<tr>\n<td>sign_in_count</td>\n<td>String</td>\n<td>Contagem de acessos</td>\n</tr>\n<tr>\n<td>last_sign_in_at</td>\n<td>Timestamp</td>\n<td>Data do último acesso</td>\n</tr>\n<tr>\n<td>last_sign_in_ip</td>\n<td>String</td>\n<td>IP do último acesso</td>\n</tr>\n<tr>\n<td>confirmed_at</td>\n<td>String</td>\n<td>Data de confirmação do usuário</td>\n</tr>\n<tr>\n<td>active</td>\n<td>String</td>\n<td>Ativo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>admin</td>\n<td>String</td>\n<td>É administrador? (<em>true - sim | false - não</em>)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","users","{{user_id}}"],"host":["{{server_url}}"],"query":[{"description":{"content":"<p>Atributos (ver disponíveis acima)</p>\n","type":"text/plain"},"key":"attributes","value":"id,employee,group"}],"variable":[]}},"response":[{"id":"b67803f9-6b1e-4d1a-b0b4-ba6c203075ca","name":"Exemplo de sucesso ao detalhar","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"url":{"raw":"{{server_url}}/external_api/v1/users/{{user_id}}?attributes=id,employee,group","host":["{{server_url}}"],"path":["external_api","v1","users","{{user_id}}"],"query":[{"key":"attributes","value":"id,employee,group","description":"Atributos (ver disponíveis acima)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 19:17:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"26a4b4f33092d600a258fbf6eab8c6da\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"3870a80f-6331-4332-a584-f4e9add6b2bd","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.037311","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"groups\":[{\"id\":9,\"name\":\"Diretor\"},{\"id\":7,\"name\":\"Operação\"},{\"id\":305,\"name\":\"Gestores\"}],\"meta\":{\"now\":1531855020,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"62c2e8e1-2cbe-460b-b572-72746e33f0cf"},{"name":"Criar","event":[{"listen":"test","script":{"id":"b8abd065-ac26-42a4-a0fd-cd9754bf63b4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"991195af-eee0-42e3-8c63-f4be3fb37f95","exec":["// pm.variables.set(\"employee_id\", 14)","","// pm.variables.set(\"send_confirmation_email\", true)","// pm.variables.set(\"group_id\", 7)","// pm.variables.set(\"password\", \"123123123\")","// pm.variables.set(\"password_confirmation\", \"123123123\")"],"type":"text/javascript"}}],"id":"b6749c13-519b-4cc5-ac71-a26594e569f8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user\":{\n\t\t\"send_confirmation_email\": false, \n\t\t\"group_id\": 2, \n\t\t\"password\": \"23123123\" , \n\t\t\"password_confirmation\": \"23123123\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/user","description":"<p>Cria um usuário para o colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>id do colobarador a ser criado o usuário</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>send_confirmation_email</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>Envia email de confirmação para colaborador? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>group_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do grupo de acesso do qual o usuário fará parte. Verificar grupos <a href=\"https://documenter.getpostman.com/view/4785048/RWMCvVxN?version=latest#15a2e830-2db9-4609-84b4-3cd7e74ba81b\">aqui</a>.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Sim</td>\n<td>Senha</td>\n</tr>\n<tr>\n<td>password_confirmation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Confirmação da senha</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","user"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"1ae57471-bb73-48ca-a692-432d9870924a","name":"Exemplo com colaborador sem CPF cadastrado","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user\":{\n\t\t\"send_confirmation_email\": true, \n\t\t\"group_id\": 7, \n\t\t\"password\": \"123123123\" , \n\t\t\"password_confirmation\": \"123123123\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/user?attributes=id,group,employee","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","user"],"query":[{"key":"attributes","value":"id,group,employee"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 18 Jul 2018 14:46:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"2f5a9270-74d4-4b4f-80e0-e6970768c646","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.152527","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"employee\":[\"Colaborador deve possuir um cpf cadastrado\"]},\"meta\":{\"now\":1531925193,\"ip\":\"127.0.0.1\"}}"},{"id":"2db2f1bc-2179-4220-a3cc-6c48a436c7ee","name":"Exemplo com colaborador sem email cadastrado","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user\":{\n\t\t\"send_confirmation_email\": true, \n\t\t\"group_id\": 7, \n\t\t\"password\": \"123123123\" , \n\t\t\"password_confirmation\": \"123123123\"\n\t}\n}"},"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/user?attributes=id,group,employee","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","user"],"query":[{"key":"attributes","value":"id,group,employee"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 18 Jul 2018 14:48:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"422 Unprocessable Entity","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"b3f51d7e-a65d-45ed-b1d8-9a0cdc45e44e","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.315832","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"errors\":{\"employee\":[\"Colaborador deve possuir um email cadastrado\"]},\"meta\":{\"now\":1531925320,\"ip\":\"127.0.0.1\"}}"},{"id":"7d6c08c2-425b-468f-aae6-6d1384403c76","name":"Exemplo de sucesso ao criar usuário","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user\":{\n\t\t\"send_confirmation_email\": true, \n\t\t\"group_id\": 7, \n\t\t\"password\": \"123123123\" , \n\t\t\"password_confirmation\": \"123123123\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/user?attributes=id,group,employee","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","user"],"query":[{"key":"attributes","value":"id,group,employee"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 18 Jul 2018 15:17:50 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"57922f423b409dd616a8c5cb5dfe4e04\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"201 Created","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"66925f75-a0e8-4857-9a93-2fdce9104006","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.491003","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"success\":\"Usuário cadastrado com sucesso!\",\"meta\":{\"now\":1531927070,\"ip\":\"127.0.0.1\"},\"id\":40167}"},{"id":"f18b6653-3f53-410c-906f-657e6ae8f95b","name":"Exemplo com ID do colaborador inexistente","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user\":{\n\t\t\"send_confirmation_email\": true, \n\t\t\"group_id\": 7, \n\t\t\"password\": \"123123123\" , \n\t\t\"password_confirmation\": \"123123123\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/employees/{{employee_id}}/user?attributes=id,group,employee","host":["{{server_url}}"],"path":["external_api","v1","employees","{{employee_id}}","user"],"query":[{"key":"attributes","value":"id,group,employee"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 17 Jul 2018 20:43:36 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"404 Not Found","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"ed885cbd-4cd5-4a46-9e30-74100e78f240","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.802318","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"error\":\"Registro não encontrado\",\"meta\":{\"now\":1531860215,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"b6749c13-519b-4cc5-ac71-a26594e569f8"},{"name":"Editar","event":[{"listen":"prerequest","script":{"id":"32704299-bfa9-4d67-bd72-bf4530a7444b","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"6f30bfe7-980f-4b59-81d0-455cc1748503","exec":[""],"type":"text/javascript","packages":{}}}],"id":"4ddcf964-8725-4543-a212-3e500a0bbf92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user\":{\n\t\t\"active\": true,\n\t\t\"send_confirmation_email\": false, \n\t\t\"group_id\": 1, \n\t\t\"password\": \"123123123\" , \n\t\t\"password_confirmation\": \"123123123\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/employees/{{employee_id}}/user","description":"<p>Edita o usuário de um colaborador.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>id do colobarador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Acesso liberado (true = sim, false = não)</td>\n</tr>\n<tr>\n<td>send_confirmation_email</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Envia email de confirmação para colaborador? (true = sim, false = não)</td>\n</tr>\n<tr>\n<td>group_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do grupo de acesso ná qual o usuário fara parte</td>\n</tr>\n<tr>\n<td>password</td>\n<td>String</td>\n<td>Não</td>\n<td>Senha</td>\n</tr>\n<tr>\n<td>password_confirmation</td>\n<td>String</td>\n<td>Não</td>\n<td>Confirmação da senha</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","employees","{{employee_id}}","user"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ddcf964-8725-4543-a212-3e500a0bbf92"}],"id":"c55fb9c7-267f-4a24-bfed-563fa6937090","_postman_id":"c55fb9c7-267f-4a24-bfed-563fa6937090","description":""},{"name":"AFD","item":[{"name":"Exportar","event":[{"listen":"prerequest","script":{"id":"ac518715-8ced-4659-a46c-2f3f2b22a70f","exec":["pm.variables.set(\"start_date\", \"2020-01-01\")","pm.variables.set(\"end_date\", \"2020-01-20\")","pm.variables.set(\"business_unit_id\", 2)","pm.variables.set(\"inmetro\", false),","pm.variables.set(\"local_date_time\", false),","pm.variables.set(\"initial_nsr\", \"55\")"],"type":"text/javascript"}}],"id":"8357b466-3d79-4672-81b3-4c38da867684","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\"afd_export\":{\n\"start_date\": \"2021-05-01\",\n\"end_date\": \"2021-05-07\",\n\"business_unit_id\": 43899,\n\"inmetro\": false,\n\"local_date_time\": true\n}\n}"},"url":"{{server_url}}/external_api/v1/afd/export","description":"<p>Gera o arquivo AFD por período.</p>\n<blockquote>\n<p>OBS: Só serão incluídas no arquivo as marcações que foram batidas diretamente pela Pontomais, as batidas realizadas pelo relógio, devem ser retiradas do AFD do mesmo.</p>\n</blockquote>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial (AAAA-MM-DD ou DD/MM/AAAA)</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final (AAAA-MM-DD ou DD/MM/AAAA)</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Ao menos um dos parâmetros de filtro (business_unit_id, department_id, team_id) deve ser informado.</td>\n<td>ID da unidade de negócio</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Ao menos um dos parâmetros de filtro (business_unit_id, department_id, team_id) deve ser informado.</td>\n<td>ID do departamento</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Ao menos um dos parâmetros de filtro (business_unit_id, department_id, team_id) deve ser informado.</td>\n<td>ID da equipe</td>\n</tr>\n<tr>\n<td>inmetro</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se <strong>true</strong> gera arquivo no formato do INMETRO, se <strong>false</strong> na 1510/09</td>\n</tr>\n<tr>\n<td>local_date_time</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se <strong>true</strong> exporta as batidas no fuso horário local de onde foram realizadas, se <strong>false</strong> contrário não aplica fuso</td>\n</tr>\n<tr>\n<td>initial_nsr</td>\n<td>number</td>\n<td>Não</td>\n<td>Valor inicial da contagem NSR. Se for vazio, contagem iniciará em 1. Não pode ser 0</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","afd","export"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8357b466-3d79-4672-81b3-4c38da867684"}],"id":"bb2ebd28-3537-467f-8425-f58054f9959c","_postman_id":"bb2ebd28-3537-467f-8425-f58054f9959c","description":""},{"name":"AFD-671","item":[{"name":"Exportar","event":[{"listen":"prerequest","script":{"id":"ac518715-8ced-4659-a46c-2f3f2b22a70f","exec":["pm.variables.set(\"start_date\", \"2020-01-01\")","pm.variables.set(\"end_date\", \"2020-01-20\")","pm.variables.set(\"business_unit_id\", 2)","pm.variables.set(\"inmetro\", false),","pm.variables.set(\"local_date_time\", false),","pm.variables.set(\"initial_nsr\", \"55\")"],"type":"text/javascript","packages":{}}}],"id":"24091f54-871a-47ab-a235-119bc0625288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"afd_mpt671\":{\n        \"start_date\": \"2025-01-01\",\n        \"end_date\": \"2025-02-02\",\n        \"business_unit_id\": 123456,\n        \"local_date_time\": true,\n        \"employee_change\": false\n    }\n}"},"url":"{{server_url}}/external_api/v1/afd_mpt_671/export","description":"<p>Gera o arquivo AFD por período.</p>\n<blockquote>\n<p>OBS: Só serão incluídas no arquivo as marcações que foram batidas diretamente pela Pontomais, as batidas realizadas pelo relógio, devem ser retiradas do AFD do mesmo. </p>\n</blockquote>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial (AAAA-MM-DD ou DD/MM/AAAA)</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final (AAAA-MM-DD ou DD/MM/AAAA)</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Ao menos um dos parâmetros de filtro (business_unit_id, department_id, team_id) deve ser informado.</td>\n<td>ID da unidade de negócio</td>\n</tr>\n<tr>\n<td>local_date_time</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Se <strong>true</strong> exporta as batidas no fuso horário local de onde foram realizadas, se <strong>false</strong> contrário não aplica fuso</td>\n</tr>\n<tr>\n<td>employee_change</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>Se <strong>true</strong> exportará as movimentações dos colaboradores.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","afd_mpt_671","export"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24091f54-871a-47ab-a235-119bc0625288"}],"id":"8aba48c8-b58a-4035-9203-70f3acafd3f0","_postman_id":"8aba48c8-b58a-4035-9203-70f3acafd3f0","description":""},{"name":"AFDT","item":[{"name":"Exportar","event":[{"listen":"prerequest","script":{"id":"dd8e6a11-a988-40ca-b489-b4dc15898467","type":"text/javascript","exec":["pm.variables.set(\"start_date\", \"2017-02-01\")","pm.variables.set(\"end_date\", \"2017-02-28\")","pm.variables.set(\"business_unit_id\", 5)",""]}}],"id":"c0d4920f-f6ac-4ffb-8007-4c827ea9d0b2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"afd_export\":{\n\t\t\"start_date\": \"{{start_date}}\", \n\t\t\"end_date\": \"{{end_date}}\", \n\t\t\"business_unit_id\": {{business_unit_id}}\n\t}\n}"},"url":"{{server_url}}/external_api/v1/afdt/export","description":"<p>Gera o arquivo AFDT por período.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial (AAAA-MM-DD ou DD/MM/AAAA)</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final (AAAA-MM-DD ou DD/MM/AAAA)</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Sim</td>\n<td>Integer</td>\n<td>ID da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","afdt","export"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0d4920f-f6ac-4ffb-8007-4c827ea9d0b2"}],"id":"44839491-0cb7-4672-bd26-742f71cee74f","_postman_id":"44839491-0cb7-4672-bd26-742f71cee74f","description":""},{"name":"AEJ","item":[{"name":"AEJ Export","id":"8b9c81f6-4ec3-47ab-bf2c-054bbd89e9e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"2024-01-01\",\n        \"end_date\": \"2024-01-31\",\n        \"business_unit_cnpj_cpf\": [\n            \"00.005.152/0001-87\",\n            \"99.990.040/0000-04\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export","urlObject":{"path":["external_api","v1","aej","export"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b149b36d-a6c6-494e-a160-71b16fc98fd6","name":"invalid","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"2024-01-01\",\n        \"end_date\": \"\",\n        \"business_unit_cnpj_cpf\": [\"00.005.152/0001-87\"]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"4335e5dc-0c96-4abb-be54-e6b3c652adc8"},{"key":"X-Runtime","value":"0.139652"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"end_date\": [\n            \"Não pode ficar em branco\",\n            \"não é uma data válida\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1710509039,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"11ab739c-91ca-4781-9e7d-4e629428a4db","name":"invalid params","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"\",\n        \"end_date\": \"\",\n        \"business_unit_cnpj_cpf\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"6e85710b-56f1-4a47-8f03-040065b5ddfe"},{"key":"X-Runtime","value":"0.146411"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"start_date\": [\n            \"Não pode ficar em branco\",\n            \"não é uma data válida\"\n        ],\n        \"end_date\": [\n            \"Não pode ficar em branco\",\n            \"não é uma data válida\"\n        ],\n        \"employee_ids\": [\n            \"Não pode ficar em branco\"\n        ],\n        \"business_unit_ids\": [\n            \"Não pode ficar em branco\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1710509086,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"21f2ee91-1b3d-4d6b-add2-5de7e542fe11","name":"invalid CNPJ/CPF format","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"2024-01-01\",\n        \"end_date\": \"2024-01-31\",\n        \"business_unit_cnpj_cpf\": [\"00.005.152/0001-87\", \"99.990.040.0000-04\"]\n    }\n}   ","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"ee047467-38bc-48b6-926e-d0106a256f86"},{"key":"X-Runtime","value":"3.847140"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CNPJ ou CPF com formato inválido.\",\n    \"meta\": {\n        \"now\": 1710587014,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"f211587a-7b06-4b66-95c2-312b16650871","name":"invalid param business_unit_cnpj_cpf","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"2024-01-01\",\n        \"end_date\": \"2024-01-31\",\n        \"business_unit_cnpj_cpf\": \"00.005.152/0001-87\"\n    }\n}   ","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"1a9e9a33-c287-4a54-a73e-fd017109435a"},{"key":"X-Runtime","value":"0.118241"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Parâmetro business_unit_cnpj_cpf deve ser um array.\",\n    \"meta\": {\n        \"now\": 1710587132,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"19c8be3c-b33f-4370-ae01-7bb4afddf69f","name":"invalid param business_unit_cnpj_cpf is empty","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"2024-01-01\",\n        \"end_date\": \"2024-01-31\",\n        \"business_unit_cnpj_cpf\": []\n    }\n}   ","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"08029c3b-b078-4260-9920-c1b114a820b3"},{"key":"X-Runtime","value":"0.118463"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"CNPJ ou CPF deve ser informado.\",\n    \"meta\": {\n        \"now\": 1710587323,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"688b5e56-a65f-42f5-a5a5-6db99eb14490","name":"success","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n    \"aej_export\": {\n        \"start_date\": \"2024-01-01\",\n        \"end_date\": \"2024-01-31\",\n        \"business_unit_cnpj_cpf\": [\"00.005.152/0001-87\"]\n    }\n}   ","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/external_api/v1/aej/export"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"0cc1ed476e5c2d1f29e4ecb6ced64e6e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"2fbb041d-9e03-4895-873a-301c494c0379"},{"key":"X-Runtime","value":"0.217115"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"business_unit_name\": \"Muralha do Norte\",\n            \"business_unit_id\": 1,\n            \"content\": \"01|1|00005152000187|||muralha do norte|2024-01-01|2024-01-31|2024-03-16T08:10:21-0300|001\\n03|1|50063363070|JOAO Pereira\\n04|1|480.0|0800|1200|1300|1700\\n04|2|480.0|0800|1200|1300|1700\\n04|3|480.0|0800|1200|1300|1700\\n07|1|2|2024-01-01||\\n07|1|2|2024-01-02||\\n07|1|2|2024-01-03||\\n08|Pontomais||1|23863463000182|PONTOMAIS TECNOLOGIA S/A|ti@pontomais.com.br\\n99|1|0|1|3|0|0|3|1\\nASSINATURA_DIGITAL_EM_ARQUIVO_P7S                                                                   \",\n            \"generated\": true\n        }\n    ],\n    \"meta\": {\n        \"now\": 1710587421,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"8b9c81f6-4ec3-47ab-bf2c-054bbd89e9e8"}],"id":"4cc5b402-84e3-4fb4-9718-4be81a8d9605","description":"<p>Exportação de arquivo AEJ.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-recebido\">Estrutura do objeto JSON a ser recebido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Data inicial para geração do arquivo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Data final para geração do arquivo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_cnpj_cpf</td>\n<td>Array</td>\n<td>Array de CNPJ/CPF das unidades de negócios que deseja exportar os arquivos AEJ</td>\n<td>Sim</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"4cc5b402-84e3-4fb4-9718-4be81a8d9605"},{"name":"Relatórios","item":[{"name":"Jornada","id":"f69e1214-98ba-4e5f-9a13-4e065835a5bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{public_token}}"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"start_date\": \"2021-06-01\",\n        \"end_date\": \"2021-07-01\",\n        \"group_by\": \"employee\",\n        \"row_filters\": \"with_inactives,has_time_cards\",\n        \"columns\": \"date,shift_name,time_breaks,shift_appointments,time_cards,summary,extra_time,total_time,shift_time,custom_interval_time,overnight_time,registration_number,time_balance,motive, employee_id\",\n        \"format\": \"json\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/reports/work_days","description":"<p>Rota para extração do relatório de jornada</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo</td>\n<td>para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td></td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td></td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>number</td>\n<td>Filtra pelo Motivo</td>\n<td></td>\n</tr>\n<tr>\n<td>page</td>\n<td>number</td>\n<td>Define a pagina ser carregada</td>\n<td>não</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number</td>\n<td>Define o total de registro por página(limitado a 500) ver <strong>nota per_page</strong></td>\n<td>não</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nota per page</strong></p>\n<p>Quando informado na 1 request no retorno vai trazer o total de paginas no heading na propriedade page sendo page/total de página com a informação de total de página pode ser fazer o loop para obter todos os registros</p>\n<p><strong>Agrupamentos disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Sim</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>overnight_time</td>\n<td>Não</td>\n<td>Adicional noturno</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Cargo (Nome do cargo)</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Não</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>employee_name</td>\n<td>Não</td>\n<td>Nome do colaborador</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>time_balance_factors</td>\n<td>Não</td>\n<td>Fatores acumulativos</td>\n</tr>\n<tr>\n<td>holiday</td>\n<td>Não</td>\n<td>Feriado</td>\n</tr>\n<tr>\n<td>managers_names</td>\n<td>Não</td>\n<td>Nome dos gestores da equipe</td>\n</tr>\n<tr>\n<td>reduced_overnight_time</td>\n<td>Não</td>\n<td>Hora noturna reduzida</td>\n</tr>\n<tr>\n<td>over_limit</td>\n<td>Não</td>\n<td>Horas excedentes</td>\n</tr>\n<tr>\n<td>custom_interval_time</td>\n<td>Não</td>\n<td>Horas intrajornada</td>\n</tr>\n<tr>\n<td>shift_time</td>\n<td>Não</td>\n<td>Horas previstas</td>\n</tr>\n<tr>\n<td>total_time</td>\n<td>Não</td>\n<td>Horas totais</td>\n</tr>\n<tr>\n<td>shift_appointments</td>\n<td>Não</td>\n<td>Jornada prevista</td>\n</tr>\n<tr>\n<td>time_balance_entries</td>\n<td>Não</td>\n<td>Lançamento de horas</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>motive</td>\n<td>Não</td>\n<td>Motivo/Observação</td>\n</tr>\n<tr>\n<td>time_breaks</td>\n<td>Não</td>\n<td>Pausas</td>\n</tr>\n<tr>\n<td>time_cards</td>\n<td>Não</td>\n<td>Pontos</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>Sim</td>\n<td>Saldo</td>\n</tr>\n<tr>\n<td>summary</td>\n<td>Não</td>\n<td>Totais da jornada</td>\n</tr>\n<tr>\n<td>standby_time</td>\n<td>Não</td>\n<td>Total de horas em sobreaviso</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Total de horas extras</td>\n</tr>\n<tr>\n<td>daylight_extra_time</td>\n<td>Não</td>\n<td>Total de H.E. Diurnas</td>\n</tr>\n<tr>\n<td>overnight_extra_time</td>\n<td>Não</td>\n<td>Total de H.E. Noturnas</td>\n</tr>\n<tr>\n<td>standby_planned_time</td>\n<td>Não</td>\n<td>Total de horas planejadas em sobreaviso</td>\n</tr>\n<tr>\n<td>standby_worked_time</td>\n<td>Não</td>\n<td>Total de horas trabalhadas em sobreaviso</td>\n</tr>\n<tr>\n<td>shift_name</td>\n<td>Não</td>\n<td>Turno (Nome do turno)</td>\n</tr>\n<tr>\n<td>dsr_discount_days</td>\n<td>Não</td>\n<td>Débito DSR Dias</td>\n</tr>\n<tr>\n<td>dsr_discount_hours</td>\n<td>Não</td>\n<td>Débito DSR Horas</td>\n</tr>\n<tr>\n<td>dsr_credit_days</td>\n<td>Não</td>\n<td>Crédito DSR Dias</td>\n</tr>\n<tr>\n<td>dsr_credit_hours</td>\n<td>Não</td>\n<td>Crédito DSR Horas</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Inclui colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Inclui colaboradores que não registram ponto</td>\n</tr>\n<tr>\n<td>holidays_only</td>\n<td>Não</td>\n<td>Lista somente jornadas em dias de feriado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","work_days"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f69e1214-98ba-4e5f-9a13-4e065835a5bb"},{"name":"Modelo AFD Portaria 1510","id":"01524198-3d62-487b-b099-8cc704d0993b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{public_token}}"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n      \"start_date\": \"2025-09-10\",\n      \"end_date\": \"2025-10-09\",\n      \"format\": \"txt\",\n      \"filter_by\": \"business_unit_id\",\n      \"business_unit_id\": 26,\n      \"filter_value\": \"BUSINESS UNIT NAME\",\n      \"inmetro\": true,\n      \"local_date_time\": true,\n      \"fabrication_number\": 123\n    }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/afd_1510","description":"<p>Rota para extração do relatório Modelo AFD Portaria 1510</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access-token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>filter_br</td>\n<td>string</td>\n<td>O filtro sempre será business_unit_id</td>\n<td>sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>filter_value</td>\n<td>string</td>\n<td>Nome da unidade de negócio</td>\n<td>sim</td>\n</tr>\n<tr>\n<td>inmetro</td>\n<td>boolean</td>\n<td>Cria o arquivo de acordo com layout do INMETRO.</td>\n<td>sim</td>\n</tr>\n<tr>\n<td>local_date_time</td>\n<td>boolean</td>\n<td>Exporta as batidas no fuso horário local de onde foram realizadas.</td>\n<td>sim</td>\n</tr>\n<tr>\n<td>initial_nsr</td>\n<td>string</td>\n<td>No layout AFD seria o número sequencial da exportação, se não informado, a contagem iniciará do 1.</td>\n<td>não</td>\n</tr>\n<tr>\n<td>fabrication_number</td>\n<td>string</td>\n<td>No layout AFD, o <strong>fabrication_number</strong> seria o número de fabricação do relógio, se não informado, será preenchido com zeros.</td>\n<td>não</td>\n</tr>\n<tr>\n<td>page</td>\n<td>number</td>\n<td>Define a pagina ser carregada</td>\n<td>não</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number</td>\n<td>Define o total de registro por página(limitado a 500) ver <strong>nota per_page</strong></td>\n<td>não</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nota per page</strong></p>\n<p>Quando informado na 1 request no retorno vai trazer o total de paginas no heading na propriedade page sendo page/total de página com a informação de total de página pode ser fazer o loop para obter todos os registros</p>\n","urlObject":{"path":["external_api","v1","reports","afd_1510"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"01524198-3d62-487b-b099-8cc704d0993b"},{"name":"Abonos","id":"093cff1b-4bb4-402e-b703-aa5564c9d118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-01-02\",\n    \"end_date\": \"2020-02-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"with_inactives,has_time_cards, file\",\n    \"columns\": \"employee_name, file\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/exemptions","description":"<p>Exibe o relatório de abonos.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Sim</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório, ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo Motivo</td>\n</tr>\n<tr>\n<td>solicitation_status</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Status</td>\n</tr>\n<tr>\n<td>solicitation_source</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Origem</td>\n</tr>\n<tr>\n<td>proposal_status</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Motivo</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Dia todo? <em>(true - sim, false - não)</em></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<p>Indisponíveis.</p>\n<h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Não</td>\n<td>Dia todo</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>Não</td>\n<td>Hora de início</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>Não</td>\n<td>Hora de término</td>\n</tr>\n<tr>\n<td>exemption_type</td>\n<td>Não</td>\n<td>Origem</td>\n</tr>\n<tr>\n<td>solicitation_status</td>\n<td>Não</td>\n<td>Status</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Não</td>\n<td>Quem ajustou</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Não</td>\n<td>Data da alteração</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Não</td>\n<td>Motivo</td>\n</tr>\n<tr>\n<td>answer_motive</td>\n<td>Não</td>\n<td>Motivo de reprovação</td>\n</tr>\n<tr>\n<td>has_attachment</td>\n<td>Não</td>\n<td>Possui anexo?</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","exemptions"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"69bc1173-2501-4604-a867-19527937fc3b","name":"Exemplo de CSV","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-08-20\",\n    \"end_date\": \"2018-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"with_inactives,has_time_cards\",\n    \"columns\": \"employee_name,date,all_day,start_time,end_time,exemption_type,solicitation_status,observation,answered_by,updated_at,status,answer_motive,has_attachment\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/exemptions"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:07:45 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"c793c455b3766cc2c53afa4a3d5b03dd\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"48a59870-d683-43bd-92dd-ffd4a9c5c146","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.833229","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Abonos\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 20/08/2018 até 19/09/2018\n\nEquipe,Administração\nNome,Data,Dia todo?,Hora de início,Hora de término,Origem,Status,Observação,Quem ajustou,Data da alteração,Motivo,Motivo de reprovação,Possui anexo?\nDarth vader,\"Qua, 12/09/2018\",Não,,,Padrão,,teste, ,17/09/2018 17:07,Atestado,,Não\nResumo,Totais\nTotal,1\n\n\n0.763002334\n"},{"id":"ff8b93ac-002a-480a-9a9a-fa25e68c4b3f","name":"Exemplo de JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-08-20\",\n    \"end_date\": \"2018-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"with_inactives,has_time_cards\",\n    \"columns\": \"employee_name,date,all_day,start_time,end_time,exemption_type,solicitation_status,observation,answered_by,updated_at,status,answer_motive,has_attachment\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/exemptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:09:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3b701af01b2e009d66a348dc0a56441f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"46cde59e-1973-4263-bb40-a9282b3dc3a4","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.076621","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Abonos\",\n    \"created_by_name\": \"Base de teste Alex Pontomais\",\n    \"start_date\": \"20/08/2018\",\n    \"end_date\": \"19/09/2018\",\n    \"today\": \"21/11/2018\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"employee_name\": {\n            \"title\": \"Nome\"\n          },\n          \"date\": {\n            \"title\": \"Data\"\n          },\n          \"all_day\": {\n            \"title\": \"Dia todo?\"\n          },\n          \"start_time\": {\n            \"title\": \"Hora de início\"\n          },\n          \"end_time\": {\n            \"title\": \"Hora de término\"\n          },\n          \"exemption_type\": {\n            \"title\": \"Origem\"\n          },\n          \"solicitation_status\": {\n            \"title\": \"Status\"\n          },\n          \"observation\": {\n            \"title\": \"Observação\"\n          },\n          \"answered_by\": {\n            \"title\": \"Quem ajustou\"\n          },\n          \"updated_at\": {\n            \"title\": \"Data da alteração\"\n          },\n          \"status\": {\n            \"title\": \"Motivo\"\n          },\n          \"answer_motive\": {\n            \"title\": \"Motivo de reprovação\"\n          },\n          \"has_attachment\": {\n            \"title\": \"Possui anexo?\"\n          }\n        },\n        \"data\": [\n          {\n            \"employee_name\": \"Darth vader\",\n            \"date\": \"Qua, 12/09/2018\",\n            \"all_day\": \"Não\",\n            \"has_attachment\": \"Não\",\n            \"start_time\": null,\n            \"end_time\": null,\n            \"observation\": \"teste\",\n            \"answered_by\": \" \",\n            \"updated_at\": \"17/09/2018 17:07\",\n            \"solicitation_status\": null,\n            \"status\": \"Atestado\",\n            \"answer_motive\": null,\n            \"exemption_type\": \"Padrão\"\n          }\n        ],\n        \"footer\": null,\n        \"totals\": [\n          {\n            \"title\": \"Total\",\n            \"total\": 1\n          }\n        ]\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1542805773,\n    \"ip\": \"127.0.0.1\"\n  }\n}"}],"_postman_id":"093cff1b-4bb4-402e-b703-aa5564c9d118"},{"name":"Absenteísmo","id":"0c2248b3-344c-4355-a1db-15d28751ce09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2024-08-20\",\n    \"end_date\": \"2024-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"compensatory,missing_time_1h,missing_time_2h,missing_time_3h,missing_time_4h,missing_time_5h,missing_time_6h,missing_time_7h,missing_time_8h\",\n    \"columns\": \"name,cost_center,leaders,total_working_time,total_missing_time,total_worked_time,percent_abs\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/absenteeism","description":"<p>Rota para extração do relatório de absenteísmo</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access-token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Agrupamentos disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>absense_with_permission</td>\n<td>Não</td>\n<td>Incluir faltas justificadas (considerar abonos)</td>\n</tr>\n<tr>\n<td>positive_time_balance</td>\n<td>Não</td>\n<td>Não incluir falta quando há saldo positivo de banco de horas</td>\n</tr>\n<tr>\n<td>compensatory</td>\n<td>Não</td>\n<td>Utilizar compensação de tempo diária (H.E - H.F)</td>\n</tr>\n<tr>\n<td>missing_time_1h</td>\n<td>Não</td>\n<td>Incluir até 1 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_2h</td>\n<td>Não</td>\n<td>Incluir de 1 a 2 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_3h</td>\n<td>Não</td>\n<td>Incluir de 2 a 3 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_4h</td>\n<td>Não</td>\n<td>Incluir de 3 a 4 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_5h</td>\n<td>Não</td>\n<td>Incluir de 4 a 5 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_6h</td>\n<td>Não</td>\n<td>Incluir de 5 a 6 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_7h</td>\n<td>Não</td>\n<td>Incluir de 6 a 7 H.F/dia</td>\n</tr>\n<tr>\n<td>missing_time_8h</td>\n<td>Não</td>\n<td>Incluir de 7 ou mais H.F/dia</td>\n</tr>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir colaboradores inativos?</td>\n</tr>\n<tr>\n<td>with_intermittent</td>\n<td>Não</td>\n<td>Considerar colaboradores horistas (turnos intermitentes)</td>\n</tr>\n<tr>\n<td>ignore_days_without_motive</td>\n<td>Não</td>\n<td>Ignorar faltas não justificadas (sem ajuste e sem abono)</td>\n</tr>\n<tr>\n<td>with_absence_medical_certifica</td>\n<td>Não</td>\n<td>Incluir atestado de afastamento e férias</td>\n</tr>\n<tr>\n<td>with_days_off_allowances</td>\n<td>Não</td>\n<td>Incluir folgas (abono)</td>\n</tr>\n<tr>\n<td>with_days_off_time_balance</td>\n<td>Não</td>\n<td>Incluir folgas (banco de horas)</td>\n</tr>\n<tr>\n<td>with_days_off_missing_time</td>\n<td>Não</td>\n<td>Incluir folgas (faltas)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>total_missing_time</td>\n<td>Sim</td>\n<td>Ausência</td>\n</tr>\n<tr>\n<td>percent_abs</td>\n<td>Sim</td>\n<td>ABS</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Não</td>\n<td>Centro de custos</td>\n</tr>\n<tr>\n<td>leaders</td>\n<td>Não</td>\n<td>Gestores</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>total_working_time</td>\n<td>Sim</td>\n<td>Previsto</td>\n</tr>\n<tr>\n<td>total_worked_time</td>\n<td>Sim</td>\n<td>Presença</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","absenteeism"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"3e084340-076b-48d8-9c8a-bb8832040076","name":"Exemplo JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-08-20\",\n    \"end_date\": \"2018-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"compensatory,missing_time_1h,missing_time_2h,missing_time_3h,missing_time_4h,missing_time_5h,missing_time_6h,missing_time_7h,missing_time_8h\",\n    \"columns\": \"name,cost_center,leaders,total_working_time,total_missing_time,total_worked_time,percent_abs\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/absenteeism"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:20:15 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f292a7305d3c0f85a95ab7c4af13827f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"cf4eb71c-57e3-4bc5-8340-a9ab6d380fe1","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"12.025964","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Absenteísmo\",\n    \"created_by_name\": \"Frodo\",\n    \"start_date\": \"20/08/2024\",\n    \"end_date\": \"19/09/2024\",\n    \"today\": \"21/11/2024\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"name\": {\n            \"title\": \"Nome\"\n          },\n          \"cost_center\": {\n            \"title\": \"Centro de custos\"\n          },\n          \"leaders\": {\n            \"title\": \"Gestores\"\n          },\n          \"total_working_time\": {\n            \"title\": \"Previsto\"\n          },\n          \"total_missing_time\": {\n            \"title\": \"Ausência\"\n          },\n          \"total_worked_time\": {\n            \"title\": \"Presença\"\n          },\n          \"percent_abs\": {\n            \"title\": \"ABS\"\n          }\n        },\n        \"data\": [\n          {\n            \"name\": \"Darth Vader\",\n            \"cost_center\": \"Geral\",\n            \"leaders\": \"Gollum\",\n            \"total_working_time\": \"112:00\",\n            \"total_missing_time\": \"104:00\",\n            \"total_worked_time\": \"00:00\",\n            \"percent_abs\": \"92,86 %\"\n          },\n          {\n            \"name\": \"Frodo Bolseiro\",\n            \"cost_center\": \"Geral\",\n            \"leaders\": \"Gollum\",\n            \"total_working_time\": \"24:00\",\n            \"total_missing_time\": \"24:00\",\n            \"total_worked_time\": \"00:00\",\n            \"percent_abs\": \"100,00 %\"\n          }\n        ],\n        \"footer\": [\n          {\n            \"name\": \"TOTAIS\",\n            \"cost_center\": \"\",\n            \"leaders\": \"\",\n            \"total_working_time\": \"136:00\",\n            \"total_missing_time\": \"128:00\",\n            \"total_worked_time\": \"00:00\",\n            \"percent_abs\": \"94,12 %\"\n          }\n        ],\n        \"totals\": [\n          {\n            \"title\": \"Total\",\n            \"total\": 22\n          }\n        ]\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1542806413,\n    \"ip\": \"127.0.0.1\"\n  }\n}"}],"_postman_id":"0c2248b3-344c-4355-a1db-15d28751ce09"},{"name":"Afastamentos e férias","id":"5d9bb971-6e72-438a-8f67-f89cb4116289","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-10-20\",\n    \"end_date\": \"2020-12-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,job_title_name,team_name,start_date,end_date,observation\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/absences","description":"<p>Rota para extração do relatório de Afastamento e férias</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access-token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Agrupamentos disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluí colaboradores que não registram ponto</td>\n</tr>\n<tr>\n<td>with_absences</td>\n<td>Não</td>\n<td>Incuí lançamentos do tipo afastamento</td>\n</tr>\n<tr>\n<td>with_vacations</td>\n<td>Não</td>\n<td>Incuí lançamentos do tipo férias</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>shift_name</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>department_name</td>\n<td>Não</td>\n<td>Departamento</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Sim</td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Sim</td>\n<td>Data de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>Sim</td>\n<td>Notas</td>\n</tr>\n<tr>\n<td>absence_type</td>\n<td>Não</td>\n<td>Tipo do afastamento</td>\n</tr>\n<tr>\n<td>total_days</td>\n<td>Não</td>\n<td>Quant. de dias</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Não</td>\n<td>É atestado?</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>Não</td>\n<td>CRM</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>Não</td>\n<td>Nome do médico?</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>Não</td>\n<td>Local de atendimento</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>Não</td>\n<td>CID</td>\n</tr>\n<tr>\n<td>has_attachment</td>\n<td>Não</td>\n<td>Possui anexo?</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Não</td>\n<td>Imagem</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>admission_date</td>\n<td>Não</td>\n<td>Data de admissão</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>business_unit_cnpj</td>\n<td>Não</td>\n<td>CNPJ da Un. de Negócio</td>\n</tr>\n<tr>\n<td>purchase_periods</td>\n<td>Não</td>\n<td>Período aquisitivo</td>\n</tr>\n<tr>\n<td>exemption_pecuniary</td>\n<td>Não</td>\n<td>Pedido de abono pecuniário</td>\n</tr>\n<tr>\n<td>exemption_pecuniary_days</td>\n<td>Não</td>\n<td>Quant. de dias de abono</td>\n</tr>\n<tr>\n<td>antecipate_thirteenth</td>\n<td>Não</td>\n<td>Antecipação de 13º</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","absences"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"c2ea23c7-0366-4162-86ff-ed3d3ec2a0a1","name":"Exemplo CSV","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-08-20\",\n    \"end_date\": \"2018-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,start_date,end_date,observation\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/absences"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:22:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"54628dcd5b110f54b3ff113ff0ef500a\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"2f277edf-c0e4-4163-a66b-c56dab178ca1","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.812019","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Afastamentos e férias\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 20/08/2018 até 19/09/2018\n\nEquipe,Administração\nNome,Matrícula,Equipe,Data de início,Data de término,Notas\nDarth vader,0022,Administração,\"Ter, 24/07/2018\",\"Sáb, 25/08/2018\",Férias\nResumo,Totais\nTotal,1\n\n\n0.619695613\n"},{"id":"c5c4eb85-3212-4eb5-9011-872ce7b62ea5","name":"Exemplo JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-08-20\",\n    \"end_date\": \"2018-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,start_date,end_date,observation\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/absences"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:22:35 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"246d7455a52a364c31f9f2e53946560b\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"115f48c1-7cfd-4395-97f0-2b9bfe2f004a","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.954519","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Afastamentos e férias\",\n    \"created_by_name\": \"Frodo\",\n    \"start_date\": \"20/08/2018\",\n    \"end_date\": \"19/09/2018\",\n    \"today\": \"21/11/2018\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"employee_name\": {\n            \"title\": \"Nome\"\n          },\n          \"registration_number\": {\n            \"title\": \"Matrícula\"\n          },\n          \"team_name\": {\n            \"title\": \"Equipe\"\n          },\n          \"start_date\": {\n            \"title\": \"Data de início\"\n          },\n          \"end_date\": {\n            \"title\": \"Data de término\"\n          },\n          \"observation\": {\n            \"title\": \"Notas\"\n          }\n        },\n        \"data\": [\n          {\n            \"employee_name\": \"Darth Vader\",\n            \"registration_number\": \"0022\",\n            \"team_name\": \"Administração\",\n            \"start_date\": \"Ter, 24/07/2018\",\n            \"end_date\": \"Sáb, 25/08/2018\",\n            \"observation\": \"Férias\"\n          }\n        ],\n        \"footer\": null,\n        \"totals\": [\n          {\n            \"title\": \"Total\",\n            \"total\": 1\n          }\n        ]\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1542806555,\n    \"ip\": \"127.0.0.1\"\n  }\n}"}],"_postman_id":"5d9bb971-6e72-438a-8f67-f89cb4116289"},{"name":"Ajustes de ponto","id":"121b70f5-f375-4716-ba2a-c878a68e0877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-01-01\",\n    \"end_date\": \"2020-02-01\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,answered_by,updated_at,status,is_solicitation\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/proposals","description":"<p>Exibe o relatório de afastamento e férias.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String (8)</td>\n<td>Sim</td>\n<td>Tipo do agrupamento (consulte a tabela <strong>Agrupamentos disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros adicionais (consulte a tabela <strong>Filtros adicionais disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas (consulte a tabela <strong>Colunas disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório (json, csv ou html)</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h3>\n<p>É possível utilizar mais de um filtro, separando-os com uma vírgula.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>all_changes</td>\n<td>Não</td>\n<td>Incluí todas as alterações</td>\n</tr>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluí colaboradores que não registram ponto</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"colunas-disponíveis\">Colunas disponíveis</h3>\n<p>É possível utilizar mais de um filtro, separando-os com uma vírgula.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>time_cards</td>\n<td>Sim</td>\n<td>Pontos</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Não</td>\n<td>Quem ajustou/aprovou</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Não</td>\n<td>Data da alteração</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Sim</td>\n<td>Motivo</td>\n</tr>\n<tr>\n<td>is_solicitation</td>\n<td>Não</td>\n<td>É solicitação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","proposals"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"c421f601-ee1c-45be-9f5d-0d58ab7c6d85","name":"Exemplo JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-10-01\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,answered_by,updated_at,status,is_solicitation\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/proposals"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:43:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a7c805ca814a2bbd4455d51e08894ff2\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"8b40a3ad-38ca-40fc-9f51-1a069f63b9ec","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.098104","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Ajustes de ponto\",\n    \"created_by_name\": \"Frodo\",\n    \"start_date\": \"01/09/2018\",\n    \"end_date\": \"01/10/2018\",\n    \"today\": \"21/11/2018\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"employee_name\": {\n            \"title\": \"Nome\"\n          },\n          \"registration_number\": {\n            \"title\": \"Matrícula\"\n          },\n          \"team_name\": {\n            \"title\": \"Equipe\"\n          },\n          \"date\": {\n            \"title\": \"Data\"\n          },\n          \"time_cards\": {\n            \"title\": \"Pontos\",\n            \"subheader\": [\n              {\n                \"title\": \"1ª Entrada\",\n                \"csv_title\": \"1ª Entrada\"\n              },\n              {\n                \"title\": \"1ª Saída\",\n                \"csv_title\": \"1ª Saída\"\n              },\n              {\n                \"title\": \"2ª Entrada\",\n                \"csv_title\": \"2ª Entrada\"\n              },\n              {\n                \"title\": \"2ª Saída\",\n                \"csv_title\": \"2ª Saída\"\n              }\n            ]\n          },\n          \"answered_by\": {\n            \"title\": \"Quem ajustou/aprovou\"\n          },\n          \"updated_at\": {\n            \"title\": \"Data da alteração\"\n          },\n          \"status\": {\n            \"title\": \"Motivo\"\n          },\n          \"is_solicitation\": {\n            \"title\": \"É solicitação?\"\n          }\n        },\n        \"data\": [\n          {\n            \"employee_name\": \"Darth vader\",\n            \"date\": \"Ter, 11/09/2018\",\n            \"time_cards\": [\n              {\n                \"title\": \"Incluído manualmente | Ter, 11/09/2018 - 08:00\",\n                \"value\": \"<span class=\\\"text-danger-print\\\"><u>08:00</u></span>\",\n                \"csv_value\": \"08:00\"\n              },\n              {\n                \"title\": \"Incluído manualmente | Ter, 11/09/2018 - 12:00\",\n                \"value\": \"<span class=\\\"text-danger-print\\\"><u>12:00</u></span>\",\n                \"csv_value\": \"12:00\"\n              },\n              {\n                \"title\": \"Incluído manualmente | Ter, 11/09/2018 - 14:00\",\n                \"value\": \"<span class=\\\"text-danger-print\\\"><u>14:00</u></span>\",\n                \"csv_value\": \"14:00\"\n              },\n              {\n                \"title\": \"Incluído manualmente | Ter, 11/09/2018 - 18:00\",\n                \"value\": \"<span class=\\\"text-danger-print\\\"><u>18:00</u></span>\",\n                \"csv_value\": \"18:00\"\n              }\n            ],\n            \"status\": \"Ajuste\",\n            \"registration_number\": \"0001\",\n            \"team_name\": \"Administração\",\n            \"answered_by\": \"Base de teste Alex Pontomais\",\n            \"updated_at\": \"21/11/2018 11:38\",\n            \"is_solicitation\": \"Não\"\n          }\n        ],\n        \"footer\": null,\n        \"totals\": [\n          {\n            \"title\": \"Total\",\n            \"total\": 1\n          }\n        ]\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1542807821,\n    \"ip\": \"127.0.0.1\"\n  }\n}"},{"id":"cb5153d6-98af-4b5e-a4d5-e6e508453580","name":"Exemplo CSV","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-10-01\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,answered_by,updated_at,status,is_solicitation\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/proposals"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:42:19 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"05185738ae1939601e866429670f9663\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"d8d394a9-956b-4af6-9b35-eb5a4c24ee2e","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.562572","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Ajustes de ponto\nPor Frodo em 21/11/2018\nDe 01/09/2018 até 01/10/2018\n\nEquipe,Administração\nNome,Matrícula,Equipe,Data,1ª Entrada,1ª Saída,2ª Entrada,2ª Saída,Quem ajustou/aprovou,Data da alteração,Motivo,É solicitação?\nDarth vader,0001,Administração,\"Ter, 11/09/2018\",08:00,12:00,14:00,18:00,Base de teste Alex Pontomais,21/11/2018 11:38,Ajuste,Não\nResumo,Totais\nTotal,1\n\n\n0.185038861\n"}],"_postman_id":"121b70f5-f375-4716-ba2a-c878a68e0877"},{"name":"Assinaturas","id":"6a75f01c-de91-4106-b51c-82c166f61cd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-05-15\",\n\t\t\"end_date\":\"2020-07-15\",\n\t\t\"columns\":\"employee_code,team_name,closing_number,closing_period,signed,signed_date,manager_name,validated,validated_date\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"json\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/signatures","description":"<p>Rota para extração do relatório de assinaturas</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>employee_code</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Time</td>\n</tr>\n<tr>\n<td>closing_number</td>\n<td>Não</td>\n<td>Número do Fechamento</td>\n</tr>\n<tr>\n<td>closing_period</td>\n<td>Não</td>\n<td>Período (Fechamento)</td>\n</tr>\n<tr>\n<td>signed</td>\n<td>Não</td>\n<td>Assinado?</td>\n</tr>\n<tr>\n<td>signature_protocol</td>\n<td>Não</td>\n<td>Protocolo da Assinatura</td>\n</tr>\n<tr>\n<td>signature_ip</td>\n<td>Não</td>\n<td>IP da Assinatura</td>\n</tr>\n<tr>\n<td>signature_date</td>\n<td>Não</td>\n<td>Data da Assinatura</td>\n</tr>\n<tr>\n<td>signature_platform</td>\n<td>Não</td>\n<td>Plataforma da Assinatura</td>\n</tr>\n<tr>\n<td>signature_image</td>\n<td>Não</td>\n<td>URL da Imagem da Assinatura</td>\n</tr>\n<tr>\n<td>manager_name</td>\n<td>Não</td>\n<td>Nome do Gestor</td>\n</tr>\n<tr>\n<td>validated</td>\n<td>Não</td>\n<td>Validado?</td>\n</tr>\n<tr>\n<td>validation_protocol</td>\n<td>Não</td>\n<td>Protocolo da Validação</td>\n</tr>\n<tr>\n<td>validation_date</td>\n<td>Não</td>\n<td>Data da Validação</td>\n</tr>\n<tr>\n<td>validation_ip</td>\n<td>Não</td>\n<td>IP da Validação</td>\n</tr>\n<tr>\n<td>validation_platform</td>\n<td>Não</td>\n<td>Plataforma da Validação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","signatures"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"8c15c9e1-0d97-44bf-b891-cecbaa310862","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-05-15\",\n\t\t\"end_date\":\"2020-07-15\",\n\t\t\"columns\":\"employee_code,team_name,closing_number,closing_period,signed,signed_date,manager_name,validated,validated_date\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"csv\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/signatures"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/csv; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"9384cddb-aabc-48c0-8641-28f34af7b062"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\""},{"key":"ETag","value":"W/\"a42ba973cc4606a6fc059074a1756581\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.190887"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Fri, 14 Aug 2020 12:17:37 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"Relatório de Assinaturas\nPor Darth Sidius em 14/08/2020\nDe 15/05/2020 até 15/07/2020\n\nColaborador,Matrícula,Time,Número do Fechamento,Período (Fechamento),Assinado?,Nome do Gestor,Validado?\nDarth Vader,123123,0001 - Administração,000000065,01/07/2020 à 05/07/2020,Sim,Dearth Sidius,Sim\n\n\n0.043758359\n"},{"id":"71d097a2-f6d5-44ed-9ca0-631836cfa022","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-05-15\",\n\t\t\"end_date\":\"2020-07-15\",\n\t\t\"columns\":\"employee_code,team_name,closing_number,closing_period,signed,signed_date,manager_name,validated,validated_date\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"json\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/signatures"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"96e9f66656532d2d3743e44854b3a2df\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"3.248502"},{"key":"X-Request-Id","value":"655cd082-d64f-4212-99f9-affa2df98de6"},{"key":"Date","value":"Fri, 14 Aug 2020 12:13:32 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Assinaturas\",\n        \"created_by_name\": \"Darth Sidius\",\n        \"start_date\": \"15/05/2020\",\n        \"end_date\": \"15/07/2020\",\n        \"today\": \"14/08/2020\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"employee_name\": {\n                        \"title\": \"Colaborador\"\n                    },\n                    \"employee_code\": {\n                        \"title\": \"Matrícula\"\n                    },\n                    \"team_name\": {\n                        \"title\": \"Time\"\n                    },\n                    \"closing_number\": {\n                        \"title\": \"Número do Fechamento\"\n                    },\n                    \"closing_period\": {\n                        \"title\": \"Período (Fechamento)\"\n                    },\n                    \"signed\": {\n                        \"title\": \"Assinado?\"\n                    },\n                    \"manager_name\": {\n                        \"title\": \"Nome do Gestor\"\n                    },\n                    \"validated\": {\n                        \"title\": \"Validado?\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"employee_code\": \"123123\",\n                        \"team_name\": \"0001 - Administração\",\n                        \"closing_number\": \"000000065\",\n                        \"closing_period\": \"01/07/2020 à 05/07/2020\",\n                        \"signed\": \"Sim\",\n                        \"validated\": \"Sim\",\n                        \"manager_name\": \"Darth Sidius\"\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": null\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1597407209,\n        \"ip\": \"192.168.48.1\"\n    }\n}"}],"_postman_id":"6a75f01c-de91-4106-b51c-82c166f61cd1"},{"name":"Atrasos","id":"8582eadb-8e07-4ab4-b3c3-920e44eb019b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-10-02\",\n    \"end_date\": \"2020-11-05\",\n    \"group_by\": \"\",\n    \"row_filters\": \"employee_name, cpf, shift, time_card_expect, time_card_done, delays_time\",\n    \"columns\": \"\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/delays","description":"<p>Exibe o relatório de Atrasos.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Sim</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório, ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo Departamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<p>Indisponíveis.</p>\n<h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>não</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>date</td>\n<td>não</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>não</td>\n<td>Centro de custos</td>\n</tr>\n<tr>\n<td>department</td>\n<td>não</td>\n<td>Departamento</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>time_card_expected</td>\n<td>não</td>\n<td>Primeiro ponto previsto</td>\n</tr>\n<tr>\n<td>time_card_done</td>\n<td>não</td>\n<td>Primeiro ponto realizado</td>\n</tr>\n<tr>\n<td>delay_time</td>\n<td>não</td>\n<td>Tempo de atraso</td>\n</tr>\n<tr>\n<td>tolerance_time</td>\n<td>não</td>\n<td>Tempo de tolerância considerado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","delays"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"e50bf0ba-67a8-43ec-9080-bfd9a10bc741","name":"Exemplo JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-08-20\",\n    \"end_date\": \"2018-09-19\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"compensatory,missing_time_1h,missing_time_2h,missing_time_3h,missing_time_4h,missing_time_5h,missing_time_6h,missing_time_7h,missing_time_8h\",\n    \"columns\": \"name,cost_center,leaders,total_working_time,total_missing_time,total_worked_time,percent_abs\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/absenteeism"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:20:15 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f292a7305d3c0f85a95ab7c4af13827f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"cf4eb71c-57e3-4bc5-8340-a9ab6d380fe1","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"12.025964","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Absenteísmo\",\n    \"created_by_name\": \"Frodo\",\n    \"start_date\": \"20/08/2018\",\n    \"end_date\": \"19/09/2018\",\n    \"today\": \"21/11/2018\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"name\": {\n            \"title\": \"Nome\"\n          },\n          \"cost_center\": {\n            \"title\": \"Centro de custos\"\n          },\n          \"leaders\": {\n            \"title\": \"Gestores\"\n          },\n          \"total_working_time\": {\n            \"title\": \"Previsto\"\n          },\n          \"total_missing_time\": {\n            \"title\": \"Ausência\"\n          },\n          \"total_worked_time\": {\n            \"title\": \"Presença\"\n          },\n          \"percent_abs\": {\n            \"title\": \"ABS\"\n          }\n        },\n        \"data\": [\n          {\n            \"name\": \"Darth Vader\",\n            \"cost_center\": \"Geral\",\n            \"leaders\": \"Gollum\",\n            \"total_working_time\": \"112:00\",\n            \"total_missing_time\": \"104:00\",\n            \"total_worked_time\": \"00:00\",\n            \"percent_abs\": \"92,86 %\"\n          },\n          {\n            \"name\": \"Frodo Bolseiro\",\n            \"cost_center\": \"Geral\",\n            \"leaders\": \"Gollum\",\n            \"total_working_time\": \"24:00\",\n            \"total_missing_time\": \"24:00\",\n            \"total_worked_time\": \"00:00\",\n            \"percent_abs\": \"100,00 %\"\n          }\n        ],\n        \"footer\": [\n          {\n            \"name\": \"TOTAIS\",\n            \"cost_center\": \"\",\n            \"leaders\": \"\",\n            \"total_working_time\": \"136:00\",\n            \"total_missing_time\": \"128:00\",\n            \"total_worked_time\": \"00:00\",\n            \"percent_abs\": \"94,12 %\"\n          }\n        ],\n        \"totals\": [\n          {\n            \"title\": \"Total\",\n            \"total\": 22\n          }\n        ]\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1542806413,\n    \"ip\": \"127.0.0.1\"\n  }\n}"}],"_postman_id":"8582eadb-8e07-4ab4-b3c3-920e44eb019b"},{"name":"Auditoria","id":"21238c0d-b88f-43af-ac27-ffc6b15c0df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-08-01\",\n    \"end_date\": \"2020-09-10\",\n    \"group_by\": \"team\",\n    \"additional_row_filters\": \"without_allowances\",\n    \"row_filters\": \"consecutives_work_days,more_then_ten_hours,less_then_one_hour,missing_work_days,missing_time,missing_rest_time,more_then_two_extra,missing_interval_time,with_inactives\",\n    \"columns\": \"name,date,occurrence,value,worked_hours,employee_id\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/audit","description":"<p>Rota para extração do relatório de Auditoria</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Agrupamentos disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>less_then_one_hour</td>\n<td>Não</td>\n<td>-1 hora de intervalo</td>\n</tr>\n<tr>\n<td>less_then_thirtye_minutes</td>\n<td>Não</td>\n<td>-30 minutos de intervalo</td>\n</tr>\n<tr>\n<td>more_then_ten_hours</td>\n<td>Não</td>\n<td>+10 horas de jornada</td>\n</tr>\n<tr>\n<td>more_then_two_extra</td>\n<td>Não</td>\n<td>+2 Horas Extras</td>\n</tr>\n<tr>\n<td>consecutives_work_days</td>\n<td>Não</td>\n<td>+6 dias de trabalho</td>\n</tr>\n<tr>\n<td>uninterrupteds_work_hours</td>\n<td>Não</td>\n<td>+6 horas ininterruptas de trabalho</td>\n</tr>\n<tr>\n<td>overnight_time</td>\n<td>Não</td>\n<td>Adicional Noturno</td>\n</tr>\n<tr>\n<td>missing_work_days</td>\n<td>Não</td>\n<td>Falta</td>\n</tr>\n<tr>\n<td>night_extra_time</td>\n<td>Não</td>\n<td>Hora extra Noturna</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Horas Extras</td>\n</tr>\n<tr>\n<td>missing_time</td>\n<td>Não</td>\n<td>Horas Faltantes</td>\n</tr>\n<tr>\n<td>missing_rest_time</td>\n<td>Não</td>\n<td>Interjornada insuficiente</td>\n</tr>\n<tr>\n<td>missing_interval_time</td>\n<td>Não</td>\n<td>Intrajornada insuficiente</td>\n</tr>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir colaboradores inativos?</td>\n</tr>\n<tr>\n<td>less_interval_time</td>\n<td>Não</td>\n<td>Intervalo menor do que o previsto</td>\n</tr>\n<tr>\n<td>pauses</td>\n<td>Não</td>\n<td>Pausa insuficiente</td>\n</tr>\n<tr>\n<td>british_time</td>\n<td>Não</td>\n<td>Registros idênticos a jornada (Horário britânico)</td>\n</tr>\n<tr>\n<td>less_pauses_time</td>\n<td>Não</td>\n<td>Tempo pausa menor do que o previsto</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>worked_hours</td>\n<td>Não</td>\n<td>Horas trabalhadas</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Não</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome do colaborador</td>\n</tr>\n<tr>\n<td>occurrence</td>\n<td>Sim</td>\n<td>Ocorrência</td>\n</tr>\n<tr>\n<td>value</td>\n<td>Sim</td>\n<td>Valor</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","audit"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"b4b02377-a074-44ce-a438-2f5624d372ed","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-03\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"consecutives_work_days,more_then_ten_hours,less_then_one_hour,missing_work_days,missing_time,missing_rest_time,more_then_two_extra,with_inactives\",\n    \"columns\": \"name,date,occurrence,value\",\n    \"format\": \"csv\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/audit"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:46:08 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"26bdf4c71267f76d2181d1008b7ebc5e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"5346f030-b2c6-469d-bb59-01f0e14cfb16","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.130108","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Auditoria\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 01/09/2018 até 03/09/2018\n\nEquipe,Administração\nNome,Data,Ocorrência,Valor\nDarth vader,\"Sáb, 01/09/2018\",Falta,Não justificada\nDarth vader,\"Sáb, 01/09/2018\",Horas Faltantes,08:00\nDarth vader,\"Dom, 02/09/2018\",Falta,Não justificada\nDarth vader,\"Dom, 02/09/2018\",Horas Faltantes,08:00\nDarth vader,\"Seg, 03/09/2018\",Falta,Não justificada\nDarth vader,\"Seg, 03/09/2018\",Horas Faltantes,08:00\nResumo,Totais\nMais de 6 dias de trabalho consecutivos,0\nMais de 10 horas de jornada,0\nMenos de 1 hora de intervalo,0\nFalta,3\nHoras Faltantes,24:00\nMenos de 11:00 horas entre jornada,0\nMais de duas horas extras,0\n\n\n0.084103119\n"},{"id":"bff3b7a1-f7bb-4875-a187-acfecfe27fff","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-03\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"consecutives_work_days,more_then_ten_hours,less_then_one_hour,missing_work_days,missing_time,missing_rest_time,more_then_two_extra,missing_interval_time,with_inactives\",\n    \"columns\": \"name,date,occurrence,value\",\n    \"format\": \"json\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/audit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:47:30 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a5bfec1ba70a2cb0d2b66a5687ef6307\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"22ec569f-a73e-414c-b57e-7e4b3dca9c7d","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.117868","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Auditoria\",\"created_by_name\":\"Base de teste Alex Pontomais\",\"start_date\":\"01/09/2018\",\"end_date\":\"03/09/2018\",\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"name\":{\"title\":\"Nome\"},\"date\":{\"title\":\"Data\"},\"occurrence\":{\"title\":\"Ocorrência\"},\"value\":{\"title\":\"Valor\"}},\"data\":[{\"name\":\"Darth vader\",\"date\":\"Sáb, 01/09/2018\",\"occurrence\":\"Falta\",\"value\":\"Não justificada\"},{\"name\":\"Darth vader\",\"date\":\"Sáb, 01/09/2018\",\"occurrence\":\"Horas Faltantes\",\"value\":\"08:00\"},{\"name\":\"Darth vader\",\"date\":\"Dom, 02/09/2018\",\"occurrence\":\"Falta\",\"value\":\"Não justificada\"},{\"name\":\"Darth vader\",\"date\":\"Dom, 02/09/2018\",\"occurrence\":\"Horas Faltantes\",\"value\":\"08:00\"},{\"name\":\"Darth vader\",\"date\":\"Seg, 03/09/2018\",\"occurrence\":\"Falta\",\"value\":\"Não justificada\"},{\"name\":\"Darth vader\",\"date\":\"Seg, 03/09/2018\",\"occurrence\":\"Horas Faltantes\",\"value\":\"08:00\"}],\"footer\":null,\"totals\":[{\"title\":\"Mais de 6 dias de trabalho consecutivos\",\"total\":0},{\"title\":\"Mais de 10 horas de jornada\",\"total\":0},{\"title\":\"Menos de 1 hora de intervalo\",\"total\":0},{\"title\":\"Falta\",\"total\":3},{\"title\":\"Horas Faltantes\",\"total\":\"24:00\"},{\"title\":\"Menos de 11:00 horas entre jornada\",\"total\":0},{\"title\":\"Mais de duas horas extras\",\"total\":0}]}]],\"meta\":{\"now\":1542808050,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"21238c0d-b88f-43af-ac27-ffc6b15c0df7"},{"name":"Banco de horas","id":"38602035-b900-4f8a-bbd3-ff28841ac632","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,registration_number,date,extra_time,missing_time,interval_time,regular_time,time_balance\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/time_balances","description":"<p>Rota para extração do relatório de Banco de Horas<br /><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Agrupamentos disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluí colaboradores que não registram ponto</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Total de horas extras</td>\n</tr>\n<tr>\n<td>overnight_extra_time</td>\n<td>Não</td>\n<td>Total de horas extras noturnas</td>\n</tr>\n<tr>\n<td>missing_time</td>\n<td>Não</td>\n<td>Horas faltantes</td>\n</tr>\n<tr>\n<td>interval_time</td>\n<td>Não</td>\n<td>Horas em intervalo</td>\n</tr>\n<tr>\n<td>regular_time</td>\n<td>Não</td>\n<td>Horas normais</td>\n</tr>\n<tr>\n<td>time_balance_resume</td>\n<td>Não</td>\n<td>Resumo de banco de horas</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>Sim</td>\n<td>Saldo</td>\n</tr>\n<tr>\n<td>overtime_missing_hours</td>\n<td>Não</td>\n<td>Saldo de banco de horas negativo</td>\n</tr>\n<tr>\n<td>time_balance_entries</td>\n<td>Não</td>\n<td>Lançamento de banco de horas</td>\n</tr>\n<tr>\n<td>time_balance_settled</td>\n<td>Não</td>\n<td>Horas quitadas</td>\n</tr>\n<tr>\n<td>time_balance_factors</td>\n<td>Não</td>\n<td>Fatores acumulativos</td>\n</tr>\n<tr>\n<td>distributed_hours</td>\n<td>Não</td>\n<td>Distribuição horas extras e faltantes</td>\n</tr>\n<tr>\n<td>business_unit_name</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>department_name</td>\n<td>Não</td>\n<td>Departamento</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","time_balances"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"faf278be-08eb-4419-9214-9da42516dfe1","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,registration_number,date,extra_time,missing_time,interval_time,regular_time,time_balance\",\n    \"format\": \"json\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/time_balances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:49:32 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"b37ef0eb8d17470891940078546a2025\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"12674afa-b5ee-4017-bea6-50e0d3aa2a80","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.072905","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Banco de horas\",\"created_by_name\":\"Base de teste Alex Pontomais\",\"start_date\":\"01/09/2018\",\"end_date\":\"05/09/2018\",\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"name\":{\"title\":\"Nome\"},\"registration_number\":{\"title\":\"Matrícula\"},\"date\":{\"title\":\"Data\"},\"extra_time\":{\"title\":\"Total de horas extras\"},\"missing_time\":{\"title\":\"Horas faltantes\"},\"interval_time\":{\"title\":\"Horas em intervalo\"},\"regular_time\":{\"title\":\"Horas normais\"},\"time_balance\":{\"title\":\"Saldo\"}},\"data\":[{\"name\":\"Darth vader\",\"registration_number\":\"0001\",\"date\":\"Sáb, 01/09/2018\",\"missing_time\":\"08:00\",\"extra_time\":\"00:00\",\"regular_time\":\"00:00\",\"interval_time\":\"00:00\"},{\"name\":\"Darth vader\",\"registration_number\":\"0001\",\"date\":\"Dom, 02/09/2018\",\"missing_time\":\"08:00\",\"extra_time\":\"00:00\",\"regular_time\":\"00:00\",\"interval_time\":\"00:00\"},{\"name\":\"Darth vader\",\"registration_number\":\"0001\",\"date\":\"Seg, 03/09/2018\",\"missing_time\":\"08:00\",\"extra_time\":\"00:00\",\"regular_time\":\"00:00\",\"interval_time\":\"00:00\"},{\"name\":\"Darth vader\",\"registration_number\":\"0001\",\"date\":\"Ter, 04/09/2018\",\"missing_time\":\"08:00\",\"extra_time\":\"00:00\",\"regular_time\":\"00:00\",\"interval_time\":\"00:00\"},{\"name\":\"Darth vader\",\"registration_number\":\"0001\",\"date\":\"Qua, 05/09/2018\",\"missing_time\":\"08:00\",\"extra_time\":\"00:00\",\"regular_time\":\"00:00\",\"interval_time\":\"00:00\"}],\"footer\":null,\"totals\":null}]],\"meta\":{\"now\":1542808172,\"ip\":\"127.0.0.1\"}}"},{"id":"fd2506e9-88a7-4153-b622-78fd7aef5f3c","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,registration_number,date,total_extra,missing_time,interval_time,regular_time,time_balance\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/time_balances"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:49:09 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"660b14aabdb974e78f88ea6259ad5148\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"280bd9e2-fa41-4f61-809c-66d9de6786d8","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.092630","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Banco de horas\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 01/09/2018 até 05/09/2018\n\nEquipe,Administração\nNome,Matrícula,Data,Total de horas extras,Horas faltantes,Horas em intervalo,Horas normais,Saldo\nDarth vader,0001,\"Sáb, 01/09/2018\",00:00,08:00,00:00,00:00,\nDarth vader,0001,\"Dom, 02/09/2018\",00:00,08:00,00:00,00:00,\nDarth vader,0001,\"Seg, 03/09/2018\",00:00,08:00,00:00,00:00,\nDarth vader,0001,\"Ter, 04/09/2018\",00:00,08:00,00:00,00:00,\nDarth vader,0001,\"Qua, 05/09/2018\",00:00,08:00,00:00,00:00,\n\n\n0.037800863\n"}],"_postman_id":"38602035-b900-4f8a-bbd3-ff28841ac632"},{"name":"Benefícios","id":"c127bb2e-0998-431b-8074-27ac488e24cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-07-08\",\n\t\t\"end_date\":\"2020-09-08\",\n\t\t\"columns\":\"employee_name,team_name,registration_number,foreseen_days,discounted_days,total_working_days,total\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"json\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/benefits","description":"<p>Rota para extração do relatório de benefícios</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access-token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_1h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 1 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_2h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 2 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_3h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 3 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_4h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 4 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_5h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 5 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_6h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 6 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_7h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 7 H.T/dia como dia de trabalho</td>\n</tr>\n<tr>\n<td>worked_more_than_total_time_8h</td>\n<td>Não</td>\n<td>Considerar igual ou mais de 8 H.T/dia como dia de trabalho</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome do Colaborador</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Sim</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>foreseen_days</td>\n<td>Sim</td>\n<td>Dias previstos</td>\n</tr>\n<tr>\n<td>discounted_days</td>\n<td>Sim</td>\n<td>Dias descontados</td>\n</tr>\n<tr>\n<td>total_working_days</td>\n<td>Sim</td>\n<td>Dias trabalhados</td>\n</tr>\n<tr>\n<td>total</td>\n<td>Sim</td>\n<td>Total de benefícios</td>\n</tr>\n<tr>\n<td>days_with_exemption</td>\n<td>Não</td>\n<td>Dias com abono</td>\n</tr>\n<tr>\n<td>days_with_proposals</td>\n<td>Não</td>\n<td>Dias com ajustes</td>\n</tr>\n<tr>\n<td>days_with_absence</td>\n<td>Não</td>\n<td>Dias com férias/afastamento</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","benefits"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"091c82a0-0999-487d-86bf-470ebef49695","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-07-08\",\n\t\t\"end_date\":\"2020-09-08\",\n\t\t\"columns\":\"employee_name,team_name,registration_number,foreseen_days,discounted_days,total_working_days,total\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"csv\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/benefits"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/csv; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"5eeacd96-e5af-44a6-9cd6-9762bdddec75"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\""},{"key":"ETag","value":"W/\"3d527747088eda43d8de857f5cc31319\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"1.938026"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Tue, 15 Sep 2020 13:09:02 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"Relatório de Benefícios\nPor Darth Vader em 15/09/2020\nDe 08/07/2020 até 08/09/2020\n\nEquipe,Colaborador,Matrícula,Dias previstos,Dias descontados,Dias trabalhados,Total de benefícios\nAdministração,Colab 2696,123123,0,0,0,0\nSim,Com Saldo Editado,929005,45,0,0,45\nAdministração,Darth Vader,30896,48,23,16,25\nComercial,Nomes eID's,828620,45,0,0,45\nSim,Nomes eID's,830446,45,0,0,45\nAdministração,Nomes eID's,394331,45,0,0,45\nSim,Para Fechamento,,45,0,0,45\nSim,Preenchedo ID's,563379,45,0,0,45\nAdministração,Colab 1293,1293,45,2,1,43\nAdministração,Colab 1315,123123,45,0,0,45\nSim,Colab 1378,1378,54,25,1,29\nAdministração,Colab 1385,724106,39,0,7,39\nAdministração,Sem preencher,601691,45,0,0,45\nAdministração,Tolerancia Vs Banco,,45,0,0,45\nSim,Tres Colab-2691,,45,0,0,45\nComercial,Três Terceiro Teste,6775,45,0,0,45\nAdministração,Um Teste,1234,45,0,0,45\nResumo,Totais\nTotal,17\n\n\n1.81353675\n"},{"id":"4fcd207d-2cc2-49c4-9748-ff04ca9d3a45","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-07-08\",\n\t\t\"end_date\":\"2020-09-08\",\n\t\t\"columns\":\"employee_name,team_name,registration_number,foreseen_days,discounted_days,total_working_days,total\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"json\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/benefits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"2b85e54d4ce2267b65afbf7d7adb2248\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"4.883254"},{"key":"X-Request-Id","value":"adb1eadf-e0d6-4f40-a9ae-85acc6e42605"},{"key":"Date","value":"Tue, 15 Sep 2020 13:07:03 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Benefícios\",\n        \"created_by_name\": \"Darth Vader\",\n        \"start_date\": \"08/07/2020\",\n        \"end_date\": \"08/09/2020\",\n        \"today\": \"15/09/2020\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"team_name\": {\n                        \"title\": \"Equipe\"\n                    },\n                    \"employee_name\": {\n                        \"title\": \"Colaborador\"\n                    },\n                    \"registration_number\": {\n                        \"title\": \"Matrícula\"\n                    },\n                    \"foreseen_days\": {\n                        \"title\": \"Dias previstos\"\n                    },\n                    \"discounted_days\": {\n                        \"title\": \"Dias descontados\"\n                    },\n                    \"total_working_days\": {\n                        \"title\": \"Dias trabalhados\"\n                    },\n                    \"total\": {\n                        \"title\": \"Total de benefícios\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"employee_name\": \"Colab 2696\",\n                        \"registration_number\": \"123123\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 0,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 0\n                    },\n                    {\n                        \"employee_name\": \"Com Saldo Editado\",\n                        \"registration_number\": \"929005\",\n                        \"team_name\": \"Sim\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"registration_number\": \"30896\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 48,\n                        \"discounted_days\": 23,\n                        \"total_working_days\": 16,\n                        \"total\": 25\n                    },\n                    {\n                        \"employee_name\": \"Nomes eID's\",\n                        \"registration_number\": \"828620\",\n                        \"team_name\": \"Comercial\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Nomes eID's\",\n                        \"registration_number\": \"830446\",\n                        \"team_name\": \"Sim\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Nomes eID's\",\n                        \"registration_number\": \"394331\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Para Fechamento\",\n                        \"registration_number\": null,\n                        \"team_name\": \"Sim\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Preenchedo ID's\",\n                        \"registration_number\": \"563379\",\n                        \"team_name\": \"Sim\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Colab 1293\",\n                        \"registration_number\": \"1293\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 2,\n                        \"total_working_days\": 1,\n                        \"total\": 43\n                    },\n                    {\n                        \"employee_name\": \"Colab 1315\",\n                        \"registration_number\": \"123123\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Colab 1378\",\n                        \"registration_number\": \"1378\",\n                        \"team_name\": \"Sim\",\n                        \"foreseen_days\": 54,\n                        \"discounted_days\": 25,\n                        \"total_working_days\": 1,\n                        \"total\": 29\n                    },\n                    {\n                        \"employee_name\": \"Colab 1385\",\n                        \"registration_number\": \"724106\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 39,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 7,\n                        \"total\": 39\n                    },\n                    {\n                        \"employee_name\": \"Sem preencher\",\n                        \"registration_number\": \"601691\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Tolerancia Vs Banco\",\n                        \"registration_number\": null,\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Tres Colab-2691\",\n                        \"registration_number\": null,\n                        \"team_name\": \"Sim\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Três Terceiro Teste\",\n                        \"registration_number\": \"6775\",\n                        \"team_name\": \"Comercial\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    },\n                    {\n                        \"employee_name\": \"Um Teste\",\n                        \"registration_number\": \"1234\",\n                        \"team_name\": \"Administração\",\n                        \"foreseen_days\": 45,\n                        \"discounted_days\": 0,\n                        \"total_working_days\": 0,\n                        \"total\": 45\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Total\",\n                        \"total\": 17\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1600175220,\n        \"ip\": \"172.26.0.1\"\n    }\n}"}],"_postman_id":"c127bb2e-0998-431b-8074-27ac488e24cf"},{"name":"Colaboradores","id":"511fe5d6-dc16-42a0-a7bf-1a1431fb65ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"group_by\": \"\",\n        \"row_filters\": \"with_inactives,has_time_cards\",\n        \"columns\": \"id,client_preference,business_unit,resignation_date,name,pis,registration_number,job_title,team,shift,is_clt,has_time_cards,use_qrcode,time_card_source,cpf,email,cost_center,admission_date,has_system_access,group,employee_status,last_closed_date,face_id\",\n        \"format\": \"json\",\n        \"filter_by\": \"business_unit_id\",\n        \"business_unit_id\": 1234        \n    }\n}"},"url":"{{server_url}}/external_api/v1/reports/employees","description":"<p>Exibe o relatório de colaboradores.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Inclui colaboradores inativos</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Não</td>\n<td>Identificador único do colaborador</td>\n</tr>\n<tr>\n<td>client_preference</td>\n<td>Não</td>\n<td>Configuração de controle de ponto</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Não</td>\n<td>Unidade de Negócio</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>pis</td>\n<td>Não</td>\n<td>PIS</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matricula</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Não</td>\n<td>Cargo</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Equipe</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>is_clt</td>\n<td>Não</td>\n<td>É CLT</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Registra ponto</td>\n</tr>\n<tr>\n<td>use_qrcode</td>\n<td>Não</td>\n<td>Usa QR Ponto</td>\n</tr>\n<tr>\n<td>time_card_source</td>\n<td>Não</td>\n<td>Método de ponto</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>Não</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Não</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Não</td>\n<td>Centro de custo</td>\n</tr>\n<tr>\n<td>admission_date</td>\n<td>Não</td>\n<td>Data de admissão</td>\n</tr>\n<tr>\n<td>resignation_date</td>\n<td>Não</td>\n<td>Data de demissão</td>\n</tr>\n<tr>\n<td>has_system_access</td>\n<td>Não</td>\n<td>Acessa o sistema</td>\n</tr>\n<tr>\n<td>group</td>\n<td>Não</td>\n<td>Grupo</td>\n</tr>\n<tr>\n<td>employee_status</td>\n<td>Não</td>\n<td>Ativo</td>\n</tr>\n<tr>\n<td>last_closed_date</td>\n<td>Não</td>\n<td>Data do último fechamento</td>\n</tr>\n<tr>\n<td>face_id</td>\n<td>Não</td>\n<td>Rosto identificado</td>\n</tr>\n<tr>\n<td>page</td>\n<td>number</td>\n<td>Define a pagina ser carregada</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>number</td>\n<td>Define o total de registro por página(limitado a 500) ver <strong>nota per_page</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nota per page</strong></p>\n<p>Quando informado na 1 request no retorno vai trazer o total de paginas no heading na propriedade page sendo page/total de página com a informação de total de página pode ser fazer o loop para obter todos os registros</p>\n","urlObject":{"path":["external_api","v1","reports","employees"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"6fe73ce0-fa7d-4b48-8e5e-825a84d7faa7","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do client."}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"group_by\": \"\",\n        \"row_filters\": \"with_inactives,has_time_cards\",\n        \"columns\": \"id,client_preference,business_unit,resignation_date,name,pis,registration_number,job_title,team,shift,is_clt,has_time_cards,use_qrcode,time_card_source,cpf,email,cost_center,admission_date,has_system_access,group,employee_status,last_closed_date,face_id\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/employees"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:51:36 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"97d2f6218aae47db3da916b6846af3ac\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"9d63ec32-36ae-4bb0-8437-4006a2e0ea72","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.118850","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Colaboradores\",\n    \"created_by_name\": \"Base de teste Pontomais\",\n    \"start_date\": null,\n    \"end_date\": null,\n    \"today\": \"06/04/2023\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"id\": {\n            \"title\": \"ID\"\n          },\n          \"name\": {\n            \"title\": \"Nome\"\n          },\n          \"pis\": {\n            \"title\": \"PIS\"\n          },\n          \"registration_number\": {\n            \"title\": \"Matrícula\"\n          },\n          \"job_title\": {\n            \"title\": \"Cargo\"\n          },\n          \"team\": {\n            \"title\": \"Equipe\"\n          },\n          \"shift\": {\n            \"title\": \"Turno\"\n          },\n          \"client_preference\": {\n            \"title\": \"Configurações de controle de ponto\"\n          },\n          \"is_clt\": {\n            \"title\": \"É CLT?\"\n          },\n          \"has_time_cards\": {\n            \"title\": \"Registra ponto?\"\n          },\n          \"use_qrcode\": {\n            \"title\": \"Usa QR Ponto?\"\n          },\n          \"time_card_source\": {\n            \"title\": \"Método de ponto\"\n          },\n          \"cpf\": {\n            \"title\": \"CPF\"\n          },\n          \"email\": {\n            \"title\": \"E-mail\"\n          },\n          \"cost_center\": {\n            \"title\": \"Centro de custo\"\n          },\n          \"admission_date\": {\n            \"title\": \"Data de admissão\"\n          },\n          \"resignation_date\": {\n            \"title\": \"Data de demissão\"\n          },\n          \"has_system_access\": {\n            \"title\": \"Acessa o sistema ?\"\n          },\n          \"group\": {\n            \"title\": \"Grupo\"\n          },\n          \"employee_status\": {\n            \"title\": \"Ativo?\"\n          },\n          \"last_closed_date\": {\n            \"title\": \"Data do último fechamento\"\n          },\n          \"face_id\": {\n            \"title\": \"Rosto identificado?\"\n          },\n          \"business_unit\": {\n            \"title\": \"Unidade de Negócio\"\n          }\n        },\n        \"data\": [\n          {\n            \"name\": \"Abgail Emília Salazar\",\n            \"pis\": \"839.94952.10-7\",\n            \"registration_number\": null,\n            \"client_preference\": \"\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"166.741.182-90\",\n            \"email\": null,\n            \"admission_date\": \"Ter, 07/08/2018\",\n            \"resignation_date\": \"Qua, 08/08/2018\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 177394,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno administrativo\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"Adriano Leite Ribeiro\",\n            \"pis\": \"322.75703.90-6\",\n            \"registration_number\": \"123\",\n            \"client_preference\": \"Geral\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"702.948.290-59\",\n            \"email\": \"teste@testeconvenia.com.br\",\n            \"admission_date\": \"Qui, 24/12/2020\",\n            \"resignation_date\": \"\",\n            \"has_system_access\": \"Sim\",\n            \"group\": \"Colaboradores\",\n            \"employee_status\": \"Sim\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 1487669,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno 2\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Administrativo\"\n          },\n          {\n            \"name\": \"Adriano Leite Ribeiro Souza\",\n            \"pis\": \"322.75703.90-6\",\n            \"registration_number\": \"123\",\n            \"client_preference\": \"\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"702.948.290-59\",\n            \"email\": \"emailteste@email.com\",\n            \"admission_date\": \"Seg, 25/09/2017\",\n            \"resignation_date\": \"Seg, 15/10/2018\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 197909,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno administrativo\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"agenor barbosa\",\n            \"pis\": \"807.77256.27-2\",\n            \"registration_number\": null,\n            \"client_preference\": \"\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"489.460.670-47\",\n            \"email\": null,\n            \"admission_date\": \"Dom, 10/10/2010\",\n            \"resignation_date\": \"Seg, 13/08/2018\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 179815,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno administrativo\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"Alex Lam\",\n            \"pis\": \"038.56989.56-2\",\n            \"registration_number\": \"123\",\n            \"client_preference\": \"Geral\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Não\",\n            \"use_qrcode\": \"Sim\",\n            \"time_card_source\": \"\",\n            \"cpf\": \"288.553.000-67\",\n            \"email\": \"teste.alex@pontomais.com\",\n            \"admission_date\": \"Seg, 01/01/2018\",\n            \"resignation_date\": \"\",\n            \"has_system_access\": \"Sim\",\n            \"group\": \"Administradores\",\n            \"employee_status\": \"Sim\",\n            \"last_closed_date\": \"Qua, 03/10/2018\",\n            \"face_id\": \"Não\",\n            \"id\": 143505,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"teste cíclico\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"Alexandre Mário Novaes\",\n            \"pis\": \"838.95376.90-6\",\n            \"registration_number\": null,\n            \"client_preference\": \"Geral\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"515.460.210-27\",\n            \"email\": null,\n            \"admission_date\": \"Qui, 23/05/2019\",\n            \"resignation_date\": \"\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"Colaboradores\",\n            \"employee_status\": \"Sim\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 334367,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno 2\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"Alicia Catellan\",\n            \"pis\": \"094.01563.69-7\",\n            \"registration_number\": \"\",\n            \"client_preference\": \"Geral\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"664.408.271-89\",\n            \"email\": \"alicia-catellan@tuamaeaquelaursa.com\",\n            \"admission_date\": \"Sex, 01/10/2021\",\n            \"resignation_date\": \"Ter, 18/01/2022\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"Colaboradores\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 1705461,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno 2\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"Alicia Catellan\",\n            \"pis\": \"094.01563.69-7\",\n            \"registration_number\": \"2202\",\n            \"client_preference\": \"Geral\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"664.408.271-89\",\n            \"email\": \"aduvasiuvbavbiuer@aunsudbvaiuf.com\",\n            \"admission_date\": \"Seg, 10/05/2021\",\n            \"resignation_date\": \"Ter, 09/08/2022\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"Colaboradores\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 2394439,\n            \"job_title\": \"Analista\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno 2\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          },\n          {\n            \"name\": \"Alisson Ramses Becker\",\n            \"pis\": \"698.04394.28-5\",\n            \"registration_number\": \"\",\n            \"client_preference\": \"\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"963.922.230-53\",\n            \"email\": null,\n            \"admission_date\": \"Ter, 08/11/2016\",\n            \"resignation_date\": \"Ter, 15/01/2019\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"Colaboradores\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 183514,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno administrativo\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Administrativo\"\n          },\n          {\n            \"name\": \"Alisson Ramses Becker\",\n            \"pis\": \"698.04394.28-5\",\n            \"registration_number\": \"5420\",\n            \"client_preference\": \"Geral\",\n            \"is_clt\": \"Sim\",\n            \"has_time_cards\": \"Sim\",\n            \"use_qrcode\": \"Não\",\n            \"time_card_source\": \"Registro Simples\",\n            \"cpf\": \"963.922.230-53\",\n            \"email\": \"alisson@teste.com.br\",\n            \"admission_date\": \"Ter, 20/01/2015\",\n            \"resignation_date\": \"Qui, 28/10/2021\",\n            \"has_system_access\": \"Não\",\n            \"group\": \"\",\n            \"employee_status\": \"Não\",\n            \"last_closed_date\": \"\",\n            \"face_id\": \"Não\",\n            \"id\": 1439846,\n            \"job_title\": \"Gerente geral\",\n            \"team\": \"Administração\",\n            \"shift\": \"Turno 2\",\n            \"business_unit\": \"Empresa demonstração\",\n            \"cost_center\": \"Geral\"\n          }\n        ],\n        \"footer\": null,\n        \"totals\": [\n          {\n            \"title\": \"Total\",\n            \"total\": 10\n          }\n        ]\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1680807674,\n    \"ip\": \"181.33.133.213\",\n    \"obfuscated\": false\n  }\n}"},{"id":"d41ce13d-1468-45fc-9544-de391914d686","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"group_by\": \"\",\n        \"row_filters\": \"with_inactives,has_time_cards\",\n        \"columns\": \"id,client_preference,business_unit,resignation_date,name,pis,registration_number,job_title,team,shift,is_clt,has_time_cards,use_qrcode,time_card_source,cpf,email,cost_center,admission_date,has_system_access,group,employee_status,last_closed_date,face_id\",\n        \"format\": \"csv\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/employees"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:51:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"688f1f61bf078ad71f971f8d45d4c176\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"5e322326-ddd5-4021-9c42-ec94031a0b27","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.686668","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Colaboradores\nPor Base de teste Pontomais em 06/04/2023\n\nID,Nome,PIS,Matrícula,Cargo,Equipe,Turno,Configurações de controle de ponto,É CLT?,Registra ponto?,Usa QR Ponto?,Método de ponto,CPF,E-mail,Centro de custo,Data de admissão,Data de demissão,Acessa o sistema ?,Grupo,Ativo?,Data do último fechamento,Rosto identificado?,Unidade de Negócio\n177394,Abgail Emília Salazar,839.94952.10-7,,Gerente geral,Administração,Turno administrativo,\"\",Sim,Sim,Não,Registro Simples,166.741.182-90,,Geral,\"Ter, 07/08/2018\",\"Qua, 08/08/2018\",Não,\"\",Não,\"\",Não,Empresa demonstração\n1487669,Adriano Leite Ribeiro,322.75703.90-6,123,Gerente geral,Administração,Turno 2,Geral,Sim,Sim,Não,Registro Simples,702.948.290-59,teste@testeconvenia.com.br,Administrativo,\"Qui, 24/12/2020\",\"\",Sim,Colaboradores,Sim,\"\",Não,Empresa demonstração\n197909,Adriano Leite Ribeiro Souza,322.75703.90-6,123,Gerente geral,Administração,Turno administrativo,\"\",Sim,Sim,Não,Registro Simples,702.948.290-59,emailteste@email.com,Geral,\"Seg, 25/09/2017\",\"Seg, 15/10/2018\",Não,\"\",Não,\"\",Não,Empresa demonstração\n179815,agenor barbosa,807.77256.27-2,,Gerente geral,Administração,Turno administrativo,\"\",Sim,Sim,Não,Registro Simples,489.460.670-47,,Geral,\"Dom, 10/10/2010\",\"Seg, 13/08/2018\",Não,\"\",Não,\"\",Não,Empresa demonstração\n143505,Alex Lam,038.56989.56-2,123,Gerente geral,Administração,teste cíclico,Geral,Sim,Não,Sim,\"\",288.553.000-67,teste.alex@pontomais.com,Geral,\"Seg, 01/01/2018\",\"\",Sim,Administradores,Sim,\"Qua, 03/10/2018\",Não,Empresa demonstração\n334367,Alexandre Mário Novaes,838.95376.90-6,,Gerente geral,Administração,Turno 2,Geral,Sim,Sim,Não,Registro Simples,515.460.210-27,,Geral,\"Qui, 23/05/2019\",\"\",Não,Colaboradores,Sim,\"\",Não,Empresa demonstração\n1705461,Alicia Catellan,094.01563.69-7,\"\",Gerente geral,Administração,Turno 2,Geral,Sim,Sim,Não,Registro Simples,664.408.271-89,alicia-catellan@tuamaeaquelaursa.com,Geral,\"Sex, 01/10/2021\",\"Ter, 18/01/2022\",Não,Colaboradores,Não,\"\",Não,Empresa demonstração\n2394439,Alicia Catellan,094.01563.69-7,2202,Analista,Administração,Turno 2,Geral,Sim,Sim,Não,Registro Simples,664.408.271-89,aduvasiuvbavbiuer@aunsudbvaiuf.com,Geral,\"Seg, 10/05/2021\",\"Ter, 09/08/2022\",Não,Colaboradores,Não,\"\",Não,Empresa demonstração\n183514,Alisson Ramses Becker,698.04394.28-5,\"\",Gerente geral,Administração,Turno administrativo,\"\",Sim,Sim,Não,Registro Simples,963.922.230-53,,Administrativo,\"Ter, 08/11/2016\",\"Ter, 15/01/2019\",Não,Colaboradores,Não,\"\",Não,Empresa demonstração\n1439846,Alisson Ramses Becker,698.04394.28-5,5420,Gerente geral,Administração,Turno 2,Geral,Sim,Sim,Não,Registro Simples,963.922.230-53,alisson@teste.com.br,Geral,\"Ter, 20/01/2015\",\"Qui, 28/10/2021\",Não,\"\",Não,\"\",Não,Empresa demonstração\nResumo,Totais\nTotal,10\n\n\n0.629463921\n"}],"_postman_id":"511fe5d6-dc16-42a0-a7bf-1a1431fb65ff"},{"name":"Equipes","id":"86dc8f37-52a0-48bf-8f4f-f2c292b4d9d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"group_by\": \"\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,business_unit,leaders\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/teams","description":"<p>Rota para extração do relatório de equipes</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>leader_id</td>\n<td>number</td>\n<td>Filtra pelo ID da gestor</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<p>Indisponível</p>\n<p><strong>Filtros adicionais disponíveis:</strong></p>\n<p>Indisponível</p>\n<p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>business_unit</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>leaders</td>\n<td>Não</td>\n<td>Gestores</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","teams"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"87ca722d-40eb-4d93-b30d-a1b377f0409d","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"group_by\": \"\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,business_unit,leaders\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:53:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"270197c18ad0702e65e00e2f87f394e9\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"0461dc67-4733-4037-9535-a9ba01bbb172","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.081847","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Equipes\",\"created_by_name\":\"Base de teste Alex Pontomais\",\"start_date\":null,\"end_date\":null,\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"name\":{\"title\":\"Nome\"},\"business_unit\":{\"title\":\"Unidade de negócio\"},\"leaders\":{\"title\":\"Gestores\"}},\"data\":[{\"name\":\"Administração\",\"business_unit\":\"Empresa demonstração\",\"leaders\":\"Base de teste Alex Pontomais\"},{\"name\":\"Comercial\",\"business_unit\":\"Empresa demonstração\",\"leaders\":\"Base de teste Alex Pontomais\"}],\"footer\":null,\"totals\":[{\"title\":\"Total\",\"total\":2}]}]],\"meta\":{\"now\":1542808436,\"ip\":\"127.0.0.1\"}}"},{"id":"cdab7e92-168d-4f48-9a84-6ceff609ce73","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"group_by\": \"\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,business_unit,leaders\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/teams"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:53:38 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"d211693dca2c41c5be6bd1e8f6394f53\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"854cc1c8-baef-4c70-a9e3-91298bc6561b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.655381","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Equipes\nPor Base de teste Alex Pontomais em 21/11/2018\n\nNome,Unidade de negócio,Gestores\nAdministração,Empresa demonstração,Base de teste Alex Pontomais\nComercial,Empresa demonstração,Base de teste Alex Pontomais\nResumo,Totais\nTotal,2\n\n\n0.593373705\n"}],"_postman_id":"86dc8f37-52a0-48bf-8f4f-f2c292b4d9d1"},{"name":"Faltas","id":"401e412a-5e80-476d-a6a0-24f7a09b10ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,nis,registration_number,job_title,team,shift,date,missing_type,missing_motive\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/missing_days","description":"<p>Rota para extração do relatório de equipes</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluí colaboradores que não registram ponto</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>Não</td>\n<td>PIS</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Não</td>\n<td>Cargo</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Equipe</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>missing_type</td>\n<td>Não</td>\n<td>É abono ?</td>\n</tr>\n<tr>\n<td>missing_motive</td>\n<td>Não</td>\n<td>Motivo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","missing_days"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"83265188-17aa-4e7e-994f-ca444168dcfa","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,nis,registration_number,job_title,team,shift,date,missing_type,missing_motive\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/missing_days"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:55:39 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"a5f3827a298ec330a393cf2a04ef839f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"81fc0efe-0e4d-4a4e-a33f-f14cfebd281e","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.234730","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Faltas\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 01/09/2018 até 05/09/2018\n\nEquipe,Administração\nNome,PIS,Matrícula,Cargo,Equipe,Turno,Data,Abono,Motivo\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,0002 - turno ciclico,\"Sáb, 01/09/2018\",Não,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,0002 - turno ciclico,\"Dom, 02/09/2018\",Não,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,0002 - turno ciclico,\"Seg, 03/09/2018\",Não,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,0002 - turno ciclico,\"Ter, 04/09/2018\",Não,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,0002 - turno ciclico,\"Qua, 05/09/2018\",Não,\nResumo,Totais\nTotal,5\nTotal abonado,0\n\n\n0.171069169\n"},{"id":"9b94f100-4bed-425f-8c53-653edc0a667f","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"name,nis,registration_number,job_title,team,shift,date,missing_type,missing_motive\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/missing_days"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:55:55 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"31aa35213a7ef394b1c815f354cb312c\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"b55a561e-4b84-49f5-92d2-b96e22bfe986","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.083974","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Faltas\",\"created_by_name\":\"Base de teste Alex Pontomais\",\"start_date\":\"01/09/2018\",\"end_date\":\"05/09/2018\",\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"name\":{\"title\":\"Nome\"},\"nis\":{\"title\":\"PIS\"},\"registration_number\":{\"title\":\"Matrícula\"},\"job_title\":{\"title\":\"Cargo\"},\"team\":{\"title\":\"Equipe\"},\"shift\":{\"title\":\"Turno\"},\"date\":{\"title\":\"Data\"},\"missing_type\":{\"title\":\"Abono\"},\"missing_motive\":{\"title\":\"Motivo\"}},\"data\":[{\"name\":\"Darth vader\",\"nis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title\":\"Gerente geral\",\"team\":\"Administração\",\"shift\":\"0002 - turno ciclico\",\"date\":\"Sáb, 01/09/2018\",\"missing_type\":\"Não\",\"missing_motive\":null},{\"name\":\"Darth vader\",\"nis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title\":\"Gerente geral\",\"team\":\"Administração\",\"shift\":\"0002 - turno ciclico\",\"date\":\"Dom, 02/09/2018\",\"missing_type\":\"Não\",\"missing_motive\":null},{\"name\":\"Darth vader\",\"nis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title\":\"Gerente geral\",\"team\":\"Administração\",\"shift\":\"0002 - turno ciclico\",\"date\":\"Seg, 03/09/2018\",\"missing_type\":\"Não\",\"missing_motive\":null},{\"name\":\"Darth vader\",\"nis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title\":\"Gerente geral\",\"team\":\"Administração\",\"shift\":\"0002 - turno ciclico\",\"date\":\"Ter, 04/09/2018\",\"missing_type\":\"Não\",\"missing_motive\":null},{\"name\":\"Darth vader\",\"nis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title\":\"Gerente geral\",\"team\":\"Administração\",\"shift\":\"0002 - turno ciclico\",\"date\":\"Qua, 05/09/2018\",\"missing_type\":\"Não\",\"missing_motive\":null}],\"footer\":null,\"totals\":[{\"title\":\"Total\",\"total\":5},{\"title\":\"Total abonado\",\"total\":0}]}]],\"meta\":{\"now\":1542808555,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"401e412a-5e80-476d-a6a0-24f7a09b10ae"},{"name":"Horas Extras","id":"d7dc3efe-6bda-41ce-b6d6-cf3f8756771f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-10\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,regular_time,extra_time,motive\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/extra_times","description":"<p>Rota para extração do relatório de horas extras</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>time_cards</td>\n<td>Não</td>\n<td>Pontos</td>\n</tr>\n<tr>\n<td>regular_time</td>\n<td>Sim</td>\n<td>Horas normais</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Sim</td>\n<td>Total de H.extras</td>\n</tr>\n<tr>\n<td>motive</td>\n<td>Sim</td>\n<td>Motivo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","extra_times"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"c0e493db-29c9-43a8-b525-37d42edfc657","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-10\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,regular_time,extra_time,motive\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/extra_times"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 14:00:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"cb79f34462b0f2ae5f00c215108439ed\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"bf8f8c74-2a5b-47ca-b08c-b71fa34af3e4","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.120150","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Horas Extras\",\"created_by_name\":\"Base de teste Alex Pontomais\",\"start_date\":\"01/09/2018\",\"end_date\":\"10/09/2018\",\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"employee_name\":{\"title\":\"Nome\"},\"registration_number\":{\"title\":\"Matrícula\"},\"team_name\":{\"title\":\"Equipe\"},\"date\":{\"title\":\"Data\"},\"time_cards\":{\"title\":\"Pontos\",\"subheader\":[{\"title\":\"1ª Entrada\",\"csv_title\":\"1ª Entrada\"},{\"title\":\"1ª Saída\",\"csv_title\":\"1ª Saída\"},{\"title\":\"2ª Entrada\",\"csv_title\":\"2ª Entrada\"},{\"title\":\"2ª Saída\",\"csv_title\":\"2ª Saída\"}]},\"regular_time\":{\"title\":\"Horas normais\"},\"extra_time\":{\"title\":\"Total de H.extras\"},\"motive\":{\"title\":\"Motivo\"}},\"data\":[{\"employee_name\":\"Darth vader\",\"date\":\"Qui, 06/09/2018\",\"regular_time\":\"08:00\",\"extra_time\":\"02:00\",\"motive\":\"\",\"registration_number\":\"0001\",\"team_name\":\"Administração\",\"time_cards\":[{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 08:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e08:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"08:00\"},{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 12:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e12:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"12:00\"},{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 14:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e14:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"14:00\"},{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 20:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e20:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"20:00\"}]}],\"footer\":null,\"totals\":[{\"title\":\"H.Extras justificadas\",\"total\":\"00:00\"},{\"title\":\"H.Extras não justificadas\",\"total\":\"02:00\"}]}]],\"meta\":{\"now\":1542808806,\"ip\":\"127.0.0.1\"}}"},{"id":"609ffd22-70fc-4271-b9f2-2e011996ca6a","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-10\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,regular_time,extra_time,motive\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/extra_times"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:59:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f9996533d76d3cb4f645e9d6087f56a8\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"525c8be8-e2ce-4206-80fc-4c8b60faf39b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.980659","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Horas Extras\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 01/09/2018 até 10/09/2018\n\nEquipe,Administração\nNome,Matrícula,Equipe,Data,1ª Entrada,1ª Saída,2ª Entrada,2ª Saída,Horas normais,Total de H.extras,Motivo\nDarth vader,0001,Administração,\"Qui, 06/09/2018\",08:00,12:00,14:00,20:00,08:00,02:00,\"\"\nResumo,Totais\nH.Extras justificadas,00:00\nH.Extras não justificadas,02:00\n\n\n1.934036727\n"}],"_postman_id":"d7dc3efe-6bda-41ce-b6d6-cf3f8756771f"},{"name":"Horista","id":"db57b523-122f-47f3-9566-2abf6db28413","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente.</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-10\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"end_date,start_date,delta,shift_time,working_delta,total_time,limit_amount,employee_name,limit_type,summary,extra_time\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/hourly","description":"<p>Exibe o relatório de Horista</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Inclui colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Inclui colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>only_days_with_time_cards</td>\n<td>Não</td>\n<td>Incluir somente dias com registro de ponto?</td>\n</tr>\n<tr>\n<td>exceeded_limits</td>\n<td>Não</td>\n<td>Mostrar apenas registros com limite excedido?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Não</td>\n<td>Data inicial</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Não</td>\n<td>Data final</td>\n</tr>\n<tr>\n<td>limit_type</td>\n<td>Não</td>\n<td>Tipo de limite</td>\n</tr>\n<tr>\n<td>limit_amount</td>\n<td>Não</td>\n<td>Limite Contratado (L.C)</td>\n</tr>\n<tr>\n<td>shift_time</td>\n<td>Não</td>\n<td>Horas previstas (H.P)</td>\n</tr>\n<tr>\n<td>total_time</td>\n<td>Não</td>\n<td>Horas totais</td>\n</tr>\n<tr>\n<td>working_delta</td>\n<td>Não</td>\n<td>Horas Totais (H.T - H.P)</td>\n</tr>\n<tr>\n<td>delta</td>\n<td>Não</td>\n<td>Delta (H.T - L.C)</td>\n</tr>\n<tr>\n<td>summary</td>\n<td>Não</td>\n<td>Totais da jornada</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Total de H. Extras</td>\n</tr>\n<tr>\n<td>overnight_time</td>\n<td>Não</td>\n<td>Adicional noturno</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","hourly"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"a745b64a-75f1-4910-ab4f-f65568dacc61","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-10\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,regular_time,extra_time,motive\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/extra_times"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 14:00:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"cb79f34462b0f2ae5f00c215108439ed\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"bf8f8c74-2a5b-47ca-b08c-b71fa34af3e4","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.120150","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Horas Extras\",\"created_by_name\":\"Base de teste Alex Pontomais\",\"start_date\":\"01/09/2018\",\"end_date\":\"10/09/2018\",\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"employee_name\":{\"title\":\"Nome\"},\"registration_number\":{\"title\":\"Matrícula\"},\"team_name\":{\"title\":\"Equipe\"},\"date\":{\"title\":\"Data\"},\"time_cards\":{\"title\":\"Pontos\",\"subheader\":[{\"title\":\"1ª Entrada\",\"csv_title\":\"1ª Entrada\"},{\"title\":\"1ª Saída\",\"csv_title\":\"1ª Saída\"},{\"title\":\"2ª Entrada\",\"csv_title\":\"2ª Entrada\"},{\"title\":\"2ª Saída\",\"csv_title\":\"2ª Saída\"}]},\"regular_time\":{\"title\":\"Horas normais\"},\"extra_time\":{\"title\":\"Total de H.extras\"},\"motive\":{\"title\":\"Motivo\"}},\"data\":[{\"employee_name\":\"Darth vader\",\"date\":\"Qui, 06/09/2018\",\"regular_time\":\"08:00\",\"extra_time\":\"02:00\",\"motive\":\"\",\"registration_number\":\"0001\",\"team_name\":\"Administração\",\"time_cards\":[{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 08:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e08:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"08:00\"},{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 12:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e12:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"12:00\"},{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 14:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e14:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"14:00\"},{\"title\":\"Incluído manualmente | Qui, 06/09/2018 - 20:00\",\"value\":\"\\u003cspan class=\\\"text-danger-print\\\"\\u003e\\u003cu\\u003e20:00\\u003c/u\\u003e\\u003c/span\\u003e\",\"csv_value\":\"20:00\"}]}],\"footer\":null,\"totals\":[{\"title\":\"H.Extras justificadas\",\"total\":\"00:00\"},{\"title\":\"H.Extras não justificadas\",\"total\":\"02:00\"}]}]],\"meta\":{\"now\":1542808806,\"ip\":\"127.0.0.1\"}}"},{"id":"ecbdd974-7d9e-4cfb-8272-1de7316ac07d","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-10\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,regular_time,extra_time,motive\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/extra_times"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 13:59:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f9996533d76d3cb4f645e9d6087f56a8\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"525c8be8-e2ce-4206-80fc-4c8b60faf39b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"1.980659","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Horas Extras\nPor Base de teste Alex Pontomais em 21/11/2018\nDe 01/09/2018 até 10/09/2018\n\nEquipe,Administração\nNome,Matrícula,Equipe,Data,1ª Entrada,1ª Saída,2ª Entrada,2ª Saída,Horas normais,Total de H.extras,Motivo\nDarth vader,0001,Administração,\"Qui, 06/09/2018\",08:00,12:00,14:00,20:00,08:00,02:00,\"\"\nResumo,Totais\nH.Extras justificadas,00:00\nH.Extras não justificadas,02:00\n\n\n1.934036727\n"}],"_postman_id":"db57b523-122f-47f3-9566-2abf6db28413"},{"name":"Ocorrências","id":"1e33a06d-f6aa-4bd1-bacf-609774b9c520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{external_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n\"start_date\": \"2020-05-30\",\n\"end_date\": \"2020-08-03\",\n\"columns\": \"employee_name,date,job_title_name\",\n\"row_filters\":\"with_inactives\",\n\"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/occurrences","description":"<p>Rota para extração do relatório de ocorrências</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto</td>\n</tr>\n<tr>\n<td>less_than_expected_number_of_times_cards</td>\n<td>Não</td>\n<td>Incluir número de pontos menor do que o previsto</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>pis</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Equipe</td>\n</tr>\n<tr>\n<td>team_leader</td>\n<td>Não</td>\n<td>Gestor responsável</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Sim</td>\n<td>Motivo</td>\n</tr>\n<tr>\n<td>last_solicitation_proposal_status</td>\n<td>Sim</td>\n<td>Ação pendente</td>\n</tr>\n<tr>\n<td>leader_name</td>\n<td>Não</td>\n<td>Gestores</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","occurrences"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"group_by","value":"employee"},{"disabled":true,"key":"row_filters","value":"with_inactives"},{"disabled":true,"key":"columns","value":"employee_name,registration_number,team_name,date,status,last_solicitation_proposal_status\""}],"variable":[]}},"response":[],"_postman_id":"1e33a06d-f6aa-4bd1-bacf-609774b9c520"},{"name":"Pendências","id":"6acee61c-85ec-4f31-a2df-66058a274e52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"start_date\": \"2024-10-16\",\n        \"end_date\": \"2024-11-14\",\n        \"columns\": \"job_title_name,employee_name,date,observation,is_medical_certificate,pendencies,team_name,answered_by,registration_number,status\",\n        \"row_filters\": \"with_inactives,has_time_balance,has_time_cards,decimal_time\",\n        \"additional_row_filters\": \"allowance,proposal,wrong_number_of_time_cards,unjustified_missing_day\",\n        \"group_by\": \"employee\",\n        \"proposal_status\": \"\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/pendencies","description":"<p>Exibe o relatório de pendências.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Sim</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros opicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>additional_row_filters</td>\n<td>String</td>\n<td>Sim</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório, ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo Motivo</td>\n</tr>\n<tr>\n<td>proposal_status</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Motivo</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-opicionais-disponíveis\">Filtros opicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir colaboradores inativos?</td>\n</tr>\n<tr>\n<td>has_time_balance</td>\n<td>Não</td>\n<td>Incluir colaboradores que possuem banco de horas?</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>decimal_time</td>\n<td>Não</td>\n<td>Horas em formato decimal?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>allowance</td>\n<td>Sim</td>\n<td>Abono</td>\n</tr>\n<tr>\n<td>wrong_number_of_time_cards</td>\n<td>Sim</td>\n<td>Número errado de registro de ponto</td>\n</tr>\n<tr>\n<td>proposal</td>\n<td>Sim</td>\n<td>Ajuste</td>\n</tr>\n<tr>\n<td>unjustified_missing_day</td>\n<td>Sim</td>\n<td>Falta não justificada</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Horas extras</td>\n</tr>\n<tr>\n<td>consecutives_work_days</td>\n<td>Não</td>\n<td>Mais de 6 dias de trabalho consecutivos</td>\n</tr>\n<tr>\n<td>uninterrupteds_work_hours</td>\n<td>Não</td>\n<td>Mais de 6 horas de trabalho ininterruptas</td>\n</tr>\n<tr>\n<td>insufficient_pause</td>\n<td>Não</td>\n<td>Quantidade de pausas menor do que o previsto</td>\n</tr>\n<tr>\n<td>less_pauses_time</td>\n<td>Não</td>\n<td>Tempo de pausas menor do que o previsto</td>\n</tr>\n<tr>\n<td>more_then_ten_hours</td>\n<td>Não</td>\n<td>Mais de 10 horas de jornada</td>\n</tr>\n<tr>\n<td>less_then_one_hour</td>\n<td>Não</td>\n<td>Menos de 1 hora de intervalo</td>\n</tr>\n<tr>\n<td>less_then_thirtye_minutes</td>\n<td>Não</td>\n<td>Menos de trinta minutos de intervalo</td>\n</tr>\n<tr>\n<td>missing_work_days</td>\n<td>Não</td>\n<td>Falta</td>\n</tr>\n<tr>\n<td>missing_time</td>\n<td>Não</td>\n<td>Horas Faltantes</td>\n</tr>\n<tr>\n<td>missing_rest_time</td>\n<td>Não</td>\n<td>Interjornada insuficiente</td>\n</tr>\n<tr>\n<td>missing_interval_time</td>\n<td>Não</td>\n<td>Intrajornada insuficiente</td>\n</tr>\n<tr>\n<td>overnight_time</td>\n<td>Não</td>\n<td>Adicional Noturno</td>\n</tr>\n<tr>\n<td>night_extra_time</td>\n<td>Não</td>\n<td>Hora Extra Noturna</td>\n</tr>\n<tr>\n<td>less_interval_time</td>\n<td>Não</td>\n<td>Intervalo menor do que o previsto</td>\n</tr>\n<tr>\n<td>less_than_expected_number_of_time_cards</td>\n<td>Não</td>\n<td>Número de pontos menor que o previsto</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Não</td>\n<td>Quem ajustou</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Não</td>\n<td>Status da pendência</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Não</td>\n<td>É atestado médico?</td>\n</tr>\n<tr>\n<td>pendencies</td>\n<td>Não</td>\n<td>Pendência</td>\n</tr>\n<tr>\n<td>answered_at</td>\n<td>Não</td>\n<td>Data e hora Aprovou/Reprovou</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","pendencies"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"48533030-0c8f-474e-8cad-b237872e73b9","name":"json","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"start_date\": \"2024-10-16\",\n        \"end_date\": \"2024-11-14\",\n        \"columns\": \"job_title_name,employee_name,date,observation,is_medical_certificate,pendencies,team_name,answered_by,registration_number,status\",\n        \"row_filters\": \"with_inactives,has_time_balance,has_time_cards,decimal_time\",\n        \"additional_row_filters\": \"more_then_ten_hours,missing_time,consecutives_work_days,missing_rest_time,uninterrupteds_work_hours,less_interval_time,allowance,missing_interval_time,overnight_time,less_than_expected_number_of_time_cards,proposal,wrong_number_of_time_cards,unjustified_missing_day,insufficient_pause,extra_time,less_pauses_time,night_extra_time\",\n        \"group_by\": \"employee\",\n        \"proposal_status\": \"\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/pendencies"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Pendências\",\n        \"created_by_name\": \"Abelardo Barbosa\",\n        \"start_date\": \"16/10/2024\",\n        \"end_date\": \"14/11/2024\",\n        \"today\": \"18/11/2024\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"name\": {\n                        \"title\": \"Nome\"\n                    },\n                    \"date\": {\n                        \"title\": \"Data\"\n                    },\n                    \"occurrence\": {\n                        \"title\": \"Pendência\"\n                    },\n                    \"status\": {\n                        \"title\": \"Status\"\n                    },\n                    \"observation\": {\n                        \"title\": \"Observação\"\n                    },\n                    \"answered_by\": {\n                        \"title\": \"Quem Aprovou/Reprovou\"\n                    },\n                    \"registration_number\": {\n                        \"title\": \"Matrícula\"\n                    },\n                    \"job_title_name\": {\n                        \"title\": \"Cargo\"\n                    },\n                    \"team_name\": {\n                        \"title\": \"Equipe\"\n                    },\n                    \"is_medical_certificate\": {\n                        \"title\": \"É Atestado\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"name\": \"Franco Caldass\",\n                        \"date\": \"Sex, 18/10/2024\",\n                        \"occurrence\": \"Ajuste\",\n                        \"status\": \"Criado pelo Gestor\",\n                        \"registration_number\": \"0002\",\n                        \"team_name\": \"Desenvolvimento\",\n                        \"job_title_name\": \"Desenvolvedor\",\n                        \"observation\": null,\n                        \"answered_by\": \"Abelardo Barbosa\",\n                        \"is_medical_certificate\": \"Não\"\n                    },\n                    {\n                        \"name\": \"Franco Caldass\",\n                        \"date\": \"Qui, 07/11/2024\",\n                        \"occurrence\": \"Ajuste\",\n                        \"status\": \"Criado pelo Gestor\",\n                        \"registration_number\": \"0002\",\n                        \"team_name\": \"Desenvolvimento\",\n                        \"job_title_name\": \"Desenvolvedor\",\n                        \"observation\": null,\n                        \"answered_by\": \"Abelardo Barbosa\",\n                        \"is_medical_certificate\": \"Não\"\n                    },\n                    {\n                        \"name\": \"Franco Caldass\",\n                        \"date\": \"Sex, 08/11/2024\",\n                        \"occurrence\": \"Ajuste\",\n                        \"status\": \"Criado pelo Gestor\",\n                        \"registration_number\": \"0002\",\n                        \"team_name\": \"Desenvolvimento\",\n                        \"job_title_name\": \"Desenvolvedor\",\n                        \"observation\": null,\n                        \"answered_by\": \"Abelardo Barbosa\",\n                        \"is_medical_certificate\": \"Não\"\n                    },\n                    {\n                        \"name\": \"Franco Caldass\",\n                        \"date\": \"Sáb, 09/11/2024\",\n                        \"occurrence\": \"Ajuste\",\n                        \"status\": \"Criado pelo Gestor\",\n                        \"registration_number\": \"0002\",\n                        \"team_name\": \"Desenvolvimento\",\n                        \"job_title_name\": \"Desenvolvedor\",\n                        \"observation\": null,\n                        \"answered_by\": \"Abelardo Barbosa\",\n                        \"is_medical_certificate\": \"Não\"\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Falta não justificada\",\n                        \"total\": 0\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1731958436,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"ce76a45c-e8a9-489b-a3c7-3a0277e79cf2","name":"csv","originalRequest":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"start_date\": \"2024-10-16\",\n        \"end_date\": \"2024-11-14\",\n        \"columns\": \"job_title_name,employee_name,date,observation,is_medical_certificate,pendencies,team_name,answered_by,registration_number,status\",\n        \"row_filters\": \"with_inactives,has_time_balance,has_time_cards,decimal_time\",\n        \"additional_row_filters\": \"more_then_ten_hours,missing_time,consecutives_work_days,missing_rest_time,uninterrupteds_work_hours,less_interval_time,allowance,missing_interval_time,overnight_time,less_than_expected_number_of_time_cards,proposal,wrong_number_of_time_cards,unjustified_missing_day,insufficient_pause,extra_time,less_pauses_time,night_extra_time\",\n        \"group_by\": \"employee\",\n        \"proposal_status\": \"\",\n        \"format\": \"csv\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/pendencies"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"Relatório de Pendências\nPor Abelardo Barbosa em 18/11/2024\nDe 16/10/2024 até 14/11/2024\n\nColaborador,Franco Caldass\nNome,Data,Pendência,Status,Observação,Quem Aprovou/Reprovou,Matrícula,Cargo,Equipe,É Atestado\nFranco Caldass,\"Sex, 18/10/2024\",Ajuste,Criado pelo Gestor,,Abelardo Barbosa,0002,Desenvolvedor,Desenvolvimento,Não\nFranco Caldass,\"Qui, 07/11/2024\",Ajuste,Criado pelo Gestor,,Abelardo Barbosa,0002,Desenvolvedor,Desenvolvimento,Não\nFranco Caldass,\"Sex, 08/11/2024\",Ajuste,Criado pelo Gestor,,Abelardo Barbosa,0002,Desenvolvedor,Desenvolvimento,Não\nFranco Caldass,\"Sáb, 09/11/2024\",Ajuste,Criado pelo Gestor,,Abelardo Barbosa,0002,Desenvolvedor,Desenvolvimento,Não\nResumo,Totais\nFalta não justificada,0\n\n\n0.287286053"}],"_postman_id":"6acee61c-85ec-4f31-a2df-66058a274e52"},{"name":"Provisionamento","id":"47a10e30-9996-4ac6-a7a2-1d2d33a1ccb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-11-01\",\n    \"end_date\": \"2020-12-05\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,date,team_name,hourly_rate,total_value,extra_time\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/provisions","description":"<p>Rota para extração do relatório de provisionamento</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access-token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluír colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>only_employees_diff_zero</td>\n<td>Não</td>\n<td>Apenas colaboradores com valor hora diferente de zero?</td>\n</tr>\n<tr>\n<td>only_days_diff_zero</td>\n<td>Não</td>\n<td>Apenas dias com valor total diferente de zero?</td>\n</tr>\n<tr>\n<td>format_time_in_centesimal</td>\n<td>Não</td>\n<td>Formatar em centesimal?</td>\n</tr>\n<tr>\n<td>include_codes</td>\n<td>Não</td>\n<td>Incluir códigos?</td>\n</tr>\n<tr>\n<td>extra_time_total</td>\n<td>Não</td>\n<td>Total de horas extras?</td>\n</tr>\n<tr>\n<td>extra_time_total_factors</td>\n<td>Não</td>\n<td>Total de horas extras por fator?</td>\n</tr>\n<tr>\n<td>missing_time_total</td>\n<td>Não</td>\n<td>Total de horas faltantes?</td>\n</tr>\n<tr>\n<td>provision_total</td>\n<td>Não</td>\n<td>Total de provisionamento?</td>\n</tr>\n<tr>\n<td>provision_total_factors</td>\n<td>Não</td>\n<td>Total de provisionamento por fator?</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>job_title</td>\n<td>Não</td>\n<td>Cargo</td>\n</tr>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Colaborador</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>Não</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>department_name</td>\n<td>Não</td>\n<td>Departamento</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Time</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>shift_name</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>business_unit_name</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>missing_value</td>\n<td>Não</td>\n<td>Valor faltantes</td>\n</tr>\n<tr>\n<td>hourly_rate</td>\n<td>Sim</td>\n<td>Valor Hora</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Valor por fator</td>\n</tr>\n<tr>\n<td>total_value</td>\n<td>Não</td>\n<td>Valor total</td>\n</tr>\n<tr>\n<td>expiration</td>\n<td>Não</td>\n<td>Vencimento do banco</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","provisions"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"c17f29a9-73db-476d-9dfe-d118094eb717","name":"JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-11-01\",\n    \"end_date\": \"2020-12-05\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,date,team_name,hourly_rate,total_value,extra_time\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/provisions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"736be91e9c287c73802099f7f3c67545\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"1.367131"},{"key":"X-Request-Id","value":"d2709def-a2fe-4c6b-8ead-dc7cc1cb999b"},{"key":"Date","value":"Tue, 08 Dec 2020 20:02:35 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.6"},{"key":"Server","value":"nginx/1.18.0 + Phusion Passenger 6.0.6"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Provisionamento\",\n        \"created_by_name\": \"Darth Vader\",\n        \"start_date\": \"01/11/2020\",\n        \"end_date\": \"05/12/2020\",\n        \"today\": \"08/12/2020\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"employee_name\": {\n                        \"title\": \"Nome\"\n                    },\n                    \"date\": {\n                        \"title\": \"Data\"\n                    },\n                    \"team_name\": {\n                        \"title\": \"Equipe\"\n                    },\n                    \"hourly_rate\": {\n                        \"title\": \"Valor hora\"\n                    },\n                    \"total_value\": {\n                        \"title\": \"Valor total\"\n                    },\n                    \"extra_time\": {\n                        \"title\": \"Valor por fator\",\n                        \"subheader\": [\n                            {\n                                \"title\": \"H.E. 1\",\n                                \"csv_title\": \"Horas extras fator 1\"\n                            },\n                            {\n                                \"title\": \"H.E. 2\",\n                                \"csv_title\": \"Horas extras fator 2\"\n                            },\n                            {\n                                \"title\": \"H.E. 3\",\n                                \"csv_title\": \"Horas extras fator 3\"\n                            },\n                            {\n                                \"title\": \"H.E. 4\",\n                                \"csv_title\": \"Horas extras fator 4\"\n                            }\n                        ]\n                    }\n                },\n                \"data\": [\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Dom, 01/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Seg, 02/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Ter, 03/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qua, 04/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qui, 05/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sex, 06/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sáb, 07/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Dom, 08/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Seg, 09/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Ter, 10/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qua, 11/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qui, 12/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sex, 13/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sáb, 14/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Dom, 15/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Seg, 16/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Ter, 17/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qua, 18/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qui, 19/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sex, 20/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sáb, 21/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Dom, 22/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Seg, 23/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Ter, 24/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qua, 25/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Qui, 26/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Coringa Joker\",\n                        \"cpf\": \"420.528.360-12\",\n                        \"date\": \"Sex, 27/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 0,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Dom, 01/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Seg, 02/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Ter, 03/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qua, 04/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qui, 05/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sex, 06/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sáb, 07/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Dom, 08/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Seg, 09/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Ter, 10/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qua, 11/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qui, 12/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sex, 13/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sáb, 14/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Dom, 15/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Seg, 16/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 02:00 - R$ 30,00\",\n                                \"value\": \"02:00 - R$ 30,00\",\n                                \"raw_value\": 7200,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 30\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 30,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Ter, 17/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 02:00 - R$ 30,00\",\n                                \"value\": \"02:00 - R$ 30,00\",\n                                \"raw_value\": 7200,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 30\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 12:01 - R$ 240,33\",\n                                \"value\": \"12:01 - R$ 240,33\",\n                                \"raw_value\": 43260,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 240.33333333333334\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 270,33\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qua, 18/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 02:00 - R$ 30,00\",\n                                \"value\": \"02:00 - R$ 30,00\",\n                                \"raw_value\": 7200,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 30\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 02:52 - R$ 57,33\",\n                                \"value\": \"02:52 - R$ 57,33\",\n                                \"raw_value\": 10320,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 57.333333333333336\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 87,33\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qui, 19/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 02:00 - R$ 30,00\",\n                                \"value\": \"02:00 - R$ 30,00\",\n                                \"raw_value\": 7200,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 30\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 03:00 - R$ 60,00\",\n                                \"value\": \"03:00 - R$ 60,00\",\n                                \"raw_value\": 10800,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 60\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 90,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sex, 20/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sáb, 21/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Dom, 22/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Seg, 23/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Ter, 24/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qua, 25/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qui, 26/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sex, 27/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sáb, 28/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Dom, 29/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Seg, 30/11/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Ter, 01/12/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qua, 02/12/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Qui, 03/12/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sex, 04/12/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    },\n                    {\n                        \"employee_name\": \"Darth Vader\",\n                        \"cpf\": \"386.384.938-86\",\n                        \"date\": \"Sáb, 05/12/2020\",\n                        \"team_name\": \"Administração\",\n                        \"hourly_rate\": \"R$ 10,00\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 50% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 50,\n                                \"overnight\": null,\n                                \"factor\": \"factor1\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 100% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 100,\n                                \"overnight\": null,\n                                \"factor\": \"factor2\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 150% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 150,\n                                \"overnight\": null,\n                                \"factor\": \"factor3\",\n                                \"provision\": 0\n                            },\n                            {\n                                \"title\": \"H.E. 200% - 00:00 - R$ 0,00\",\n                                \"value\": \"00:00 - R$ 0,00\",\n                                \"raw_value\": 0,\n                                \"percent\": 200,\n                                \"overnight\": null,\n                                \"factor\": \"factor4\",\n                                \"provision\": 0\n                            }\n                        ],\n                        \"total_value\": \"R$ 0,00\"\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Total\",\n                        \"total\": 62\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1607457753,\n        \"ip\": \"172.22.0.1\"\n    }\n}"}],"_postman_id":"47a10e30-9996-4ac6-a7a2-1d2d33a1ccb8"},{"name":"Registros de ponto","id":"ce05d193-8d6c-4357-8bc5-9ae48604ac03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"$2a$12$L5VKQx8cFPm66vXJU4Imw.lmQl5JIH4DXoPspakBA16g03DnEykBS","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"start_date\": \"2023-01-01\",\n        \"end_date\": \"2023-01-10\",\n        \"group_by\": \"team\",\n        \"row_filters\": \"\",\n        \"columns\": \"employee_name,pis,registration_number,job_title_name,team_name,shift_name,date,time,source,original_address,edited_address,manually_changed,motive,updated_by,image,ip,time_card_index,software_method,local_date_time,accuracy,geolocation,original_geolocation,device_description,tag_manager, time_clock_description\",\n        \"format\": \"json\"\n    }\n}"},"url":"{{server_url}}/external_api/v1/reports/time_cards","description":"<p>Rota para extração do relatório de registros de ponto</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>location_reference_id</td>\n<td>number</td>\n<td>Filtra pelo ID do Ponto de referência</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>*Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>pis</td>\n<td>Não</td>\n<td>PIS</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Cargo</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Equipe</td>\n</tr>\n<tr>\n<td>shift_name</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>time</td>\n<td>Sim</td>\n<td>Hora</td>\n</tr>\n<tr>\n<td>source</td>\n<td>Não</td>\n<td>Método</td>\n</tr>\n<tr>\n<td>original_address</td>\n<td>Não</td>\n<td>Endereço aprox. detectado</td>\n</tr>\n<tr>\n<td>edited_address</td>\n<td>Não</td>\n<td>Endereço aprox. editado</td>\n</tr>\n<tr>\n<td>manually_changed</td>\n<td>Não</td>\n<td>Ajustado</td>\n</tr>\n<tr>\n<td>motive</td>\n<td>Não</td>\n<td>Motivo do ajuste</td>\n</tr>\n<tr>\n<td>updated_by</td>\n<td>Não</td>\n<td>Quem ajustou</td>\n</tr>\n<tr>\n<td>image</td>\n<td>Não</td>\n<td>Fotografia</td>\n</tr>\n<tr>\n<td>ip</td>\n<td>Não</td>\n<td>IP</td>\n</tr>\n<tr>\n<td>time_card_index</td>\n<td>Não</td>\n<td>Tipo do registro</td>\n</tr>\n<tr>\n<td>software_method</td>\n<td>Não</td>\n<td>Origem</td>\n</tr>\n<tr>\n<td>local_date_time</td>\n<td>Não</td>\n<td>Horário Local</td>\n</tr>\n<tr>\n<td>accuracy</td>\n<td>Não</td>\n<td>Precisão (m</td>\n</tr>\n<tr>\n<td>geolocation</td>\n<td>Não</td>\n<td>Geolocalização</td>\n</tr>\n<tr>\n<td>original_geolocation</td>\n<td>Não</td>\n<td>Geolocalização original</td>\n</tr>\n<tr>\n<td>time_clock_sequence_number</td>\n<td>Não</td>\n<td>NSR</td>\n</tr>\n<tr>\n<td>untreated_id</td>\n<td>Não</td>\n<td>Número do recibo</td>\n</tr>\n<tr>\n<td>device_uuid</td>\n<td>Não</td>\n<td>UUID (número de identificação único) do dispositivo</td>\n</tr>\n<tr>\n<td>device_platform</td>\n<td>Não</td>\n<td>Plataforma do dispositivo registrado</td>\n</tr>\n<tr>\n<td>device_description</td>\n<td>não</td>\n<td>Descrição do dispositivo</td>\n</tr>\n<tr>\n<td>tag_manager</td>\n<td>Não</td>\n<td>Etiqueta de Ponto</td>\n</tr>\n<tr>\n<td>time_clock_description</td>\n<td>Não</td>\n<td>Relógio de ponto de origem</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","time_cards"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"2a6b84ce-13cf-4578-a234-f118c521d1e2","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-04\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,pis,registration_number,job_title_name,team_name,shift_name,date,time,source,original_address,edited_address,manually_changed,motive,updated_by,image,ip,time_card_index,software_method,local_date_time,accuracy,geolocation,original_geolocation\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/time_cards"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 14:26:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"f2aa6f3b8eca2718fa2d96116663782d\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"54dae7fa-7bba-44c9-9b3e-e94808d85d90","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.120265","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Registros de ponto\nPor Alex Lam em 21/11/2018\nDe 04/09/2018 até 05/09/2018\n\nEquipe,Administração\nNome,PIS,Matrícula,Cargo,Equipe,Turno,Data,Hora,Método,Endereço aprox. detectado,Endereço aprox. editado,Ajustado,Motivo do ajuste,Quem ajustou,Fotografia,IP,Tipo do registro,Origem,Horário Local,Precisão (m),Geolocalização,Geolocalização original\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Ter, 04/09/2018\",08:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,1ª Entrada,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Ter, 04/09/2018\",12:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,1ª Saída,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Ter, 04/09/2018\",14:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,2ª Entrada,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Ter, 04/09/2018\",18:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,2ª Saída,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Qua, 05/09/2018\",08:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,1ª Entrada,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Qua, 05/09/2018\",12:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,1ª Saída,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Qua, 05/09/2018\",14:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,2ª Entrada,Inserido por ajuste de ponto,Sem localização,,,\nDarth vader,074.42618.31-7,0001,Gerente geral,Administração,turno ciclico,\"Qua, 05/09/2018\",18:00,Ajuste de ponto,,,Sim,Ajuste,Alex Lam,,,2ª Saída,Inserido por ajuste de ponto,Sem localização,,,\nResumo,Totais\nTotal,8\n\n\n0.072736417\n"},{"id":"cb768042-a44b-4d98-ab2b-3fb9519229de","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-04\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,pis,registration_number,job_title_name,team_name,shift_name,date,time,source,original_address,edited_address,manually_changed,motive,updated_by,image,ip,time_card_index,software_method,local_date_time,accuracy,geolocation,original_geolocation\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/time_cards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 14:26:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"6f6cc0ba0e00859f76bc7426b39b4694\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"a4fd8b41-3cb3-440f-a526-62b25159e663","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.125180","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\"heading\":{\"title\":\"Registros de ponto\",\"created_by_name\":\"Alex Lam\",\"start_date\":\"04/09/2018\",\"end_date\":\"05/09/2018\",\"today\":\"21/11/2018\"},\"data\":[[{\"header\":{\"employee_name\":{\"title\":\"Nome\"},\"pis\":{\"title\":\"PIS\"},\"registration_number\":{\"title\":\"Matrícula\"},\"job_title_name\":{\"title\":\"Cargo\"},\"team_name\":{\"title\":\"Equipe\"},\"shift_name\":{\"title\":\"Turno\"},\"date\":{\"title\":\"Data\"},\"time\":{\"title\":\"Hora\"},\"source\":{\"title\":\"Método\"},\"original_address\":{\"title\":\"Endereço aprox. detectado\"},\"edited_address\":{\"title\":\"Endereço aprox. editado\"},\"manually_changed\":{\"title\":\"Ajustado\"},\"motive\":{\"title\":\"Motivo do ajuste\"},\"updated_by\":{\"title\":\"Quem ajustou\"},\"image\":{\"title\":\"Fotografia\"},\"ip\":{\"title\":\"IP\"},\"time_card_index\":{\"title\":\"Tipo do registro\"},\"software_method\":{\"title\":\"Origem\"},\"local_date_time\":{\"title\":\"Horário Local\"},\"accuracy\":{\"title\":\"Precisão (m)\"},\"geolocation\":{\"title\":\"Geolocalização\"},\"original_geolocation\":{\"title\":\"Geolocalização original\"}},\"data\":[{\"employee_name\":\"Darth vader\",\"date\":\"Ter, 04/09/2018\",\"time\":\"08:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"1ª Entrada\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Ter, 04/09/2018\",\"time\":\"12:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"1ª Saída\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Ter, 04/09/2018\",\"time\":\"14:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"2ª Entrada\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Ter, 04/09/2018\",\"time\":\"18:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"2ª Saída\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Qua, 05/09/2018\",\"time\":\"08:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"1ª Entrada\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Qua, 05/09/2018\",\"time\":\"12:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"1ª Saída\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Qua, 05/09/2018\",\"time\":\"14:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"2ª Entrada\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null},{\"employee_name\":\"Darth vader\",\"date\":\"Qua, 05/09/2018\",\"time\":\"18:00\",\"pis\":\"074.42618.31-7\",\"registration_number\":\"0001\",\"job_title_name\":\"Gerente geral\",\"team_name\":\"Administração\",\"shift_name\":\"turno ciclico\",\"source\":\"Ajuste de ponto\",\"original_address\":null,\"edited_address\":null,\"manually_changed\":\"Sim\",\"motive\":\"Ajuste\",\"updated_by\":\"Alex Lam\",\"image\":null,\"ip\":null,\"time_card_index\":\"2ª Saída\",\"software_method\":\"Inserido por ajuste de ponto\",\"local_date_time\":\"Sem localização\",\"accuracy\":null,\"geolocation\":null,\"original_geolocation\":null}],\"footer\":null,\"totals\":[{\"title\":\"Total\",\"total\":8}]}]],\"meta\":{\"now\":1542810403,\"ip\":\"127.0.0.1\"}}"}],"_postman_id":"ce05d193-8d6c-4357-8bc5-9ae48604ac03"},{"name":"Registros de pausas","id":"4456b92f-27b7-41f1-87ba-c2e719d65f54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-07-01\",\n\t\t\"end_date\":\"2020-09-01\",\n\t\t\"columns\":\"employee_name,date,shift_appointments,occurrences,time_breaks\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"json\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/time_breaks","description":"<p>Rota para extração do relatório de registros de pausa</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>access-token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p>*<em>Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>shift_name</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data da pausa</td>\n</tr>\n<tr>\n<td>shift_appointments</td>\n<td>Não</td>\n<td>Turno previsto</td>\n</tr>\n<tr>\n<td>time_cards</td>\n<td>Não</td>\n<td>Pontos registrados</td>\n</tr>\n<tr>\n<td>employee_breaks</td>\n<td>Não</td>\n<td>Pausas previstas</td>\n</tr>\n<tr>\n<td>time_breaks</td>\n<td>Sim</td>\n<td>Pausas registradas</td>\n</tr>\n<tr>\n<td>occurrences</td>\n<td>Não</td>\n<td>Ocorrências</td>\n</tr>\n<tr>\n<td>main_interval</td>\n<td>Não</td>\n<td>Intervalo Principal previsto</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","time_breaks"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"a6217bf9-40b7-4931-a9df-079b3bd6c87c","name":"json","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-07-01\",\n\t\t\"end_date\":\"2020-09-01\",\n\t\t\"columns\":\"employee_name,date,shift_appointments,occurrences,time_breaks\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"json\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/time_breaks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"0b62527988dd895dd1cf19126863778f\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Runtime","value":"0.247188"},{"key":"X-Request-Id","value":"f67075c6-7129-49a3-a8c9-6837b56ad87a"},{"key":"Date","value":"Fri, 14 Aug 2020 15:06:16 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Registros de pausas\",\n        \"created_by_name\": \"Darth Sidius\",\n        \"start_date\": \"01/07/2020\",\n        \"end_date\": \"01/09/2020\",\n        \"today\": \"14/08/2020\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"employee_name\": {\n                        \"title\": \"Nome\"\n                    },\n                    \"date\": {\n                        \"title\": \"Data\"\n                    },\n                    \"shift_appointments\": {\n                        \"title\": \"Jornada prevista\",\n                        \"subheader\": [\n                            {\n                                \"title\": \"1ª Entrada\",\n                                \"csv_title\": \"1ª Entrada prevista\"\n                            },\n                            {\n                                \"title\": \"1ª Saída\",\n                                \"csv_title\": \"1ª Saída prevista\"\n                            },\n                            {\n                                \"title\": \"2ª Entrada\",\n                                \"csv_title\": \"2ª Entrada prevista\"\n                            },\n                            {\n                                \"title\": \"2ª Saída\",\n                                \"csv_title\": \"2ª Saída prevista\"\n                            }\n                        ]\n                    },\n                    \"time_breaks\": {\n                        \"title\": \"Pausas\",\n                        \"subheader\": [\n                            {\n                                \"title\": \"1ª Pausa\",\n                                \"csv_title\": \"1ª Pausa\"\n                            },\n                            {\n                                \"title\": \"1ª Retorno\",\n                                \"csv_title\": \"1ª Retorno\"\n                            },\n                            {\n                                \"title\": \"2ª Pausa\",\n                                \"csv_title\": \"2ª Pausa\"\n                            },\n                            {\n                                \"title\": \"2ª Retorno\",\n                                \"csv_title\": \"2ª Retorno\"\n                            }\n                        ]\n                    },\n                    \"occurrences\": {\n                        \"title\": \"Ocorrências\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"date\": \"Qua, 05/08/2020\",\n                        \"employee_name\": \"Darth Vader\",\n                        \"shift_appointments\": [\n                            \"08:00\",\n                            \"12:00\",\n                            \"14:00\",\n                            \"18:00\"\n                        ],\n                        \"time_breaks\": [\n                            {\n                                \"title\": \"Qua, 05/08/2020 - 10:00\",\n                                \"value\": \"10:00\",\n                                \"csv_value\": \"10:00\"\n                            },\n                            {\n                                \"title\": \"Qua, 05/08/2020 - 10:10\",\n                                \"value\": \"10:10\",\n                                \"csv_value\": \"10:10\"\n                            }\n                        ],\n                        \"occurrences\": \"\"\n                    },\n                    {\n                        \"date\": \"Qui, 06/08/2020\",\n                        \"employee_name\": \"Darth Vader\",\n                        \"shift_appointments\": [\n                            \"09:30\",\n                            \"12:00\",\n                            \"14:00\",\n                            \"18:00\"\n                        ],\n                        \"time_breaks\": [\n                            {\n                                \"title\": \"Qui, 06/08/2020 - 10:00\",\n                                \"value\": \"10:00\",\n                                \"csv_value\": \"10:00\"\n                            },\n                            {\n                                \"title\": \"Qui, 06/08/2020 - 10:10\",\n                                \"value\": \"10:10\",\n                                \"csv_value\": \"10:10\"\n                            },\n                            {\n                                \"title\": \"Qui, 06/08/2020 - 15:05\",\n                                \"value\": \"15:05\",\n                                \"csv_value\": \"15:05\"\n                            },\n                            {\n                                \"title\": \"Qui, 06/08/2020 - 15:20\",\n                                \"value\": \"15:20\",\n                                \"csv_value\": \"15:20\"\n                            }\n                        ],\n                        \"occurrences\": \"Possui pausas fora do horário previsto\"\n                    },\n                    {\n                        \"date\": \"Sex, 07/08/2020\",\n                        \"employee_name\": \"Darth Sidius\",\n                        \"shift_appointments\": [\n                            \"08:00\",\n                            \"12:00\",\n                            \"14:00\",\n                            \"18:00\"\n                        ],\n                        \"time_breaks\": [\n                            {\n                                \"title\": \"Sex, 07/08/2020 - 15:28\",\n                                \"value\": \"15:28\",\n                                \"csv_value\": \"15:28\"\n                            }\n                        ],\n                        \"occurrences\": \"\"\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Total\",\n                        \"total\": 3\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1597417576,\n        \"ip\": \"192.168.64.1\"\n    }\n}"},{"id":"eaafb52d-5d71-4362-b5f3-936f67748aec","name":"csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"report\": {\n\t\t\"start_date\":\"2020-07-01\",\n\t\t\"end_date\":\"2020-09-01\",\n\t\t\"columns\":\"employee_name,date,shift_appointments,occurrences,time_breaks\",\n\t\t\"row_filters\":\"\",\n\t\t\"format\":\"csv\"\n\t\t}\n}"},"url":"{{server_url}}/external_api/v1/reports/time_breaks"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/csv; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"7e018d85-1cac-47a2-8243-9ea05760990b"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\""},{"key":"ETag","value":"W/\"5f80d71213a9a7f7c723e8ea300b218f\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.310335"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Fri, 14 Aug 2020 15:10:28 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"Relatório de Registros de pausas\nPor Darth Sidius em 14/08/2020\nDe 01/07/2020 até 01/09/2020\n\nNome,Data,1ª Entrada prevista,1ª Saída prevista,2ª Entrada prevista,2ª Saída prevista,1ª Pausa,1ª Retorno,2ª Pausa,2ª Retorno,Ocorrências\nDarth Vader,\"Qua, 05/08/2020\",08:00,12:00,14:00,18:00,10:00,10:10,,,\"\"\nDarth Vader,\"Qui, 06/08/2020\",09:30,12:00,14:00,18:00,10:00,10:10,15:05,15:20,Possui pausas fora do horário previsto\nDarth Vader,\"Sex, 07/08/2020\",08:00,12:00,14:00,18:00,15:28,,,,\"\"\nResumo,Totais\nTotal,3\n\n\n0.160230947\n"}],"_postman_id":"4456b92f-27b7-41f1-87ba-c2e719d65f54"},{"name":"Resumo de jornada","id":"ba755f3d-c7ec-4aa7-97b1-826057da0cb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"registration_number,employee_name,shift_time,summary,extra_time,total_time,initial_time_balance,final_time_balance,custom_interval_time,overnight_time,exemptions,missing_days,proposals\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/period_summaries","description":"<p>Rota para extração do relatório de registros de ponto</p>\n<p><strong>Variáveis na URL</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>csv_token</td>\n<td>Token do cliente</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Estrutura do objeto JSON a ser enviado:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n<th>Obrigatório</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Data inicial do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Data final do período</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>string</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>string</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>string</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>number</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>number</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>number</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>number</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>*Agrupamentos disponíveis:</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filtros adicionais disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Colunas disponíveis:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>shift_time</td>\n<td>Não</td>\n<td>Horas previstas</td>\n</tr>\n<tr>\n<td>summary</td>\n<td>Não</td>\n<td>Totais da jornada</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Não</td>\n<td>Total de H. extras</td>\n</tr>\n<tr>\n<td>total_time</td>\n<td>Não</td>\n<td>Horas totais</td>\n</tr>\n<tr>\n<td>initial_time_balance</td>\n<td>Não</td>\n<td>Saldo inicial</td>\n</tr>\n<tr>\n<td>final_time_balance</td>\n<td>Não</td>\n<td>Saldo final</td>\n</tr>\n<tr>\n<td>custom_interval_time</td>\n<td>Não</td>\n<td>Horas intrajornada</td>\n</tr>\n<tr>\n<td>overnight_time</td>\n<td>Não</td>\n<td>Adicional noturno</td>\n</tr>\n<tr>\n<td>exemptions</td>\n<td>Não</td>\n<td>Quantidade de abonos</td>\n</tr>\n<tr>\n<td>missing_days</td>\n<td>Não</td>\n<td>Quantidade de faltas</td>\n</tr>\n<tr>\n<td>proposals</td>\n<td>Não</td>\n<td>Quantidade de ajustes</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>standby_time</td>\n<td>Não</td>\n<td>Total de horas em sobreaviso</td>\n</tr>\n<tr>\n<td>standby_planned_time</td>\n<td>Não</td>\n<td>Total de horas planejadas em sobreaviso</td>\n</tr>\n<tr>\n<td>standby_worked_time</td>\n<td>Não</td>\n<td>Total de horas trabalhadas em sobreaviso</td>\n</tr>\n<tr>\n<td>dsr_discount_days</td>\n<td>Não</td>\n<td>Débito DSR Dias</td>\n</tr>\n<tr>\n<td>dsr_discount_hours</td>\n<td>Não</td>\n<td>Débito DSR Horas</td>\n</tr>\n<tr>\n<td>dsr_credit_days</td>\n<td>Não</td>\n<td>Crédito DSR Dias</td>\n</tr>\n<tr>\n<td>dsr_credit_hours</td>\n<td>Não</td>\n<td>Crédito DSR Horas</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","period_summaries"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"051c4208-1678-475a-8055-9a64952b9a23","name":"Exemplo JSON","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"registration_number,employee_name,shift_time,summary,extra_time,total_time,initial_time_balance,final_time_balance,custom_interval_time,overnight_time,exemptions,missing_days,proposals\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/period_summaries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 16:08:09 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"64c930fddc5de0e6138429951f6c6d7c\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"51061fc4-ef10-4f4e-ba07-338c0a799971","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.123089","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"{\n  \"heading\": {\n    \"title\": \"Resumo da jornada\",\n    \"created_by_name\": \"Frodo\",\n    \"start_date\": \"01/09/2018\",\n    \"end_date\": \"05/09/2018\",\n    \"today\": \"21/11/2018\"\n  },\n  \"data\": [\n    [\n      {\n        \"header\": {\n          \"registration_number\": {\n            \"title\": \"Matrícula\"\n          },\n          \"employee_name\": {\n            \"title\": \"Nome\"\n          },\n          \"shift_time\": {\n            \"title\": \"Horas previstas\"\n          },\n          \"summary\": {\n            \"title\": \"Totais da jornada\",\n            \"subheader\": [\n              {\n                \"title\": \"H. intervalo\"\n              },\n              {\n                \"title\": \"H. faltantes\"\n              },\n              {\n                \"title\": \"Horas normais\"\n              }\n            ]\n          },\n          \"extra_time\": {\n            \"title\": \"Total de H. Extras\",\n            \"subheader\": [\n              {\n                \"title\": \"H.E. 1\"\n              },\n              {\n                \"title\": \"H.E. 2\"\n              },\n              {\n                \"title\": \"H.E. 3\"\n              },\n              {\n                \"title\": \"H.E. 4\"\n              }\n            ]\n          },\n          \"total_time\": {\n            \"title\": \"Horas totais\"\n          },\n          \"initial_time_balance\": {\n            \"title\": \"Saldo inicial\"\n          },\n          \"final_time_balance\": {\n            \"title\": \"Saldo final\"\n          },\n          \"custom_interval_time\": {\n            \"title\": \"Horas intrajornada\"\n          },\n          \"overnight_time\": {\n            \"title\": \"Adicional noturno\"\n          },\n          \"exemptions\": {\n            \"title\": \"Quantidade de abonos\"\n          },\n          \"missing_days\": {\n            \"title\": \"Quantidade de faltas\"\n          },\n          \"proposals\": {\n            \"title\": \"Quantidade de ajustes\"\n          }\n        },\n        \"data\": [\n          {\n            \"employee_name\": \"Darth vader\",\n            \"registration_number\": \"0001\",\n            \"shift_time\": \"40:00\",\n            \"summary\": [\n              \"08:00\",\n              \"08:00\",\n              \"32:00\"\n            ],\n            \"extra_time\": [\n              \"00:00\",\n              \"00:00\",\n              \"00:00\",\n              \"00:00\"\n            ],\n            \"total_time\": \"32:00\",\n            \"initial_time_balance\": \"00:00\",\n            \"final_time_balance\": \"00:00\",\n            \"custom_interval_time\": \"00:00\",\n            \"overnight_time\": \"00:00\",\n            \"exemptions\": 0,\n            \"missing_days\": 1,\n            \"proposals\": 4\n          },\n          {\n            \"employee_name\": \"Gollum\",\n            \"registration_number\": null,\n            \"shift_time\": \"24:00\",\n            \"summary\": [\n              \"00:00\",\n              \"24:00\",\n              \"00:00\"\n            ],\n            \"extra_time\": [\n              \"00:00\",\n              \"00:00\",\n              \"00:00\",\n              \"00:00\"\n            ],\n            \"total_time\": \"00:00\",\n            \"initial_time_balance\": \"00:00\",\n            \"final_time_balance\": \"00:00\",\n            \"custom_interval_time\": \"00:00\",\n            \"overnight_time\": \"00:00\",\n            \"exemptions\": 0,\n            \"missing_days\": 3,\n            \"proposals\": 0\n          }\n        ],\n        \"footer\": [\n          {\n            \"registration_number\": \"TOTAIS\",\n            \"summary\": [\n              \"08:00\",\n              \"32:00\",\n              \"32:00\"\n            ],\n            \"extra_time\": [\n              \"00:00\",\n              \"00:00\",\n              \"00:00\",\n              \"00:00\"\n            ],\n            \"shift_time\": \"64:00\",\n            \"total_time\": \"32:00\",\n            \"custom_interval_time\": \"00:00\",\n            \"overnight_time\": \"00:00\",\n            \"exemptions\": 0,\n            \"missing_days\": 4,\n            \"proposals\": 4\n          }\n        ],\n        \"totals\": null\n      }\n    ]\n  ],\n  \"meta\": {\n    \"now\": 1542816489,\n    \"ip\": \"127.0.0.1\"\n  }\n}"},{"id":"fb29c9af-c2dc-4b4d-b964-d0867a29f2a7","name":"Exemplo CSV","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente.","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2018-09-01\",\n    \"end_date\": \"2018-09-05\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"registration_number,employee_name,shift_time,summary,extra_time,total_time,initial_time_balance,final_time_balance,custom_interval_time,overnight_time,exemptions,missing_days,proposals\",\n    \"format\": \"csv\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/period_summaries"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Disposition","value":"attachment; filename=\"Report.csv\"","name":"Content-Disposition","description":"An opportunity to raise a \"File Download\" dialogue box for a known MIME type"},{"key":"Content-Type","value":"text/csv; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Nov 2018 16:07:46 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"b7fece0c761cdc8f840e1ba695d6816e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Server","value":"nginx/1.12.2 + Phusion Passenger 5.2.3","name":"Server","description":"A name for the server"},{"key":"Status","value":"200 OK","name":"Status","description":"Custom header"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Phusion Passenger 5.2.3","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Request-Id","value":"4098effb-02fb-4571-8c2c-b01a974793c9","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.531522","name":"X-Runtime","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"}],"cookie":[],"responseTime":null,"body":"Relatório de Resumo da jornada\nPor Frodo em 21/11/2018\nDe 01/09/2018 até 05/09/2018\n\nEquipe,Administração\nMatrícula,Nome,Horas previstas,H. intervalo (Totais da jornada),H. faltantes (Totais da jornada),Horas normais (Totais da jornada),H.E. 1 (Total de H. Extras),H.E. 2 (Total de H. Extras),H.E. 3 (Total de H. Extras),H.E. 4 (Total de H. Extras),Horas totais,Saldo inicial,Saldo final,Horas intrajornada,Adicional noturno,Quantidade de abonos,Quantidade de faltas,Quantidade de ajustes\n0001,Darth vader,40:00,08:00,08:00,32:00,00:00,00:00,00:00,00:00,32:00,00:00,00:00,00:00,00:00,0,1,4\n,Son Goku,24:00,00:00,24:00,00:00,00:00,00:00,00:00,00:00,00:00,00:00,00:00,00:00,00:00,0,3,0\nTOTAIS,,64:00,08:00,32:00,32:00,00:00,00:00,00:00,00:00,32:00,,,00:00,00:00,0,4,4\n\n\n0.287705209\n"}],"_postman_id":"ba755f3d-c7ec-4aa7-97b1-826057da0cb6"},{"name":"Sobreaviso","id":"3e975f7b-c4cf-44db-adbd-4bbb00523d3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-01-01\",\n    \"end_date\": \"2020-02-01\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,solicitation_status,solicitation_type,answered_by,updated_at,observation,status,file\",\n    \"format\": \"json\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/standby","description":"<p>Exibe o relatório de <strong>Sobreaviso</strong>.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String (8)</td>\n<td>Sim</td>\n<td>Tipo do agrupamento (consulte a tabela <strong>Agrupamentos disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros adicionais (consulte a tabela <strong>Filtros adicionais disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas (consulte a tabela <strong>Colunas disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório (json, csv ou html)</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>solicitation_status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do status</td>\n</tr>\n<tr>\n<td>answered_by_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do gestor</td>\n</tr>\n<tr>\n<td>solicitation_type_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do tipo de solicitação</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do motivo</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>subject</td>\n<td>Não</td>\n<td>Assunto</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Sim</td>\n<td>Data da inicial</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Sim</td>\n<td>Data final</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Sim</td>\n<td>Dia inteiro?</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>Sim</td>\n<td>Hora inicial</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>Sim</td>\n<td>Hora final</td>\n</tr>\n<tr>\n<td>standby_hours</td>\n<td>Não</td>\n<td>Horas em sobreaviso</td>\n</tr>\n<tr>\n<td>planned_hours</td>\n<td>Não</td>\n<td>Horas planejadas (em sobreaviso)</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Não</td>\n<td>Data da criação</td>\n</tr>\n<tr>\n<td>worked_hours</td>\n<td>Não</td>\n<td>Horas trabalhadas (em sobreaviso)</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>shift_name</td>\n<td>Não</td>\n<td>Turno</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","standby"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e975f7b-c4cf-44db-adbd-4bbb00523d3e"},{"name":"Solicitações","id":"52eb9209-d7e7-4908-aca2-4a6f4c550895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-01-01\",\n    \"end_date\": \"2020-02-01\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"employee_name,registration_number,team_name,date,time_cards,solicitation_status,solicitation_type,answered_by,updated_at,observation,status,file\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/solicitations","description":"<p>Exibe o relatório de solicitações.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String (8)</td>\n<td>Sim</td>\n<td>Tipo do agrupamento (consulte a tabela <strong>Agrupamentos disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros adicionais (consulte a tabela <strong>Filtros adicionais disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas (consulte a tabela <strong>Colunas disponíveis</strong>)</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório (json, csv ou html)</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>solicitation_status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do status</td>\n</tr>\n<tr>\n<td>answered_by_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do gestor</td>\n</tr>\n<tr>\n<td>solicitation_type_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do tipo de solicitação</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do motivo</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<p>É possível utilizar mais de um filtro, separando-os com uma vírgula.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluí colaboradores inativos</td>\n</tr>\n<tr>\n<td>with_refuseds</td>\n<td>Não</td>\n<td>Incluir solicitações reprovadas?</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Não</td>\n<td>Arquivo anexado à solicitação</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>time_cards</td>\n<td>Não</td>\n<td>Pontos</td>\n</tr>\n<tr>\n<td>solicitation_status</td>\n<td>Sim</td>\n<td>Status</td>\n</tr>\n<tr>\n<td>solicitation_type</td>\n<td>Não</td>\n<td>Tipo de solicitação</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Não</td>\n<td>Quem aprovou/reprovou</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Não</td>\n<td>Data da criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Não</td>\n<td>Data da alteração</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>Não</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Sim</td>\n<td>Motivo</td>\n</tr>\n<tr>\n<td>disapproval_reason</td>\n<td>Não</td>\n<td>Motivo da reprovação</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","solicitations"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"52eb9209-d7e7-4908-aca2-4a6f4c550895"},{"name":"Turnos","id":"1f6b6397-6d8e-43f5-98f3-f35fb40620f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"group_by\": \"shift\",\n    \"row_filters\": \"with_inactives\",\n    \"columns\": \"code,description,schedules,main_interval\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/shifts","description":"<p>Exibe o relatório de Turnos.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Tipo do agrupamento. Veja disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Filtros adicionais. Para mais de um utilizar ',' como separador. Veja disponíveis abaixo</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Colunas. Para multiplas, separe por virgula. Veja disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Formato do relatório. Veja os disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>shift_type_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do tipo de turno. Ver disponíveis abaixo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>shift</td>\n<td>Não</td>\n<td>Agrupamento por turno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir turnos indisponíveis?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>Sim</td>\n<td>Código</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Não</td>\n<td>Descrição</td>\n</tr>\n<tr>\n<td>shift_day</td>\n<td>Não</td>\n<td>Dia</td>\n</tr>\n<tr>\n<td>schedules</td>\n<td>Não</td>\n<td>Horários</td>\n</tr>\n<tr>\n<td>ignore_holidays</td>\n<td>Não</td>\n<td>Ignora feriados</td>\n</tr>\n<tr>\n<td>flexible_interval</td>\n<td>Não</td>\n<td>Intervalo flexível</td>\n</tr>\n<tr>\n<td>auto_interval</td>\n<td>Não</td>\n<td>Intervalo pré-assinalado</td>\n</tr>\n<tr>\n<td>main_interval</td>\n<td>Não</td>\n<td>Intervalo principal</td>\n</tr>\n<tr>\n<td>flexible</td>\n<td>Não</td>\n<td>Jornada flexível</td>\n</tr>\n<tr>\n<td>overtime_limit</td>\n<td>Não</td>\n<td>Limite de horas extras</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Não</td>\n<td>Status</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Não</td>\n<td>Tipo</td>\n</tr>\n<tr>\n<td>flexible_allowance</td>\n<td>Não</td>\n<td>Tolerância em jornada flexível</td>\n</tr>\n<tr>\n<td>advanced_shift</td>\n<td>Não</td>\n<td>Turno avançado</td>\n</tr>\n<tr>\n<td>shift_turn</td>\n<td>Não</td>\n<td>Virada do turno</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","shifts"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f6b6397-6d8e-43f5-98f3-f35fb40620f8"},{"name":"Vigencia de Banco de Horas","id":"c834658c-a584-4b3f-b7a8-170c12b10fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}"}],"body":{"mode":"raw","raw":"{\n  \"report\": {\n    \"start_date\": \"2020-01-01\",\n    \"end_date\": \"2020-02-01\",\n    \"group_by\": \"team\",\n    \"row_filters\": \"\",\n    \"columns\": \"first_time_card,closing_period,employee_name,time_balance_closing,expiration\",\n    \"format\": \"json\"\n  }\n}\n"},"url":"{{server_url}}/external_api/v1/reports/time_balances_validity","description":"<p>Exibe o relatório de Vigencia de Banco de Horas.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>formato do relatório, ver disponíveis abaixo</td>\n<td>Sim</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID da equipe</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do colaborador</td>\n<td>Não</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Filtra pelo ID do centro de custo</td>\n<td>Não</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-adicionais-disponíveis\">Filtros adicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Inclui colaboradores inativos</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Inclui colaboradores que não registram ponto?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_name</td>\n<td>Sim</td>\n<td>Nome do colaborador</td>\n</tr>\n<tr>\n<td>first_time_card</td>\n<td>Sim</td>\n<td>Data de ínicio</td>\n</tr>\n<tr>\n<td>closing_period</td>\n<td>Sim</td>\n<td>Data referente a ultima quitação de horas do banco</td>\n</tr>\n<tr>\n<td>time_balance_closing</td>\n<td>Sim</td>\n<td>Saldo de Horas, podendo ser positivo ou negativo</td>\n</tr>\n<tr>\n<td>expiration</td>\n<td>Sim</td>\n<td>Vencimento</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","time_balances_validity"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c834658c-a584-4b3f-b7a8-170c12b10fef"}],"id":"a39c9897-5b7e-4f85-b75e-a409e7d98cb4","event":[{"listen":"prerequest","script":{"id":"4bfeeabe-9d79-4962-8749-443b0cdbcaad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5988e1ee-9ddd-4689-81b1-82edbb707e86","type":"text/javascript","exec":[""]}}],"_postman_id":"a39c9897-5b7e-4f85-b75e-a409e7d98cb4","description":""},{"name":"Afastamentos","item":[{"name":"Listar","id":"2a23f53f-1e9d-44b8-ab56-0d5ae3b32728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente.</p>\n","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{server_url}}/external_api/v1/absences","description":"<p>Lista os afastamentos.</p>\n<h2 id=\"atributos\">Atributos</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Data de início</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Colaborador (id, name, picture)</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Data de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String (255)</td>\n<td>Observação</td>\n</tr>\n<tr>\n<td>total_days</td>\n<td>Integer</td>\n<td>Total de dias afastado</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>É atestado médico?</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>Número do CRM</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>Número do CID</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>String</td>\n<td>Nome do médico</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>String</td>\n<td>Nome da clinica</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Object</td>\n<td>Objeto do arquivo (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Objeto do colaborador (Verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>absence_type</td>\n<td>Object</td>\n<td>Objeto do tipo de afastamento (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-file\">Formato do objeto file</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>URL do arquivo anexado</td>\n</tr>\n<tr>\n<td>content_type</td>\n<td>String</td>\n<td>Formato do arquivo anexado</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>Objeto da imagem de perfil do colaborador</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Tipo de registro</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-picture\">Formato do objeto picture</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url</td>\n<td>String</td>\n<td>URL da imagem em tamanho padrão</td>\n</tr>\n<tr>\n<td>medium_url</td>\n<td>String</td>\n<td>URL da imagem redimencionada para tamanho médio</td>\n</tr>\n<tr>\n<td>small_url</td>\n<td>String</td>\n<td>URL da imagem redimencionada para tamanho pequeno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-absence_type\">Formato do objeto absence_type</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do tipo do afastamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"opções-do-absence_type\">Opções do absence_type</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Afastamento</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Férias</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Afastamento ou férias (indefinido)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","absences"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"d88776a5-a770-4d57-b1cc-4cf8e8dbafe1","name":"Exemplo de listagem de afastamentos e férias","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente."},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{server_url}}/external_api/v1/absences"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"6b43a5f3-700e-4929-b9da-c2954e39091d"},{"key":"ETag","value":"W/\"e1fad33635357d5ed189545641d1ff14\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.100326"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 19:58:54 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"absences\": [\n        {\n            \"id\": 133,\n            \"employee\": {\n                \"id\": 438,\n                \"name\": \"Frodo Bolseiro\",\n                \"picture\": {\n                    \"url\": \"frodo-bolseiro-143fa77e2f1e20d17497_default.jpg?1581079002\",\n                    \"medium_url\": \"frodo-bolseiro-143fa77e2f1e20d17497_medium.jpg?1581079002\",\n                    \"small_url\": \"frodo-bolseiro-143fa77e2f1e20d17497_small.jpg?1581079002\"\n                }\n            },\n            \"start_date\": \"17/02/2020\",\n            \"end_date\": \"28/02/2020\",\n            \"observation\": \"Mussum Ipsum.\",\n            \"is_medical_certificate\": false,\n            \"cid\": \"\",\n            \"crm\": \"\",\n            \"medical_name\": \"\",\n            \"clinic_name\": \"\",\n            \"file\": {\n                \"url\": \"mussum-ipsum-6783f32bd3c0384cf96b.pdf?1581623931\",\n                \"content_type\": \"application/pdf\"\n            },\n            \"created_at\": 1581623931,\n            \"updated_at\": 1581623931,\n            \"absence_type\": {\n                \"id\": 1,\n                \"name\": \"Afastamento\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"now\": 1581623934,\n        \"ip\": \"187.32.131.210\"\n    }\n}"}],"_postman_id":"2a23f53f-1e9d-44b8-ab56-0d5ae3b32728"}],"id":"b91a85b9-3eca-44f7-a8d8-49f61c555f88","_postman_id":"b91a85b9-3eca-44f7-a8d8-49f61c555f88","description":""},{"name":"Preferências (Configurações de Controle de Ponto)","item":[{"name":"Listar","id":"98158b04-2e86-4a9e-a19f-76a1f992737e","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/preferences?attributes=id,code,name","description":"<p>Lista as preferências.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Código identificador da preferência</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da preferência</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","preferences"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,code,name"}],"variable":[]}},"response":[{"id":"e869b8cb-4357-47fe-b3de-e922b88d5fc0","name":"Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":{"raw":"{{server_url}}/external_api/v1/preferences?attributes=id,code,name","host":["{{server_url}}"],"path":["external_api","v1","preferences"],"query":[{"key":"attributes","value":"id,code,name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"cd9f8ea784174f5f523b95b974e35038\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"19e3e591-c44f-447c-b020-f901a6f29be2"},{"key":"X-Runtime","value":"0.110654"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"preferences\": [\n        {\n            \"id\": 51,\n            \"name\": \"Geral\",\n            \"code\": \"0001\"\n        },\n        {\n            \"id\": 84,\n            \"name\": \"Banco de horas\",\n            \"code\": \"0002\"\n        },\n        {\n            \"id\": 89,\n            \"name\": \"Sem banco\",\n            \"code\": \"0004\"\n        },\n        {\n            \"id\": 92,\n            \"name\": \"Banco 50/50\",\n            \"code\": \"0003\"\n        }\n    ],\n    \"meta\": {\n        \"now\": 1744912251,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"98158b04-2e86-4a9e-a19f-76a1f992737e"}],"id":"c6b7384e-8d05-451e-989e-58a78b2e5e4a","description":"<p>Configurações de controle de ponto que serão utilizadas. As mesmas devem ser cadastradas via plataforma web.</p>\n","_postman_id":"c6b7384e-8d05-451e-989e-58a78b2e5e4a"},{"name":"Preferências (Configurações de férias)","item":[{"name":"Listar","id":"f96e2644-fc1d-4873-8ada-f113dad3ea08","request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":"{{server_url}}/external_api/v1/vacation_configurations?page=1&per_page=10","description":"<p>Lista as configurações de férias.</p>\n<h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>A página desejada da lista</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>A quantidade de registros por página</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","vacation_configurations"],"host":["{{server_url}}"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"10"}],"variable":[]}},"response":[{"id":"c2c6cb72-b287-4461-b64f-4d21bafff603","name":"Exemplo de listagem com sucesso","originalRequest":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}"}],"url":{"raw":"{{server_url}}/external_api/v1/vacation_configurations?page=1&per_page=10","host":["{{server_url}}"],"path":["external_api","v1","vacation_configurations"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"8ebddf795cf404cacbae5bdf0ba46ad4\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-Request-Id","value":"efc6ec8c-46c6-4b7d-bc17-85ec327f8ea1"},{"key":"X-Runtime","value":"0.389775"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 4,\n    \"page\": 1,\n    \"per_page\": 10,\n    \"pages\": 1,\n    \"collection\": [\n        {\n            \"id\": null,\n            \"name\": \"Não fazer a gestão de férias através da extensão \\\"Férias e folgas\\\"\",\n            \"active\": true\n        },\n        {\n            \"id\": 3,\n            \"name\": \"CLTs\",\n            \"active\": true\n        },\n        {\n            \"id\": 4,\n            \"name\": \"CLTs - antiga\",\n            \"active\": false\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Férias com compra\",\n            \"active\": true\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Não CLTs\",\n            \"active\": true\n        }\n    ]\n}"}],"_postman_id":"f96e2644-fc1d-4873-8ada-f113dad3ea08"}],"id":"4dc830d9-69e8-4273-9c16-4ad92cd25799","description":"<p>Configurações de férias que serão utilizadas. As mesmas devem ser cadastradas via plataforma web.</p>\n","_postman_id":"4dc830d9-69e8-4273-9c16-4ad92cd25799"},{"name":"Exportação Folha","item":[{"name":"Gerar","event":[{"listen":"prerequest","script":{"id":"59a9a3c7-74c5-4789-88c1-0ebf51878003","exec":[""],"type":"text/javascript"}}],"id":"1e7498a9-79bc-4968-83f4-36576c853913","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{external_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"custom_export\":{\n\t\t\"token\": \"{{layout_token}}\",\n        \"use_layout_software\": false,\n\t\t\"cpf\": \"{{cpf}}\",\n\t\t\"start_date\": \"2020-08-10\", \n\t\t\"end_date\": \"2020-08-14\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/custom_exports","description":"<p>Exibe a exportação folha em formato JSON.</p>\n<blockquote>\n<p>OBS: Os colaboradores da unidade devem possuir fechamento no período solicitado, caso contrário não será retornado nenhum dado.</p>\n</blockquote>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>String</td>\n<td>Sim</td>\n<td>token do layout</td>\n</tr>\n<tr>\n<td>business_unit_code</td>\n<td>Code (60)</td>\n<td>Sim</td>\n<td>Código da únidade</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data inicial</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data final</td>\n</tr>\n<tr>\n<td>use_layout_software</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Envie true para exportar no formato do software do layout, false para exportar no formato padrão da API</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"parametros-adicionais\">Parametros adicionais</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>registration_number</td>\n<td>String/Array</td>\n<td>Não</td>\n<td>Registro de Matricula, pode ser enviado um array</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String</td>\n<td>Não</td>\n<td>Cpf</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","custom_exports"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"layout_token","value":"$2a$10$fsXq0BxhlndfW8tgVNLTo.VFKbY5VN4PoH0UxtlKoBaTWRGZgs6Se"},{"disabled":true,"key":"start_date","value":"2020-01-10"},{"disabled":true,"key":"end_date","value":"2020-01-11"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"e692bd02-2bea-48a8-a9bc-377bf99f0aa1","name":"Exemplo de sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"custom_export\":{\n\t\t\"token\": \"{{layout_token}}\",\n        \"use_layout_software\": false,\n\t\t\"business_unit_code\": \"0001\",\n\t\t\"start_date\": \"2020-01-01\", \n\t\t\"end_date\": \"2020-01-02\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/custom_exports?","host":["{{server_url}}"],"path":["external_api","v1","custom_exports"],"query":[{"key":"layout_token","value":"$2a$10$fsXq0BxhlndfW8tgVNLTo.VFKbY5VN4PoH0UxtlKoBaTWRGZgs6Se","disabled":true},{"key":"start_date","value":"2020-01-10","disabled":true},{"key":"end_date","value":"2020-01-11","disabled":true},{"key":"","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"e1b1b9db-8fee-42c2-88a6-2b49fc15dfe2"},{"key":"ETag","value":"W/\"0e096355424f824f962fa0cbcc454420\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.502173"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 20:40:27 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"content\": [\n        {\n            \"tipo\": \"2\",\n            \"codigo\": \"00010\",\n            \"nome\": \"Gollum Gollum Gollum\",\n            \"evento\": \"0001\",\n            \"tipo_registro\": \"C\",\n            \"referencia\": \"00000000-800\"\n        },\n        {\n            \"tipo\": \"2\",\n            \"codigo\": \"00010\",\n            \"nome\": \"Gollum Gollum Gollum\",\n            \"evento\": \"0003\",\n            \"tipo_registro\": \"C\",\n            \"referencia\": \"000000000600\"\n        },\n        {\n            \"tipo\": \"2\",\n            \"codigo\": \"00011\",\n            \"nome\": \"Frodo Bolseiro\",\n            \"evento\": \"0001\",\n            \"tipo_registro\": \"C\",\n            \"referencia\": \"00000000-800\"\n        },\n        {\n            \"tipo\": \"2\",\n            \"codigo\": \"00011\",\n            \"nome\": \"Frodo Bolseiro\",\n            \"evento\": \"0003\",\n            \"tipo_registro\": \"C\",\n            \"referencia\": \"000000002200\"\n        }\n    ],\n    \"without_registration_number\": [],\n    \"meta\": {\n        \"now\": 1581626426,\n        \"ip\": \"187.32.131.210\"\n    }\n}"},{"id":"ff2b1350-3232-46ed-9860-835b26710c20","name":"Exemplo sem fechamento para o período","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"custom_export\":{\n\t\t\"token\": \"{{layout_token}}\",\n\t\t\"business_unit_code\": \"0001\",\n\t\t\"start_date\": \"2020-01-01\", \n\t\t\"end_date\": \"2020-01-02\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/custom_exports?","host":["{{server_url}}"],"path":["external_api","v1","custom_exports"],"query":[{"key":"layout_token","value":"$2a$10$fsXq0BxhlndfW8tgVNLTo.VFKbY5VN4PoH0UxtlKoBaTWRGZgs6Se","disabled":true},{"key":"start_date","value":"2020-01-10","disabled":true},{"key":"end_date","value":"2020-01-11","disabled":true},{"key":"","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"400 Bad Request"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"e9070e2e-278d-447d-a3f3-c6b0eb6f1e38"},{"key":"X-Runtime","value":"0.094056"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 20:46:45 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Nada para exportar,verifique se existe um fechamento criado para este período\",\n    \"meta\": {\n        \"now\": 1581626805,\n        \"ip\": \"187.32.131.210\"\n    }\n}"},{"id":"ae44bb84-679d-48c7-88a3-cf5ed38aa052","name":"Exemplo com token da folha inválido","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{external_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"custom_export\":{\n\t\t\"token\": \"xxx\",\n\t\t\"cpf\": \"{{cpf}}\",\n\t\t\"start_date\": \"2020-08-10\", \n\t\t\"end_date\": \"2020-08-14\"\n\t}\n}"},"url":{"raw":"{{server_url}}/external_api/v1/custom_exports","host":["{{server_url}}"],"path":["external_api","v1","custom_exports"],"query":[{"key":"layout_token","value":"$2a$10$fsXq0BxhlndfW8tgVNLTo.VFKbY5VN4PoH0UxtlKoBaTWRGZgs6Se","disabled":true},{"key":"start_date","value":"2020-01-10","disabled":true},{"key":"end_date","value":"2020-01-11","disabled":true},{"key":"","value":null,"disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Token da folha inválido!\",\n    \"meta\": {\n        \"now\": 1581626743,\n        \"ip\": \"187.32.131.210\"\n    }\n}"}],"_postman_id":"1e7498a9-79bc-4968-83f4-36576c853913"}],"id":"cf513405-80c1-49fd-8700-178508635d70","_postman_id":"cf513405-80c1-49fd-8700-178508635d70","description":""},{"name":"Exceções de jornada","item":[{"name":"Listar","id":"b2d6d129-5672-4380-8466-e0043aed2034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente.</p>\n","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/exemptions?start_date={{start_date}}&end_date={{end_date}}&medical_certificate={{medical_certificate}}&page=1&per_page=10","description":"<p>Lista todos os abonos, independentemente de colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>data de início do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de término do período</td>\n</tr>\n<tr>\n<td>medical_certificate</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>Atestado médico? (_true - sim</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Página atual</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Quantidade de registros por página (padrão: 10, máximo: 20)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Dados do colaborador (id, nome, picture)</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do abono</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>hora de início</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>hora de término</td>\n</tr>\n<tr>\n<td>solicitation_status</td>\n<td>Object</td>\n<td>Status da solicitação</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Object</td>\n<td>Dados de quem respondeu a solicitação</td>\n</tr>\n<tr>\n<td>answered_at</td>\n<td>Timestamp</td>\n<td>Data e hora da resposta</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>string</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>Atestado médico? (_true - sim</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>CID</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>CRM do médico</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>String</td>\n<td>Nome do médico</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>String</td>\n<td>Local de atendimento</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Object</td>\n<td>Imagem do atestado médico</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Date</td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Date</td>\n<td>Data de atualização</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Object</td>\n<td>Dados do status (id, observation, active, status_type{id, name})</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","exemptions"],"host":["{{server_url}}"],"query":[{"key":"start_date","value":"{{start_date}}"},{"key":"end_date","value":"{{end_date}}"},{"key":"medical_certificate","value":"{{medical_certificate}}"},{"key":"page","value":"1"},{"key":"per_page","value":"10"}],"variable":[]}},"response":[{"id":"3f2ca891-8ceb-48d6-8097-4d6b5b885497","name":"Exemplo de listagem de abonos","originalRequest":{"method":"GET","header":[{"description":"Token do cliente.","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{server_url}}/external_api/v1/exemptions?start_date={{start_date}}&end_date={{end_date}}&medical_certificate={{medical_certificate}}","host":["{{server_url}}"],"path":["external_api","v1","exemptions"],"query":[{"key":"start_date","value":"{{start_date}}"},{"key":"end_date","value":"{{end_date}}"},{"key":"medical_certificate","value":"{{medical_certificate}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"9d589e89-8262-41a2-ad57-dbe2aa2d91ef"},{"key":"ETag","value":"W/\"4e4eb69bb3011b21bfc02410008c2b3e\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.097405"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 19:50:50 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"exemptions\": [\n        {\n            \"id\": 137,\n            \"employee\": {\n                \"id\": 437,\n                \"name\": \"Gollum Gollum Gollum\",\n                \"picture\": {\n                    \"url\": \"gollum-gollum-gollum-61436ee35040ce4e4880_default.jpg?1581079028\",\n                    \"medium_url\": \"gollum-gollum-gollum-61436ee35040ce4e4880_medium.jpg?1581079028\",\n                    \"small_url\": \"gollum-gollum-gollum-61436ee35040ce4e4880_small.jpg?1581079028\"\n                }\n            },\n            \"date\": \"11/02/2020\",\n            \"start_time\": null,\n            \"end_time\": null,\n            \"solicitation_status\": {\n                \"id\": 1,\n                \"name\": \"Pendente\"\n            },\n            \"answered_by\": null,\n            \"answered_at\": null,\n            \"observation\": \"dvb dfbvgdfbv\",\n            \"is_medical_certificate\": false,\n            \"cid\": \"\",\n            \"crm\": \"\",\n            \"medical_name\": \"\",\n            \"clinic_name\": \"\",\n            \"file\": {\n                \"url\": \"dvb-dfbvgdfbv-83c2f2ec5ecf61b8edfe.pdf?1581623442\",\n                \"content_type\": \"application/pdf\"\n            },\n            \"created_at\": 1581623442,\n            \"updated_at\": 1581623442,\n            \"status\": {\n                \"id\": 3,\n                \"observation\": \"Atestado\",\n                \"active\": true,\n                \"status_type\": {\n                    \"id\": 3,\n                    \"name\": \"Abono\"\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"now\": 1581623450,\n        \"ip\": \"187.32.131.210\"\n    }\n}"}],"_postman_id":"b2d6d129-5672-4380-8466-e0043aed2034"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"7cd29f0a-26d7-4e45-b11e-e0d96b1c9bd3","exec":[""],"type":"text/javascript"}}],"id":"086010ff-36fa-4f18-a1b4-0e86de27014f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"date\": \"2024-01-04\",\n        \"start_time\": null,\n\t\t\"end_time\": null,\n\t\t\"all_day\": true,\n\t\t\"employee_id\": 1,\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"status_id\": 21274,\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/exemptions","description":"<p>Cria uma exceção de jornada.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Não</td>\n<td>Data da exceção</td>\n</tr>\n<tr>\n<td>days</td>\n<td>Object</td>\n<td>Não</td>\n<td>Dias em que a exceção deve ser aplicada. Veja a <strong>Estrutura do objeto days</strong></td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>Não</td>\n<td>hora de início</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>Não</td>\n<td>hora de término</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Caso <strong>true</strong>, indica que a exceção de jornada compreenderá o dia inteiro e, portanto, os atributos <strong>start_time</strong> e <strong>end_time</strong> serão ignorados.</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>file</td>\n<td>String</td>\n<td>Não</td>\n<td>Imagem do atestado médico em Base64</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do motivo cadastrado nos <strong>Motivos de ajuste</strong> dentro da tela de <strong>Configurações</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-days\">Estrutura do objeto days</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data da exceção</td>\n</tr>\n<tr>\n<td>all_day</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>Exceção se aplica ao dia todo? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>period_type</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Período do abono (1 - Dia todo, 2 - Específico, 3 - Do início, 4 - Do fim)</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>Não</td>\n<td>hora de início</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>Não</td>\n<td>hora de término</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Atenção</strong>: Caso o objeto <strong>days</strong> seja enviado, os atributos <strong>date</strong>, <strong>start_time</strong>, <strong>end_time</strong> e <strong>all_day</strong>, localizados no nível mais externo, serão ignorados.\n<strong>Atenção</strong>: O <strong>end_time</strong> deve ser enviado com um minuto antes do tempo desejado. Exemplo deseja abonar das 08:00 ao 12:00, deve ser enviado o ** { start_time: 08:00, end_time: 11:59} **.</p>\n","urlObject":{"path":["external_api","v1","exemptions"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"8c4124e6-f0df-42ab-a8b8-99ecc7b2871d","name":"Exceção em lote criada com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"date\": \"2020-06-10\",\n\t\t\"start_time\": \"\",\n\t\t\"end_time\": \"\",\n\t\t\"all_day\": true,\n\t\t\"employee_id\": 395861,\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"status_id\": 502625,\n\t\t\"days\": [\n\t\t\t{\"date\": \"2020-06-10\", \"period_type\": 1},\n\t\t\t{\"date\": \"2020-06-15\", \"start_time\": \"07:35\", \"end_time\":\"13:00\", \"period_type\": 4}\n\t\t],\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/exemptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Jun 2020 20:07:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"43b1fc44-5172-41a6-b23d-5803a78b4214"},{"key":"ETag","value":"W/\"a9afd0ae24c93f9f89c3c7d6833b719d\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"2.089631"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.1"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.1"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Exceção de jornada cadastrada com sucesso!\",\n    \"ids\": [\n        5206515,\n        5206516\n    ],\n    \"meta\": {\n        \"now\": 1592510862,\n        \"ip\": \"191.177.183.151\"\n    }\n}"},{"id":"cdf1a576-166d-4c4a-acb0-10004dd7c485","name":"Exceção em lote com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"\",\n\t\t\"clinic_name\": \"\",\n\t\t\"crm\": \"\",\n\t\t\"date\": \"2020-06-10\",\n\t\t\"start_time\": \"\",\n\t\t\"end_time\": \"\",\n\t\t\"all_day\": true,\n\t\t\"employee_id\": 1,\n\t\t\"exemption_type\": 2,\n\t\t\"is_medical_certificate\": false,\n\t\t\"medical_name\": \"\",\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"solicitation_status\": 1,\n\t\t\"status_id\": 5,\n\t\t\"days\": [\n\t\t\t{\"date\": \"2020-06-10\", \"start_time\": \"07:35\", \"end_time\":\"13:00\", \"period_type\": 3},\n\t\t\t{\"date\": \"2020-06-11\", \"start_time\": \"07:35\", \"end_time\":\"13:00\", \"period_type\": 3}\n\t\t],\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/exemptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"91823e07-1b84-4f55-ad72-00630d84ae55"},{"key":"ETag","value":"W/\"972df3ec857ad3dbfc9fff268ce28be7\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"4.107828"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Wed, 17 Jun 2020 14:04:49 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Exceção de jornada cadastrada com sucesso!\",\n    \"ids\": [\n        227,\n        228\n    ],\n    \"meta\": {\n        \"now\": 1592402686,\n        \"ip\": \"172.18.0.1\"\n    }\n}"},{"id":"b7bd69b6-b2e4-4848-b3aa-eb19577e49ed","name":"Exceção em lote com choque de exceções","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"\",\n\t\t\"clinic_name\": \"\",\n\t\t\"crm\": \"\",\n\t\t\"date\": \"2020-06-10\",\n\t\t\"start_time\": \"\",\n\t\t\"end_time\": \"\",\n\t\t\"all_day\": true,\n\t\t\"employee_id\": 1,\n\t\t\"exemption_type\": 2,\n\t\t\"is_medical_certificate\": false,\n\t\t\"medical_name\": \"\",\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"solicitation_status\": 1,\n\t\t\"status_id\": 5,\n\t\t\"days\": [\n\t\t\t{\"date\": \"2020-06-10\", \"start_time\": \"07:35\", \"end_time\":\"13:00\", \"period_type\": 3},\n\t\t\t{\"date\": \"2020-06-11\", \"start_time\": \"07:35\", \"end_time\":\"13:00\", \"period_type\": 3}\n\t\t],\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/exemptions"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"8657d19f-3785-475b-b681-f2fb3a7ffb65"},{"key":"X-Runtime","value":"0.184722"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Wed, 17 Jun 2020 14:05:49 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"days\": {\n            \"2020-06-10\": {\n                \"base\": [\n                    \"Já existe uma exceção ou solicitação de abono cadastrada neste período para os seguintes colaboradores: Gollum Gollum Gollum\"\n                ]\n            },\n            \"2020-06-11\": {\n                \"base\": [\n                    \"Já existe uma exceção ou solicitação de abono cadastrada neste período para os seguintes colaboradores: Gollum Gollum Gollum\"\n                ]\n            }\n        }\n    },\n    \"meta\": {\n        \"now\": 1592402749,\n        \"ip\": \"172.18.0.1\"\n    }\n}"},{"id":"a49ea437-8b48-4d34-8928-0074025e5cb6","name":"Exceção criada com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"date\": \"2020-06-09\",\n\t\t\"start_time\": \"08:00\",\n\t\t\"end_time\": \"11:00\",\n\t\t\"all_day\": true,\n\t\t\"employee_id\": 395861,\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"status_id\": 502625,\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/exemptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Jun 2020 20:18:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"0b8bdc1a-33cd-4282-a164-a9fd04e9b0f3"},{"key":"ETag","value":"W/\"ad6f641a3897bb0573b839c28faf526d\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"1.699357"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.1"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.1"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Exceção de jornada cadastrada com sucesso!\",\n    \"id\": 5206604,\n    \"meta\": {\n        \"now\": 1592511483,\n        \"ip\": \"191.177.183.151\"\n    }\n}"}],"_postman_id":"086010ff-36fa-4f18-a1b4-0e86de27014f"},{"name":"Excluir","id":"087776bb-ed45-4e55-98d1-9df895e36a80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Token do cliente.</p>\n","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/exemptions/{{exemption_id}}","description":"<p>Exclui uma exceção de jornada.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>exemption_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID da exceção</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","exemptions","{{exemption_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"44ae453b-295d-4935-b0e5-0c2249bb8632","name":"Exceção inexistente","originalRequest":{"method":"DELETE","header":[{"description":"Token do cliente.","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/exemptions/{{exemption_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"404 Not Found"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"6264dbd2-b8a2-428d-a76a-5d0a8d48507e"},{"key":"X-Runtime","value":"0.045652"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Wed, 10 Jun 2020 21:28:20 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Registro não encontrado\",\n    \"meta\": {\n        \"now\": 1591824500,\n        \"ip\": \"172.18.0.1\"\n    }\n}"},{"id":"e81f5c0d-4131-4e5f-b607-99e8de1d9be2","name":"Exceção removida","originalRequest":{"method":"DELETE","header":[{"description":"Token do cliente.","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/exemptions/{{exemption_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"f4a6d437-3603-4c1c-8d2d-217f41304d77"},{"key":"ETag","value":"W/\"fa8851c402c16ba986a1a9fdf5545efa\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.538119"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Wed, 10 Jun 2020 23:48:04 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Exceção de jornada removida com sucesso!\",\n    \"meta\": {\n        \"now\": 1591832884,\n        \"ip\": \"172.18.0.1\"\n    }\n}"}],"_postman_id":"087776bb-ed45-4e55-98d1-9df895e36a80"}],"id":"75c7a16e-fd02-4075-bd82-2ce65d9c1305","description":"<p>Para tratar situações como troca de escala entre colaboradores deverá ser realizado o seguinte processo: </p>\n<ol>\n<li><p>Incluir exceção como  se fosse uma folga para o novo colaborador que irá folgar</p>\n</li>\n<li><p>Excluir a exceção do colaborador que já tinha a folga programada</p>\n</li>\n<li><p>Excluir a folga do colaborador que iria ter a folga</p>\n</li>\n<li><p>Incluir a exceção para colaborador que iria ter a folga.</p>\n</li>\n</ol>\n","event":[{"listen":"prerequest","script":{"id":"d630b2df-67bd-4f45-858a-fd19aa8c177b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c73fc668-38b0-498f-9c9b-3432f8d23205","type":"text/javascript","exec":[""]}}],"_postman_id":"75c7a16e-fd02-4075-bd82-2ce65d9c1305"},{"name":"Abonos","item":[{"name":"Listar","id":"e85cc895-b22d-4e96-b393-9116ce777652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Token do cliente.</p>\n","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"{{server_url}}/external_api/v1/allowances?start_date={{start_date}}&end_date={{end_date}}&medical_certificate={{medical_certificate}}","description":"<p>Lista todos os abonos, independentemente de colaborador</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>data de início do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data de término do período</td>\n</tr>\n<tr>\n<td>medical_certificate</td>\n<td>Boolean</td>\n<td>Sim</td>\n<td>Atestado médico? (<em>true - sim | false - não</em>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador único</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Dados do colaborador (id, nome, picture)</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do abono</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>hora de início</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>hora de término</td>\n</tr>\n<tr>\n<td>solicitation_status</td>\n<td>Object</td>\n<td>Status da solicitação</td>\n</tr>\n<tr>\n<td>answered_by</td>\n<td>Object</td>\n<td>Dados de quem respondeu a solicitação</td>\n</tr>\n<tr>\n<td>answered_at</td>\n<td>Timestamp</td>\n<td>Data e hora da resposta</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>string</td>\n<td>Descrição do afastamento ou férias</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>Atestado médico? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>CID</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>CRM do médico</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>String</td>\n<td>Nome do médico</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>String</td>\n<td>Local de atendimento</td>\n</tr>\n<tr>\n<td>file</td>\n<td>Object</td>\n<td>Imagem do atestado médico</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Date</td>\n<td>Data de criação</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Date</td>\n<td>Data de atualização</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","allowances"],"host":["{{server_url}}"],"query":[{"key":"start_date","value":"{{start_date}}"},{"key":"end_date","value":"{{end_date}}"},{"key":"medical_certificate","value":"{{medical_certificate}}"}],"variable":[]}},"response":[{"id":"3a00ad91-3668-4aef-8ef4-929628a47ef2","name":"Exemplo de listagem de abonos","originalRequest":{"method":"GET","header":[{"description":"Token do cliente.","key":"access-token","type":"text","value":"{{client_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{server_url}}/external_api/v1/exemptions?start_date={{start_date}}&end_date={{end_date}}&medical_certificate={{medical_certificate}}","host":["{{server_url}}"],"path":["external_api","v1","exemptions"],"query":[{"key":"start_date","value":"{{start_date}}"},{"key":"end_date","value":"{{end_date}}"},{"key":"medical_certificate","value":"{{medical_certificate}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"9d589e89-8262-41a2-ad57-dbe2aa2d91ef"},{"key":"ETag","value":"W/\"4e4eb69bb3011b21bfc02410008c2b3e\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"0.097405"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 13 Feb 2020 19:50:50 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.2"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"exemptions\": [\n        {\n            \"id\": 137,\n            \"employee\": {\n                \"id\": 437,\n                \"name\": \"Gollum Gollum Gollum\",\n                \"picture\": {\n                    \"url\": \"gollum-gollum-gollum-61436ee35040ce4e4880_default.jpg?1581079028\",\n                    \"medium_url\": \"gollum-gollum-gollum-61436ee35040ce4e4880_medium.jpg?1581079028\",\n                    \"small_url\": \"gollum-gollum-gollum-61436ee35040ce4e4880_small.jpg?1581079028\"\n                }\n            },\n            \"date\": \"11/02/2020\",\n            \"start_time\": null,\n            \"end_time\": null,\n            \"solicitation_status\": {\n                \"id\": 1,\n                \"name\": \"Pendente\"\n            },\n            \"answered_by\": null,\n            \"answered_at\": null,\n            \"observation\": \"dvb dfbvgdfbv\",\n            \"is_medical_certificate\": false,\n            \"cid\": \"\",\n            \"crm\": \"\",\n            \"medical_name\": \"\",\n            \"clinic_name\": \"\",\n            \"file\": {\n                \"url\": \"dvb-dfbvgdfbv-83c2f2ec5ecf61b8edfe.pdf?1581623442\",\n                \"content_type\": \"application/pdf\"\n            },\n            \"created_at\": 1581623442,\n            \"updated_at\": 1581623442\n        }\n    ],\n    \"meta\": {\n        \"now\": 1581623450,\n        \"ip\": \"187.32.131.210\"\n    }\n}"}],"_postman_id":"e85cc895-b22d-4e96-b393-9116ce777652"},{"name":"Criar","event":[{"listen":"prerequest","script":{"id":"62c68af9-8935-41dc-977c-7bc928fdba8c","exec":[""],"type":"text/javascript"}}],"id":"f9225dda-8dfc-493d-9150-3564beda9cc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"999999\",\n\t\t\"clinic_name\": \"Clínica Teste\",\n\t\t\"crm\": \"{{crm}}\",\n\t\t\"medical_name\": \"Frodo Baggins\",\n\t\t\"is_medical_certificate\": true,\n\t\t\"date\": \"2020-06-08\",\n\t\t\"employee_id\": {{employee_id}},\n\t\t\"start_time\": \"08:00\",\n\t\t\"end_time\": \"14:00\",\n\t\t\"all_day\": false,\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"status_id\": {{status_id}},\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/allowances","description":"<p>Cria um abono para um colaborador.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data do abono</td>\n</tr>\n<tr>\n<td>start_time</td>\n<td>String</td>\n<td>Não</td>\n<td>hora de início</td>\n</tr>\n<tr>\n<td>end_time</td>\n<td>String</td>\n<td>Não</td>\n<td>hora de término</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Descrição do abono</td>\n</tr>\n<tr>\n<td>is_medical_certificate</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Atestado médico? (<em>true - sim | false - não</em>)</td>\n</tr>\n<tr>\n<td>cid</td>\n<td>String</td>\n<td>Não</td>\n<td>CID</td>\n</tr>\n<tr>\n<td>crm</td>\n<td>String</td>\n<td>Não</td>\n<td>CRM do médico</td>\n</tr>\n<tr>\n<td>medical_name</td>\n<td>String</td>\n<td>Não</td>\n<td>Nome do médico</td>\n</tr>\n<tr>\n<td>clinic_name</td>\n<td>String</td>\n<td>Não</td>\n<td>Local de atendimento</td>\n</tr>\n<tr>\n<td>file</td>\n<td>String</td>\n<td>Não</td>\n<td>Imagem do atestado médico em Base64</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do motivo cadastrado nos Motivos de ajuste dentro da tela de Configurações.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","allowances"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"2b255b61-7f83-46e9-a9cb-f1fed8765aa7","name":"start_time e end_time vazios","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"\",\n\t\t\"clinic_name\": \"\",\n\t\t\"crm\": \"\",\n\t\t\"date\": \"2020-06-08\",\n\t\t\"employee_id\": 1,\n\t\t\"start_time\": \"\",\n\t\t\"end_time\": \"\",\n\t\t\"all_day\": false,\n\t\t\"is_medical_certificate\": false,\n\t\t\"medical_name\": \"Frodo Baggins\",\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"status_id\": 5,\n\t\t\"days\": [\n\t\t\t{\"date\": \"2020-06-08\", \"start_time\": \"08:00\", \"end_time\":\"18:00\", \"period_type\": 3}\n\t\t],\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/allowances"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"de1954bc-ae09-4d27-8c65-772fb9e7a26f"},{"key":"X-Runtime","value":"0.389995"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Tue, 16 Jun 2020 20:37:28 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"shift\": [\n            \"Os atributos start_time e end_time são obrigatórios quando o abono não compreende o dia todo. Se deseja abonar o dia inteiro envie o atributo all_day com o valor true.\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1592339847,\n        \"ip\": \"172.18.0.1\"\n    }\n}"},{"id":"3aafaefb-735d-40d6-ae7c-163e629038b2","name":"Abono criado com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"999999\",\n\t\t\"clinic_name\": \"Clínica Teste\",\n\t\t\"crm\": \"12345678\",\n\t\t\"medical_name\": \"Frodo Baggins\",\n\t\t\"is_medical_certificate\": true,\n\t\t\"date\": \"2020-06-08\",\n\t\t\"employee_id\": 46353,\n\t\t\"start_time\": \"08:00\",\n\t\t\"end_time\": \"14:00\",\n\t\t\"all_day\": false,\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"status_id\": 502625,\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/allowances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Jun 2020 20:11:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"200 OK"},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"245443ad-f082-48b9-bc76-bf028f1d4aa3"},{"key":"ETag","value":"W/\"ac88222fb16628879e50ee0a76540ffc\""},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Runtime","value":"1.787182"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Powered-By","value":"Phusion Passenger 5.3.1"},{"key":"Server","value":"nginx/1.14.0 + Phusion Passenger 5.3.1"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Abono cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1592511105,\n        \"ip\": \"191.177.183.151\"\n    }\n}"},{"id":"9bcab5fc-9cfa-4da7-bb82-0833664dc4dd","name":"Data corrente ou futura","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"\",\n\t\t\"clinic_name\": \"\",\n\t\t\"crm\": \"\",\n\t\t\"date\": \"2020-06-11\",\n\t\t\"employee_id\": 1,\n\t\t\"end_time\": \"18:00\",\n\t\t\"exemption_type\": 2,\n\t\t\"is_medical_certificate\": false,\n\t\t\"medical_name\": \"\",\n\t\t\"observation\": \"Lorem ipsum 2\",\n\t\t\"solicitation_status\": 1,\n\t\t\"start_time\": \"08:00\",\n\t\t\"status_id\": 5,\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/allowances"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"897a8ad6-5044-4657-95ed-51a4ac17ff2f"},{"key":"X-Runtime","value":"1.802013"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Wed, 10 Jun 2020 21:24:39 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"shift\": [\n            \"Não é possível criar um abono com a data corrente ou futura\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1591824278,\n        \"ip\": \"172.18.0.1\"\n    }\n}"},{"id":"a3426d45-97ec-4eaa-ba04-07e9b0e9af35","name":"Já existe um abono neste dia","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}],"body":{"mode":"raw","raw":"{\n\t\"exemption\": {\n\t\t\"cid\": \"\",\n\t\t\"clinic_name\": \"\",\n\t\t\"crm\": \"\",\n\t\t\"date\": \"2020-06-09\",\n\t\t\"employee_id\": 1,\n\t\t\"end_time\": \"18:00\",\n\t\t\"exemption_type\": 2,\n\t\t\"is_medical_certificate\": false,\n\t\t\"medical_name\": \"Frodo Baggins\",\n\t\t\"observation\": \"Lorem ipsum\",\n\t\t\"solicitation_status\": 1,\n\t\t\"start_time\": \"08:00\",\n\t\t\"status_id\": 5,\n\t\t\"file\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AQQFBA6c3nCJAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABdklEQVQYGQFrAZT+AQD/qP8AAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAAAAAgAAAAAAAAAAAAFYAQAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAABWAEAAAAAAAAAAAD/qP8AAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAA/6j/AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAP+o/wAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAA/6j/AAAAAAAAAAAAAVgBAgAAAAAAAAAAAAAAAAD/qP8AAAAAAAAAAAABWAEAAAAAAQD/qP8AAAAAAAAAAAAAAAAAAAAAAAFYAQAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAVgBAAAAAAAAAAAAAAAAlK4bFYA5uokAAAAASUVORK5CYII=\"\n\t}\n}"},"url":"{{server_url}}/external_api/v1/allowances"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Status","value":"422 Unprocessable Entity"},{"key":"Cache-Control","value":"no-cache"},{"key":"Vary","value":"Origin"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Request-Id","value":"21d68602-8041-4d2a-8e81-883bc80aea0e"},{"key":"X-Runtime","value":"0.112389"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Thu, 11 Jun 2020 00:43:59 GMT"},{"key":"X-Powered-By","value":"Phusion Passenger 6.0.4"},{"key":"Server","value":"nginx/1.17.3 + Phusion Passenger 6.0.4"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"base\": [\n            \"Já existe uma exceção ou solicitação de abono cadastrada neste período para os seguintes colaboradores: Gollum Gollum Gollum\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1591836239,\n        \"ip\": \"172.18.0.1\"\n    }\n}"}],"_postman_id":"f9225dda-8dfc-493d-9150-3564beda9cc2"}],"id":"b5b8a6f1-7bd2-451d-aab8-2310c875570b","_postman_id":"b5b8a6f1-7bd2-451d-aab8-2310c875570b","description":""},{"name":"Webhooks","item":[{"name":"Evento Registro de Ponto","item":[],"id":"7687794e-99a3-4ad7-9815-826927214152","description":"<p>Evento que ocorre quando o colaborador registra a sua jornada.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-recebido\">Estrutura do objeto JSON a ser recebido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do registro</td>\n</tr>\n<tr>\n<td>time</td>\n<td>Time</td>\n<td>Hora do registro (HH:MM)</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>Local do Registro do Ponto</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto Employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome completo</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Número de Identificação Social (NIS)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto Team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>ID da Equipe</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String (60)</td>\n<td>Código da Equipe</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da Equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"exemplo\"><strong>Exemplo:</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date\": \"2022-07-27\",\n  \"time\": \"15:07\",\n  \"address\": \"Alameda Joaquim Eugênio de Lima, 1118 - Jardim Paulista, São Paulo - SP, 01403-002, Brasil\" \n  \"employee\": {\n    \"id\": 1,\n    \"name\": \"Colaborador\",\n    \"nis\": \"333.92337.63-9\",\n    \"email\": \"teste@pontomais.com.br\",\n    \"cpf\": \"125.634.410-09\",\n    \"registration_number\": \"1234567890\", \n    \"team\": {\n       \"id\": 1,\n       \"code\": \"0001\",\n       \"name\": \"Desenvolvimento\"\n     }\n  }\n}\n\n</code></pre>\n","_postman_id":"7687794e-99a3-4ad7-9815-826927214152"},{"name":"Evento Registro de Pausa","item":[],"id":"174cebb4-2c56-420f-92d5-cd4f5cae243c","description":"<p>Evento que ocorre quando o colaborador registra uma pausa em sua jornada.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-recebido\">Estrutura do objeto JSON a ser recebido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>ID do ponto registrado</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data do registro</td>\n</tr>\n<tr>\n<td>time</td>\n<td>Time</td>\n<td>Hora do registro (HH:MM)</td>\n</tr>\n<tr>\n<td>break_type</td>\n<td>String</td>\n<td>(Original / Incluído / Alterado / Intervalo Automático)</td>\n</tr>\n<tr>\n<td>time_card_work_day_index</td>\n<td>Integer</td>\n<td>Identificador único do registro de ponto</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto Employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome completo</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Número de Identificação Social (NIS)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"exemplo\"><strong>Exemplo:</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 1,\n  \"date\": \"2022-07-27\",\n  \"time\": \"2000-01-01T15:08:06.000Z\",\n  \"break_type\": \"Original\",\n  \"time_card_work_day_index\": 123456,\n  \"employee\": {\n    \"id\": 1,\n    \"name\": \"Colaborador\",\n    \"nis\": \"333.92337.63-9\",\n    \"email\": \"teste@pontomais.com.br\",\n    \"cpf\": \"125.634.410-09\",\n    \"registration_number\": \"1234567890\",\n     \"team\": {\n       \"id\": 1,\n       \"code\": \"0001\",\n       \"name\": \"Desenvolvimento\"\n     }\n  }\n}\n\n</code></pre>\n","_postman_id":"174cebb4-2c56-420f-92d5-cd4f5cae243c"},{"name":"Evento Criação do Colaborador","item":[],"id":"7520c0d3-84a1-4d20-85a1-58f6792813a6","description":"<p>Evento que ocorre quando um colaborador é criado.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-recebido\">Estrutura do objeto JSON a ser recebido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome completo</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>String (50)</td>\n<td>Primeiro nome</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>String (50)</td>\n<td>Sobrenome</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Número de Identificação Social (NIS)</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td>Date</td>\n<td>Data de nascimento</td>\n</tr>\n<tr>\n<td>initial_date</td>\n<td>Date</td>\n<td>Data de início no Controle de ponto</td>\n</tr>\n<tr>\n<td>admission_date</td>\n<td>Date</td>\n<td>Data de admissão</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>String</td>\n<td>Número de telefone</td>\n</tr>\n<tr>\n<td>is_clt</td>\n<td>Boolean</td>\n<td>É CLT? (<strong>true</strong> - Sim / <strong>false</strong> - Não)</td>\n</tr>\n<tr>\n<td>time_card_source</td>\n<td>Object</td>\n<td>Método de registro (verificar a tabela <strong>Opções do time_card_source</strong>)</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Object</td>\n<td>Cargo</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe</td>\n</tr>\n<tr>\n<td>shift</td>\n<td>Object</td>\n<td>Turno</td>\n</tr>\n<tr>\n<td>cost_center</td>\n<td>Object</td>\n<td>Centro de Custo</td>\n</tr>\n<tr>\n<td>address</td>\n<td>Object</td>\n<td>Endereço</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-job_title\">Formato do objeto job_title</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String</td>\n<td>Código do cargo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do cargo</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String</td>\n<td>Código da equipe</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome da equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-shift\">Formato do objeto shift</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String</td>\n<td>Código do Turno</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Turno</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-cost_center\">Formato do objeto cost_center</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>code</td>\n<td>String</td>\n<td>Código do Centro de Custo</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (60)</td>\n<td>Nome do Centro de Custo</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-address\">Formato do objeto address</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>street</td>\n<td>String</td>\n<td>Endereço</td>\n</tr>\n<tr>\n<td>number</td>\n<td>String</td>\n<td>Número</td>\n</tr>\n<tr>\n<td>complement</td>\n<td>String</td>\n<td>Complemento</td>\n</tr>\n<tr>\n<td>district</td>\n<td>String</td>\n<td>Bairro</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>String</td>\n<td>CEP</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação do endereço</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário da atualização do endereço</td>\n</tr>\n<tr>\n<td>city</td>\n<td>Object</td>\n<td>Cidade (verificar tabela descritiva do objeto)</td>\n</tr>\n<tr>\n<td>state</td>\n<td>Object</td>\n<td>Estado (verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-city\">Formato do objeto city</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da cidade</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-state\">Formato do objeto state</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Sigla de identificação do estado</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do estado</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"exemplo\"><strong>Exemplo:</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 1,\n  \"name\": \"First Name Last Name\",\n  \"first_name\": \"First Name\",\n  \"last_name\": \"Last Name\",\n  \"cpf\": \"935.419.720-50\",\n  \"nis\": \"333.63440.47-6\",\n  \"registration_number\": \"1234567890\",\n  \"birthdate\": \"1997-08-11\",\n  \"initial_date\": \"2021-10-22\",\n  \"admission_date\": \"2021-10-14\",\n  \"email\": \"teste@pontomais.com.br\",\n  \"phone_number\": \"(00) 01234-5678\",\n  \"is_clt\": true,\n  \"time_card_source\": {\n    \"id\": 1,\n    \"name\": \"Registro Simples\"\n  },\n  \"job_title\": {\n    \"id\": 1,\n    \"code\": \"01\",\n    \"name\": \"Gerente geral\"\n  },\n  \"team\": {\n    \"id\": 1,\n    \"code\": \"0001\",\n    \"name\": \"Administração\"\n  },\n  \"shift\": {\n    \"id\": 1,\n    \"code\": \"0001\",\n    \"name\": \"Turno administrativo\"\n  },\n  \"cost_center\": {\n    \"id\": 1,\n    \"code\": \"0001\",\n    \"name\": \"Geral\"\n  },\n  \"address\": {\n    \"id\": 1,\n    \"created_at\": 1629381807,\n    \"updated_at\": 1640600808,\n    \"street\": \"Rua da Aurora\",\n    \"number\": \"01\",\n    \"district\": \"Santa Clara\",\n    \"complement\": \"casa\",\n    \"zip\": \"80250-104\",\n    \"city\": {\n      \"id\": 2704302,\n      \"name\": \"Maceió\"\n    },\n    \"state\": {\n      \"id\": \"AL\",\n      \"name\": \"Alagoas\"\n    }\n  }\n}\n\n</code></pre>\n","_postman_id":"7520c0d3-84a1-4d20-85a1-58f6792813a6"},{"name":"Evento Demissão do Colaborador","item":[],"id":"0ef4fe57-fe92-4d18-b65c-9e83b5b3573d","description":"<p>Evento que ocorre quando o colaborador é demitido.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-recebido\">Estrutura do objeto JSON a ser recebido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data da demissão</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>Date</td>\n<td>Date efetiva da demissão</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>Timestamp</td>\n<td>Data e horário de criação da demissão</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário da atualização da demissão</td>\n</tr>\n<tr>\n<td>employee</td>\n<td>Object</td>\n<td>Colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-employee\">Formato do objeto Employee</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Integer</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String (100)</td>\n<td>Nome completo</td>\n</tr>\n<tr>\n<td>nis</td>\n<td>String (14)</td>\n<td>Número de Identificação Social (NIS)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>String (60)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>cpf</td>\n<td>String (14)</td>\n<td>CPF</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>String (15)</td>\n<td>Matrícula</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"exemplo\"><strong>Exemplo</strong>:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 1,\n  \"date\": \"2022-07-25\",\n  \"effective_date\": \"2022-07-27\",\n  \"created_at\": 1658490976,\n  \"updated_at\": 1658490976,\n  \"employee\": {\n    \"id\": 1,\n    \"name\": \"Colaborador\",\n    \"nis\": \"131.91111.31-6\",\n    \"email\": \"teste@pontomais.com.br\",\n    \"cpf\": \"083.343.943-17\",\n    \"registration_number\": 1234567890\n  }\n}\n\n</code></pre>\n","_postman_id":"0ef4fe57-fe92-4d18-b65c-9e83b5b3573d"}],"id":"b011566f-d8e7-4e9e-b409-3f3451586afa","description":"<p>Webhook <strong>é uma forma de recebimento de informações, passadas quando um evento acontece</strong>. Dessa forma, o webhook na prática, é a forma de receber informações entre dois sistemas de uma forma passiva.</p>\n<p><strong>OBS:</strong> Quando utilizar token ele será enviado no header da request no seguinte parâmetro: {\"token\": \"your_token\"}</p>\n","_postman_id":"b011566f-d8e7-4e9e-b409-3f3451586afa"},{"name":"Banco cascata","item":[{"name":"Lançamento do banco de horas","item":[{"name":"Listar","id":"2975f74b-7644-4c59-a470-5f23d3c4043f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n","type":"text"}],"url":"{{server_url}}/external_api/v1/cascading_compensations/employees/time_balance_entries?attributes=id,name,picture,team&count=true&page=1&per_page=10&sort_direction=desc&sort_property=updated_at&only_actives=true","description":"<p>Lista de colaboradores para lançamento no banco cascata</p>\n<h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Número da página atual</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Quantidade de unidades de negócio por página</td>\n</tr>\n<tr>\n<td>count</td>\n<td>Boolean</td>\n<td>Total de lançamentos retornados na listagem. _(<strong>**</strong><strong>__</strong>___<em>true**</em> <em>- exibe contador /</em> <em><strong>false</strong></em> <em>- oculta contador)</em></td>\n</tr>\n<tr>\n<td>sort_property</td>\n<td>String</td>\n<td>Atributo que a listagem deve considerar para ordenar os colaboradores</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>String</td>\n<td>Direção em que a listagem deve classificar os lançamentos. _(<strong>**</strong><strong>__</strong>___<em>asc**</em> <em>- ascendente /</em> <em><strong>desc</strong></em> <em>- descendente)</em></td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Atributos, separados por vírgula, a serem exibidos em cada lançamento. <strong>Veja abaixo os atributos disponíveis</strong></td>\n</tr>\n<tr>\n<td>only_actives</td>\n<td>boolean</td>\n<td>Filtrar colaboradores ativos/inativos</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Timestamp</td>\n<td>Nome do colaborador</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Timestamp</td>\n<td>imagem do colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Object</td>\n<td>Equipe ao qual colaborador pertence (Verificar tabela descritiva do objeto)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-team\">Formato do objeto team</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome da equipe</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","employees","time_balance_entries"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,name,picture,team"},{"key":"count","value":"true"},{"key":"page","value":"1"},{"key":"per_page","value":"10"},{"key":"sort_direction","value":"desc"},{"key":"sort_property","value":"updated_at"},{"key":"only_actives","value":"true"}],"variable":[]}},"response":[{"id":"5f91f8c8-1cec-4733-9855-d499cf6c9d4a","name":"Exemplo de sucesso ao listar colaboradores","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"employees\": [\n        {\n            \"id\": 3,\n            \"name\": \"Lorenzo André Fogaça\",\n            \"picture\": {\n                \"url\": \"http://localhost:5000//images/default/employees/pictures/default_avatar.png\",\n                \"medium_url\": \"http://localhost:5000//images/default/employees/pictures/medium_avatar.png\",\n                \"small_url\": \"http://localhost:5000//images/default/employees/pictures/small_avatar.png\"\n            },\n            \"team\": {\n                \"id\": 1,\n                \"name\": \"Administração\"\n            }\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Cristiane Cláudia Nair\",\n            \"picture\": {\n                \"url\": \"http://localhost:5000//images/default/employees/pictures/default_avatar.png\",\n                \"medium_url\": \"http://localhost:5000//images/default/employees/pictures/medium_avatar.png\",\n                \"small_url\": \"http://localhost:5000//images/default/employees/pictures/small_avatar.png\"\n            },\n            \"team\": {\n                \"id\": 1,\n                \"name\": \"Administração\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"now\": 1758588550,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false,\n        \"count\": 2,\n        \"ids\": [\n            3,\n            2\n        ]\n    }\n}"}],"_postman_id":"2975f74b-7644-4c59-a470-5f23d3c4043f"},{"name":"Detalhar","id":"3af9046e-422d-4fcf-b657-f11642eb8821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n","type":"text"}],"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries?sort_direction=desc&sort_property=updated_at&attributes=id,date,amount,withdraw,observation,month,year,updated_at,updated_by&employee_id=3","description":"<p>Exibe os lançamentos e quitações por colaboradores.</p>\n<h2 id=\"parâmetros-na-url\">Parâmetros na URL</h2>\n<p>Todos os parâmetros são opcionais.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Atributos, separados por vírgula, a serem exibidos em cada lançamento. <strong>Veja abaixo os atributos disponíveis</strong></td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Identificador do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>Timestamp</td>\n<td>Data e horário de atualização do lançamento</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data a qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Indica se a operação é débito. <em>(</em>____<em><strong>true</strong></em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>month</td>\n<td>Integer</td>\n<td>Número identificador do mês iniciando em 1 (Janeiro) 12(Dezembro)</td>\n</tr>\n<tr>\n<td>year</td>\n<td>Integer</td>\n<td>Ano correspondente do lançamento</td>\n</tr>\n<tr>\n<td>updated_by</td>\n<td>Object</td>\n<td>Colaborador que realizou o lançamento. <strong>Veja abaixo o formato do objeto</strong>.</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Motivo do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"formato-do-objeto-updated_by\">Formato do objeto updated_by</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>Nome do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","time_balance_entries"],"host":["{{server_url}}"],"query":[{"key":"sort_direction","value":"desc"},{"key":"sort_property","value":"updated_at"},{"key":"attributes","value":"id,date,amount,withdraw,observation,month,year,updated_at,updated_by"},{"key":"employee_id","value":"3"}],"variable":[]}},"response":[{"id":"be10cff9-84c4-4003-82fa-2c2b477c052d","name":"Exemplo de sucesso","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"time_balance_entries\": [\n        {\n            \"id\": 6,\n            \"date\": \"19/08/2025\",\n            \"amount\": 72000,\n            \"withdraw\": false,\n            \"observation\": \"Lancamento mes de agosto\",\n            \"month\": 8,\n            \"year\": 2025,\n            \"updated_at\": 1758307129,\n            \"updated_by\": {\n                \"id\": 1,\n                \"name\": \"Cristiane Cláudia Nair\"\n            }\n        },\n        {\n            \"id\": 3,\n            \"date\": \"19/09/2025\",\n            \"amount\": 3600,\n            \"withdraw\": false,\n            \"observation\": \"Lancamento mes de setembro\",\n            \"month\": 9,\n            \"year\": 2025,\n            \"updated_at\": 1758305946,\n            \"updated_by\": {\n                \"id\": 1,\n                \"name\": \"Cristiane Cláudia Nair\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"now\": 1758589895,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"3af9046e-422d-4fcf-b657-f11642eb8821"},{"name":"Criar","id":"35a4dcd8-17ad-43ae-8015-01593b080261","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n  {\n    \"amount\": {{amount}},\n    \"date\": \"{{date}}\",\n    \"employee_id\": {{employee_id}},\n    \"observation\": \"{{observation}}\",\n    \"withdraw\": {{withdraw}},\n    \"month\": {{month}},\n    \"year\": {{year}}\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries","description":"<p>Cria um lançamento de banco de horas.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Sim</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data a qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>month</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Mês correspondente ao lançamento</td>\n</tr>\n<tr>\n<td>year</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Ano correspondente ao lançamento</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Sim</td>\n<td>Motivo do lançamento</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Indica se a operação é débito. Se o atributo não estiver presente, o lançamento será do tipo crédito. _(<strong>**</strong><strong>__</strong>_<em>true**</em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","time_balance_entries"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"69b1d1e1-437c-48c8-9342-e6d0a9c3bc8b","name":"Exemplo de sucesso","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n    {\n        \"employee_id\": 3,\n        \"date\": \"2025-09-15\",\n        \"amount\": 36000,\n        \"withdraw\": false,\n        \"observation\": \"lançamento mes de agosto\",\n        \"month\": 8,\n        \"year\": 2025\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries?access-token={{client_token}}&Content-Type=application/json","host":["{{server_url}}"],"path":["external_api","v1","cascading_compensations","time_balance_entries"],"query":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"},{"key":"Content-Type","value":"application/json"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Lançamento cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1758592249,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    },\n    \"id\": 9\n}"}],"_postman_id":"35a4dcd8-17ad-43ae-8015-01593b080261"},{"name":"Editar","id":"e0ca5f82-60ba-4567-8144-f0b845d7680c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n    {\n        \"employee_id\": {{employee_id}},\n        \"amount\": {{amount}},\n        \"withdraw\": {{withdraw}},\n        \"observation\": {{observation}},\n        \"month\": {{month}},\n        \"year\": {{year}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/{{time_balance_entry_id}}","description":"<p>Edita um lançamento de banco de horas.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>time_balance_entry_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>Não</td>\n<td>Valor do lançamento em segundos</td>\n</tr>\n<tr>\n<td>month</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Mês ao qual o llançamento se refere</td>\n</tr>\n<tr>\n<td>year</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Ano ao qual o lançamento se refere</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>ID do colaborador</td>\n</tr>\n<tr>\n<td>observation</td>\n<td>String</td>\n<td>Não</td>\n<td>Motivo do lançamento</td>\n</tr>\n<tr>\n<td>withdraw</td>\n<td>Boolean</td>\n<td>Não</td>\n<td>Indica se a operação é débito. Se o atributo não estiver presente, o lançamento será do tipo crédito. <em>(</em>__<em><strong>true</strong></em> <em>- débito /</em> <em><strong>false</strong></em> <em>- crédito)</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","time_balance_entries","{{time_balance_entry_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"b0cca0fd-c132-45a3-8d82-1ed49d94ec60","name":"Exemplo de sucesso","originalRequest":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n    {\n        \"employee_id\": {{employee_id}},\n        \"amount\": {{amount}},\n        \"withdraw\": {{withdraw}},\n        \"observation\": {{observation}},\n        \"month\": {{month}},\n        \"year\": {{year}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/10"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"Lançamento atualizado com sucesso!\",\n    \"meta\": {\n        \"now\": 1758593120,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"ce33d5a7-ce12-4857-911f-21c165e40a6d","name":"Erro de validação","originalRequest":{"method":"PUT","header":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\":\n    {\n        \"employee_id\": {{employee_id}},\n        \"amount\": {{amount}},\n        \"withdraw\": {{withdraw}},\n        \"observation\": {{observation}},\n        \"month\": {{month}},\n        \"year\": {{year}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/10"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"date\": [\n            \"Não é possível fazer lançamento pois o dia 15/09/2025 possui um fechamento.\"\n        ]\n    },\n    \"meta\": {\n        \"now\": 1758593042,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"e0ca5f82-60ba-4567-8144-f0b845d7680c"},{"name":"Excluir","id":"92c8dc87-ccce-4997-a188-896727b780ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/{{time_balance_entry_id}}","description":"<p>Exclui um lançamento de banco de horas.</p>\n<h2 id=\"variáveis-na-url\">Variáveis na URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>time_balance_entry_id</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>ID do lançamento</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","time_balance_entries","{{time_balance_entry_id}}"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"8a86403f-aed7-45e5-892a-0319c80cd554","name":"Excluir","originalRequest":{"method":"DELETE","header":[{"key":"access-token","value":"{{client_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/{{time_balance_entry_id}}"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": \"Lançamento removido.\",\n    \"meta\": {\n        \"now\": 1758593365,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"92c8dc87-ccce-4997-a188-896727b780ac"}],"id":"7d481c42-e957-46bd-9bfc-7ae3a4a84bf3","_postman_id":"7d481c42-e957-46bd-9bfc-7ae3a4a84bf3","description":""},{"name":"Quitação do banco de horas","item":[{"name":"Listar","id":"20c741a6-be29-4e8f-9197-1efe0083cf2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n","type":"text"}],"url":"{{server_url}}/external_api/v1/cascading_compensations/employees/time_balance_settleds?attributes=id,name,picture,period_format,last_closing_date,time_balance,employee_id&count=true&page=1&per_page=10&sort_direction=desc&sort_property=updated_at&only_actives=true&date=2025-09-01&month=9&year=2025","description":"<p>Lista de colaboradores para quitação no banco cascata</p>\n<h2 id=\"parâmetros-na-url-e-filtros-disponíveis\">Parâmetros na URL e Filtros disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>Número da página atual</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>Integer</td>\n<td>Quantidade de unidades de negócio por página</td>\n</tr>\n<tr>\n<td>count</td>\n<td>Boolean</td>\n<td>Total de lançamentos retornados na listagem. <em>(<strong>****</strong><strong>__</strong><strong>**</strong>**__<strong>true</strong></em> <em>- exibe contador /</em> <em><strong>false</strong></em> <em>- oculta contador)</em></td>\n</tr>\n<tr>\n<td>sort_property</td>\n<td>String</td>\n<td>Atributo que a listagem deve considerar para ordenar os colaboradores</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>String</td>\n<td>Direção em que a listagem deve classificar os lançamentos. <em>(<strong>****</strong><strong>__</strong><strong>**</strong>**__<strong>asc</strong></em> <em>- ascendente /</em> <em><strong>desc</strong></em> <em>- descendente)</em></td>\n</tr>\n<tr>\n<td>attributes</td>\n<td>String</td>\n<td>Atributos, separados por vírgula, a serem exibidos em cada lançamento. <strong>Veja abaixo os atributos disponíveis</strong></td>\n</tr>\n<tr>\n<td>only_actives</td>\n<td>boolean</td>\n<td>Filtrar colaboradores ativos/inativos</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Data em que ocorrerá o lançamento</td>\n</tr>\n<tr>\n<td>month</td>\n<td>Integer</td>\n<td>Número do mês da referência de 1 a 12</td>\n</tr>\n<tr>\n<td>year</td>\n<td>Integer</td>\n<td>Ano da referência</td>\n</tr>\n<tr>\n<td>cascading_config_id</td>\n<td>Integer</td>\n<td>Identificador da configuração de controle de ponto</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Identificador do colaborador</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Identificador da equipe</td>\n</tr>\n<tr>\n<td>department_id</td>\n<td>Integer</td>\n<td>Identificador do departamento</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Identificador da unidade de negócio</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"atributos-disponíveis\">Atributos disponíveis</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Integer</td>\n<td>Identificador sequencial gerado automaticamente pelo sistema</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Timestamp</td>\n<td>Nome do colaborador</td>\n</tr>\n<tr>\n<td>picture</td>\n<td>Object</td>\n<td>imagem do colaborador</td>\n</tr>\n<tr>\n<td>period_format</td>\n<td>String</td>\n<td>Periodo formatado com nome do mês/ano</td>\n</tr>\n<tr>\n<td>last_closing_date</td>\n<td>String</td>\n<td>Ultimo fechamento para o colaborador</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>String</td>\n<td>Saldo do colaborador no periodo filtrado</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Identificador do colaborador</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","employees","time_balance_settleds"],"host":["{{server_url}}"],"query":[{"key":"attributes","value":"id,name,picture,period_format,last_closing_date,time_balance,employee_id"},{"key":"count","value":"true"},{"key":"page","value":"1"},{"key":"per_page","value":"10"},{"key":"sort_direction","value":"desc"},{"key":"sort_property","value":"updated_at"},{"key":"only_actives","value":"true"},{"key":"date","value":"2025-09-01"},{"key":"month","value":"9"},{"key":"year","value":"2025"}],"variable":[]}},"response":[{"id":"0dc9bc12-2d29-4c9b-9a4b-43aebb73263f","name":"Listar","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"employees\": [\n        {\n            \"id\": 3,\n            \"name\": \"Lorenzo André Fogaça\",\n            \"picture\": {\n                \"url\": \"http://localhost:5000//images/default/employees/pictures/default_avatar.png\",\n                \"medium_url\": \"http://localhost:5000//images/default/employees/pictures/medium_avatar.png\",\n                \"small_url\": \"http://localhost:5000//images/default/employees/pictures/small_avatar.png\"\n            },\n            \"period_format\": \"Setembro/2025\",\n            \"last_closing_date\": \"2025-09-18\",\n            \"time_balance\": \"40:00\",\n            \"employee_id\": 3\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Brenda Lívia Ester Fogaça\",\n            \"picture\": {\n                \"url\": \"http://localhost:5000//images/default/employees/pictures/default_avatar.png\",\n                \"medium_url\": \"http://localhost:5000//images/default/employees/pictures/medium_avatar.png\",\n                \"small_url\": \"http://localhost:5000//images/default/employees/pictures/small_avatar.png\"\n            },\n            \"period_format\": \"Setembro/2025\",\n            \"last_closing_date\": null,\n            \"time_balance\": \"00:00\",\n            \"employee_id\": 2\n        }\n    ],\n    \"meta\": {\n        \"now\": 1758625960,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false,\n        \"count\": 2\n    }\n}"}],"_postman_id":"20c741a6-be29-4e8f-9197-1efe0083cf2f"},{"name":"Criar","id":"7b4cdd4b-6059-40a0-a609-51aa77bbe735","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"access-token","value":"{{client_token}}","description":"<p>Token do cliente</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"time_balance_entry\": \n    {\n      \"employee_id\": {{employee_id}},\n      \"year\": {{year}},\n      \"month\": {{month}},\n      \"time_balance\": {{time_balance}},\n      \"date\": {{date}},\n      \"period_id\": {{period_id}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/create_settle","description":"<p>Criar quitação.</p>\n<ul>\n<li><p>Ao realizar a criação da quitação, caso o parâmetro `period_id` seja informado, não é necessário enviar os parâmetros `year`, `month` e `employee_id`. A quitação será efetuada com base no `period_id` informado.</p>\n</li>\n<li><p>Caso o `period_id` não seja informado, será obrigatório enviar os parâmetros `employee_id`, `month` e `year` para que o período correspondente seja identificado.</p>\n</li>\n</ul>\n<p>Atributos disponíveis</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não*</td>\n<td>Identificador do colaborador a ser quitado</td>\n</tr>\n<tr>\n<td>year</td>\n<td>Integer</td>\n<td>Não*</td>\n<td>Ano a ser quitado</td>\n</tr>\n<tr>\n<td>month</td>\n<td>Integer</td>\n<td>Não*</td>\n<td>Mês a ser quitado</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>Float</td>\n<td>Sim</td>\n<td>Valor das horas em segundos que vai ser quitato</td>\n</tr>\n<tr>\n<td>data</td>\n<td>Date</td>\n<td>Sim</td>\n<td>Data em que ocorrerá a quitação</td>\n</tr>\n<tr>\n<td>period_id</td>\n<td>Não</td>\n<td>Não*</td>\n<td>Identificador do periodo a ser quitado</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","cascading_compensations","time_balance_entries","create_settle"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"c1658e9e-5d00-44f2-a6e5-e02df3aa3d6f","name":"Criar","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{server_url}}/external_api/v1/cascading_compensations/time_balance_entries/create_batch_settle?access-token={{client_token}}","host":["{{server_url}}"],"path":["external_api","v1","cascading_compensations","time_balance_entries","create_batch_settle"],"query":[{"key":"access-token","value":"{{client_token}}","description":"Token do cliente"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": \"Quitação cadastrado com sucesso!\",\n    \"meta\": {\n        \"now\": 1758634315,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"7b4cdd4b-6059-40a0-a609-51aa77bbe735"}],"id":"53b4f280-e42d-4a33-8d32-7e326faf7532","_postman_id":"53b4f280-e42d-4a33-8d32-7e326faf7532","description":""},{"name":"Relatórios","item":[{"name":"Analítico","id":"9230153d-c7dd-48bb-9c2e-4b3aaf604b52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"report_type\": 1,\n        \"report_id\": \"cascading_compensations\",\n        \"start_date\": \"2025-08-25\",\n        \"end_date\": \"2025-09-23\",\n        \"columns\": \"time_balance_settled,time_balance_entries,name,time_balance,negative_time_balance,positive_time_balance\",\n        \"row_filters\": \"\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/cascading_compensations","description":"<p>Exibe o relatório de banco cascata analítico.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Sim</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros opicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>additional_row_filters</td>\n<td>String</td>\n<td>Sim</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório, ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>Tipo de relatório</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Formato do relatório, 1 Analítico, 2 sintético</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo Motivo</td>\n</tr>\n<tr>\n<td>cascading_config_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Configuração banco cascata</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-opicionais-disponíveis\">Filtros opicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir colaboradores inativos?</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>decimal_time</td>\n<td>Não</td>\n<td>Horas em formato decimal?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>positive_time_balance</td>\n<td>Sim</td>\n<td>Horas extras</td>\n</tr>\n<tr>\n<td>negative_time_balance</td>\n<td>Sim</td>\n<td>Horas faltantes</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>Não</td>\n<td>Saldo</td>\n</tr>\n<tr>\n<td>time_balance_settled</td>\n<td>Sim</td>\n<td>Horas quitadas</td>\n</tr>\n<tr>\n<td>time_balance_entries</td>\n<td>Sim</td>\n<td>Lançamento de banco de horas</td>\n</tr>\n<tr>\n<td>expiration_period</td>\n<td>Não</td>\n<td>Vencimento do período</td>\n</tr>\n<tr>\n<td>business_unit_name</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>regular_time</td>\n<td>Não</td>\n<td>Horas normais</td>\n</tr>\n<tr>\n<td>period</td>\n<td>Sim</td>\n<td>Período</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Não</td>\n<td>Departamento</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","cascading_compensations"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"Content-Type","value":"a"}],"variable":[]}},"response":[{"id":"56419e39-da62-4687-8774-fc7b48ca21d2","name":"Exemplo JSON","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Banco Cascata\",\n        \"created_by_name\": \"Tiago Ruan Severino da Mota\",\n        \"start_date\": \"25/08/2025\",\n        \"end_date\": \"23/09/2025\",\n        \"today\": \"23/09/2025\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"name\": {\n                        \"title\": \"Nome\"\n                    },\n                    \"date\": {\n                        \"title\": \"Data\"\n                    },\n                    \"period\": {\n                        \"title\": \"Período\"\n                    },\n                    \"positive_time_balance\": {\n                        \"title\": \"Horas extras\"\n                    },\n                    \"negative_time_balance\": {\n                        \"title\": \"Horas faltantes\"\n                    },\n                    \"time_balance\": {\n                        \"title\": \"Saldo\"\n                    },\n                    \"time_balance_settled\": {\n                        \"title\": \"Horas quitadas\"\n                    },\n                    \"time_balance_entries\": {\n                        \"title\": \"Lançamento de banco de horas\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"name\": \"Eduarda Natália Lima\",\n                        \"date\": \"Seg, 01/09/2025\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"period\": null,\n                        \"negative_time_balance\": \"08:00\",\n                        \"time_balance\": \"00:00\",\n                        \"time_balance_entries\": 0,\n                        \"time_balance_settled\": 0\n                    },\n                    {\n                        \"name\": \"Bianca Ester Antonella Martins\",\n                        \"date\": \"Seg, 01/09/2025\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"period\": null,\n                        \"negative_time_balance\": \"08:00\",\n                        \"time_balance\": \"240:00\",\n                        \"time_balance_entries\": 0,\n                        \"time_balance_settled\": 0\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Total de horas extras\",\n                        \"total\": \"00:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas faltantes\",\n                        \"total\": \"232:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas quitadas\",\n                        \"total\": \"140:00\"\n                    },\n                    {\n                        \"title\": \"Total de lançamento de banco de horas (Crédito)\",\n                        \"total\": \"20:00\"\n                    },\n                    {\n                        \"title\": \"Total de lançamento de banco de horas (Débito)\",\n                        \"total\": \"-00:00\"\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1758635050,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"1d6fb258-524b-41fb-815b-dc85e59510b4","name":"Exemplo CSV","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"report_type\": 1,\n        \"report_id\": \"cascading_compensations\",\n        \"start_date\": \"2025-08-25\",\n        \"end_date\": \"2025-09-23\",\n        \"columns\": \"time_balance_settled,time_balance_entries,name,time_balance,negative_time_balance,positive_time_balance\",\n        \"row_filters\": \"\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/reports/cascading_compensations","host":["{{server_url}}"],"path":["external_api","v1","reports","cascading_compensations"],"query":[{"key":"Content-Type","value":"a","type":"text","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"Nome,Data,Período,Horas extras,Horas faltantes,Saldo,Horas quitadas,Lançamento de banco de horas\nEduarda Natália Lima,\"Seg, 01/09/2025\",,00:00,08:00,00:00,0,0\nBianca Ester Antonella Martins,\"Seg, 01/09/2025\",,00:00,08:00,240:00,0,0\nResumo,Totais\nTotal de horas extras,00:00\nTotal de horas faltantes,232:00\nTotal de horas quitadas,140:00\nTotal de lançamento de banco de horas (Crédito),20:00\nTotal de lançamento de banco de horas (Débito),-00:00\n\n\n0.241187507\n"}],"_postman_id":"9230153d-c7dd-48bb-9c2e-4b3aaf604b52"},{"name":"Sintético","id":"e98b6833-da62-4436-bda3-92b777490db2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"report_type\": 2,\n        \"report_id\": \"cascading_compensations\",\n        \"start_date\": \"2025-08-25\",\n        \"end_date\": \"2025-09-23\",\n        \"columns\": \"time_balance_settled,time_balance_entries,name,time_balance,negative_time_balance,positive_time_balance\",\n        \"row_filters\": \"\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{server_url}}/external_api/v1/reports/cascading_compensations","description":"<p>Exibe o relatório de banco cascata analítico.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Sim</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros opicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>additional_row_filters</td>\n<td>String</td>\n<td>Sim</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório, ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>Tipo de relatório</td>\n<td>Integer</td>\n<td>Sim</td>\n<td>Formato do relatório, 1 Analítico, 2 sintético</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo Motivo</td>\n</tr>\n<tr>\n<td>cascading_config_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Configuração banco cascata</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Não</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Agrupamento por equipe</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-opicionais-disponíveis\">Filtros opicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir colaboradores inativos?</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>decimal_time</td>\n<td>Não</td>\n<td>Horas em formato decimal?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>positive_time_balance</td>\n<td>Sim</td>\n<td>Horas extras</td>\n</tr>\n<tr>\n<td>negative_time_balance</td>\n<td>Sim</td>\n<td>Horas faltantes</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>Não</td>\n<td>Saldo</td>\n</tr>\n<tr>\n<td>time_balance_settled</td>\n<td>Sim</td>\n<td>Horas quitadas</td>\n</tr>\n<tr>\n<td>time_balance_entries</td>\n<td>Sim</td>\n<td>Lançamento de banco de horas</td>\n</tr>\n<tr>\n<td>expiration_period</td>\n<td>Não</td>\n<td>Vencimento do período</td>\n</tr>\n<tr>\n<td>business_unit_name</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>regular_time</td>\n<td>Não</td>\n<td>Horas normais</td>\n</tr>\n<tr>\n<td>period</td>\n<td>Sim</td>\n<td>Período</td>\n</tr>\n<tr>\n<td>team</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Não</td>\n<td>Departamento</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","cascading_compensations"],"host":["{{server_url}}"],"query":[{"disabled":true,"key":"Content-Type","value":"a"}],"variable":[]}},"response":[{"id":"442a6d8a-7ae2-4946-bd75-f47fd43ab700","name":"Exemplo JSON","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Banco Cascata\",\n        \"created_by_name\": \"Bianca Ester Antonella Martins\",\n        \"start_date\": \"25/08/2025\",\n        \"end_date\": \"23/09/2025\",\n        \"today\": \"23/09/2025\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"name\": {\n                        \"title\": \"Nome\"\n                    },\n                    \"date\": {\n                        \"title\": \"Data\"\n                    },\n                    \"period\": {\n                        \"title\": \"Período\"\n                    },\n                    \"positive_time_balance\": {\n                        \"title\": \"Horas extras\"\n                    },\n                    \"negative_time_balance\": {\n                        \"title\": \"Horas faltantes\"\n                    },\n                    \"time_balance\": {\n                        \"title\": \"Saldo\"\n                    },\n                    \"time_balance_settled\": {\n                        \"title\": \"Horas quitadas\"\n                    },\n                    \"time_balance_entries\": {\n                        \"title\": \"Lançamento de banco de horas\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"name\": \"Bianca Ester Antonella Martins\",\n                        \"date\": \"*\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"period\": \"Agosto/2025\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"time_balance\": \"50:00\",\n                        \"time_balance_entries\": \"00:00\",\n                        \"time_balance_settled\": \"00:00\"\n                    },\n                    {\n                        \"name\": \"Filipe Márcio Giovanni Silva\",\n                        \"date\": \"*\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"period\": \"Agosto/2025\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"time_balance\": \"00:00\",\n                        \"time_balance_entries\": \"00:00\",\n                        \"time_balance_settled\": \"00:00\"\n                    },\n                    {\n                        \"name\": \"Bianca Ester Antonella Martins\",\n                        \"date\": \"*\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"period\": \"Setembro/2025\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"time_balance\": \"240:00\",\n                        \"time_balance_entries\": \"20:00\",\n                        \"time_balance_settled\": \"00:00\"\n                    },\n                    {\n                        \"name\": \"Filipe Márcio Giovanni Silva\",\n                        \"date\": \"*\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"period\": \"Setembro/2025\",\n                        \"negative_time_balance\": \"120:00\",\n                        \"time_balance\": \"00:00\",\n                        \"time_balance_entries\": \"20:00\",\n                        \"time_balance_settled\": \"180:00\"\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Total de horas extras\",\n                        \"total\": \"00:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas faltantes\",\n                        \"total\": \"120:00\"\n                    },\n                    {\n                        \"title\": \"Total de saldo\",\n                        \"total\": \"290:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas quitadas\",\n                        \"total\": \"520:00\"\n                    },\n                    {\n                        \"title\": \"Total de lançamento de banco de horas\",\n                        \"total\": \"40:00\"\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1758635343,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"},{"id":"87248c44-21ac-448e-946e-3ca5c5c36d54","name":"Exemplo CSV","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"access-token","value":"{{client_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"report\": {\n        \"report_type\": 1,\n        \"report_id\": \"cascading_compensations\",\n        \"start_date\": \"2025-08-25\",\n        \"end_date\": \"2025-09-23\",\n        \"columns\": \"time_balance_settled,time_balance_entries,name,time_balance,negative_time_balance,positive_time_balance\",\n        \"row_filters\": \"\",\n        \"format\": \"json\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{server_url}}/external_api/v1/reports/cascading_compensations","host":["{{server_url}}"],"path":["external_api","v1","reports","cascading_compensations"],"query":[{"key":"Content-Type","value":"a","type":"text","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"Relatório de Banco Cascata\nPor Filipe Márcio Giovanni Silva em 23/09/2025\nDe 25/08/2025 até 23/09/2025\n\nNome,Data,Período,Horas extras,Horas faltantes,Saldo,Horas quitadas,Lançamento de banco de horas\nBianca Ester Antonella Martins,*,Agosto/2025,00:00,00:00,50:00,00:00,00:00\nFilipe Márcio Giovanni Silva,*,Agosto/2025,00:00,00:00,00:00,00:00,00:00\nBianca Ester Antonella Martins,*,Setembro/2025,00:00,00:00,240:00,00:00,20:00\nFilipe Márcio Giovanni Silva,*,Setembro/2025,00:00,120:00,00:00,180:00,20:00\nResumo,Totais\nTotal de horas extras,00:00\nTotal de horas faltantes,120:00\nTotal de saldo,290:00\nTotal de horas quitadas,520:00\nTotal de lançamento de banco de horas,40:00\n\n\n0.032957488"}],"_postman_id":"e98b6833-da62-4436-bda3-92b777490db2"},{"name":"Periodo","id":"252fbd76-f26b-48cb-93b5-dcd05fea614c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{server_url}}/external_api/v1/reports/cascading_compensations_period","description":"<p>Exibe o relatório de banco cascata analítico.</p>\n<h2 id=\"estrutura-do-objeto-json-a-ser-enviado\">Estrutura do objeto JSON a ser enviado</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data inicial do período</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>String</td>\n<td>Sim</td>\n<td>Data final do período</td>\n</tr>\n<tr>\n<td>group_by</td>\n<td>String</td>\n<td>Sim</td>\n<td>Tipo do agrupamento ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>row_filters</td>\n<td>String</td>\n<td>Não</td>\n<td>Filtros opicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>additional_row_filters</td>\n<td>String</td>\n<td>Sim</td>\n<td>Filtros adicionais, ver disponíveis abaixo, para mais de um utilizar ',' como separador</td>\n</tr>\n<tr>\n<td>columns</td>\n<td>String</td>\n<td>Sim</td>\n<td>Colunas, ver dispoíveis abaixo,para multiplas, separar por virgula</td>\n</tr>\n<tr>\n<td>format</td>\n<td>String</td>\n<td>Sim</td>\n<td>Formato do relatório, ver disponíveis abaixo</td>\n</tr>\n<tr>\n<td>business_unit_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da Unidade de negócio</td>\n</tr>\n<tr>\n<td>team_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID da equipe</td>\n</tr>\n<tr>\n<td>employee_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do colaborador</td>\n</tr>\n<tr>\n<td>cost_center_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo ID do centro de custo</td>\n</tr>\n<tr>\n<td>status_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Filtra pelo Motivo</td>\n</tr>\n<tr>\n<td>cascading_config_id</td>\n<td>Integer</td>\n<td>Não</td>\n<td>Configuração banco cascata</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"agrupamentos-disponíveis\">Agrupamentos disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employee</td>\n<td>Sim</td>\n<td>Agrupamento por colaborador</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filtros-opicionais-disponíveis\">Filtros opicionais disponíveis</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>with_inactives</td>\n<td>Não</td>\n<td>Incluir colaboradores inativos?</td>\n</tr>\n<tr>\n<td>has_time_cards</td>\n<td>Não</td>\n<td>Incluir colaboradores que não registram ponto?</td>\n</tr>\n<tr>\n<td>decimal_time</td>\n<td>Não</td>\n<td>Horas em formato decimal?</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"colunas-disponíveis\">Colunas disponíveis</h4>\n<p>Separe com uma vírgula as colunas desejadas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Período</td>\n<td>Sim</td>\n<td>Nome</td>\n</tr>\n<tr>\n<td>extra_time</td>\n<td>Sim</td>\n<td>Horas extras</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Sim</td>\n<td>Data</td>\n</tr>\n<tr>\n<td>positive_time_balance</td>\n<td>Sim</td>\n<td>Horas extras</td>\n</tr>\n<tr>\n<td>negative_time_balance</td>\n<td>Sim</td>\n<td>Horas faltantes</td>\n</tr>\n<tr>\n<td>compensation</td>\n<td>Sim</td>\n<td>Compensação</td>\n</tr>\n<tr>\n<td>time_balance</td>\n<td>Sim</td>\n<td>Saldo</td>\n</tr>\n<tr>\n<td>extra_time_compensation</td>\n<td>Sim</td>\n<td>Horas extras fator</td>\n</tr>\n<tr>\n<td>registration_number</td>\n<td>Não</td>\n<td>Matrícula</td>\n</tr>\n<tr>\n<td>business_unit_name</td>\n<td>Não</td>\n<td>Unidade de negócio</td>\n</tr>\n<tr>\n<td>regular_time</td>\n<td>Não</td>\n<td>Horas normais</td>\n</tr>\n<tr>\n<td>overnight_extra_time</td>\n<td>Não</td>\n<td>Horas noturnas</td>\n</tr>\n<tr>\n<td>team_name</td>\n<td>Não</td>\n<td>Nome da equipe</td>\n</tr>\n<tr>\n<td>job_title_name</td>\n<td>Não</td>\n<td>Nome do cargo</td>\n</tr>\n<tr>\n<td>department_name</td>\n<td>Não</td>\n<td>Departamento</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["external_api","v1","reports","cascading_compensations_period"],"host":["{{server_url}}"],"query":[],"variable":[]}},"response":[{"id":"ff0f7d6c-60c1-4f21-9890-79382d61648b","name":"Exemplo de CSV","originalRequest":{"method":"POST","header":[],"url":""},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"Relatório de Banco Cascata por Período\nPor diego costa em 16/10/2025\nDe 25/08/2025 até 23/09/2025\n\nPeríodo,Data,Horas positivas,Horas Negativas,Horas extras fator 1,Horas extras fator 2,Horas extras fator 3,Horas extras fator 4,Compensação,Horas extras fator 1,Horas extras fator 2,Horas extras fator 3,Horas extras fator 4,Saldo no período\nSetembro/2025,\"Sex, 19/09/2025\",03:00,00:00,02:00,01:00,00:00,00:00,00:00,,,,,03:00\nSetembro/2025,\"Seg, 22/09/2025\",00:00,01:00,00:00,00:00,00:00,00:00,01:00,01:00,01:00,00:00,00:00,02:00\nSetembro/2025,\"Ter, 23/09/2025\",03:30,00:00,02:00,01:30,00:00,00:00,00:00,03:00,02:30,00:00,00:00,05:30\nAgosto/2025,\"Qua, 27/08/2025\",00:00,02:00,00:00,00:00,00:00,00:00,02:00,01:00,02:30,00:00,00:00,03:30\nAgosto/2025,\"Sex, 29/08/2025\",02:01,00:00,02:00,00:01,00:00,00:00,00:00,03:00,02:31,00:00,00:00,05:31\nAgosto/2025,\"Sáb, 30/08/2025\",02:00,00:00,02:00,00:00,00:00,00:00,00:00,05:00,02:31,00:00,00:00,07:31\nSetembro/2025,\"Ter, 09/09/2025\",01:00,00:00,01:00,00:00,00:00,00:00,00:00,06:00,02:31,00:00,00:00,08:31\nSetembro/2025,\"Sáb, 13/09/2025\",00:00,02:00,00:00,00:00,00:00,00:00,02:00,04:00,02:31,00:00,00:00,06:31\nSetembro/2025,\"Dom, 14/09/2025\",06:00,00:00,02:00,04:00,00:00,00:00,00:00,06:00,06:31,00:00,00:00,12:31\nResumo,Totais\nTotal de horas H.E. 1,11:00\nTotal de horas H.E. 2,06:31\nTotal de horas H.E. 3,00:00\nTotal de horas H.E. 4,00:00\nTotal de horas faltantes,05:00\nTotal saldo,12:31\n\"Compensação das horas do banco de\n          Agosto/2025\n          foram utilizadas em Setembro/2025\",-00:01\n\n\n0.417742623"},{"id":"d9b0b1d4-259b-49bc-a1cd-62540907b152","name":"Exemplo de JSON","originalRequest":{"method":"POST","header":[],"url":"{{server_url}}/external_api/v1/reports/cascading_compensations_period"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"heading\": {\n        \"title\": \"Banco Cascata por Período\",\n        \"created_by_name\": \"diego costa\",\n        \"start_date\": \"25/08/2025\",\n        \"end_date\": \"23/09/2025\",\n        \"today\": \"16/10/2025\"\n    },\n    \"data\": [\n        [\n            {\n                \"header\": {\n                    \"period\": {\n                        \"title\": \"Período\"\n                    },\n                    \"date\": {\n                        \"title\": \"Data\"\n                    },\n                    \"positive_time_balance\": {\n                        \"title\": \"Horas positivas\"\n                    },\n                    \"negative_time_balance\": {\n                        \"title\": \"Horas Negativas\"\n                    },\n                    \"extra_time\": {\n                        \"title\": \"Total de H. Extras\",\n                        \"subheader\": [\n                            {\n                                \"title\": \"H.E. 1\",\n                                \"csv_title\": \"Horas extras fator 1\"\n                            },\n                            {\n                                \"title\": \"H.E. 2\",\n                                \"csv_title\": \"Horas extras fator 2\"\n                            },\n                            {\n                                \"title\": \"H.E. 3\",\n                                \"csv_title\": \"Horas extras fator 3\"\n                            },\n                            {\n                                \"title\": \"H.E. 4\",\n                                \"csv_title\": \"Horas extras fator 4\"\n                            }\n                        ]\n                    },\n                    \"compensation\": {\n                        \"title\": \"Compensação\"\n                    },\n                    \"extra_time_compensation\": {\n                        \"title\": \"Saldo após Compensação\",\n                        \"subheader\": [\n                            {\n                                \"title\": \"H.E. 1\",\n                                \"csv_title\": \"Horas extras fator 1\"\n                            },\n                            {\n                                \"title\": \"H.E. 2\",\n                                \"csv_title\": \"Horas extras fator 2\"\n                            },\n                            {\n                                \"title\": \"H.E. 3\",\n                                \"csv_title\": \"Horas extras fator 3\"\n                            },\n                            {\n                                \"title\": \"H.E. 4\",\n                                \"csv_title\": \"Horas extras fator 4\"\n                            }\n                        ]\n                    },\n                    \"time_balance\": {\n                        \"title\": \"Saldo no período\"\n                    }\n                },\n                \"data\": [\n                    {\n                        \"period\": \"Setembro/2025\",\n                        \"date\": \"Sex, 19/09/2025\",\n                        \"positive_time_balance\": \"03:00\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"compensation\": \"00:00\",\n                        \"time_balance\": \"03:00\",\n                        \"regular_time\": \"08:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 02:00\",\n                                \"value\": \"02:00\",\n                                \"raw_value\": 7200.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 01:00\",\n                                \"value\": \"01:00\",\n                                \"raw_value\": 3600.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Setembro/2025\",\n                        \"date\": \"Seg, 22/09/2025\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"negative_time_balance\": \"01:00\",\n                        \"compensation\": \"01:00\",\n                        \"time_balance\": \"02:00\",\n                        \"regular_time\": \"07:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 3600.0,\n                            \"extra_time_100_percent\": 3600.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 01:00\",\n                                \"value\": \"01:00\",\n                                \"raw_value\": 3600.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 01:00\",\n                                \"value\": \"01:00\",\n                                \"raw_value\": 3600.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Setembro/2025\",\n                        \"date\": \"Ter, 23/09/2025\",\n                        \"positive_time_balance\": \"03:30\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"compensation\": \"00:00\",\n                        \"time_balance\": \"05:30\",\n                        \"regular_time\": \"08:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 02:00\",\n                                \"value\": \"02:00\",\n                                \"raw_value\": 7200.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 01:30\",\n                                \"value\": \"01:30\",\n                                \"raw_value\": 5400.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 3600.0,\n                            \"extra_time_100_percent\": 3600.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 03:00\",\n                                \"value\": \"03:00\",\n                                \"raw_value\": 10800.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 02:30\",\n                                \"value\": \"02:30\",\n                                \"raw_value\": 9000.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Agosto/2025\",\n                        \"date\": \"Qua, 27/08/2025\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"negative_time_balance\": \"02:00\",\n                        \"compensation\": \"02:00\",\n                        \"time_balance\": \"03:30\",\n                        \"regular_time\": \"06:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 3600.0,\n                            \"extra_time_100_percent\": 9000.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 01:00\",\n                                \"value\": \"01:00\",\n                                \"raw_value\": 3600.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 02:30\",\n                                \"value\": \"02:30\",\n                                \"raw_value\": 9000.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Agosto/2025\",\n                        \"date\": \"Sex, 29/08/2025\",\n                        \"positive_time_balance\": \"02:01\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"compensation\": \"00:00\",\n                        \"time_balance\": \"05:31\",\n                        \"regular_time\": \"08:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 02:00\",\n                                \"value\": \"02:00\",\n                                \"raw_value\": 7200.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 00:01\",\n                                \"value\": \"00:01\",\n                                \"raw_value\": 60.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 3600.0,\n                            \"extra_time_100_percent\": 9000.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 03:00\",\n                                \"value\": \"03:00\",\n                                \"raw_value\": 10800.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 02:31\",\n                                \"value\": \"02:31\",\n                                \"raw_value\": 9060.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Agosto/2025\",\n                        \"date\": \"Sáb, 30/08/2025\",\n                        \"positive_time_balance\": \"02:00\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"compensation\": \"00:00\",\n                        \"time_balance\": \"07:31\",\n                        \"regular_time\": \"04:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 02:00\",\n                                \"value\": \"02:00\",\n                                \"raw_value\": 7200.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 10800.0,\n                            \"extra_time_100_percent\": 9060.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 05:00\",\n                                \"value\": \"05:00\",\n                                \"raw_value\": 18000.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 02:31\",\n                                \"value\": \"02:31\",\n                                \"raw_value\": 9060.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Setembro/2025\",\n                        \"date\": \"Ter, 09/09/2025\",\n                        \"positive_time_balance\": \"01:00\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"compensation\": \"00:00\",\n                        \"time_balance\": \"08:31\",\n                        \"regular_time\": \"08:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 01:00\",\n                                \"value\": \"01:00\",\n                                \"raw_value\": 3600.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 18000.0,\n                            \"extra_time_100_percent\": 9060.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 06:00\",\n                                \"value\": \"06:00\",\n                                \"raw_value\": 21600.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 02:31\",\n                                \"value\": \"02:31\",\n                                \"raw_value\": 9060.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Setembro/2025\",\n                        \"date\": \"Sáb, 13/09/2025\",\n                        \"positive_time_balance\": \"00:00\",\n                        \"negative_time_balance\": \"02:00\",\n                        \"compensation\": \"02:00\",\n                        \"time_balance\": \"06:31\",\n                        \"regular_time\": \"02:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 14400.0,\n                            \"extra_time_100_percent\": 9060.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 04:00\",\n                                \"value\": \"04:00\",\n                                \"raw_value\": 14400.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 02:31\",\n                                \"value\": \"02:31\",\n                                \"raw_value\": 9060.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    },\n                    {\n                        \"period\": \"Setembro/2025\",\n                        \"date\": \"Dom, 14/09/2025\",\n                        \"positive_time_balance\": \"06:00\",\n                        \"negative_time_balance\": \"00:00\",\n                        \"compensation\": \"00:00\",\n                        \"time_balance\": \"12:31\",\n                        \"regular_time\": \"00:00\",\n                        \"registration_number\": null,\n                        \"job_title_name\": \"Gerente geral\",\n                        \"team_name\": \"Administração\",\n                        \"department_name\": \"Geral\",\n                        \"business_unit_name\": \"Empresa Modelo\",\n                        \"extra_time\": [\n                            {\n                                \"title\": \"H.E. 1 - 02:00\",\n                                \"value\": \"02:00\",\n                                \"raw_value\": 7200.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 04:00\",\n                                \"value\": \"04:00\",\n                                \"raw_value\": 14400.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ],\n                        \"previous_extra_time\": {\n                            \"extra_time_50_percent\": 14400.0,\n                            \"extra_time_100_percent\": 9060.0,\n                            \"extra_time_150_percent\": 0.0,\n                            \"extra_time_200_percent\": 0.0\n                        },\n                        \"extra_time_compensation\": [\n                            {\n                                \"title\": \"H.E. 1 - 06:00\",\n                                \"value\": \"06:00\",\n                                \"raw_value\": 21600.0,\n                                \"percent\": 50,\n                                \"factor\": \"factor1\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 2 - 06:31\",\n                                \"value\": \"06:31\",\n                                \"raw_value\": 23460.0,\n                                \"percent\": 100,\n                                \"factor\": \"factor2\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 3 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 150,\n                                \"factor\": \"factor3\",\n                                \"overnight\": null\n                            },\n                            {\n                                \"title\": \"H.E. 4 - 00:00\",\n                                \"value\": \"00:00\",\n                                \"raw_value\": 0.0,\n                                \"percent\": 200,\n                                \"factor\": \"factor4\",\n                                \"overnight\": null\n                            }\n                        ]\n                    }\n                ],\n                \"footer\": null,\n                \"totals\": [\n                    {\n                        \"title\": \"Total de horas H.E. 1\",\n                        \"total\": \"11:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas H.E. 2\",\n                        \"total\": \"06:31\"\n                    },\n                    {\n                        \"title\": \"Total de horas H.E. 3\",\n                        \"total\": \"00:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas H.E. 4\",\n                        \"total\": \"00:00\"\n                    },\n                    {\n                        \"title\": \"Total de horas faltantes\",\n                        \"total\": \"05:00\"\n                    },\n                    {\n                        \"title\": \"Total saldo\",\n                        \"total\": \"12:31\"\n                    },\n                    {\n                        \"title\": \"Compensação das horas do banco de\\n          Agosto/2025\\n          foram utilizadas em Setembro/2025\",\n                        \"total\": \"-00:01\"\n                    }\n                ]\n            }\n        ]\n    ],\n    \"meta\": {\n        \"now\": 1760620546,\n        \"ip\": \"172.16.57.1\",\n        \"obfuscated\": false\n    }\n}"}],"_postman_id":"252fbd76-f26b-48cb-93b5-dcd05fea614c"}],"id":"d09b183c-574c-4606-a41d-75225ad1ffc4","_postman_id":"d09b183c-574c-4606-a41d-75225ad1ffc4","description":""}],"id":"7bbe3301-2fee-4d21-a7ce-693c999e9ced","description":"<p>Diferente do banco convencional, o banco cascata acumula saldos de forma periódica para compensação futura. Importante destacar, que a modalidade de compensação do banco de horas no formato “cascata” é uma prática utilizada por algumas empresas de acordo com as especificações da convenção coletiva de cada atividade.</p>\n","_postman_id":"7bbe3301-2fee-4d21-a7ce-693c999e9ced"}],"event":[{"listen":"prerequest","script":{"id":"73065c1e-7694-4db2-8915-e400749f7138","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"533687c3-596a-4c4d-b828-826cfadf5304","type":"text/javascript","exec":[""]}}]}