- Create Do Not Interact instances on all subcases
Channel(s) for which outbound interactions with a borrower are blocked. Use value all for all channels.
A list of contact labels. A person's mobile phone is labeled as personal. A person's work phone is labeled as work. A person's home phone is labeled as home. A person's home address is labeled as home.
A list of days of week at which to block.
Valid range is 1-7. 1=Monday...7=Sunday. For example: [1, 2, 4].
- If the day of week matches any of the values specified here, then the interaction is blocked.
- If this array is empty, then the interaction is blocked for all days of week.
[ 1, 2, 4 ]
A future date when interaction restrictions will be lifted. The value format is date only, without time. If today is endDate, the restriction will remain until the end of day in the product timezone. If no value is provided, doNotInteract will remain in effect until Remove do not interact is called or endDate is set to a date in the past.
Theme(s) for which outbound interactions with a borrower are blocked. Use value all for all themes. all doesn't include opsAccountCredentials. For example, use opsCollDebt to stop debt collection interactions.
A list of times of day at which to blockāin hour resolution.
- If the time falls into any of the ranges specified here, then the interaction is blocked.
- If this array is empty, then the interaction is blocked for all times of day.
The time zone where the borrower is located. If provided, the time zone will be used for restriction. If not provided, the system will use the borrower's home address time zone.
The start date for blocking interactions with a borrower. The value format is date only, without time. The start date can be a future date. If the value is not provided, or equal to today's date, or a date in the past, then the doNotIteract will be effective as soon as we process the request.
- oauth2
- bearerAuth
- apiKeyHeader
curl -i -X POST \
'https://sandboxapi.peach.finance/api/supercases/{supercaseId}/bulk-create-do-not-interact' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"channels": [
"all"
],
"contactLabels": [
"personal"
],
"daysOfWeek": [
1,
2,
4
],
"endDate": "2019-08-24",
"themes": [
"all"
],
"timesOfDay": [
{
"fromHour": 0,
"toHour": 0
}
],
"timezone": "string",
"startDate": "2019-08-24"
}'{ "message": "string", "status": 0, "data": { "operationId": "string" } }