GET api/operators/type/{type}
Returns a list of all telecom operators of the specified type known to the system.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
type |
The type of operators to retrieve. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of telecom operators with name and code.
Collection of TeleComOperatorName | 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>