Jonas_3k

mobicaAkross.postman_collection

Sep 10th, 2021 (edited)
2,408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.99 KB | None | 0 0
  1. {
  2.     "info": {
  3.         "_postman_id": "164746a5-b730-4e7d-9dec-c8c8c875639f",
  4.         "name": "mobicaAkross",
  5.         "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6.     },
  7.     "item": [
  8.         {
  9.             "name": "setor",
  10.             "item": [
  11.                 {
  12.                     "name": "postSetor",
  13.                     "request": {
  14.                         "method": "POST",
  15.                         "header": [],
  16.                         "body": {
  17.                             "mode": "raw",
  18.                             "raw": "{\n    \"id\": null,\n    \"descricao\": \"Setor\"\n}",
  19.                             "options": {
  20.                                 "raw": {
  21.                                     "language": "json"
  22.                                 }
  23.                             }
  24.                         },
  25.                         "url": {
  26.                             "raw": "http://localhost:8080/setor",
  27.                             "protocol": "http",
  28.                             "host": [
  29.                                 "localhost"
  30.                             ],
  31.                             "port": "8080",
  32.                             "path": [
  33.                                 "setor"
  34.                             ]
  35.                         }
  36.                     },
  37.                     "response": []
  38.                 },
  39.                 {
  40.                     "name": "getSetores",
  41.                     "protocolProfileBehavior": {
  42.                         "disableBodyPruning": true
  43.                     },
  44.                     "request": {
  45.                         "method": "GET",
  46.                         "header": [],
  47.                         "body": {
  48.                             "mode": "raw",
  49.                             "raw": "{\n    \"id\": null,\n    \"descricao\": null\n}",
  50.                             "options": {
  51.                                 "raw": {
  52.                                     "language": "json"
  53.                                 }
  54.                             }
  55.                         },
  56.                         "url": {
  57.                             "raw": "http://localhost:8080/setor",
  58.                             "protocol": "http",
  59.                             "host": [
  60.                                 "localhost"
  61.                             ],
  62.                             "port": "8080",
  63.                             "path": [
  64.                                 "setor"
  65.                             ]
  66.                         }
  67.                     },
  68.                     "response": []
  69.                 },
  70.                 {
  71.                     "name": "deleteSetor",
  72.                     "request": {
  73.                         "method": "DELETE",
  74.                         "header": [],
  75.                         "body": {
  76.                             "mode": "raw",
  77.                             "raw": "{\n    \"id\": 2,\n    \"descricao\": \"Setor3\"\n}",
  78.                             "options": {
  79.                                 "raw": {
  80.                                     "language": "json"
  81.                                 }
  82.                             }
  83.                         },
  84.                         "url": {
  85.                             "raw": "http://localhost:8080/setor",
  86.                             "protocol": "http",
  87.                             "host": [
  88.                                 "localhost"
  89.                             ],
  90.                             "port": "8080",
  91.                             "path": [
  92.                                 "setor"
  93.                             ]
  94.                         }
  95.                     },
  96.                     "response": []
  97.                 },
  98.                 {
  99.                     "name": "deleteSetorPathParam",
  100.                     "request": {
  101.                         "method": "DELETE",
  102.                         "header": [],
  103.                         "body": {
  104.                             "mode": "raw",
  105.                             "raw": "{\n    \"id\": 2,\n    \"descricao\": \"Setor3\"\n}",
  106.                             "options": {
  107.                                 "raw": {
  108.                                     "language": "json"
  109.                                 }
  110.                             }
  111.                         },
  112.                         "url": {
  113.                             "raw": "http://localhost:8080/setor/2",
  114.                             "protocol": "http",
  115.                             "host": [
  116.                                 "localhost"
  117.                             ],
  118.                             "port": "8080",
  119.                             "path": [
  120.                                 "setor",
  121.                                 "2"
  122.                             ]
  123.                         }
  124.                     },
  125.                     "response": []
  126.                 }
  127.             ]
  128.         },
  129.         {
  130.             "name": "colaborador",
  131.             "item": [
  132.                 {
  133.                     "name": "getColaboradores",
  134.                     "request": {
  135.                         "method": "GET",
  136.                         "header": [],
  137.                         "url": {
  138.                             "raw": "http://localhost:8080/colaborador",
  139.                             "protocol": "http",
  140.                             "host": [
  141.                                 "localhost"
  142.                             ],
  143.                             "port": "8080",
  144.                             "path": [
  145.                                 "colaborador"
  146.                             ]
  147.                         }
  148.                     },
  149.                     "response": []
  150.                 },
  151.                 {
  152.                     "name": "postColaborador",
  153.                     "request": {
  154.                         "method": "POST",
  155.                         "header": [],
  156.                         "body": {
  157.                             "mode": "raw",
  158.                             "raw": "{\n    \"id\": null,\n    \"nome\": \"cirilo\",\n    \"nascimento\":\"2000-01-01\",\n    \"cpf\": \"111222333\",\n    \"telefone\":\"4002-8922\",\n    \"email\":\"processo@mobicare.com.br\",\n    \"setor\":1\n}",
  159.                             "options": {
  160.                                 "raw": {
  161.                                     "language": "json"
  162.                                 }
  163.                             }
  164.                         },
  165.                         "url": {
  166.                             "raw": "http://localhost:8080/colaborador",
  167.                             "protocol": "http",
  168.                             "host": [
  169.                                 "localhost"
  170.                             ],
  171.                             "port": "8080",
  172.                             "path": [
  173.                                 "colaborador"
  174.                             ]
  175.                         }
  176.                     },
  177.                     "response": []
  178.                 },
  179.                 {
  180.                     "name": "getColaboradoresPorFiltro",
  181.                     "request": {
  182.                         "method": "GET",
  183.                         "header": [],
  184.                         "url": {
  185.                             "raw": "http://localhost:8080/colaborador/filtros?cpf=112255",
  186.                             "protocol": "http",
  187.                             "host": [
  188.                                 "localhost"
  189.                             ],
  190.                             "port": "8080",
  191.                             "path": [
  192.                                 "colaborador",
  193.                                 "filtros"
  194.                             ],
  195.                             "query": [
  196.                                 {
  197.                                     "key": "id",
  198.                                     "value": null,
  199.                                     "disabled": true
  200.                                 },
  201.                                 {
  202.                                     "key": "nome",
  203.                                     "value": null,
  204.                                     "disabled": true
  205.                                 },
  206.                                 {
  207.                                     "key": "setor",
  208.                                     "value": null,
  209.                                     "disabled": true
  210.                                 },
  211.                                 {
  212.                                     "key": "cpf",
  213.                                     "value": "112255"
  214.                                 }
  215.                             ]
  216.                         }
  217.                     },
  218.                     "response": []
  219.                 },
  220.                 {
  221.                     "name": "getColaboradorPorId",
  222.                     "request": {
  223.                         "method": "GET",
  224.                         "header": [],
  225.                         "url": {
  226.                             "raw": "http://localhost:8080/colaborador/6",
  227.                             "protocol": "http",
  228.                             "host": [
  229.                                 "localhost"
  230.                             ],
  231.                             "port": "8080",
  232.                             "path": [
  233.                                 "colaborador",
  234.                                 "6"
  235.                             ]
  236.                         }
  237.                     },
  238.                     "response": []
  239.                 },
  240.                 {
  241.                     "name": "deleteColaboradorPorId",
  242.                     "request": {
  243.                         "method": "DELETE",
  244.                         "header": [],
  245.                         "url": {
  246.                             "raw": "http://localhost:8080/colaborador/2",
  247.                             "protocol": "http",
  248.                             "host": [
  249.                                 "localhost"
  250.                             ],
  251.                             "port": "8080",
  252.                             "path": [
  253.                                 "colaborador",
  254.                                 "2"
  255.                             ]
  256.                         }
  257.                     },
  258.                     "response": []
  259.                 },
  260.                 {
  261.                     "name": "putColaborador",
  262.                     "request": {
  263.                         "method": "PUT",
  264.                         "header": [],
  265.                         "body": {
  266.                             "mode": "raw",
  267.                             "raw": "{\n    \"id\": 1,\n    \"nome\": \"Maria Joaquina\",\n    \"nascimento\":null,\n    \"cpf\": \"112233\",\n    \"telefone\":\"4002-8922\",\n    \"email\":\"processo@mobicare.com\",\n    \"setor\":1\n}",
  268.                             "options": {
  269.                                 "raw": {
  270.                                     "language": "json"
  271.                                 }
  272.                             }
  273.                         },
  274.                         "url": {
  275.                             "raw": "http://localhost:8080/colaborador",
  276.                             "protocol": "http",
  277.                             "host": [
  278.                                 "localhost"
  279.                             ],
  280.                             "port": "8080",
  281.                             "path": [
  282.                                 "colaborador"
  283.                             ]
  284.                         }
  285.                     },
  286.                     "response": []
  287.                 }
  288.             ]
  289.         }
  290.     ]
  291. }
Add Comment
Please, Sign In to add comment