curl --request POST \
--url https://api.comm.com/api/v1/sms/routing/plans/{plan}/simulate/country \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country_id": 123,
"network_id": 123,
"counter": 1
}
'{
"data": {
"contacts_count": 123,
"resource": {
"to_send": true,
"fail_reason": "No route found",
"status": {},
"selected_method": {},
"selected_action": {},
"selected_rule_id": "<string>",
"selected_route": "<string>",
"costs": {
"cost_platform_customer": 123,
"cost_route_vendor": 123,
"cost_route_seller": 0,
"cost_platform_seller": 0,
"sms_route_rate_id": "<string>"
}
},
"country_ids": [
"<string>"
],
"network_ids": [
"<string>"
]
}
}curl --request POST \
--url https://api.comm.com/api/v1/sms/routing/plans/{plan}/simulate/country \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country_id": 123,
"network_id": 123,
"counter": 1
}
'{
"data": {
"contacts_count": 123,
"resource": {
"to_send": true,
"fail_reason": "No route found",
"status": {},
"selected_method": {},
"selected_action": {},
"selected_rule_id": "<string>",
"selected_route": "<string>",
"costs": {
"cost_platform_customer": 123,
"cost_route_vendor": 123,
"cost_route_seller": 0,
"cost_platform_seller": 0,
"sms_route_rate_id": "<string>"
}
},
"country_ids": [
"<string>"
],
"network_ids": [
"<string>"
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The plan ID
Show child attributes
Show child attributes
No route found, Rule dropped Show child attributes