Rota para a criação do lote, os campos da requisição devem ser preenchidos de acordo com a guia deseja.
Header | Descrição |
---|---|
Authorization | (obrigatório) é o token de autenticação da API |
othersParams | (obrigatório) objeto com as configurações do robô |
Exemplo de requisição
POST
https://web.loylegal.com/api/guides/intermediates/owner-intermediate
Request: {
"intermediate": {
"othersParams": [
{
"name": "court",
"value": "TJSP"
},
{
"name": "instace",
"value": "UNICO"
},
{
"name": "justice",
"value": "Tribunal de Justiça"
},
{
"name": "type",
"value": "workerGuides"
}
]
}
}
Exemplo da resposta
Response: {
"_id": "64c934805dc598001dc28c3e",
"guideParams": [],
"othersParams": [
{
"_id": "64c934805dc598001dc28c42",
"name": "court",
"value": "TJSP"
},
{
"_id": "64c934805dc598001dc28c41",
"name": "instace",
"value": "UNICO"
},
{
"_id": "64c934805dc598001dc28c40",
"name": "justice",
"value": "Tribunal de Justiça"
},
{
"_id": "64c934805dc598001dc28c3f",
"name": "type",
"value": "workerGuides"
}
],
"isWorked": true,
"lot": "GLCyQdhQ6",
"createdAt": "2023-08-01T16:36:17.388Z",
"updatedAt": "2023-08-01T16:36:17.390Z",
}
Password Protected