CBPNWService


Click here for a complete list of operations.

GetAgentInfo

This method is used to get Agent Info

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/GetAgentInfo"

<?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>
    <GetAgentInfo xmlns="http://cbpinsure.com/">
      <userid>string</userid>
      <password>string</password>
      <agentNo>string</agentNo>
      <accountCode>string</accountCode>
      <productId>int</productId>
      <applicationDate>string</applicationDate>
    </GetAgentInfo>
  </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>
    <GetAgentInfoResponse xmlns="http://cbpinsure.com/">
      <GetAgentInfoResult>
        <Agent>
          <AgentID>int</AgentID>
          <AgentNo>string</AgentNo>
          <AgentPrefix>string</AgentPrefix>
          <AgentFirstName>string</AgentFirstName>
          <AgentMiddleName>string</AgentMiddleName>
          <AgentLastName>string</AgentLastName>
          <AgentSufix>string</AgentSufix>
          <AgencyName>string</AgencyName>
          <Active>string</Active>
          <AgentFullName>string</AgentFullName>
          <AgentImage>string</AgentImage>
          <AgencyorAgent>string</AgencyorAgent>
          <Address1Type>int</Address1Type>
          <Address1Ln1>string</Address1Ln1>
          <Address1Ln2>string</Address1Ln2>
          <City1>string</City1>
          <County1>string</County1>
          <State1>int</State1>
          <Zip1>string</Zip1>
          <Phone1>string</Phone1>
          <Cell1>string</Cell1>
          <Fax1>string</Fax1>
          <OtherPhone1>string</OtherPhone1>
          <Email1>string</Email1>
        </Agent>
        <Accounts>
          <CBPWSAgentAccount>
            <AgentAccountID>int</AgentAccountID>
            <AgentID>int</AgentID>
            <AgentAccntCode>string</AgentAccntCode>
            <AgentAccntDesc>string</AgentAccntDesc>
            <AgentAccntEmail>string</AgentAccntEmail>
            <AgentAccntPhoneNumber>string</AgentAccntPhoneNumber>
            <AgentAccntAddressLn1>string</AgentAccntAddressLn1>
            <AgentAccntAddressLn2>string</AgentAccntAddressLn2>
            <AgentAccntCity>string</AgentAccntCity>
            <AgentAccntState>int</AgentAccntState>
            <AgentAccntZip>string</AgentAccntZip>
            <Override>string</Override>
          </CBPWSAgentAccount>
          <CBPWSAgentAccount>
            <AgentAccountID>int</AgentAccountID>
            <AgentID>int</AgentID>
            <AgentAccntCode>string</AgentAccntCode>
            <AgentAccntDesc>string</AgentAccntDesc>
            <AgentAccntEmail>string</AgentAccntEmail>
            <AgentAccntPhoneNumber>string</AgentAccntPhoneNumber>
            <AgentAccntAddressLn1>string</AgentAccntAddressLn1>
            <AgentAccntAddressLn2>string</AgentAccntAddressLn2>
            <AgentAccntCity>string</AgentAccntCity>
            <AgentAccntState>int</AgentAccntState>
            <AgentAccntZip>string</AgentAccntZip>
            <Override>string</Override>
          </CBPWSAgentAccount>
        </Accounts>
        <AdditionalInfo>
          <CBPWSAgentAccountAdditionalInfo>
            <AgentAccountAdditionalInfoId>int</AgentAccountAdditionalInfoId>
            <AgentId>int</AgentId>
            <AgentAccountCode>string</AgentAccountCode>
            <LookupID>int</LookupID>
            <LookupCode>string</LookupCode>
            <LookupDescription>string</LookupDescription>
            <LookupValue>string</LookupValue>
            <Enabled>string</Enabled>
          </CBPWSAgentAccountAdditionalInfo>
          <CBPWSAgentAccountAdditionalInfo>
            <AgentAccountAdditionalInfoId>int</AgentAccountAdditionalInfoId>
            <AgentId>int</AgentId>
            <AgentAccountCode>string</AgentAccountCode>
            <LookupID>int</LookupID>
            <LookupCode>string</LookupCode>
            <LookupDescription>string</LookupDescription>
            <LookupValue>string</LookupValue>
            <Enabled>string</Enabled>
          </CBPWSAgentAccountAdditionalInfo>
        </AdditionalInfo>
        <Status>string</Status>
        <Message>string</Message>
      </GetAgentInfoResult>
    </GetAgentInfoResponse>
  </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>
    <GetAgentInfo xmlns="http://cbpinsure.com/">
      <userid>string</userid>
      <password>string</password>
      <agentNo>string</agentNo>
      <accountCode>string</accountCode>
      <productId>int</productId>
      <applicationDate>string</applicationDate>
    </GetAgentInfo>
  </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>
    <GetAgentInfoResponse xmlns="http://cbpinsure.com/">
      <GetAgentInfoResult>
        <Agent>
          <AgentID>int</AgentID>
          <AgentNo>string</AgentNo>
          <AgentPrefix>string</AgentPrefix>
          <AgentFirstName>string</AgentFirstName>
          <AgentMiddleName>string</AgentMiddleName>
          <AgentLastName>string</AgentLastName>
          <AgentSufix>string</AgentSufix>
          <AgencyName>string</AgencyName>
          <Active>string</Active>
          <AgentFullName>string</AgentFullName>
          <AgentImage>string</AgentImage>
          <AgencyorAgent>string</AgencyorAgent>
          <Address1Type>int</Address1Type>
          <Address1Ln1>string</Address1Ln1>
          <Address1Ln2>string</Address1Ln2>
          <City1>string</City1>
          <County1>string</County1>
          <State1>int</State1>
          <Zip1>string</Zip1>
          <Phone1>string</Phone1>
          <Cell1>string</Cell1>
          <Fax1>string</Fax1>
          <OtherPhone1>string</OtherPhone1>
          <Email1>string</Email1>
        </Agent>
        <Accounts>
          <CBPWSAgentAccount>
            <AgentAccountID>int</AgentAccountID>
            <AgentID>int</AgentID>
            <AgentAccntCode>string</AgentAccntCode>
            <AgentAccntDesc>string</AgentAccntDesc>
            <AgentAccntEmail>string</AgentAccntEmail>
            <AgentAccntPhoneNumber>string</AgentAccntPhoneNumber>
            <AgentAccntAddressLn1>string</AgentAccntAddressLn1>
            <AgentAccntAddressLn2>string</AgentAccntAddressLn2>
            <AgentAccntCity>string</AgentAccntCity>
            <AgentAccntState>int</AgentAccntState>
            <AgentAccntZip>string</AgentAccntZip>
            <Override>string</Override>
          </CBPWSAgentAccount>
          <CBPWSAgentAccount>
            <AgentAccountID>int</AgentAccountID>
            <AgentID>int</AgentID>
            <AgentAccntCode>string</AgentAccntCode>
            <AgentAccntDesc>string</AgentAccntDesc>
            <AgentAccntEmail>string</AgentAccntEmail>
            <AgentAccntPhoneNumber>string</AgentAccntPhoneNumber>
            <AgentAccntAddressLn1>string</AgentAccntAddressLn1>
            <AgentAccntAddressLn2>string</AgentAccntAddressLn2>
            <AgentAccntCity>string</AgentAccntCity>
            <AgentAccntState>int</AgentAccntState>
            <AgentAccntZip>string</AgentAccntZip>
            <Override>string</Override>
          </CBPWSAgentAccount>
        </Accounts>
        <AdditionalInfo>
          <CBPWSAgentAccountAdditionalInfo>
            <AgentAccountAdditionalInfoId>int</AgentAccountAdditionalInfoId>
            <AgentId>int</AgentId>
            <AgentAccountCode>string</AgentAccountCode>
            <LookupID>int</LookupID>
            <LookupCode>string</LookupCode>
            <LookupDescription>string</LookupDescription>
            <LookupValue>string</LookupValue>
            <Enabled>string</Enabled>
          </CBPWSAgentAccountAdditionalInfo>
          <CBPWSAgentAccountAdditionalInfo>
            <AgentAccountAdditionalInfoId>int</AgentAccountAdditionalInfoId>
            <AgentId>int</AgentId>
            <AgentAccountCode>string</AgentAccountCode>
            <LookupID>int</LookupID>
            <LookupCode>string</LookupCode>
            <LookupDescription>string</LookupDescription>
            <LookupValue>string</LookupValue>
            <Enabled>string</Enabled>
          </CBPWSAgentAccountAdditionalInfo>
        </AdditionalInfo>
        <Status>string</Status>
        <Message>string</Message>
      </GetAgentInfoResult>
    </GetAgentInfoResponse>
  </soap12:Body>
</soap12:Envelope>