curl --request PUT \
--url https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/rules \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"strategy": {
"maxAttemptsPerAddress": 2,
"maxAttemptsPerContact": 4,
"timeBetweenAttempts": 60,
"scheduleStart": "09:00",
"scheduleEnd": "20:00",
"timezone": "America/Argentina/Buenos_Aires",
"daysOfWeek": [
1,
2,
3,
4,
5
],
"processAllContactsFirst": true
},
"resultRules": {
"NO_ANSWER": {
"retryDelay": 30,
"maxRetries": 2
},
"BUSY": {
"retryDelay": 15,
"maxRetries": 3
}
}
}
'{}{
"code": "VALIDATION_FAILED",
"message": "Validación fallida en las reglas",
"details": [
{
"field": "strategy",
"code": "REQUIRED",
"reason": "required: attempt limits, wait between attempts and the dialing window"
}
]
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}Reemplazar las reglas de un lote
Sustituye la configuración de reglas de marcación del lote.
curl --request PUT \
--url https://api.backend.inconcertcc.com/autocontact/api/v1/batches/{batchId}/rules \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"strategy": {
"maxAttemptsPerAddress": 2,
"maxAttemptsPerContact": 4,
"timeBetweenAttempts": 60,
"scheduleStart": "09:00",
"scheduleEnd": "20:00",
"timezone": "America/Argentina/Buenos_Aires",
"daysOfWeek": [
1,
2,
3,
4,
5
],
"processAllContactsFirst": true
},
"resultRules": {
"NO_ANSWER": {
"retryDelay": 30,
"maxRetries": 2
},
"BUSY": {
"retryDelay": 15,
"maxRetries": 3
}
}
}
'{}{
"code": "VALIDATION_FAILED",
"message": "Validación fallida en las reglas",
"details": [
{
"field": "strategy",
"code": "REQUIRED",
"reason": "required: attempt limits, wait between attempts and the dialing window"
}
]
}{
"message": "<string>",
"code": "<string>"
}{
"message": "<string>",
"code": "<string>"
}Authorizations
API key obtenida desde la interfaz de Inagent, dentro del marcador.
Path Parameters
Id del lote.
Body
Reglas de marcación del lote. Objeto completo: no admite actualizaciones parciales.
Límites de intentos y ventana horaria. Los rangos los valida el servicio; los valores
fuera de rango responden 400.
Show child attributes
Show child attributes
Reglas por resultado de la llamada. Entre las claves admitidas se encuentran noAnswer,
busy y voicemail. Qué resultados aplican depende del tipo de canal del lote.
Show child attributes
Show child attributes
Define cómo se recorren las direcciones de un contacto antes de reintentarlas.
Show child attributes
Show child attributes
Detección de contestador automático.
Show child attributes
Show child attributes
Response
Reglas actualizadas.
The response is of type object.
Was this page helpful?

