{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"95006864-2f13-4316-9840-3ce3bc633f20","name":"API de integração","description":"## Introdução\n\nEsta é 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.\n\n## Primeiros passos\n\nPara utilização desta API, primeiramente é necessário obter o token de sua base. Para isso, siga os seguintes passos:\n\n1. Acesse [https://app.pontomais.com.br/#/acessar](https://app.pontomais.com.br/#/acessar);\n    \n2. Utilize as credenciais de administrador da empresa para autenticar-se;\n    \n3. No menu de navegação no canto esquerdo, clique em Marketplace;\n    \n4. Clique em \"Saiba mais\" dentro da área da \"API Pontomais\";\n    \n5. Realize a contratação da API, caso não tenha feito;\n    \n6. Após a contratação, estará disponível o campo \"Token público\" que contém o token de acesso à API.\n    \n\n## Tipos de dados\n\nInstruções para o preenchimento conforme o tipo do campo:\n\n- **Boolean**: preencha com **true** (para verdadeiro) e **false** (para falso).\n    \n- **String**: preencha com caracteres alfanuméricos e/ou especiais.\n    \n- **Date**: preencha com uma _String_ no formato “YYYY-MM-DD”.\n    \n- **Integer**: preencha somente com números.\n    \n- **Float**: preencha somente com números de ponto flutuante.\n    \n- **Code**: preencha com caracteres alfa numéricos (_String_) que sejam únicos no sistema de origem.\n    \n- **Phone**: preencha com uma _String_ no formato “(DD) XXXX-XXXX” ou “(DD) XXXXX-XXXX”.\n    \n- **Timestamp**: preencha com uma cadeia de caracteres numéricos que representem uma data e horário.\n    \n- **Object**: preencha com um objeto. Nesta documentação os dados do tipo _Object_ possuem uma tabela específica que determina as características de cada atributo.\n    \n\n## Hierarquia de alocação de colaboradores\n\n- Unidade de Negócio\n    - Departamento\n        - Equipe\n            - Colaborador","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"4785048","team":119466,"collectionId":"95006864-2f13-4316-9840-3ce3bc633f20","publishedId":"RWMCvVxN","public":true,"publicUrl":"https://documenter-api.postman.tech/view/4785048/RWMCvVxN","privateUrl":"https://go.postman.co/documentation/4785048-95006864-2f13-4316-9840-3ce3bc633f20","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"303030"},"documentationLayout":"classic-single-column","customisation":null,"version":"8.11.4","publishDate":"2020-06-18T12:56:07.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Pontomais - Public","id":"965650c7-210a-4db7-8b39-9d42430fde4a","owner":"4785048","values":[{"key":"server_url","value":"https://api.pontomais.com.br","enabled":true},{"key":"client_token","value":"{{client_token}}","enabled":true},{"key":"page_number","value":"{{page_number}}","enabled":true},{"key":"per_page_qtd","value":"{{per_page_qtd}}","enabled":true},{"key":"per_page","value":"10","enabled":true},{"key":"count","value":"true","enabled":true},{"key":"holiday_count","value":"true","enabled":true},{"key":"layout_token","value":"{{layout_token}}","enabled":true},{"key":"business_unit_code","value":"0001","enabled":true},{"key":"start_date","value":"2020-01-01","enabled":true},{"key":"end_date","value":"2020-01-02","enabled":true},{"key":"business_unit_id","value":"{{business_unit_id}}","enabled":true},{"key":"person_type","value":"2","enabled":true},{"key":"is_construction","value":"true","enabled":true},{"key":"is_employer","value":"true","enabled":true},{"key":"street_type","value":"3","enabled":true},{"key":"city_id","value":"1000","enabled":true},{"key":"inmetro","value":"true","enabled":true},{"key":"local_date_time","value":"true","enabled":true},{"key":"initial_nsr","value":"1","enabled":true},{"key":"active","value":"true","enabled":true},{"key":"send_confirmation_email","value":"true","enabled":true},{"key":"group_id","value":"3","enabled":true},{"key":"password","value":"pAsSwOrD","enabled":true},{"key":"password_confirmation","value":"pAsSwOrD","enabled":true},{"key":"observation","value":"Mussum Ipsum, cacilds vidis litro abertis. Paisis, filhis, espiritis santis. Detraxit consequat et quo num tendi nada. Suco de cevadiss, é um leite divinis, qui tem lupuliz, matis, aguis e fermentis. Sapien in monti palavris qui num significa nadis i pareci latim. ","enabled":true},{"key":"date","value":"2020-01-20","enabled":true},{"key":"shift_id","value":"{{shift_id}}","enabled":true},{"key":"employee_id","value":"{{employee_id}}","enabled":true},{"key":"shift_change_id","value":"{{shift_change_id}}","enabled":true},{"key":"job_title_change_id","value":"{{job_title_change_id}}","enabled":true},{"key":"job_title_id","value":"{{job_title_id}}","enabled":true},{"key":"motive","value":"1","enabled":true},{"key":"team_changes_id","value":"{{team_changes_id}}","enabled":true},{"key":"team_change_id","value":"7","enabled":true},{"key":"team_id","value":"{{team_id}}","enabled":true},{"key":"code","value":"ES-21","enabled":true},{"key":"name","value":"Detraxit","enabled":true},{"key":"department_id","value":"{{department_id}}","enabled":true},{"key":"cost_center_id","value":"{{cost_center_id}}","enabled":true},{"key":"female_name","value":"Detraxita","enabled":true},{"key":"cbo_id","value":"223149","enabled":true},{"key":"job_title_code","value":"0055","enabled":true},{"key":"job_title_name","value":"Doctor","enabled":true},{"key":"job_title_female_name","value":"Doctor","enabled":true},{"key":"holiday_id","value":"4","enabled":true},{"key":"holiday_fixed","value":"true","enabled":true},{"key":"fixed","value":"true","enabled":true},{"key":"shift_day_id","value":"1","enabled":true},{"key":"absence_id","value":"{{absence_id}}","enabled":true},{"key":"nis","value":"999.99999.99-9","enabled":true},{"key":"registration_number","value":"006","enabled":true},{"key":"employee_email","value":"johndoe@email.com","enabled":true},{"key":"use_qrcode","value":"false","enabled":true},{"key":"employee_cpf","value":"999.999.999-99","enabled":true},{"key":"user_id","value":"{{user_id}}","enabled":true},{"key":"medical_certificate","value":"false","enabled":true},{"key":"team_change_date","value":"2020-03-10","enabled":true},{"key":"break_id","value":"{{break_id}}","enabled":true},{"key":"admission_date","value":"false","enabled":true},{"key":"absence_type","value":"1","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/22688867f05644d2caacf4545119fd1ba5dbfd5a3b4c7c016a08f365e4cfafd1","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Pontomais - Public","value":"4785048-965650c7-210a-4db7-8b39-9d42430fde4a"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/RWMCvVxN"}