POST PhoneChannel?shortCode={shortCode}&phoneNumber={phoneNumber}&countryCode={countryCode}
Creates a PhoneChannel record given the provided number, country code, and short code.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shortCode |
ShortCode to associate the new PhoneChannel object with. |
string |
Required |
| phoneNumber |
PhoneNumber to use when creating a new PhoneChannel. |
string |
Required |
| countryCode |
CountryCode to create the new PhoneChannel item for. |
string |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
int ID of the newly created PhoneChannel object
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>