PUT api/Account/{accountNumber}/ManageAddress

Manages an address on the account

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

The account number

string

Required

Body Parameters

The address object

AddressDto
NameDescriptionTypeAdditional information
Address1

The first adress line

string

None.

Address2

The second address line

string

None.

Address3

The third address line

string

None.

City

The city

string

None.

State

The two letter abbreviation for the state

string

None.

Country

The country

string

None.

PostalCode

Postal code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Address1": "sample string 1",
  "Address2": "sample string 2",
  "Address3": "sample string 3",
  "City": "sample string 4",
  "State": "sample string 5",
  "Country": "sample string 6",
  "PostalCode": "sample string 7"
}

application/xml, text/xml

Sample:
<AddressDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models">
  <Address1>sample string 1</Address1>
  <Address2>sample string 2</Address2>
  <Address3>sample string 3</Address3>
  <City>sample string 4</City>
  <Country>sample string 6</Country>
  <PostalCode>sample string 7</PostalCode>
  <State>sample string 5</State>
</AddressDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.