POST api/Account/{accountNumber}/InsertEmailAddress

Inserts an email address on an account

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

The account number

string

Required

Body Parameters

The email object

EmailDto
NameDescriptionTypeAdditional information
EmailAddress

The email address

string

None.

EmailStatements

If true, statements should be emailed to this address

boolean

None.

EmailType

The type of the email. Free text.

string

None.

Sequence

The order this email should appear in the list of emails associated with this account

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailAddress": "sample string 1",
  "EmailStatements": true,
  "EmailType": "sample string 3",
  "Sequence": 4
}

application/xml, text/xml

Sample:
<EmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models">
  <EmailAddress>sample string 1</EmailAddress>
  <EmailStatements>true</EmailStatements>
  <EmailType>sample string 3</EmailType>
  <Sequence>4</Sequence>
</EmailDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A boolean indicating success

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.