Bombshell Agency Platform Service

<back to all web services

AFConnectAgentRequest

The following routes are available for this service:
GET,OPTIONS/v1/AFConnect/Agent/{Value}

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/AFConnectAgentRequest HTTP/1.1 
Host: api.appreciationfinancial.com 
Content-Type: application/xml
Content-Length: length

<AFConnectAgentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
  <Value>String</Value>
</AFConnectAgentRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AFConnectAgentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
  <Agents>
    <AFConnectAgentData>
      <AVP>
        <AgentId>String</AgentId>
        <FirstName>String</FirstName>
        <LastName>String</LastName>
      </AVP>
      <AgentId>String</AgentId>
      <AssignedSchools>
        <AFConnectAssignedSchoolData>
          <AVPName>String</AVPName>
          <AgentName>String</AgentName>
          <City>String</City>
          <County>String</County>
          <DistrictId>0</DistrictId>
          <DistrictName>String</DistrictName>
          <Line1>String</Line1>
          <SchoolId>0</SchoolId>
          <SchoolName>String</SchoolName>
          <State>String</State>
          <Status>String</Status>
          <Website>String</Website>
        </AFConnectAssignedSchoolData>
      </AssignedSchools>
      <BusinessEmail>String</BusinessEmail>
      <CurrentSchoolCount>0</CurrentSchoolCount>
      <Email>String</Email>
      <FirstName>String</FirstName>
      <IsActive>false</IsActive>
      <LastName>String</LastName>
      <LicensedStates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </LicensedStates>
      <Location>
        <City>String</City>
        <State>String</State>
        <Zip>String</Zip>
      </Location>
      <MaxSchoolCount>0</MaxSchoolCount>
      <Phone>String</Phone>
      <Rank>String</Rank>
      <Upline1>
        <AgentId>String</AgentId>
        <FirstName>String</FirstName>
        <LastName>String</LastName>
      </Upline1>
      <Upline2>
        <AgentId>String</AgentId>
        <FirstName>String</FirstName>
        <LastName>String</LastName>
      </Upline2>
      <Upline3>
        <AgentId>String</AgentId>
        <FirstName>String</FirstName>
        <LastName>String</LastName>
      </Upline3>
      <Upline4>
        <AgentId>String</AgentId>
        <FirstName>String</FirstName>
        <LastName>String</LastName>
      </Upline4>
    </AFConnectAgentData>
  </Agents>
  <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>
</AFConnectAgentResponse>