It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Intronis Backup
formerly ECHOplatform

Account Addresses

  • Last updated on

URI

/v1/accounts/{username}/addresses

URI Parameters

  • username (string)

Methods

GET, PUT

GET /v1/accounts/{username}/addresses

Gets an account’s addresses.

Scope

accounts_read

Request Body Parameters

  • n/a

Response Attributes

  • contact (object)
    • name (string)
    • company (string)
    • street_address (string)
    • street_address2 (string)
    • city (string)
    • state (string)
    • zip (string)
    • country (string) – deprecated
    • country_iso (string)
    • email (string)
    • phone (string)

  • billing (object)
    • name (string)
    • company (string)
    • street_address (string)
    • street_address2 (string)
    • city (string)
    • state (string)
    • zip (string)
    • country (string) – deprecated
    • country_iso (string)
    • email (string)
    • phone (string)

Example JSON

Request:

ET /v1/accounts/barracuda/addresses HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "contact": {

   "name": "John Smith",

   "company": "barracuda",

   "street_address": "334 Congress Street",

   "street_address2": "",

   "city": "Boston",

   "state": "MA",

   "zip": "02210",

   "country": "USA",

   country_iso": "US",

   "email": "jsmith@barracuda.com",

   "phone": "617-948-5300"

  },

  "billing": {

   "name": "John Smith",

   "company": "barracuda",

   "street_address": "334 Congress Street",

   "street_address2": "",

   "city": "Boston",

   "state": "MA",

   "zip": "02210",

   "country": "USA",

   country_iso": "US",

   "email": "jsmith@barracuda.com",

   "phone": "617-948-5300"

  }

}

Example XML

Request:

PUT /v1/accounts/barracuda/addresses HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<addresses>

  <contact>

   <name>John Smith</name>

   <company>barracuda</company>

   <street_address>334 Congress Street</street_address>

   <street_address2/>

   <city>Boston</city>

   <state>MA</state>

   <zip>02210</zip>

   <country>USA</country>

   <country_iso>US</country_iso>

   <email>jsmith@barracuda.com</email>

   <phone>617-948-5300</phone>

  </contact>       

  <billing>

   <name>John Smith</name>

   <company>barracuda</company>

   <street_address>334 Congress Street</street_address>

   <street_address2/>

   <city>Boston</city>

   <state>MA</state>

   <zip>02210</zip>

   <country>USA</country>

   <country_iso>US</country_iso>

   <email>jsmith@barracuda.com</email>

   <phone>617-948-5300</phone>

  </billing>

</addresses>

 

Response:

HTTP/1.1 204 No Content

PUT /v1/accounts/{username}/addresses

Edits an account’s addresses.

Scope

accounts_write

Request Body Parameters

  • n/a

Request Body Parameters

  • contact (object)
    • name (string)
    • company (string)
    • street_address (string)
    • street_address2 (string)
    • city (string)
    • state (string)
    • zip (string)
    • country (string) – deprecated
    • country_iso (string)
    • email (string)
    • phone (string)

  • billing (object)
    • name (string)
    • company (string)
    • street_address (string)
    • street_address2 (string)
    • city (string)
    • state (string)
    • zip (string)
    • country (string) – deprecated
    • country_iso (string)
    • email (string)
    • phone (string)

Response Attributes

  • n/a

Example JSON

Request:

PUT /v1/accounts/barracuda/addresses HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "contact": {

   "name": "John Smith",

   "company": "barracuda",

   "street_address": "334 Congress Street",

   "street_address2": "",

   "city": "Boston",

   "state": "MA",

   "zip": "02210",

   "country": "USA",

   "country_iso": "US",

   "email": "jsmith@barracuda.com",

   "phone": "617-948-5300"

  },

  "billing": {

   "name": "John Smith",

   "company": "barracuda",

   "street_address": "334 Congress Street",

   "street_address2": "",

   "city": "Boston",

   "state": "MA",

   "zip": "02210",

   "country": "USA",

   "country_iso": "US",

   "email": "jsmith@barracuda.com",

   "phone": "617-948-5300"

  }

}

Response:

HTTP/1.1 204 No Content

Example XML

Request:

PUT /v1/accounts/barracuda/addresses HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<addresses>

  <contact>

   <name>John Smith</name>

   <company>barracuda</company>

   <street_address>334 Congress Street</street_address>

   <street_address2/>

   <city>Boston</city>

    <state>MA</state>

   <zip>02210</zip>

   <country>USA</country>

   <country_iso>US</country_iso>

   <email>jsmith@barracuda.com</email>

   <phone>617-948-5300</phone>

  </contact>       

  <billing>

    <name>John Smith</name>

   <company>barracuda</company>

   <street_address>334 Congress Street</street_address>

   <street_address2/>

   <city>Boston</city>

   <state>MA</state>

   <zip>02210</zip>

   <country>USA</country>

   <country_iso>US</country_iso>

   <email>jsmith@barracuda.com</email>

   <phone>617-948-5300</phone>

  </billing>

</addresses>

 

Response:

HTTP/1.1 204 No Content