WEBIndividualGet
Initial Build |
2008.01 |
xWEB |
Web Method |
Response Type |
object |
The WEBIndividualGet web method returns information about an Individual.
Parameters
The request contains the following required parameter:
Name | Type | Occurs | Description |
---|---|---|---|
key | guid | 1..1 | The Customer Key of the individual. |
Response
This method returns a IndividualType, which is an Individual object, with the data populated for the individual corresponding to the value passed as the Key parameter. This method is similar to GetIndividualInformation, but is more efficient.
Note: although the contact information is labeled Business/Home, they are instead Primary/Billing respectively. As there is no Billing flag for phone/fax, this method will not populate data into these fields.
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:WEBIndividualGet>
<ns:key>207d1a31-567e-4a97-ac21-a1923a092755</ns:key>
</ns:WEBIndividualGet>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
<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>
<WEBIndividualGetResponse xmlns="http://www.avectra.com/2005/">
<WEBIndividualGetResult>
[[IndividualType]]
</WEBIndividualGetResult>
</WEBIndividualGetResponse>
</soap:Body>
</soap:Envelope>