Authorization: ********************
{
"profile_name": "string",
"content": "string",
"profile_id": "string",
"content_type": "CT_PHONE_NUMBER",
"channel_type": "CHANNEL_CALL"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v0alpha/compliance/getconsentbyprofileandcontent' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"profile_name": "string",
"content": "string",
"profile_id": "string",
"content_type": "CT_PHONE_NUMBER",
"channel_type": "CHANNEL_CALL"
}'
{
"org_id": "string",
"profile_id": "string",
"profile_name": "string",
"consent_id": 0,
"revoked": "1s",
"expire": "1s",
"disabled": true,
"channel": {
"call_type": "INBOUND"
},
"topic": "string",
"condition_days_of_the_week": [
"SUNDAY"
],
"condition_time_of_day_from": "string",
"condition_time_of_day_to": "string",
"condition_from": "1s",
"condition_to": "1s",
"notes": "string",
"content_type": "CT_PHONE_NUMBER",
"conditions": [
{
"consent_condition_id": 0,
"consent_id": 0,
"days_of_the_week": [
"SUNDAY"
],
"time_of_day_from": "string",
"time_of_day_to": "string",
"from_date": "1s",
"to_date": "1s"
}
],
"channel_type": "CHANNEL_CALL",
"revoked_reason": "string",
"granted_reason": "string",
"proof": "string"
}