GET api/operators/subscriptionCategory/{category}
Returns a list of all telecom operators relevant to the specificed subscription category and known to the system.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| category |
The subscription category for which to retrieve operators. Notice that only Mobile, FixedLine, Internet and VoIP are valid values. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of telecom operators with name and code.
Collection of TeleComOperator| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| OperatorCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"OperatorCode": "sample string 2"
},
{
"Name": "sample string 1",
"OperatorCode": "sample string 2"
}
]
text/html
Sample:
[{"Name":"sample string 1","OperatorCode":"sample string 2"},{"Name":"sample string 1","OperatorCode":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfTeleComOperator xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<TeleComOperator>
<Name>sample string 1</Name>
<OperatorCode>sample string 2</OperatorCode>
</TeleComOperator>
<TeleComOperator>
<Name>sample string 1</Name>
<OperatorCode>sample string 2</OperatorCode>
</TeleComOperator>
</ArrayOfTeleComOperator>