HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/AgentDownlineAggregateRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: application/xml
Content-Length: length
<AgentDownlineAggregateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<AgentId>0</AgentId>
<IncludeInactive>false</IncludeInactive>
<ProcessDateEnd>0001-01-01T00:00:00</ProcessDateEnd>
<ProcessDateStart>0001-01-01T00:00:00</ProcessDateStart>
</AgentDownlineAggregateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<AgentDownlineAggregateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<Agents>
<AgentDownlineAggregateAgentItem>
<AgentId>0</AgentId>
<AgentName>String</AgentName>
<AgentNumber>String</AgentNumber>
<AgentStatus>String</AgentStatus>
<AvgBrokerPayout>0</AvgBrokerPayout>
<AvgCorporatePayout>0</AvgCorporatePayout>
<AvgManagerPayout>0</AvgManagerPayout>
<AvgPartnerPayout>0</AvgPartnerPayout>
<AvgWritingAgentPayout>0</AvgWritingAgentPayout>
<BrokerPayout>0</BrokerPayout>
<CorporatePayout>0</CorporatePayout>
<HierarchyLevel>0</HierarchyLevel>
<ManagerPayout>0</ManagerPayout>
<PartnerPayout>0</PartnerPayout>
<PoliciesFirstYear>0</PoliciesFirstYear>
<PoliciesNetZero>0</PoliciesNetZero>
<PoliciesSubmitted>0</PoliciesSubmitted>
<Rank>String</Rank>
<TotalPayout>0</TotalPayout>
<WritingAgentPayout>0</WritingAgentPayout>
</AgentDownlineAggregateAgentItem>
</Agents>
<Ranks>
<AgentDownlineAggregateRankItem>
<ListingCount>0</ListingCount>
<RankLabel>String</RankLabel>
<RoleCode>0</RoleCode>
<RoleName>String</RoleName>
<TotalAmount>0</TotalAmount>
</AgentDownlineAggregateRankItem>
</Ranks>
<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>
<Summary>
<AvgBrokerPayout>0</AvgBrokerPayout>
<AvgCorporatePayout>0</AvgCorporatePayout>
<AvgManagerPayout>0</AvgManagerPayout>
<AvgPartnerPayout>0</AvgPartnerPayout>
<AvgTotalPayout>0</AvgTotalPayout>
<AvgWritingAgentPayout>0</AvgWritingAgentPayout>
<BrokerPayoutTotal>0</BrokerPayoutTotal>
<CorporatePayoutTotal>0</CorporatePayoutTotal>
<DownlineAgentCount>0</DownlineAgentCount>
<HierarchyAgentCount>0</HierarchyAgentCount>
<ManagerPayoutTotal>0</ManagerPayoutTotal>
<PartnerPayoutTotal>0</PartnerPayoutTotal>
<PoliciesFirstYear>0</PoliciesFirstYear>
<PoliciesNetZero>0</PoliciesNetZero>
<PoliciesSubmitted>0</PoliciesSubmitted>
<ProcessDateEnd>0001-01-01T00:00:00</ProcessDateEnd>
<ProcessDateStart>0001-01-01T00:00:00</ProcessDateStart>
<SelectedAgentId>0</SelectedAgentId>
<SelectedAgentName>String</SelectedAgentName>
<SelectedAgentNumber>String</SelectedAgentNumber>
<SelectedAgentPartnerId>0</SelectedAgentPartnerId>
<SelectedAgentRank>String</SelectedAgentRank>
<TotalPayout>0</TotalPayout>
<WritingAgentCount>0</WritingAgentCount>
<WritingAgentPayoutTotal>0</WritingAgentPayoutTotal>
</Summary>
</AgentDownlineAggregateResponse>