Sertifi API Web Service
Method/testsite/Services/Gateway.asmx/GetUserInfo
Description
Get the information for a user who has entered data into our system.
Request (GetUserInfoSoapIn)

The request body is of type GetUserInfo.

Request Body Parameters

NameDescriptionData Type
pstr_APICodeThe API code of the site.  This can be found through your Sertifi web interface under Administration -> Account Settings.xml:string
pstr_EmailThe email address of the user in question.xml:string
pstr_Email Element pstr_APICode Element Sequence GetUserInfo Element
Response (GetUserInfoSoapOut)

The response body is of type GetUserInfoResponse.

Response Body Parameters

NameDescriptionData Type
GetUserInfoResultThe xml data or error message.xml:string
GetUserInfoResult Element Sequence GetUserInfoResponse Element
Example

Sample Call:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://apps.sertifi.net/services/">
   <soap:Header/>
   <soap:Body>
      <ser:GetUserInfo>
         <ser:pstr_APICode>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</ser:pstr_APICode>
         <ser:pstr_Email>[email protected]</ser:pstr_Email>
      </ser:GetUserInfo>
   </soap:Body>
</soap:Envelope>

Sample Response:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetUserInfoResponse xmlns="http://apps.sertifi.net/services/">
         <GetUserInfoResult><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<User>
  <FirstName>asdf</FirstName>
  <LastName>asdf</LastName>
  <Address1>asdf</Address1>
  <Address2>asdf</Address2>
  <City>asdf</City>
  <State>IL</State>
  <Zip>hi</Zip>
  <Phone>1234567890 ext: </Phone>
  <Fax />
</User>]]></GetUserInfoResult>
      </GetUserInfoResponse>
   </soap:Body>
</soap:Envelope>

Remarks
Common Errors include:
"ERROR: Invalid API Code"
"ERROR: Invalid user email"
"ERROR: Invalid user email: ..."
"ERROR: User not found"
See Also
All Operations Resource GroupSertifi API Web Service

 

 


© Sertifi, Inc., 2019 All Rights Reserved.

Send comments on this topic.