Bulwark Web API Service Host

<back to all web services

BlastedNumbersRequest

Get BlastedNumbers

The following routes are available for this service:
GET,POST/api/Vanguard/BlastedNumbers

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

HTTP + XML

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

POST /xml/reply/BlastedNumbersRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: application/xml
Content-Length: length

<BlastedNumbersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
    <d2p1:CustPhoneNumberInfoDto>
      <AgentManager_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</AgentManager_Id>
      <AgentType_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</AgentType_Id>
      <CommRate xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</CommRate>
      <Contact_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Contact_Id>
      <Deleted xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">false</Deleted>
      <Employee_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Employee_Id>
      <Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Id>
      <d2p1:Number>String</d2p1:Number>
      <d2p1:OfficeId>0</d2p1:OfficeId>
    </d2p1:CustPhoneNumberInfoDto>
  </DataObj>
  <DataObj2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:BlastedNumberDto>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Number>String</d2p1:Number>
    </d2p1:BlastedNumberDto>
  </DataObj2>
  <Index>0</Index>
  <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>
  <myDate>0001-01-01T00:00:00</myDate>
</BlastedNumbersRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BlastedNumbersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
    <d2p1:CustPhoneNumberInfoDto>
      <AgentManager_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</AgentManager_Id>
      <AgentType_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</AgentType_Id>
      <CommRate xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</CommRate>
      <Contact_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Contact_Id>
      <Deleted xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">false</Deleted>
      <Employee_Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Employee_Id>
      <Id xmlns="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">0</Id>
      <d2p1:Number>String</d2p1:Number>
      <d2p1:OfficeId>0</d2p1:OfficeId>
    </d2p1:CustPhoneNumberInfoDto>
  </DataObj>
  <DataObj2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:BlastedNumberDto>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Number>String</d2p1:Number>
    </d2p1:BlastedNumberDto>
  </DataObj2>
  <Index>0</Index>
  <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>
  <myDate>0001-01-01T00:00:00</myDate>
</BlastedNumbersRequest>