POST api/v1/accounts/{accountId}/profile/phone
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Body Parameters
ConsumerPhoneRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| application_id | integer |
None. |
|
| loan_id | integer |
None. |
|
| phone_number | string |
None. |
|
| phone_type_id | integer |
None. |
|
| primary | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"application_id": 1,
"loan_id": 2,
"phone_number": "sample string 3",
"phone_type_id": 4,
"primary": true
}
application/xml, text/xml
Sample:
<ConsumerPhoneRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasypayFinance.MyEasypay.Models.ViewModel"> <ApplicationId>1</ApplicationId> <LoanId>2</LoanId> <PhoneNumber>sample string 3</PhoneNumber> <PhoneTypeId>4</PhoneTypeId> <Primary>true</Primary> </ConsumerPhoneRequestViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.