Description:
You can use GET and POST methods.
With GET send ?login=79251111111&password=XXXXXX... as URL params.
With POST send login=79251111111&password=XXXXXX... as POST data.
Multifon client API methods:
GET routing
https://sm.megafon.ru/sm/client/routing?login=79251111111&password=XXXXXX
- 0 - GSM
- 1 - SIP
- 2 - SIP+GSM
SET routing
https://sm.megafon.ru/sm/client/routing?login=79251111111&password=XXXXXX&routing=Y
- 0 - GSM
- 1 - SIP
- 2 - SIP+GSM
GET calling lines
https://sm.megafon.ru/sm/client/lines?login=79251111111&password=XXXXXX
SET calling lines (min 2 - max 20)
https://sm.megafon.ru/sm/client/lines?login=79251111111&password=XXXXXX&lines=Y
GET status
https://sm.megafon.ru/sm/client/status?login=79251111111&password=XXXXXX
SET password
https://sm.megafon.ru/sm/client/password?login=79251111111&password=XXXXXX&new_password=YYYYYY
GET balance
https://sm.megafon.ru/sm/client/balance?login=79251111111&password=XXXXXX
GET profile
https://sm.megafon.ru/sm/client/profile?login=79251111111&password=XXXXXX