WEBWebUserGet
| Initial Build | 2008.01 |
| xWeb | Web Method |
| Response Type | object |
This method can be used to return WebUserType, which is an object containing information about a NetForum User based on their unique Customer Key.
Parameters
cst_key (strign). The Customer Key of a Web User.
Response
WebUserType
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:WEBWebUserGet>
<ns:cst_key>207d1a31-567e-4a97-ac21-a1923a092755</ns:cst_key>
</ns:WEBWebUserGet>
</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>
<WEBWebUserGetResponse xmlns="http://www.avectra.com/2005/">
<WEBWebUserGetResult>
<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>
</Individual>
<Customer>
<cst_recno>82896</cst_recno>
<cst_web_login>bsmith</cst_web_login>
</Customer>
<Email>
<eml_address>bsmith@avectra.com</eml_address>
</Email>
<Business_Address>
<adr_city>Falls Church</adr_city>
<adr_state>VA</adr_state>
<adr_post_code>22043</adr_post_code>
<adr_country>UNITED STATES</adr_country>
</Business_Address>
<Business_Phone>
<phn_number>7035067000</phn_number>
</Business_Phone>
<Business_Fax>
<fax_number>7035067001</fax_number>
</Business_Fax>
</WEBWebUserGetResult>
</WEBWebUserGetResponse>
</soap:Body>
</soap:Envelope>
JSON Method
POST /xWeb/JSON/WEBWebUserGet
DATA: JSON
{
"WEBWebUserGet": {
"cst_key": "{{indCstKeyWebUserCreate}}"
}
}
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
"WebUserType": {
"CurrentKey": "c4a8bf15-005a-4c00-8184-bbb11d7bb012",
"Individual": {
"ind_cst_key": "c4a8bf15-005a-4c00-8184-bbb11d7bb012",
"ind_first_name": "Lorenza",
"ind_last_name": "Huel",
"ind_full_name_cp": "Lorenza Huel"
},
"Customer": {
"cst_recno": "7006"
},
"Email": {
"eml_address": "Sedrick_Wisoky54@example.com"
},
"Business_Address": {
"adr_city": "Taylor",
"adr_state": "VA",
"adr_post_code": "22102",
"adr_country": "UNITED STATES"
},
"Business_Phone_XRef": null,
"Business_Phone": null,
"Business_Fax_XRef": null,
"Business_Fax": null
}
}