ProBusinessTools


Click here for a complete list of operations.

LookupStaff

Test

The test form is only available for requests from the local machine.

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 /publicwebservices/probusinesstools.asmx HTTP/1.1
Host: secure.probusinesstools.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://secure.probusinesstools.com/publicWebServices/LookupStaff"

<?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>
    <LookupStaff xmlns="http://secure.probusinesstools.com/publicWebServices">
      <wsKey>
        <Username>string</Username>
        <Password>string</Password>
        <loginErrorMessage>string</loginErrorMessage>
      </wsKey>
      <StaffID>string</StaffID>
    </LookupStaff>
  </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>
    <LookupStaffResponse xmlns="http://secure.probusinesstools.com/publicWebServices">
      <LookupStaffResult>
        <ErrorMessage>string</ErrorMessage>
        <id>int</id>
        <UserName>string</UserName>
        <LoginPassword>string</LoginPassword>
        <ForcePasswordChange>boolean</ForcePasswordChange>
        <Email>string</Email>
        <IPAddresses>string</IPAddresses>
        <AccountLock>boolean</AccountLock>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <Address>string</Address>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <Phone>string</Phone>
        <OrderType>string</OrderType>
        <JobType>string</JobType>
        <RetailerNumber>string</RetailerNumber>
        <StaffNumber>string</StaffNumber>
        <EmployeeID>string</EmployeeID>
        <CommissionPayLevel>string</CommissionPayLevel>
        <TeamGroupName>string</TeamGroupName>
        <WarehouseGroupName>string</WarehouseGroupName>
        <Department>string</Department>
        <District>string</District>
        <SalesRegion>string</SalesRegion>
        <Store>string</Store>
        <Notes>string</Notes>
        <SecurityRole>string</SecurityRole>
      </LookupStaffResult>
      <wsKey>
        <Username>string</Username>
        <Password>string</Password>
        <loginErrorMessage>string</loginErrorMessage>
      </wsKey>
    </LookupStaffResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

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

POST /publicwebservices/probusinesstools.asmx HTTP/1.1
Host: secure.probusinesstools.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LookupStaff xmlns="http://secure.probusinesstools.com/publicWebServices">
      <wsKey>
        <Username>string</Username>
        <Password>string</Password>
        <loginErrorMessage>string</loginErrorMessage>
      </wsKey>
      <StaffID>string</StaffID>
    </LookupStaff>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LookupStaffResponse xmlns="http://secure.probusinesstools.com/publicWebServices">
      <LookupStaffResult>
        <ErrorMessage>string</ErrorMessage>
        <id>int</id>
        <UserName>string</UserName>
        <LoginPassword>string</LoginPassword>
        <ForcePasswordChange>boolean</ForcePasswordChange>
        <Email>string</Email>
        <IPAddresses>string</IPAddresses>
        <AccountLock>boolean</AccountLock>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
        <Address>string</Address>
        <City>string</City>
        <State>string</State>
        <ZipCode>string</ZipCode>
        <Phone>string</Phone>
        <OrderType>string</OrderType>
        <JobType>string</JobType>
        <RetailerNumber>string</RetailerNumber>
        <StaffNumber>string</StaffNumber>
        <EmployeeID>string</EmployeeID>
        <CommissionPayLevel>string</CommissionPayLevel>
        <TeamGroupName>string</TeamGroupName>
        <WarehouseGroupName>string</WarehouseGroupName>
        <Department>string</Department>
        <District>string</District>
        <SalesRegion>string</SalesRegion>
        <Store>string</Store>
        <Notes>string</Notes>
        <SecurityRole>string</SecurityRole>
      </LookupStaffResult>
      <wsKey>
        <Username>string</Username>
        <Password>string</Password>
        <loginErrorMessage>string</loginErrorMessage>
      </wsKey>
    </LookupStaffResponse>
  </soap12:Body>
</soap12:Envelope>