get
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=getRentListGET /stubs/handler_api.php?action=getRentList
Get list of active rental numbers of the profile
This request returns a list of rental numbers with current rent for your profile, including unactivated numbers, if the activation period has not expired.
You might want to use this request to retrieve a relevant information on all the active rental numbers you've ordered.
Security
Parameters
query1
| Name | Type | Description |
|---|---|---|
action* | string | Method name, in this case Enum: getRentListDefault:getRentList |
Responses
200Successful getRentList response from the server: either returns
a list of active rental numbers by country or throws an exception.
Successful getRentList response from the server: either returns
a list of active rental numbers by country or throws an exception.
Content-Type
application/jsonSchema
Responseobject
Responseobject
statusstring
valuesobject
valuesobject
#country#object
#country#object
idinteger
phonestring
Examples
List of active rental numbers
{
"status": "success",
"values": {
"0": {
"id": 22867858,
"phone": "9912530000"
}
}
}Code Samples
Generating examples...