Authorization: ********************
{
"recording_preferences": {
"org_id": "string",
"convention_enabled": true,
"file_name_convention": {
"xml_client_property_sid": 0,
"inbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"manual": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"outbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"preview": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
}
},
"zip_convention_enabled": true,
"zip_file_name_convention": {
"xml_client_property_sid": 0,
"inbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"manual": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"outbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"combined": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
}
},
"export_file_type": "RECORDING_FILE_TYPE_WAV"
},
"field_mask": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/org/preferences/recording/update' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"recording_preferences": {
"org_id": "string",
"convention_enabled": true,
"file_name_convention": {
"xml_client_property_sid": 0,
"inbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"manual": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"outbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"preview": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
}
},
"zip_convention_enabled": true,
"zip_file_name_convention": {
"xml_client_property_sid": 0,
"inbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"manual": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"outbound": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
},
"combined": {
"segments": [
{
"segment_type": "string",
"format_pattern": "string",
"time_zone_id": "string"
}
]
}
},
"export_file_type": "RECORDING_FILE_TYPE_WAV"
},
"field_mask": "string"
}'
{}