CBPNWService


Click here for a complete list of operations.

GetPolicyInfo

This method is used to retrieve policy information.

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 /CBPNWService.asmx HTTP/1.1
Host: ws.cbpinsure.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://cbpinsure.com/GetPolicyInfo"

<?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>
    <GetPolicyInfo xmlns="http://cbpinsure.com/">
      <userid>string</userid>
      <password>string</password>
      <policyID>int</policyID>
      <policyNo>string</policyNo>
    </GetPolicyInfo>
  </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>
    <GetPolicyInfoResponse xmlns="http://cbpinsure.com/">
      <GetPolicyInfoResult>
        <Policy>
          <PolicyLoadProcessID>int</PolicyLoadProcessID>
          <PolicyPeriodProcessID>int</PolicyPeriodProcessID>
          <PolicyPaymentProcessID>int</PolicyPaymentProcessID>
          <ProductID>int</ProductID>
          <PlanID>int</PlanID>
          <PolicyNumber>string</PolicyNumber>
          <PolicyID>int</PolicyID>
          <Status>int</Status>
          <CoverageEffectiveDate>string</CoverageEffectiveDate>
          <CoverageExpirationDate>string</CoverageExpirationDate>
          <CoverageLength>int</CoverageLength>
          <ApplicationDate>string</ApplicationDate>
          <AgentID>int</AgentID>
          <Title>string</Title>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <LastName>string</LastName>
          <Gender>int</Gender>
          <GenderName>string</GenderName>
          <DateOfBirth>string</DateOfBirth>
          <SSN>string</SSN>
          <Address1Type>int</Address1Type>
          <Address1Ln1>string</Address1Ln1>
          <Address1Ln2>string</Address1Ln2>
          <City1>string</City1>
          <County1>string</County1>
          <State1>int</State1>
          <State1Name>string</State1Name>
          <Zip1>string</Zip1>
          <Country1>int</Country1>
          <Country1Name>string</Country1Name>
          <Phone1>string</Phone1>
          <EmailAddress>string</EmailAddress>
          <Address2Type>int</Address2Type>
          <Address2Ln1>string</Address2Ln1>
          <Address2Ln2>string</Address2Ln2>
          <City2>string</City2>
          <County2>string</County2>
          <State2>int</State2>
          <Zip2>string</Zip2>
          <Country2>int</Country2>
          <benFullName>string</benFullName>
          <benRelatioshipToPolicyHolder>int</benRelatioshipToPolicyHolder>
          <Address3Type>int</Address3Type>
          <Address3Ln1>string</Address3Ln1>
          <Address3Ln2>string</Address3Ln2>
          <City3>string</City3>
          <County3>string</County3>
          <State3>int</State3>
          <Zip3>string</Zip3>
          <Country3>int</Country3>
          <BaseRate>decimal</BaseRate>
          <RateFees>decimal</RateFees>
          <BillingMethod>int</BillingMethod>
          <BillingType>int</BillingType>
          <BillingCCType>int</BillingCCType>
          <BillingCCNumber>string</BillingCCNumber>
          <BillingCCExpiration>string</BillingCCExpiration>
          <BillingName>string</BillingName>
          <BillingRelatioshipToPolicyHolder>int</BillingRelatioshipToPolicyHolder>
          <BillingBankAccountType>int</BillingBankAccountType>
          <BillingBankName>string</BillingBankName>
          <BillingBankAccountNumber>string</BillingBankAccountNumber>
          <BillingBankRoutingNumber>string</BillingBankRoutingNumber>
          <BillingAddressLn1>string</BillingAddressLn1>
          <BillingAddressLn2>string</BillingAddressLn2>
          <BillingCity>string</BillingCity>
          <BillingCounty>string</BillingCounty>
          <BillingState>int</BillingState>
          <BillingZip>string</BillingZip>
          <BillingCountry>int</BillingCountry>
          <NotesComments>string</NotesComments>
          <PrintedEnrollment>string</PrintedEnrollment>
          <BillingCCSecCode>string</BillingCCSecCode>
          <Phone2>string</Phone2>
          <VerificationQuestion>int</VerificationQuestion>
          <VerificationAnswer>string</VerificationAnswer>
          <AgentAccntID>int</AgentAccntID>
          <BillingEmailAddress>string</BillingEmailAddress>
          <PeriodDefinedByProduct>string</PeriodDefinedByProduct>
          <PeriodType>int</PeriodType>
          <PeriodLength>int</PeriodLength>
          <GroupID>int</GroupID>
          <SinglePayer>string</SinglePayer>
          <AutoRenewal>string</AutoRenewal>
          <BenRelatioshipToPolicyHolderOther>string</BenRelatioshipToPolicyHolderOther>
          <CurrentPlanTermID>int</CurrentPlanTermID>
          <PaymentDate>string</PaymentDate>
          <TripCost>string</TripCost>
          <ElectronicSignatureDate>string</ElectronicSignatureDate>
          <GreenDotCustomerID>string</GreenDotCustomerID>
          <RateStartDate>string</RateStartDate>
          <RateEndDate>string</RateEndDate>
          <CBPWSPolicyAdditionalInfos>
            <CBPWSPolicyAdditionalInfo xsi:nil="true" />
            <CBPWSPolicyAdditionalInfo xsi:nil="true" />
          </CBPWSPolicyAdditionalInfos>
          <CBPWSPolicyDependents>
            <CBPWSPolicyDependent xsi:nil="true" />
            <CBPWSPolicyDependent xsi:nil="true" />
          </CBPWSPolicyDependents>
          <CBPWSPlanOptions>
            <CBPWSPlanOption xsi:nil="true" />
            <CBPWSPlanOption xsi:nil="true" />
          </CBPWSPlanOptions>
        </Policy>
        <Status>string</Status>
        <Message>string</Message>
      </GetPolicyInfoResult>
    </GetPolicyInfoResponse>
  </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 /CBPNWService.asmx HTTP/1.1
Host: ws.cbpinsure.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>
    <GetPolicyInfo xmlns="http://cbpinsure.com/">
      <userid>string</userid>
      <password>string</password>
      <policyID>int</policyID>
      <policyNo>string</policyNo>
    </GetPolicyInfo>
  </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>
    <GetPolicyInfoResponse xmlns="http://cbpinsure.com/">
      <GetPolicyInfoResult>
        <Policy>
          <PolicyLoadProcessID>int</PolicyLoadProcessID>
          <PolicyPeriodProcessID>int</PolicyPeriodProcessID>
          <PolicyPaymentProcessID>int</PolicyPaymentProcessID>
          <ProductID>int</ProductID>
          <PlanID>int</PlanID>
          <PolicyNumber>string</PolicyNumber>
          <PolicyID>int</PolicyID>
          <Status>int</Status>
          <CoverageEffectiveDate>string</CoverageEffectiveDate>
          <CoverageExpirationDate>string</CoverageExpirationDate>
          <CoverageLength>int</CoverageLength>
          <ApplicationDate>string</ApplicationDate>
          <AgentID>int</AgentID>
          <Title>string</Title>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <LastName>string</LastName>
          <Gender>int</Gender>
          <GenderName>string</GenderName>
          <DateOfBirth>string</DateOfBirth>
          <SSN>string</SSN>
          <Address1Type>int</Address1Type>
          <Address1Ln1>string</Address1Ln1>
          <Address1Ln2>string</Address1Ln2>
          <City1>string</City1>
          <County1>string</County1>
          <State1>int</State1>
          <State1Name>string</State1Name>
          <Zip1>string</Zip1>
          <Country1>int</Country1>
          <Country1Name>string</Country1Name>
          <Phone1>string</Phone1>
          <EmailAddress>string</EmailAddress>
          <Address2Type>int</Address2Type>
          <Address2Ln1>string</Address2Ln1>
          <Address2Ln2>string</Address2Ln2>
          <City2>string</City2>
          <County2>string</County2>
          <State2>int</State2>
          <Zip2>string</Zip2>
          <Country2>int</Country2>
          <benFullName>string</benFullName>
          <benRelatioshipToPolicyHolder>int</benRelatioshipToPolicyHolder>
          <Address3Type>int</Address3Type>
          <Address3Ln1>string</Address3Ln1>
          <Address3Ln2>string</Address3Ln2>
          <City3>string</City3>
          <County3>string</County3>
          <State3>int</State3>
          <Zip3>string</Zip3>
          <Country3>int</Country3>
          <BaseRate>decimal</BaseRate>
          <RateFees>decimal</RateFees>
          <BillingMethod>int</BillingMethod>
          <BillingType>int</BillingType>
          <BillingCCType>int</BillingCCType>
          <BillingCCNumber>string</BillingCCNumber>
          <BillingCCExpiration>string</BillingCCExpiration>
          <BillingName>string</BillingName>
          <BillingRelatioshipToPolicyHolder>int</BillingRelatioshipToPolicyHolder>
          <BillingBankAccountType>int</BillingBankAccountType>
          <BillingBankName>string</BillingBankName>
          <BillingBankAccountNumber>string</BillingBankAccountNumber>
          <BillingBankRoutingNumber>string</BillingBankRoutingNumber>
          <BillingAddressLn1>string</BillingAddressLn1>
          <BillingAddressLn2>string</BillingAddressLn2>
          <BillingCity>string</BillingCity>
          <BillingCounty>string</BillingCounty>
          <BillingState>int</BillingState>
          <BillingZip>string</BillingZip>
          <BillingCountry>int</BillingCountry>
          <NotesComments>string</NotesComments>
          <PrintedEnrollment>string</PrintedEnrollment>
          <BillingCCSecCode>string</BillingCCSecCode>
          <Phone2>string</Phone2>
          <VerificationQuestion>int</VerificationQuestion>
          <VerificationAnswer>string</VerificationAnswer>
          <AgentAccntID>int</AgentAccntID>
          <BillingEmailAddress>string</BillingEmailAddress>
          <PeriodDefinedByProduct>string</PeriodDefinedByProduct>
          <PeriodType>int</PeriodType>
          <PeriodLength>int</PeriodLength>
          <GroupID>int</GroupID>
          <SinglePayer>string</SinglePayer>
          <AutoRenewal>string</AutoRenewal>
          <BenRelatioshipToPolicyHolderOther>string</BenRelatioshipToPolicyHolderOther>
          <CurrentPlanTermID>int</CurrentPlanTermID>
          <PaymentDate>string</PaymentDate>
          <TripCost>string</TripCost>
          <ElectronicSignatureDate>string</ElectronicSignatureDate>
          <GreenDotCustomerID>string</GreenDotCustomerID>
          <RateStartDate>string</RateStartDate>
          <RateEndDate>string</RateEndDate>
          <CBPWSPolicyAdditionalInfos>
            <CBPWSPolicyAdditionalInfo xsi:nil="true" />
            <CBPWSPolicyAdditionalInfo xsi:nil="true" />
          </CBPWSPolicyAdditionalInfos>
          <CBPWSPolicyDependents>
            <CBPWSPolicyDependent xsi:nil="true" />
            <CBPWSPolicyDependent xsi:nil="true" />
          </CBPWSPolicyDependents>
          <CBPWSPlanOptions>
            <CBPWSPlanOption xsi:nil="true" />
            <CBPWSPlanOption xsi:nil="true" />
          </CBPWSPlanOptions>
        </Policy>
        <Status>string</Status>
        <Message>string</Message>
      </GetPolicyInfoResult>
    </GetPolicyInfoResponse>
  </soap12:Body>
</soap12:Envelope>