saas_api/Orius.postman_collection.json

224 lines
No EOL
5.7 KiB
JSON

{
"info": {
"_postman_id": "385c0e34-a414-4987-9f55-cf650e80f25c",
"name": "Orius",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "41558252"
},
"item": [
{
"name": "Administrativo",
"item": [
{
"name": "Caixa",
"item": [
{
"name": "All",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{BearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "username",
"value": "keven@softwiki.com.br",
"type": "text"
},
{
"key": "password",
"value": "123",
"type": "text"
}
]
},
"url": {
"raw": "{{BaseUrlV1}}administrativo/caixa",
"host": [
"{{BaseUrlV1}}administrativo"
],
"path": [
"caixa"
]
}
},
"response": []
},
{
"name": "Create",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{BearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"especie_pagamento\": \"D\",\r\n \"caixa_item_id\" : 12,\r\n \"caixa_servico_id\": 9,\r\n \"usuario_servico_id\": 123456,\r\n \"usuario_caixa_id\": null,\r\n \"chave_servico\": null,\r\n \"descricao\": \"1\",\r\n \"data_pagamento\": null,\r\n \"situacao\": \"3\",\r\n \"tipo_documento\": \"C\",\r\n \"tipo_transacao\": \"C\",\r\n \"valor_servico\": 61,\r\n \"valor_pago\": 61,\r\n \"observacao\": null,\r\n \"caixa_cheque_id\": null,\r\n \"hora_pagamento\": null,\r\n \"caixa_id\": null,\r\n \"recibo_id\": null,\r\n \"tipo_servico\": \"17\",\r\n \"qtd\": 1,\r\n \"apresentante\": \"1\",\r\n \"mensalista_id\": null,\r\n \"quitado_caixa_id\": null,\r\n \"registrado\": 1,\r\n \"emolumento\": 33,\r\n \"taxa_judiciaria\": 14,\r\n \"fundesp\": 13,\r\n \"desconto\": 0,\r\n \"valor_documento\": 0,\r\n \"outra_taxa1\": 0,\r\n \"chave_servico_sec\": null,\r\n \"emolumento_item_id\": null,\r\n \"caixa_registroselo_id\": null,\r\n \"fundo_ri\": null,\r\n \"valor_recibo\": null,\r\n \"boleto_pdf\": null,\r\n \"boleto_vencimento\": null,\r\n \"iss\": 1,\r\n \"nlote\": 0,\r\n \"tabela\": \"1\",\r\n \"campo_id\": 5,\r\n \"boleto_id\": null,\r\n \"valor_adicional\": null,\r\n \"pix_id\": null\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{BaseUrlV1}}administrativo/caixa",
"host": [
"{{BaseUrlV1}}administrativo"
],
"path": [
"caixa"
]
}
},
"response": []
},
{
"name": "Get",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{BearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "username",
"value": "keven@softwiki.com.br",
"type": "text"
},
{
"key": "password",
"value": "123",
"type": "text"
}
]
},
"url": {
"raw": "{{BaseUrlV1}}administrativo/caixa/3",
"host": [
"{{BaseUrlV1}}administrativo"
],
"path": [
"caixa",
"3"
]
}
},
"response": []
},
{
"name": "Delete",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{BearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "username",
"value": "keven@softwiki.com.br",
"type": "text"
},
{
"key": "password",
"value": "123",
"type": "text"
}
]
},
"url": {
"raw": "{{BaseUrlV1}}administrativo/caixa/1",
"host": [
"{{BaseUrlV1}}administrativo"
],
"path": [
"caixa",
"1"
]
}
},
"response": []
}
]
}
]
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
}
],
"variable": [
{
"key": "BaseUrlV1",
"value": "http://127.0.0.1:8000/api/v1/",
"type": "string"
},
{
"key": "BearerToken",
"value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoiYWNjZXNzX3Rva2VuIiwiZXhwIjoxNzUwNjMxNDYxLCJpYXQiOjE3NTAwMjY2NjEsInN1YiI6IjEzIn0.Qnf9kpxgCCUKzjIi3lwR2LZUfpKQeaWhEDUHHZjpBis",
"type": "string"
}
]
}