Salvar registros de marcações por CPF
POST/registrosCPF/save
Salvar registros de marcações por CPF
Request
- application/json
- Body
- Example
Body
required
Array [
]
data
object[]
horaMarcacao date-timerequired
codRelogio int32required
uuid uuidrequired
online booleannullable
{
"data": [
{
"idRegistroMarcacao": 2823,
"cpf": "88587574086",
"horaMarcacao": "2023-09-05T13:00:00",
"utcOffset": -180,
"codRelogio": 9999,
"uuid": "5339c158-4c04-11ee-be56-0242ac120002",
"online": true
},
{
"idRegistroMarcacao": 2824,
"cpf": "88587574086",
"horaMarcacao": "2023-09-05T17:48:00",
"utcOffset": -180,
"codRelogio": 9999,
"uuid": "7b8c96f8-4c04-11ee-be56-0242ac120002",
"online": true
}
]
}
Responses
- 200
- 400
- 500
Lote processado; status vazio e success true indicam sucesso no item. Falhas são informadas no status e success false.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"success": true,
"message": null,
"total": 2,
"data": [
{
"uuid": "5339c158-4c04-11ee-be56-0242ac120002",
"status": "",
"success": true
},
{
"uuid": "7b8c96f8-4c04-11ee-be56-0242ac120002",
"status": "",
"success": true
}
]
}
{
"success": true,
"message": null,
"total": 2,
"data": [
{
"uuid": "5339c158-4c04-11ee-be56-0242ac120002",
"status": "",
"success": true
},
{
"uuid": "7b8c96f8-4c04-11ee-be56-0242ac120002",
"status": "",
"success": true
}
]
}
Solicitação inválida.
- application/json
- Schema
- Example (from schema)
Schema
success boolean
message stringnullable
cause stringnullable
{
"success": false,
"message": "string",
"cause": "string"
}
Erro interno ao processar a solicitação.
- application/json
- Schema
- Example (from schema)
Schema
success boolean
message stringnullable
cause stringnullable
{
"success": false,
"message": "string",
"cause": "string"
}
Loading...