saas_api/Orius.postman_collection.json

218 lines
No EOL
4.9 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": "raw",
"raw": "{\r\n \"data_pagamento\": {\r\n \"date_start\": \"2024-01-01\",\r\n \"date_end\": \"2024-02-01\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"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\": 275547.00,\r\n \"caixa_servico_id\": 2.00,\r\n \"usuario_servico_id\": 123456.00,\r\n \"usuario_caixa_id\": 123456.00,\r\n \"descricao\": \"{{$randomProductName}}\",\r\n \"data_pagamento\": \"2025-07-02 00:00:00.000\",\r\n \"situacao\": \"4\",\r\n \"tipo_documento\": \"C\",\r\n \"tipo_transacao\": \"C\",\r\n \"valor_servico\": 123123.000,\r\n \"valor_pago\": 123123.000,\r\n \"observacao\": \"{{$randomJobDescriptor}}\",\r\n \"hora_pagamento\": \"12:58\",\r\n \"tipo_servico\": \"25\",\r\n \"registrado\": \"3\"\r\n}\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/27551",
"host": [
"{{BaseUrlV1}}administrativo"
],
"path": [
"caixa",
"27551"
]
}
},
"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"
}
]
}