get setRentStatus
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=setRentStatusThis request closes the rent on a specified phone number.
IMPORTANT NOTE! &br; Closing the operation is irreversible process: once you close the operation, you won't be able to use or restore access to this rental number.
You might want to use this request when you need to close the operation explicitly and do not plan to use the number further, for example when the data you wanted has been retrieved.
Security
Parameters
actionRequired
Method name, in this case `setRentStatus`
In:
querySchema:
- stringExample:
"setRentStatus"Enum:setRentStatus
idRequired
Operation ID (assigned upon order, see getRentList)
In:
querySchema:
- integerExample:
10000>= 1
statusRequired
Operation status code (constant value, can only accept 2, else throws an error)
In:
querySchema:
- numberExample:
2Enum:2
Responses
200
Successful `setRentStatus` response from the server: either changes the rental operation status or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectExample:
{"status":"success"}Properties:statusstringRequest execution statusExample:"success"