WEBWebUserGetByRecno_Custom

 

WEBWebUserGetByRecno_Custom

Initial Build 2008.01
xWeb Web Method
Response Type object

The WEBWebUserGetByRecno Custom web method returns a WebUserType based on the provided recno parameter.

Parameters

cst_recno (integer).

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>**************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBWebUserGetByRecno_Custom>
<ns:cst_recno>85992</ns:cst_recno>
</ns:WEBWebUserGetByRecno_Custom>
</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>a40e3532-7d77-4a76-b1dd-613aab6abcda</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBWebUserGetByRecno_CustomResponse xmlns="http://www.avectra.com/2005/">
<WEBWebUserGetByRecno_CustomResult>
<CurrentKey>3524e2aa-03ef-4a4a-ace2-71aab9530f6e</CurrentKey>
<Individual>
<ind_cst_key>3524e2aa-03ef-4a4a-ace2-71aab9530f6e</ind_cst_key>
<ind_first_name>Michael</ind_first_name>
<ind_mid_name>E</ind_mid_name>
<ind_last_name>Acuff</ind_last_name>
<ind_full_name_cp>Dr Michael E Acuff</ind_full_name_cp>
</Individual>
<Customer>
<cst_recno>85992</cst_recno>
</Customer>
<Email>
<eml_address>jsmithzzz@zzz.com</eml_address>
</Email>
<Business_Address>
<adr_city>Orlando</adr_city>
<adr_state>FL</adr_state>
<adr_post_code>32792</adr_post_code>
<adr_country>UNITED STATES</adr_country>
</Business_Address>
<Business_Phone>
<phn_number>7776665555</phn_number>
</Business_Phone>
<Business_Phone_XRef>
<cph_extension>1000</cph_extension>
</Business_Phone_XRef>
<Business_Fax>
<fax_number>9996661234</fax_number>
</Business_Fax>
</WEBWebUserGetByRecno_CustomResult>
</WEBWebUserGetByRecno_CustomResponse>
</soap:Body>
</soap:Envelope>

 

JSON Method

POST /xWeb/JSON/WEBWebUserGetByRecno_Custom

DATA: JSON
{
    "WEBWebUserGetByRecno_Custom": {
        "cst_recno": "{{cstRecnoWebUserCreate}}"
    }
}

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
    }
}

 

Was this article helpful?
0 out of 0 found this helpful