get getRentServicesAndCountries

http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getRentServicesAndCountries
rent
This request returns a list of countries available for rent with rent details. You might want to use it to check if the numbers of desired country are available for rent and if so, how many.

Parameters

action
Required
Method name, in this case `getRentServicesAndCountries`
In: query
Schema:
  • string
    Example: "getRentServicesAndCountries"
    Enum: getRentServicesAndCountries
country

Country ID (see getCountries)

In: query
Schema:
  • integer
    Example: 0

Responses

200

Successful `getRentServicesAndCountries` response from the server: either returns detailed information on available numbers for rent by country or throws an exception.
Content Type:
application/json
  • Schema
  • Examples
  • object
    Example: {"countries":{"#country#":0},"operators":{"0":"string"},"services":{"full":{"quant":0,"cost":0}}}
    Properties:
    • countries
      object
      Example: {"#country#":0}
    • operators
      object
      Example: {"0":"string"}
    • services
      object
      Example: {"full":{"quant":0,"cost":0}}