Admin


Click here for a complete list of operations.

UpdateUser

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
Username:
SecureToken:
VendorKey:
TargetUsername:
FirstName:
LastName:
Email:
Street1:
Street2:
City:
State:
Zip:
Country:
DayPhone:
Fax:
Status:
UserSecurityLevel:
SysSecurityLevel:
MerchantGroupXml:
ExtData:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /admin/ws/admin.asmx HTTP/1.1
Host: secure.redfinnet.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tpisoft.com/Admin/ws/UpdateUser"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UpdateUser xmlns="http://www.tpisoft.com/Admin/ws">
      <Username>string</Username>
      <SecureToken>string</SecureToken>
      <VendorKey>string</VendorKey>
      <TargetUsername>string</TargetUsername>
      <FirstName>string</FirstName>
      <LastName>string</LastName>
      <Email>string</Email>
      <Street1>string</Street1>
      <Street2>string</Street2>
      <City>string</City>
      <State>string</State>
      <Zip>string</Zip>
      <Country>string</Country>
      <DayPhone>string</DayPhone>
      <Fax>string</Fax>
      <Status>string</Status>
      <UserSecurityLevel>string</UserSecurityLevel>
      <SysSecurityLevel>string</SysSecurityLevel>
      <MerchantGroupXml>string</MerchantGroupXml>
      <ExtData>string</ExtData>
    </UpdateUser>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UpdateUserResponse xmlns="http://www.tpisoft.com/Admin/ws">
      <UpdateUserResult>
        <code>OK or Unknown_Error or Access_Denied or Invalid_Login or Invalid_User_Status or Invalid_User or User_Not_Found or Username_Already_In_Use or Username_Has_Invalid_Characters or Not_Enough_Privilege or Invalid_PartnerID or Invalid_VendorID or Invalid_Argument or Invalid_Record or Transaction_Type_Not_Supported_By_Host or Internal_Error</code>
        <error>string</error>
        <Partner>string</Partner>
        <Vendor>string</Vendor>
        <Username>string</Username>
      </UpdateUserResult>
    </UpdateUserResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /admin/ws/admin.asmx/UpdateUser?Username=string&SecureToken=string&VendorKey=string&TargetUsername=string&FirstName=string&LastName=string&Email=string&Street1=string&Street2=string&City=string&State=string&Zip=string&Country=string&DayPhone=string&Fax=string&Status=string&UserSecurityLevel=string&SysSecurityLevel=string&MerchantGroupXml=string&ExtData=string HTTP/1.1
Host: secure.redfinnet.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Result xmlns="http://www.tpisoft.com/Admin/ws">
  <code>OK or Unknown_Error or Access_Denied or Invalid_Login or Invalid_User_Status or Invalid_User or User_Not_Found or Username_Already_In_Use or Username_Has_Invalid_Characters or Not_Enough_Privilege or Invalid_PartnerID or Invalid_VendorID or Invalid_Argument or Invalid_Record or Transaction_Type_Not_Supported_By_Host or Internal_Error</code>
  <error>string</error>
  <Partner>string</Partner>
  <Vendor>string</Vendor>
  <Username>string</Username>
</Result>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /admin/ws/admin.asmx/UpdateUser HTTP/1.1
Host: secure.redfinnet.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Username=string&SecureToken=string&VendorKey=string&TargetUsername=string&FirstName=string&LastName=string&Email=string&Street1=string&Street2=string&City=string&State=string&Zip=string&Country=string&DayPhone=string&Fax=string&Status=string&UserSecurityLevel=string&SysSecurityLevel=string&MerchantGroupXml=string&ExtData=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Result xmlns="http://www.tpisoft.com/Admin/ws">
  <code>OK or Unknown_Error or Access_Denied or Invalid_Login or Invalid_User_Status or Invalid_User or User_Not_Found or Username_Already_In_Use or Username_Has_Invalid_Characters or Not_Enough_Privilege or Invalid_PartnerID or Invalid_VendorID or Invalid_Argument or Invalid_Record or Transaction_Type_Not_Supported_By_Host or Internal_Error</code>
  <error>string</error>
  <Partner>string</Partner>
  <Vendor>string</Vendor>
  <Username>string</Username>
</Result>