curl --request POST \
--url https://api.comm.com/api/v1/sms/rate-parser/files/{file}/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"mcc": 1,
"rate": 1,
"mnc": 1,
"country": 1,
"brand_name": 1,
"operator_name": 1
}'
{
"logs": {
"line_no": 123,
"event_type": "<string>",
"old_rate": 123,
"new_rate": 123,
"country_name": "<string>",
"network": {
"mcc": "<string>",
"mnc": "<string>",
"brand_name": "<string>",
"operator_name": "<string>"
},
"fail_reason": "<string>",
"row": [
"<any>"
]
},
"stats": {
"rate_created": 123,
"rate_updated": 123,
"rate_deleted": 123,
"rate_failed": 123,
"network_created": 123,
"network_updated": 123
}
}
curl --request POST \
--url https://api.comm.com/api/v1/sms/rate-parser/files/{file}/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"mcc": 1,
"rate": 1,
"mnc": 1,
"country": 1,
"brand_name": 1,
"operator_name": 1
}'
{
"logs": {
"line_no": 123,
"event_type": "<string>",
"old_rate": 123,
"new_rate": 123,
"country_name": "<string>",
"network": {
"mcc": "<string>",
"mnc": "<string>",
"brand_name": "<string>",
"operator_name": "<string>"
},
"fail_reason": "<string>",
"row": [
"<any>"
]
},
"stats": {
"rate_created": 123,
"rate_updated": 123,
"rate_deleted": 123,
"rate_failed": 123,
"network_created": 123,
"network_updated": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The file ID
PriceParserColumnsDataRequest
The body is of type object
.
The response is of type object
.