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: testapi3.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>
<_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>