Returns an organization address by organization ID and address type.
| Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
|---|---|---|---|
| None. | SROrganizationAPI | POST | Yes. |
See topic Common Parameters.
Required. Org ID
Type xsd:int.
Required. Address Type. An address type of '1' is the primary address. An address type of '2' is the mailing address.
Type xsd:int.
See topic HTTP Status Codes.
XML response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<getOrganizationAddressResponse xmlns="http://convio.com/crm/v1.0">
<address>
<address_id>1000</address_id>
<address_type_id>1</address_type_id>
<org_id>150</org_id>
<street1>100 Any Street</street1>
<street2>Apt. 205</street2>
<suburb>St. Matthews</suburb>
<city>Louisville</city>
<county>United States</county>
<state_province>KY</state_province>
<postal_code>40223</postal_code>
</address>
</getOrganizationAddressResponse>
JSON response
{"getOrganizationAddressResponse":{"address":{"street2":"Apt. 205","org_id":"150","street1":"100 Any Street","state_province":"KY","county":"United States","suburb":"St. Matthews","address_id":"1000","postal_code":"40223","address_type_id":"1","city":"Louisville"}}}