HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetLeaderboardRequest HTTP/1.1
Host: testapi2.teamifg.com
Content-Type: application/xml
Content-Length: length
<GetLeaderboardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<EndDate>String</EndDate>
<StartDate>String</StartDate>
</GetLeaderboardRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetLeaderboardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<AgentCashFlow>
<Leaderboard>
<AnnuityCashFlow>0</AnnuityCashFlow>
<IsAVP>false</IsAVP>
<IsAgent>false</IsAgent>
<IsMVP>false</IsMVP>
<IsRVP>false</IsRVP>
<LifeCashFlow>0</LifeCashFlow>
<Location>String</Location>
<MedicareCashFlow>0</MedicareCashFlow>
<Name>String</Name>
<Phone>String</Phone>
<PointsAnnuity>0</PointsAnnuity>
<PointsLife>0</PointsLife>
<Position>0</Position>
<PremiumAnnuity>0</PremiumAnnuity>
<PremiumLife>0</PremiumLife>
<TotalCashFlow>0</TotalCashFlow>
<TotalPoints>0</TotalPoints>
<Upline1Name>String</Upline1Name>
<Upline2Name>String</Upline2Name>
</Leaderboard>
</AgentCashFlow>
<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>
</GetLeaderboardResponse>