WEBAddressInsert

Initial Build

2008.01

xWEB

Web Method

Response Type

address object

This method can be used to insert a new address for a customer.

Parameters

oFacadeObject (address object).

Response

This method returns the address object updated with keys which were inserted.

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:WEBAddressInsert>
<ns:oFacadeObject>
[[Address Object]]
</ns:oFacadeObject>
</ns:WEBAddressInsert>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

A successful result returns a complete Address Object. A failure will result in an exception.

<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>f5b1fa51-8c70-4e2d-bee5-be4cf46afb4a</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBAddressUpdateResponse xmlns="http://www.avectra.com/2005/">
<WEBAddressUpdateResult>
<CurrentKey>... key GUID ...</CurrentKey>
<Address_XRef>
...
</Address_XRef>
<Customer>
...
</Customer>
... additional objects here ...
</WEBAddressUpdateResult>
</WEBAddressUpdateResponse>
</soap:Body>
</soap:Envelope>