{"info":{"_postman_id":"701a10d5-4aa5-4ca3-89ea-5ef1078d72c7","name":"LawsuitsManager","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"16971079","collectionId":"701a10d5-4aa5-4ca3-89ea-5ef1078d72c7","publishedId":"U16eunpm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-09-03T04:23:21.000Z"},"item":[{"name":"/clients","id":"3456f4ed-55e9-492d-a457-bef8a4ab1a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lawsuitsmanager.herokuapp.com/api/client","description":"<p>Obtêm todos os clientes registrados</p>\n","urlObject":{"path":["api","client"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3456f4ed-55e9-492d-a457-bef8a4ab1a3e"},{"name":"/lawsuit","id":"13d0ca1c-ca52-44bd-a1dc-0dda934ea071","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lawsuitsmanager.herokuapp.com/api/lawsuit","description":"<p>Obtêm todos os processos registrados</p>\n<p>Parâmetros de filtro:</p>\n","urlObject":{"path":["api","lawsuit"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[{"disabled":true,"description":{"content":"<p>Obtêm processos do ano indicado</p>\n","type":"text/plain"},"key":"year","value":""},{"disabled":true,"description":{"content":"<p>Obtêm processos do mês indicado</p>\n","type":"text/plain"},"key":"month","value":""},{"disabled":true,"description":{"content":"<p>Obtêm processos do dia indicado</p>\n","type":"text/plain"},"key":"day","value":""},{"disabled":true,"description":{"content":"<p>Obtêm processos que contém o termo indicado</p>\n","type":"text/plain"},"key":"like","value":""}],"variable":[]}},"response":[],"_postman_id":"13d0ca1c-ca52-44bd-a1dc-0dda934ea071"},{"name":"/client/:clientId/state/:stateId/average","id":"2d791685-3276-4d79-889a-94a5b30e4ff9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lawsuitsmanager.herokuapp.com/api/client/:clientId/state/:stateId/average","description":"<p>Obtêm a média do valor dos processos de um cliente em um estado</p>\n","urlObject":{"path":["api","client",":clientId","state",":stateId","average"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[],"variable":[{"description":{"content":"<p>Determina o cliente pelo id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"clientId"},{"description":{"content":"<p>Determina o estado pelo id</p>\n","type":"text/plain"},"type":"any","value":"19","key":"stateId"}]}},"response":[],"_postman_id":"2d791685-3276-4d79-889a-94a5b30e4ff9"},{"name":"/lawsuit/sum","id":"047920bd-5d30-4c52-be56-3ab1ebeb3117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lawsuitsmanager.herokuapp.com/api/lawsuit/sum","description":"<p>Obtêm a soma do valor dos ativos</p>\n","urlObject":{"path":["api","lawsuit","sum"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"047920bd-5d30-4c52-be56-3ab1ebeb3117"},{"name":"/lawsuit/count","id":"bf127901-4963-424b-b208-2d5050882b9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lawsuitsmanager.herokuapp.com/api/lawsuit/count","description":"<p>Obtêm a contagens de processos registrados</p>\n<p>Parâmetros de filtro:</p>\n","urlObject":{"path":["api","lawsuit","count"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[{"disabled":true,"description":{"content":"<p>Obtêm processos com valores maiores do que o indicado</p>\n","type":"text/plain"},"key":"gt-value","value":""},{"disabled":true,"description":{"content":"<p>Obtêm processos com valores menores do que o indicado</p>\n","type":"text/plain"},"key":"lt-value","value":null}],"variable":[]}},"response":[],"_postman_id":"bf127901-4963-424b-b208-2d5050882b9b"},{"name":"/clients/lawsuits","id":"4f556993-a667-41bf-ad47-4b1e8278a3c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lawsuitsmanager.herokuapp.com/api/client/lawsuits","description":"<p>Obtêm a clientes e seus processos registrados</p>\n<p>Parâmetros de filtro:</p>\n","urlObject":{"path":["api","client","lawsuits"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[{"disabled":true,"description":{"content":"<p>Obtêm processos de mesmo estado que o cliente</p>\n","type":"text/plain"},"key":"same-origin","value":""}],"variable":[]}},"response":[],"_postman_id":"4f556993-a667-41bf-ad47-4b1e8278a3c6"},{"name":"/client","id":"cb768230-13d7-43bc-8678-3ef1684d4aeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Empresa C\",\n    \"cnpj\": \"000000000003\",\n    \"stateId\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://lawsuitsmanager.herokuapp.com/api/client","description":"<p>Registra um novo cliente</p>\n","urlObject":{"path":["api","client"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb768230-13d7-43bc-8678-3ef1684d4aeb"},{"name":"/lawsuit","id":"2f15db92-0995-4b60-b258-a8edb121ce27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"clientId\": 3,\n    \"stateId\": 20,\n    \"number\": \"00010CIVILRN\",\n    \"value\": 4900000,\n    \"created_at\": \"2021-09-02\",\n    \"status\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://lawsuitsmanager.herokuapp.com/api/lawsuit","description":"<p>Registra um novo processo</p>\n","urlObject":{"path":["api","lawsuit"],"host":["https://lawsuitsmanager.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f15db92-0995-4b60-b258-a8edb121ce27"}],"event":[{"listen":"prerequest","script":{"id":"4ad88243-f807-4fac-9640-a9ba16d13e3a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"581f9853-7f6c-4f83-9fd3-e87f79d82530","type":"text/javascript","exec":[""]}}],"variable":[{"key":"start_url","value":"https://lawsuitsmanager.herokuapp.com"}]}