WEBAddressGetTypes
Initial Build |
2008.01 |
xWEB |
Web Method |
Response Type |
key, code |
This method can be used to populate a drop-down list of Address Types when inserting or updating customer addresses. You'll take the value of adt_key and use it to set the value of the cxa_adt_key in the WEBAddressInsert or WEBAddressUpdate or other Insert web methods.
Parameters
This method accepts no parameters.
Response
This method returns the key and code for each address type.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>2306bae2-4f6f-499c-8b8b-daffb79abb9b</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBAddressGetTypes/>
</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>
<WEBAddressGetTypesResponse xmlns="http://www.avectra.com/2005/">
<WEBAddressGetTypesResult>
<Results recordReturn="5">
<Result>
<adt_key>927e7193-0184-4179-aeb7-0736d7ba6e0b</adt_key>
<adt_code>Billing</adt_code>
</Result>
<Result>
<adt_key>bd0d2e2c-c501-4239-8307-148314cbb236</adt_key>
<adt_code>Home</adt_code>
</Result>
<Result>
<adt_key>95fd4cc2-1021-40d2-b01d-40e955964ecf</adt_key>
<adt_code>Other</adt_code>
</Result>
<Result>
<adt_key>d21ebd2d-a314-415d-8bb6-94ce679ce82f</adt_key>
<adt_code>Shipping</adt_code>
</Result>
<Result>
<adt_key>48044466-bf02-47c5-bb7a-9a1282194659</adt_key>
<adt_code>Work</adt_code>
</Result>
</Results>
</WEBAddressGetTypesResult>
</WEBAddressGetTypesResponse>
</soap:Body>
</soap:Envelope>
Important! The sample for this method contains sample data. Do not assume that the specific data you see on this page, particularly the keys, are the same data that will exist in the netFORUM site in which you're developing an integration. Moreover, if you are developing an integration that will work against multiple netFORUM sites for multiple customers, be aware that the data for each customer, including setup data, will differ.