v3 RentNumber — 電話番号のレンタル

説明:

特定の番号をレンタルします。

URI:

https://api.multitel.net/v3/rentnumber/${number}/${price uuid}
(Example: https://api.multitel.net/v3/rentnumber/33554530000/4f79d0a734aa3ce0d9f127f66a3d80a3 )


パラメータ:

Required: number and price uuid (obtained from the output of the getNumbers function)
Optional (POST request only):

- description : text description for this number
- uri : format number@host (example : 1234567890@sip.server.com or {E164}@sip.server.com
- uri2 : failover 
- uri3 : failover
- ringtype: 1 => SIP URI ; 2 => Dial (Call Forward) ; 7 => SIP Account ; 15 => Hosted PBX 
- smsuri : where should the SMS message be forwarded to? (destination)
- smsringtype : 1 => Email ; 2 => URL POST ; 3 => URL GET ; 9 => Hosted PBX
- autorenew : determines if number will be renewed automatically at next billing cycle
- overflow : allow overflowing over the dedicated number of channels (additional costs apply)


メソッド:

POST/GET


サンプル出力:

{
  "status": {
    "code": 200,
    "msg": ""
  },
  "response": {
    "number": "33554530000",
    "price": {
      "per_minute": "0.006",
      "free_minutes": "0",
      "setup_price": "0",
      "monthly_price": "0.7",
      "channels": "0",
      "overflow": "1"
    }
  }
}

ドキュメントを検索