Body Required
-
dateUploaded string(date-time)
DateTime when the data was uploaded.
-
clientsNumber integer
-
clients array[object]
POST
/upload/batch
curl \
-X POST https://serlefin.api.domu.ai/upload/batch \
-H "Content-Type: application/json" \
-d '{"dateUploaded":"2023-08-18T12:00:00Z","clientsNumber":1,"clients":[{"idSerlefin":"encryptedString","firstName":"John","debtTime":30,"debtValue":1000,"pastInteractions":[{"interactionType":"call","direccion":"in","result":{}}],"carteraType":["preventiva"],"minNegociationDiscount":0.1,"maxNegociationDiscount":0.5,"expectedPaymentDate":"2023-09-18T12:00:00Z","maxInstallments":5}]}'
Request example
{
"dateUploaded": "2023-08-18T12:00:00Z",
"clientsNumber": 1,
"clients": [
{
"idSerlefin": "encryptedString",
"firstName": "John",
"debtTime": 30,
"debtValue": 1000,
"pastInteractions": [
{
"interactionType": "call",
"direccion": "in",
"result": {}
}
],
"carteraType": [
"preventiva"
],
"minNegociationDiscount": 0.1,
"maxNegociationDiscount": 0.5,
"expectedPaymentDate": "2023-09-18T12:00:00Z",
"maxInstallments": 5
}
]
}
Request examples
{
"clients": [
{
"debtTime": 30,
"debtValue": 1000,
"firstName": "John",
"idSerlefin": "encryptedString",
"carteraType": [
"preventiva"
],
"maxInstallments": 5,
"pastInteractions": [
{
"result": {},
"direccion": "in",
"interactionType": "call"
}
],
"expectedPaymentDate": "2023-09-18T12:00:00Z",
"maxNegociationDiscount": 0.5,
"minNegociationDiscount": 0.1
}
],
"dateUploaded": "2023-08-18T12:00:00Z",
"clientsNumber": 1
}
Response examples (200)
{
"batchId": "string"
}
Response examples (200)
{
"batchId": "string"
}