Bulwark Web API Service Host

<back to all web services

EmployeeRequest

Get Employee

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: text/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>

<EmployeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <ActiveOnly>false</ActiveOnly>
  <AllCSRs>false</AllCSRs>
  <AllEmployeeOffices>false</AllEmployeeOffices>
  <AllTechs>false</AllTechs>
  <CallCenter_Id>0</CallCenter_Id>
  <ChangedOn>0001-01-01T00:00:00</ChangedOn>
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:EmployeeDto>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:Address>String</d2p1:Address>
      <d2p1:AlarmCode>String</d2p1:AlarmCode>
      <d2p1:CellPhone>String</d2p1:CellPhone>
      <d2p1:City>String</d2p1:City>
      <d2p1:Deposit_Id>0</d2p1:Deposit_Id>
      <d2p1:DriveTime>0</d2p1:DriveTime>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:FirstName>String</d2p1:FirstName>
      <d2p1:GasCode>String</d2p1:GasCode>
      <d2p1:HR_Emp_Id>0</d2p1:HR_Emp_Id>
      <d2p1:HireDate>0001-01-01T00:00:00</d2p1:HireDate>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsAutomated>false</d2p1:IsAutomated>
      <d2p1:JobTitle_Id>0</d2p1:JobTitle_Id>
      <d2p1:LastName>String</d2p1:LastName>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:Nextel>String</d2p1:Nextel>
      <d2p1:OfficePhone>String</d2p1:OfficePhone>
      <d2p1:Office_Id>0</d2p1:Office_Id>
      <d2p1:Password>String</d2p1:Password>
      <d2p1:Portrait_Id>0</d2p1:Portrait_Id>
      <d2p1:ProductivityFactor>0</d2p1:ProductivityFactor>
      <d2p1:Role_Id>0</d2p1:Role_Id>
      <d2p1:Salesman>false</d2p1:Salesman>
      <d2p1:SaturdayExempt>false</d2p1:SaturdayExempt>
      <d2p1:Service_Commission_Id>0</d2p1:Service_Commission_Id>
      <d2p1:Signature_Id>0</d2p1:Signature_Id>
      <d2p1:State>String</d2p1:State>
      <d2p1:Tech>false</d2p1:Tech>
      <d2p1:TechUntil>0001-01-01T00:00:00</d2p1:TechUntil>
      <d2p1:TerminationDate>0001-01-01T00:00:00</d2p1:TerminationDate>
      <d2p1:UserName>String</d2p1:UserName>
      <d2p1:VinNumber>String</d2p1:VinNumber>
      <d2p1:WindowsIdentity>String</d2p1:WindowsIdentity>
      <d2p1:Zip>String</d2p1:Zip>
    </d2p1:EmployeeDto>
  </DataObj>
  <Email>String</Email>
  <EmployeeOfficesDataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
    <d2p1:EmployeeOfficesDto>
      <d2p1:Employee_Id>0</d2p1:Employee_Id>
      <d2p1:Office_Id>0</d2p1:Office_Id>
    </d2p1:EmployeeOfficesDto>
  </EmployeeOfficesDataObj>
  <GetAllByOffice>false</GetAllByOffice>
  <GetAllToText>false</GetAllToText>
  <GetAllToTextSC>false</GetAllToTextSC>
  <GetSalesRepresentatives>false</GetSalesRepresentatives>
  <GetSalesmen>false</GetSalesmen>
  <GetTerritoryManagers>false</GetTerritoryManagers>
  <Id>0</Id>
  <Office_Id>0</Office_Id>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <WindowsIdentity>String</WindowsIdentity>
</EmployeeRequest>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<EmployeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <ActiveOnly>false</ActiveOnly>
  <AllCSRs>false</AllCSRs>
  <AllEmployeeOffices>false</AllEmployeeOffices>
  <AllTechs>false</AllTechs>
  <CallCenter_Id>0</CallCenter_Id>
  <ChangedOn>0001-01-01T00:00:00</ChangedOn>
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:EmployeeDto>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:Address>String</d2p1:Address>
      <d2p1:AlarmCode>String</d2p1:AlarmCode>
      <d2p1:CellPhone>String</d2p1:CellPhone>
      <d2p1:City>String</d2p1:City>
      <d2p1:Deposit_Id>0</d2p1:Deposit_Id>
      <d2p1:DriveTime>0</d2p1:DriveTime>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:FirstName>String</d2p1:FirstName>
      <d2p1:GasCode>String</d2p1:GasCode>
      <d2p1:HR_Emp_Id>0</d2p1:HR_Emp_Id>
      <d2p1:HireDate>0001-01-01T00:00:00</d2p1:HireDate>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsAutomated>false</d2p1:IsAutomated>
      <d2p1:JobTitle_Id>0</d2p1:JobTitle_Id>
      <d2p1:LastName>String</d2p1:LastName>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:Nextel>String</d2p1:Nextel>
      <d2p1:OfficePhone>String</d2p1:OfficePhone>
      <d2p1:Office_Id>0</d2p1:Office_Id>
      <d2p1:Password>String</d2p1:Password>
      <d2p1:Portrait_Id>0</d2p1:Portrait_Id>
      <d2p1:ProductivityFactor>0</d2p1:ProductivityFactor>
      <d2p1:Role_Id>0</d2p1:Role_Id>
      <d2p1:Salesman>false</d2p1:Salesman>
      <d2p1:SaturdayExempt>false</d2p1:SaturdayExempt>
      <d2p1:Service_Commission_Id>0</d2p1:Service_Commission_Id>
      <d2p1:Signature_Id>0</d2p1:Signature_Id>
      <d2p1:State>String</d2p1:State>
      <d2p1:Tech>false</d2p1:Tech>
      <d2p1:TechUntil>0001-01-01T00:00:00</d2p1:TechUntil>
      <d2p1:TerminationDate>0001-01-01T00:00:00</d2p1:TerminationDate>
      <d2p1:UserName>String</d2p1:UserName>
      <d2p1:VinNumber>String</d2p1:VinNumber>
      <d2p1:WindowsIdentity>String</d2p1:WindowsIdentity>
      <d2p1:Zip>String</d2p1:Zip>
    </d2p1:EmployeeDto>
  </DataObj>
  <Email>String</Email>
  <EmployeeOfficesDataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
    <d2p1:EmployeeOfficesDto>
      <d2p1:Employee_Id>0</d2p1:Employee_Id>
      <d2p1:Office_Id>0</d2p1:Office_Id>
    </d2p1:EmployeeOfficesDto>
  </EmployeeOfficesDataObj>
  <GetAllByOffice>false</GetAllByOffice>
  <GetAllToText>false</GetAllToText>
  <GetAllToTextSC>false</GetAllToTextSC>
  <GetSalesRepresentatives>false</GetSalesRepresentatives>
  <GetSalesmen>false</GetSalesmen>
  <GetTerritoryManagers>false</GetTerritoryManagers>
  <Id>0</Id>
  <Office_Id>0</Office_Id>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <WindowsIdentity>String</WindowsIdentity>
</EmployeeRequest>

    </soap12:Body>
</soap12:Envelope>