POST
/
v1
/
sms
/
rate-parser
/
files
/
{file}
/
preview
cURL
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file
string<uuid>
required

The file ID

Body

application/json

PriceParserColumnsDataRequest

The body is of type object.

Response

200
application/json

The response is of type object.