get getRentState
https://onlinesim.io/api/rent/getRentState.phpThis request returns a list of active rental numbers.
You can use it to quickly browse all your active rental numbers (or only specific one) and their received messages.
Security
Parameters
tzidOperation ID.
If not specified, request will return the entire list of active rental operations
In:
querySchema:
- integerExample:
0
paginationPagination mode for message browsing (disabled if `false`)
In:
querySchema:
- booleanExample:
false
langResponse language:
fr - French,
de - German,
ru - Russian,
en - English,
zh - Chinese. Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English.
In:
querySchema:
- stringExample:
"en"Enum:frderuenzh
Responses
200
Successful response for `getRentState` request: the server returns information of specified active rental operation (or all of them) or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectExample:
{"response":1,"list":[{"status":1,"extension":1,"messages":[{"id":1,"service":"Google","text":"Your verification code is 070051","code":"070051","created_at":"2022-07-17 21:46:58"}],"sum":"251.5","country":46,"checked_time":"2022-07-17 21:41:20","number":"9915584307","rent":4,"tzid":10000,"time":5750,"days":3,"hours":95,"extend":{"#period_in_days#":36},"checked":true,"reload":1,"day_extend":36,"m_ext":true,"freeze":true}]}Properties:responsemixed1, if the request has been completed successfully, or an error messageExample:1One Of:- integerExample:
0 - stringExample:
"string"
listarrayList of active rental operationsExample:[{"status":1,"extension":1,"messages":[{"id":1,"service":"Google","text":"Your verification code is 070051","code":"070051","created_at":"2022-07-17 21:46:58"}],"sum":"251.5","country":46,"checked_time":"2022-07-17 21:41:20","number":"9915584307","rent":4,"tzid":10000,"time":5750,"days":3,"hours":95,"extend":{"#period_in_days#":36},"checked":true,"reload":1,"day_extend":36,"m_ext":true,"freeze":true}]Items:- objectExample:
{"status":1,"extension":1,"messages":[{"id":1,"service":"Google","text":"Your verification code is 070051","code":"070051","created_at":"2022-07-17 21:46:58"}],"sum":"251.5","country":46,"checked_time":"2022-07-17 21:41:20","number":"9915584307","rent":4,"tzid":10000,"time":5750,"days":3,"hours":95,"extend":{"#period_in_days#":36},"checked":true,"reload":1,"day_extend":36,"m_ext":true,"freeze":true}