POST api/Account/{accountNumber}/InsertPhoneNumber
Inserts a phone number on an account
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountNumber |
The account number |
string |
Required |
Body Parameters
The phone object
PhoneDtoName | Description | Type | Additional information |
---|---|---|---|
PhoneNumber |
The phone number |
string |
None. |
PhoneType |
The type of phone |
string |
None. |
Sequence |
The order the phone number should appear on the account |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PhoneNumber": "sample string 1", "PhoneType": "sample string 2", "Sequence": 3 }
application/xml, text/xml
Sample:
<PhoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <PhoneNumber>sample string 1</PhoneNumber> <PhoneType>sample string 2</PhoneType> <Sequence>3</Sequence> </PhoneDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A boolean indicating success
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.