UpdateUserData

Description

This method is used for updating user data.

Syntax

UserDataResponse UpdateUserData(SecurityToken securityToken, string userInternalId, UserData userData)

Arguments

TypeNameDescription
SecurityToken securityTokenMerchant security token: used to identify merchant and validate transaction. (required)
stringuserInternalIdUser Internal ID.
UserData userData)userDataIncludes user data information

Return Value

UserDataResponseReturns result of AddUserData request.

Examples

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header/>
   <soapenv:Body>
      <ebiz:AddUserData>
         <ebiz:securityToken>
            <ebiz:SecurityId></ebiz:SecurityId>
            <ebiz:UserId></ebiz:UserId>
            <ebiz:Password></ebiz:Password>
         </ebiz:securityToken>
         <ebiz:userData>
            <ebiz:UserInternalId></ebiz:UserInternalId>
            <ebiz:UserType></ebiz:UserType>
            <ebiz:UserId></ebiz:UserId>
            <ebiz:UserIdPass></ebiz:UserIdPass>
            <ebiz:FirstName></ebiz:FirstName>
            <ebiz:LastName></ebiz:LastName>
            <ebiz:CompanyName></ebiz:CompanyName>
            <ebiz:JobTitle></ebiz:JobTitle>
            <ebiz:Address1>55 Golden</ebiz:Address1>
            <ebiz:Address2></ebiz:Address2>
            <ebiz:Address3></ebiz:Address3>
            <ebiz:City>Irvine</ebiz:City>
            <ebiz:State>CA</ebiz:State>
            <ebiz:ZipCode>96780</ebiz:ZipCode>
            <ebiz:Phone></ebiz:Phone>
            <ebiz:Fax></ebiz:Fax>
            <ebiz:CellPhone></ebiz:CellPhone>
            <ebiz:Email></ebiz:Email>
            <ebiz:WebSite></ebiz:WebSite>
            <ebiz:CustomerId></ebiz:CustomerId>
            <ebiz:SubCustomerId></ebiz:SubCustomerId>
            <ebiz:MerchantId></ebiz:MerchantId>
            <ebiz:MerchantName></ebiz:MerchantName>
            <ebiz:MerchantInternalId></ebiz:MerchantInternalId>
            <ebiz:IsActive></ebiz:IsActive>
            <ebiz:ApplicationId></ebiz:ApplicationId>
            <ebiz:userSettings>
               <ebiz:ApplicationName></ebiz:ApplicationName>
               <ebiz:ApplicationVersion></ebiz:ApplicationVersion>
               <ebiz:canCCSALE></ebiz:canCCSALE>
               <ebiz:canCCVOID></ebiz:canCCVOID>
               <ebiz:canCCAUTHONLY></ebiz:canCCAUTHONLY>
               <ebiz:canCCREFUND></ebiz:canCCREFUND>
               <ebiz:canCCPOSTAUTH></ebiz:canCCPOSTAUTH>
               <ebiz:canCCCREDIT></ebiz:canCCCREDIT>
               <ebiz:canCCCAPTURE></ebiz:canCCCAPTURE>
               <ebiz:canCCQuickSale></ebiz:canCCQuickSale>
               <ebiz:canCCQuickCredit></ebiz:canCCQuickCredit>
               <ebiz:canAddCC></ebiz:canAddCC>
               <ebiz:canEditCC></ebiz:canEditCC>
               <ebiz:canDeleteCC></ebiz:canDeleteCC>
               <ebiz:canCheckSALE></ebiz:canCheckSALE>
               <ebiz:canCheckVOID></ebiz:canCheckVOID>
               <ebiz:canCheckREFUND></ebiz:canCheckREFUND>
               <ebiz:canCheckCREDIT></ebiz:canCheckCREDIT>
               <ebiz:canAddCheck></ebiz:canAddCheck>
               <ebiz:canEditCheck></ebiz:canEditCheck>
               <ebiz:canDeleteCheck></ebiz:canDeleteCheck>
               <ebiz:canModifyCompanyInfo></ebiz:canModifyCompanyInfo>
               <ebiz:CompanykeyName></ebiz:CompanykeyName>
               <ebiz:canViewHistoryAll></ebiz:canViewHistoryAll>
               <ebiz:canViewHistoryOwn></ebiz:canViewHistoryOwn>
               <ebiz:canAddCustomer></ebiz:canAddCustomer>
               <ebiz:canEditCustomer></ebiz:canEditCustomer>
               <ebiz:canDeleteCustomer></ebiz:canDeleteCustomer>
               <ebiz:canSearchCustomers></ebiz:canSearchCustomers>
               <ebiz:SourceKey></ebiz:SourceKey>
               <ebiz:EmvApiKey></ebiz:EmvApiKey>
               <ebiz:EmvApiPin></ebiz:EmvApiPin>
               <ebiz:EmvDeviceKey></ebiz:EmvDeviceKey>
               <ebiz:EmvDeviceName></ebiz:EmvDeviceName>
               <ebiz:IsEMVenabled></ebiz:IsEMVenabled>
            </ebiz:userSettings>
            <ebiz:merchantData>
               <ebiz:MerchantInternalId></ebiz:MerchantInternalId>
               <ebiz:MerchantId></ebiz:MerchantId>
               <ebiz:MerchantName></ebiz:MerchantName>
               <ebiz:Description></ebiz:Description>
               <ebiz:ContactFirstName></ebiz:ContactFirstName>
               <ebiz:ContactLastName></ebiz:ContactLastName>
               <ebiz:Street></ebiz:Street>
               <ebiz:Street2></ebiz:Street2>
               <ebiz:City></ebiz:City>
               <ebiz:State></ebiz:State>
               <ebiz:Zip></ebiz:Zip>
               <ebiz:Phone></ebiz:Phone>
               <ebiz:Fax></ebiz:Fax>
               <ebiz:Mobile></ebiz:Mobile>
               <ebiz:Email></ebiz:Email>
               <ebiz:WebSite></ebiz:WebSite>
               <ebiz:MerchantSettings>
                  <ebiz:AllowedPayByType></ebiz:AllowedPayByType>
                  <ebiz:AllowPartialPayment></ebiz:AllowPartialPayment>
                  <ebiz:AllowOverPaymentOptions></ebiz:AllowOverPaymentOptions>
                  <ebiz:ShowCreditTab></ebiz:ShowCreditTab>
                  <ebiz:ReceieveNotificationEmailWhenPaymentMethodAddedOrModified></ebiz:ReceieveNotificationEmailWhenPaymentMethodAddedOrModified>
                  <ebiz:SendNotificationEmailToCustomersWhenInvoiceAddedOrModified></ebiz:SendNotificationEmailToCustomersWhenInvoiceAddedOrModified>
                  <ebiz:SendEmailFrom></ebiz:SendEmailFrom>                  <ebiz:SendEmailFromDisplayName></ebiz:SendEmailFromDisplayName>
                  <ebiz:ReplyToEmail></ebiz:ReplyToEmail>                  <ebiz:CustomerEmailSubject></ebiz:CustomerEmailSubject>
<ebiz:MerchantEmailSubject></ebiz:MerchantEmailSubject>
<ebiz:SendNotificationEmailToCustomersWhenInvoiceModified></ebiz:SendNotificationEmailToCustomersWhenInvoiceModified>
                  <ebiz:SendNotificationEmailToCustomersWhenInvoiceAdded></ebiz:SendNotificationEmailToCustomersWhenInvoiceAdded>
                  <ebiz:SendNotificationEmailToCustomersWhenPMExpired></ebiz:SendNotificationEmailToCustomersWhenPMExpired>
                  <ebiz:AllowPayByCreditOnly></ebiz:AllowPayByCreditOnly>
                  <ebiz:SendNotificationEmailToCustomersForPastDueInvoices></ebiz:SendNotificationEmailToCustomersForPastDueInvoices>
               </ebiz:MerchantSettings>
            </ebiz:merchantData>
         </ebiz:userData>
      </ebiz:AddUserData>
   </soapenv:Body>
</soapenv:Envelope>


Response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <s:Fault>
         <faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher"></faultcode>
         <faultstring xml:lang="en-US"></faultstring>
         <detail>
            <ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
               <HelpLink i:nil="true"/>
               <InnerException>
                  <HelpLink i:nil="true"/>
                  <InnerException>
                     <HelpLink i:nil="true"/>
                     <InnerException i:nil="true"/>
                     <Message>Message>
                     <StackTrace></StackTrace>
                     <Type></Type>
                  </InnerException>
                  <Message></Message>
                  <StackTrace></StackTrace>
                  <Type></Type>
               </InnerException>
               <Message><Message>
               <StackTrace></StackTrace>
               <Type></Type>
            </ExceptionDetail>
         </detail>
      </s:Fault>
   </s:Body>
</s:Envelope>