Class UpdateNumberRequest
Represents a request to update the configuration of an owned phone number.
public class UpdateNumberRequest
- Inheritance
-
UpdateNumberRequest
- Inherited Members
Properties
AppId
The Application that will handle inbound traffic to this number.
[JsonProperty("app_id")]
public string AppId { get; set; }
Property Value
Country
The two character country code in ISO 3166-1 alpha-2 format
[JsonProperty("country")]
public string Country { get; set; }
Property Value
MoHttpUrl
An URL-encoded URI to the webhook endpoint that handles inbound messages. Your webhook endpoint must be active before you make this request. Vonage makes a GET request to the endpoint and checks that it returns a 200 OK response. Set this parameter's value to an empty string to remove the webhook.
[JsonProperty("moHttpUrl")]
public string MoHttpUrl { get; set; }
Property Value
MoSmppSysType
The associated system type for your SMPP client
[JsonProperty("moSmppSysType")]
public string MoSmppSysType { get; set; }
Property Value
Msisdn
An available inbound virtual number.
[JsonProperty("msisdn")]
public string Msisdn { get; set; }
Property Value
VoiceCallbackType
Specify whether inbound voice calls on your number are forwarded to a SIP or a telephone number. This must be used with the voiceCallbackValue parameter. If set, sip or tel are prioritized over the Voice capability in your Application. Note: The app value is deprecated and will be removed in future.
[JsonProperty("voiceCallbackType")]
public string VoiceCallbackType { get; set; }
Property Value
VoiceCallbackValue
A SIP URI or telephone number. Must be used with the voiceCallbackType parameter.
[JsonProperty("voiceCallbackValue")]
public string VoiceCallbackValue { get; set; }
Property Value
VoiceStatusCallback
A webhook URI for Vonage to send a request to when a call ends
[JsonProperty("voiceStatusCallback")]
public string VoiceStatusCallback { get; set; }