Bulwark Web API Service Host

<back to all web services

ServiceRequest

Get Service

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

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/ServiceRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: application/xml
Content-Length: length

<ServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <ActiveOnly>false</ActiveOnly>
  <Customer_Id>0</Customer_Id>
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:ServiceDto>
      <d2p1:Account_Id>0</d2p1:Account_Id>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:Billing>String</d2p1:Billing>
      <d2p1:Charge>0</d2p1:Charge>
      <d2p1:ChargeFrequencyType_Id>0</d2p1:ChargeFrequencyType_Id>
      <d2p1:ChargebackDaysOverride>0</d2p1:ChargebackDaysOverride>
      <d2p1:ChargebackTerminationOverride>false</d2p1:ChargebackTerminationOverride>
      <d2p1:CommissionDue>0</d2p1:CommissionDue>
      <d2p1:CommissionMax>0</d2p1:CommissionMax>
      <d2p1:CommissionPaid>0</d2p1:CommissionPaid>
      <d2p1:ConfirmedBy_Id>0</d2p1:ConfirmedBy_Id>
      <d2p1:ConfirmedOn>0001-01-01T00:00:00</d2p1:ConfirmedOn>
      <d2p1:Confirmee>String</d2p1:Confirmee>
      <d2p1:ContractValue>0</d2p1:ContractValue>
      <d2p1:CouponCode>String</d2p1:CouponCode>
      <d2p1:Customer_Id>0</d2p1:Customer_Id>
      <d2p1:Discount>0</d2p1:Discount>
      <d2p1:EndOn>0001-01-01T00:00:00</d2p1:EndOn>
      <d2p1:EndTime2>String</d2p1:EndTime2>
      <d2p1:Finish>0001-01-01T00:00:00</d2p1:Finish>
      <d2p1:FirstCouponPaymentOn>0001-01-01T00:00:00</d2p1:FirstCouponPaymentOn>
      <d2p1:IS5TP>false</d2p1:IS5TP>
      <d2p1:IS7TP>false</d2p1:IS7TP>
      <d2p1:ISPayout>0</d2p1:ISPayout>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:InitialService>0001-01-01T00:00:00</d2p1:InitialService>
      <d2p1:IsCharge>0</d2p1:IsCharge>
      <d2p1:IsOverrideWarrantyDate>false</d2p1:IsOverrideWarrantyDate>
      <d2p1:LastService>0001-01-01T00:00:00</d2p1:LastService>
      <d2p1:Linked>false</d2p1:Linked>
      <d2p1:Method>String</d2p1:Method>
      <d2p1:MinimumTargetOverride>0</d2p1:MinimumTargetOverride>
      <d2p1:ModifiedBy_Id>0</d2p1:ModifiedBy_Id>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:NumberOfBaitStations>0</d2p1:NumberOfBaitStations>
      <d2p1:PayScale>0</d2p1:PayScale>
      <d2p1:PaymentAmount>0</d2p1:PaymentAmount>
      <d2p1:PriceIncrease>0</d2p1:PriceIncrease>
      <d2p1:PriceIncreaseOn>0001-01-01T00:00:00</d2p1:PriceIncreaseOn>
      <d2p1:Prorated>false</d2p1:Prorated>
      <d2p1:ReferralTech_Id>0</d2p1:ReferralTech_Id>
      <d2p1:ReferredBy>String</d2p1:ReferredBy>
      <d2p1:ReferredBy_Id>0</d2p1:ReferredBy_Id>
      <d2p1:RetentionMinimum>0</d2p1:RetentionMinimum>
      <d2p1:SaleSubType_Id>0</d2p1:SaleSubType_Id>
      <d2p1:SaleType_Id>0</d2p1:SaleType_Id>
      <d2p1:SalesLeadPhoneNumber>String</d2p1:SalesLeadPhoneNumber>
      <d2p1:ServiceType_Id>0</d2p1:ServiceType_Id>
      <d2p1:SoldBy_Id>0</d2p1:SoldBy_Id>
      <d2p1:SoldOn>0001-01-01T00:00:00</d2p1:SoldOn>
      <d2p1:StandardTargetOverride>0</d2p1:StandardTargetOverride>
      <d2p1:Start>0001-01-01T00:00:00</d2p1:Start>
      <d2p1:Start5TP>0001-01-01T00:00:00</d2p1:Start5TP>
      <d2p1:Start7TP>0001-01-01T00:00:00</d2p1:Start7TP>
      <d2p1:StartTime2>String</d2p1:StartTime2>
      <d2p1:UseISDiscount>false</d2p1:UseISDiscount>
      <d2p1:WarrantyFeeBeginDate>0001-01-01T00:00:00</d2p1:WarrantyFeeBeginDate>
      <d2p1:WelcomedBy_Id>0</d2p1:WelcomedBy_Id>
      <d2p1:WelcomedOn>0001-01-01T00:00:00</d2p1:WelcomedOn>
      <d2p1:ZeroBill>false</d2p1:ZeroBill>
    </d2p1:ServiceDto>
  </DataObj>
  <Id>0</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>
</ServiceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
  <ActiveOnly>false</ActiveOnly>
  <Customer_Id>0</Customer_Id>
  <DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
    <d2p1:ServiceDto>
      <d2p1:Account_Id>0</d2p1:Account_Id>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:Billing>String</d2p1:Billing>
      <d2p1:Charge>0</d2p1:Charge>
      <d2p1:ChargeFrequencyType_Id>0</d2p1:ChargeFrequencyType_Id>
      <d2p1:ChargebackDaysOverride>0</d2p1:ChargebackDaysOverride>
      <d2p1:ChargebackTerminationOverride>false</d2p1:ChargebackTerminationOverride>
      <d2p1:CommissionDue>0</d2p1:CommissionDue>
      <d2p1:CommissionMax>0</d2p1:CommissionMax>
      <d2p1:CommissionPaid>0</d2p1:CommissionPaid>
      <d2p1:ConfirmedBy_Id>0</d2p1:ConfirmedBy_Id>
      <d2p1:ConfirmedOn>0001-01-01T00:00:00</d2p1:ConfirmedOn>
      <d2p1:Confirmee>String</d2p1:Confirmee>
      <d2p1:ContractValue>0</d2p1:ContractValue>
      <d2p1:CouponCode>String</d2p1:CouponCode>
      <d2p1:Customer_Id>0</d2p1:Customer_Id>
      <d2p1:Discount>0</d2p1:Discount>
      <d2p1:EndOn>0001-01-01T00:00:00</d2p1:EndOn>
      <d2p1:EndTime2>String</d2p1:EndTime2>
      <d2p1:Finish>0001-01-01T00:00:00</d2p1:Finish>
      <d2p1:FirstCouponPaymentOn>0001-01-01T00:00:00</d2p1:FirstCouponPaymentOn>
      <d2p1:IS5TP>false</d2p1:IS5TP>
      <d2p1:IS7TP>false</d2p1:IS7TP>
      <d2p1:ISPayout>0</d2p1:ISPayout>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:InitialService>0001-01-01T00:00:00</d2p1:InitialService>
      <d2p1:IsCharge>0</d2p1:IsCharge>
      <d2p1:IsOverrideWarrantyDate>false</d2p1:IsOverrideWarrantyDate>
      <d2p1:LastService>0001-01-01T00:00:00</d2p1:LastService>
      <d2p1:Linked>false</d2p1:Linked>
      <d2p1:Method>String</d2p1:Method>
      <d2p1:MinimumTargetOverride>0</d2p1:MinimumTargetOverride>
      <d2p1:ModifiedBy_Id>0</d2p1:ModifiedBy_Id>
      <d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
      <d2p1:NumberOfBaitStations>0</d2p1:NumberOfBaitStations>
      <d2p1:PayScale>0</d2p1:PayScale>
      <d2p1:PaymentAmount>0</d2p1:PaymentAmount>
      <d2p1:PriceIncrease>0</d2p1:PriceIncrease>
      <d2p1:PriceIncreaseOn>0001-01-01T00:00:00</d2p1:PriceIncreaseOn>
      <d2p1:Prorated>false</d2p1:Prorated>
      <d2p1:ReferralTech_Id>0</d2p1:ReferralTech_Id>
      <d2p1:ReferredBy>String</d2p1:ReferredBy>
      <d2p1:ReferredBy_Id>0</d2p1:ReferredBy_Id>
      <d2p1:RetentionMinimum>0</d2p1:RetentionMinimum>
      <d2p1:SaleSubType_Id>0</d2p1:SaleSubType_Id>
      <d2p1:SaleType_Id>0</d2p1:SaleType_Id>
      <d2p1:SalesLeadPhoneNumber>String</d2p1:SalesLeadPhoneNumber>
      <d2p1:ServiceType_Id>0</d2p1:ServiceType_Id>
      <d2p1:SoldBy_Id>0</d2p1:SoldBy_Id>
      <d2p1:SoldOn>0001-01-01T00:00:00</d2p1:SoldOn>
      <d2p1:StandardTargetOverride>0</d2p1:StandardTargetOverride>
      <d2p1:Start>0001-01-01T00:00:00</d2p1:Start>
      <d2p1:Start5TP>0001-01-01T00:00:00</d2p1:Start5TP>
      <d2p1:Start7TP>0001-01-01T00:00:00</d2p1:Start7TP>
      <d2p1:StartTime2>String</d2p1:StartTime2>
      <d2p1:UseISDiscount>false</d2p1:UseISDiscount>
      <d2p1:WarrantyFeeBeginDate>0001-01-01T00:00:00</d2p1:WarrantyFeeBeginDate>
      <d2p1:WelcomedBy_Id>0</d2p1:WelcomedBy_Id>
      <d2p1:WelcomedOn>0001-01-01T00:00:00</d2p1:WelcomedOn>
      <d2p1:ZeroBill>false</d2p1:ZeroBill>
    </d2p1:ServiceDto>
  </DataObj>
  <Id>0</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>
</ServiceRequest>