GetSalesRep

Description

This method is used to view the stored data for a particular sales rep.

Syntax

SalesRep GetSalesRep(SecurityToken securityToken , string salesRepId, string salesRepInternalId).

Arguments

TypeNameDescription
SecurityTokensecurityTokenMerchant security token: used to identify merchant and validate transaction. (required)
StringsalesRepIDSales rep ID.
StringsalesRepInternalIdUnique internal sales rep ID assigned by EBizCharge.

Return Value

TypeDescription
SalesRepReturns result of GetSalesRep request.

Example

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header />
   <soapenv:Body>
      <ebiz:GetSalesRep>
         <ebiz:securityToken>
            <ebiz:SecurityId>********-23f6-4466-a993-f0008187ab9a</ebiz:SecurityId>
            <ebiz:UserId />
            <ebiz:Password />
         </ebiz:securityToken>
         <ebiz:salesRepId>Sr-0002</ebiz:salesRepId>
         <ebiz:salesRepInternalId />
      </ebiz:GetSalesRep>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <GetSalesRepResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <GetSalesRepResult>
            <SalesRepInternalId>********-db6b-424b-8b7c-d38904ae1075</SalesRepInternalId>
            <SalesRepId>Sr-0002</SalesRepId>
            <SalesRepType>Sales</SalesRepType>
            <LinkedToInternalId />
            <FirstName>Tim</FirstName>
            <LastName>Litton</LastName>
            <CompanyName />
            <Phone>949-444-3333</Phone>
            <CellPhone>949-418-3458</CellPhone>
            <Fax />
            <Email>[email protected]</Email>
            <WebSite />
            <Address>
               <Address1>54 Summerfield</Address1>
               <Address2 />
               <Address3 />
               <City>Irvine</City>
               <State>CA</State>
               <ZipCode>92644</ZipCode>
               <IsDefault xsi:nil="true" />
            </Address>
            <AccountNumber>000027</AccountNumber>
            <IsInactive>false</IsInactive>
         </GetSalesRepResult>
      </GetSalesRepResponse>
   </s:Body>
</s:Envelope>