POST Phone?phoneNumber={phoneNumber}&countryCode={countryCode}

Creates a Phone record given the provided number, country code, and short code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
phoneNumber

PhoneNumber to use when creating a new Phone.

string

Required

countryCode

CountryCode to create the new Phone item for.

string

Default value is 1

Body Parameters

None.

Response Information

Resource Description

int ID of the newly created Phone object

integer

Response 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>