WEBAddressGet

Initial Build

2008.01

xWEB

Web Method

Response Type

Address Object

This method returns an Address Object for the customer's specified address.

Parameters

key (guid). The primary key of a co_customer_x_address record which is cxa_key. Call WEBAddressGetAddressesByCustomer to get a list of a customer's addresses, each of which will contain the cxa_key property.

Response

Address Object

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<!--Optional:-->
<ns:Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBAddressGet>
<ns:key>9fe461a4-ed24-49d8-be1d-36e0c378705e</ns:key>
</ns:WEBAddressGet>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

Shortened for brevity.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBAddressGetResponse xmlns="http://www.avectra.com/2005/">
<WEBAddressGetResult>
<Address_XRef>
<cxa_cst_key>207d1a31-567e-4a97-ac21-a1923a092755</cxa_cst_key>
<cxa_adr_key>1e540819-449a-4c57-8810-6df8276635ca</cxa_adr_key>
<cxa_add_date>10/10/2008</cxa_add_date>
<cxa_add_user>hstechl</cxa_add_user>
<cxa_change_date>10/10/2008</cxa_change_date>
<cxa_change_user>jmalin</cxa_change_user>
<cxa_delete_flag>0</cxa_delete_flag>
<cxa_key>9fe461a4-ed24-49d8-be1d-36e0c378705e</cxa_key>
<cxa_key_ext>9fe461a4-ed24-49d8-be1d-36e0c378705e</cxa_key_ext>
<cxa_on_hold_flag>0</cxa_on_hold_flag>
<cxa_adt_key>48044466-bf02-47c5-bb7a-9a1282194659</cxa_adt_key>
<cxa_mailing_label>Robert Smith 7901 Jones Branch Dr Mclean, VA 22102-3338</cxa_mailing_label>
<cxa_mailing_label_html>Robert Smith&lt;br>7901 Jones Branch Dr&lt;br>Mclean, VA 22102-3338</cxa_mailing_label_html>
<cxa_primary>1</cxa_primary>
<cxa_owner>1</cxa_owner>
<cxa_billing>1</cxa_billing>
</Address_XRef>
<Customer>
<cst_key>207d1a31-567e-4a97-ac21-a1923a092755</cst_key>
<cst_type>Individual</cst_type>
<cst_name_cp>Robert Smith</cst_name_cp>
<cst_sort_name_dn>Smith Robert</cst_sort_name_dn>
<cst_ind_full_name_dn>Robert Smith</cst_ind_full_name_dn>
<cst_add_date>10/10/2008</cst_add_date>
<cst_add_user>hstechl</cst_add_user>
<cst_change_date>10/10/2008</cst_change_date>
<cst_change_user>hstechl</cst_change_user>
<cst_delete_flag>0</cst_delete_flag>
<cst_recno>82896</cst_recno>
<cst_id>000082896I</cst_id>
<cst_key_ext>207d1a31-567e-4a97-ac21-a1923a092755</cst_key_ext>
<cst_email_text_only>0</cst_email_text_only>
<cst_credit_limit>0.00</cst_credit_limit>
<cst_tax_exempt_flag>0</cst_tax_exempt_flag>
<cst_no_email_flag>0</cst_no_email_flag>
<cst_cxa_key>9fe461a4-ed24-49d8-be1d-36e0c378705e</cst_cxa_key>
<cst_cxa_billing_key>9fe461a4-ed24-49d8-be1d-36e0c378705e</cst_cxa_billing_key>
<cst_eml_address_dn>bsmith@avectra.com</cst_eml_address_dn>
<cst_eml_key>25b22341-56d6-437a-a963-8e7e29305806</cst_eml_key>
<cst_no_phone_flag>0</cst_no_phone_flag>
<cst_phn_number_complete_dn>(703)506-7000</cst_phn_number_complete_dn>
<cst_cph_key>d31b3993-03d8-4372-ba57-86998acbcd61</cst_cph_key>
<cst_no_fax_flag>1</cst_no_fax_flag>
<cst_fax_number_complete_dn>(703)506-7001</cst_fax_number_complete_dn>
<cst_cfx_key>da38128d-f80d-4871-9fe5-d708960aaa1b</cst_cfx_key>
<cst_no_web_flag>0</cst_no_web_flag>
<cst_member_flag>0</cst_member_flag>
<cst_no_msg_flag>1</cst_no_msg_flag>
<cst_web_login>bsmith</cst_web_login>
<cst_web_password>202cb962ac5975b964b7152d234b70</cst_web_password>
<cst_no_mail_flag>0</cst_no_mail_flag>
<cst_web_force_password_change>0</cst_web_force_password_change>
<cst_web_login_disabled_flag>0</cst_web_login_disabled_flag>
<cst_credit_hold_flag>0</cst_credit_hold_flag>
<cst_web_forgot_password_status>0</cst_web_forgot_password_status>
<cst_no_publish_flag>0</cst_no_publish_flag>
</Customer>
<Individual>
<ind_cst_key>207d1a31-567e-4a97-ac21-a1923a092755</ind_cst_key>
<ind_first_name>Robert</ind_first_name>
<ind_last_name>Smith</ind_last_name>
<ind_full_name_cp>Robert Smith</ind_full_name_cp>
<ind_cst_key_ext>207d1a31-567e-4a97-ac21-a1923a092755</ind_cst_key_ext>
<ind_salary>0.00</ind_salary>
<ind_deceased_flag>0</ind_deceased_flag>
<ind_add_date>10/10/2008</ind_add_date>
<ind_add_user>hstechl</ind_add_user>
<ind_change_date>10/10/2008</ind_change_date>
<ind_change_user>hstechl</ind_change_user>
<ind_delete_flag>0</ind_delete_flag>
</Individual>
<Address>
<adr_key>1e540819-449a-4c57-8810-6df8276635ca</adr_key>
<adr_cst_key_owner>207d1a31-567e-4a97-ac21-a1923a092755</adr_cst_key_owner>
<adr_line1>7901 Jones Branch Dr</adr_line1>
<adr_city>Mclean</adr_city>
<adr_state>VA</adr_state>
<adr_post_code>22102-3338</adr_post_code>
<adr_city_state_code>Mclean, VA 22102-3338</adr_city_state_code>
<adr_country>UNITED STATES</adr_country>
<adr_county>Fairfax</adr_county>
<adr_cong_dist>8</adr_cong_dist>
<adr_state_house>032</adr_state_house>
<adr_state_senate>034</adr_state_senate>
<adr_latitude>38.9289955</adr_latitude>
<adr_longitude>-77.219134</adr_longitude>
<adr_add_date>10/10/2008</adr_add_date>
<adr_add_user>hstechl</adr_add_user>
<adr_change_date>10/10/2008 4:34:07 PM</adr_change_date>
<adr_change_user>jmalin</adr_change_user>
<adr_delete_flag>0</adr_delete_flag>
<adr_key_ext>1e540819-449a-4c57-8810-6df8276635ca</adr_key_ext>
<adr_bad_address_flag>0</adr_bad_address_flag>
<adr_metro_stat_area>8840</adr_metro_stat_area>
<adr_carrier_route>C020</adr_carrier_route>
<adr_delivery_point_code>99</adr_delivery_point_code>
<adr_time_zone>EST</adr_time_zone>
<adr_bar_code>f221023338998f</adr_bar_code>
<adr_fips>51059</adr_fips>
<adr_no_validation_flag>0</adr_no_validation_flag>
</Address>
<Country>
<cty_code>UNITED STATES</cty_code>
<cty_add_date>12/05/2001</cty_add_date>
<cty_add_user>XMEN\tward</cty_add_user>
<cty_change_date>08/06/2008</cty_change_date>
<cty_change_user>obilby</cty_change_user>
<cty_delete_flag>0</cty_delete_flag>
<cty_key>bc4b70f8-280e-4bb0-b935-9f728c50e183</cty_key>
<cty_key_ext>bc4b70f8-280e-4bb0-b935-9f728c50e183</cty_key_ext>
<cty_long_name>United States of America</cty_long_name>
<cty_fips_code>US</cty_fips_code>
<cty_status>independent</cty_status>
<cty_capital>Washington, DC</cty_capital>
<cty_idd_code>001</cty_idd_code>
<cty_postal_input_mask>regex:\d{5}(-\d{4})?</cty_postal_input_mask>
<cty_phone_input_mask>^(\d{3})(\d{3})(\d{4})$~($1)$2-$3</cty_phone_input_mask>
<cty_currency_code>USD</cty_currency_code>
<cty_currency_code_description>U.S. Dollar</cty_currency_code_description>
<cty_vat_flag>0</cty_vat_flag>
<cty_iso_2>US</cty_iso_2>
<cty_iso_3>USA</cty_iso_3>
<cty_iso_number>840</cty_iso_number>
<cty_do_not_ship>0</cty_do_not_ship>
</Country>
</WEBAddressGetResult>
</WEBAddressGetResponse>
</soap:Body>
</soap:Envelope>