Get Carriers by Region ID

Last Updated on : 2023-06-20 14:54:05download

Get a list of carriers supported by a specified area based on the region ID.

API address

GET: /v2.0/infrareds/{infrared_id}/areas/{area_id}/operators

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.
area_id Integer uri true The ID of a specified region.

Return parameter

Parameter name Type Description
result List

Description of result

Parameter name Type Description
operator_id Long The ID of a specified carrier.
operator_name String The name of a specified carrier.
country_code String The country code.

Request example

GET: /v2.0/infrareds/vdevo15345926009****/areas/1001/operators

Return example

{ "result": [ { "operator_id": 111, "country_code": "CN", "operator_name": "***" } ], "t": 1632316827381, "success": true }

Error code

For more information, see error code.