GetIndividualInformation
Initial Build |
2006.02 |
xWEB |
Web Method |
Response Type |
XML Results |
The GetIndividualInformation web method returns basic contact information for the Individual.
Parameters
The request contains the following required parameter:
Name | Type | Occurs | Description |
---|---|---|---|
IndividualKey | string | 1..1 | Customer Key of the Individual. |
Response
XML Results
Sample Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<m:AuthorizationToken xmlns:m="http://www.avectra.com/2005/">
<m:Token>1d156e26-ff13-47aa-8fe0-15c26ba94943</m:Token>
</m:AuthorizationToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:GetIndividualInformation xmlns:m="http://www.avectra.com/2005/">
<m:IndividualKey>5bb1722f-dc51-4424-aee9-3b204fcf09b6</m:IndividualKey>
</m:GetIndividualInformation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sample Response
<?xml version="1.0" encoding="utf-8"?>
<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"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>17895d9f-f205-49cf-b3da-039e6f7fa82f</Token>
</AuthorizationToken>
<wsa:Action>http://www.avectra.com/2005/GetIndividualInformationResponse</wsa:Action>
<wsa:MessageID>uuid:30f87043-ee7b-4f19-b2a1-07896acd934e</wsa:MessageID>
<wsa:RelatesTo>uuid:e0cd0318-9017-4b0b-ae0f-5d22224e21a5</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-520d9290-e9d6-48b3-93f8-eb73b4d14112">
<wsu:Created>2006-09-21T19:40:43Z</wsu:Created>
<wsu:Expires>2006-09-21T19:45:43Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<GetIndividualInformationResponse xmlns="http://www.avectra.com/2005/">
<GetIndividualInformationResult>
<IndividualObjects xsi:schemaLocation="http://www.avectra.com/2005/ Individual.xsd" recordReturn="1">
<IndividualObject>
<ind_cst_key>5bb1722f-dc51-4424-aee9-3b204fcf09b6</ind_cst_key>
<ind_prf_code>Mr</ind_prf_code>
<ind_first_name>TestAccount</ind_first_name>
<ind_mid_name>MiddleName</ind_mid_name>
<ind_last_name>TestLastName</ind_last_name>
<ind_sfx_code>Sr.</ind_sfx_code>
<ind_designation>Chief</ind_designation>
<ind_int_code>Contact</ind_int_code>
<ind_badge_name>Test</ind_badge_name>
<ixo_title/>
<cst_id>000080679I</cst_id>
<phn_number>(703)506-7000</phn_number>
<fax_number>(703)506-7001</fax_number>
<eml_address>mjemio@avectra.com</eml_address>
<adr_line1>7901 Jones Branch Drive</adr_line1>
<adr_line2/>
<adr_line3/>
<adr_city>McLean</adr_city>
<adr_state>VA</adr_state>
<adr_post_code>22101</adr_post_code>
</IndividualObject>
</IndividualObjects>
</GetIndividualInformationResult>
</GetIndividualInformationResponse>
</soap:Body>
</soap:Envelope>
Related Web Methods
WEBIndividualGet - newer and preferred version of this web method.
Related Functionality
JSON Method
POST /xWeb/JSON/GetIndividualInformation
Copy
DATA: JSON
{
"GetIndividualInformation": {
"IndividualKey":"{{indCstKeyInsert}}"
}
}
Copy
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
"IndividualObjects": {
"@schemaLocation": "http://www.avectra.com/2005/ Individual.xsd",
"@recordReturn": "1",
"IndividualObject": [
{
"ind_cst_key": "05860d0a-be1d-4cf6-8f1d-d094ce90f205",
"ind_prf_code": null,
"ind_first_name": "Malachi",
"ind_mid_name": null,
"ind_last_name": "Cummerata",
"ind_sfx_code": null,
"ind_designation": null,
"ind_int_code": null,
"ind_badge_name": null,
"ixo_title": null,
"cst_id": "000000742I",
"cst_member_flag": "0",
"vst_member_flag": "0",
"phn_number": null,
"fax_number": null,
"eml_address": null,
"adr_line1": null,
"adr_line2": null,
"adr_line3": null,
"adr_city": null,
"adr_state": null,
"adr_post_code": null,
"adr_country": null
}
]
}
}