HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/TeamEarningsRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: application/xml
Content-Length: length
<TeamEarningsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<BatchIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>0</d2p1:decimal>
</BatchIds>
<ComparisonBatchIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>0</d2p1:decimal>
</ComparisonBatchIds>
<IncludeInactive>false</IncludeInactive>
<RootAgentId>0</RootAgentId>
</TeamEarningsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<TeamEarningsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bombshell.AgencyPlatform.API.Internal">
<Agents>
<TeamEarningsAgent>
<AgentId>0</AgentId>
<AgentNumber>String</AgentNumber>
<AgentStatus>String</AgentStatus>
<Depth>0</Depth>
<FirstName>String</FirstName>
<IsRoot>false</IsRoot>
<LastName>String</LastName>
<MasterAccount>0</MasterAccount>
<ParentAgentId>0</ParentAgentId>
<ParentName>String</ParentName>
<PersonId>0</PersonId>
<Rank>String</Rank>
<TreePath>String</TreePath>
</TeamEarningsAgent>
</Agents>
<Batches>
<TeamEarningsBatch>
<BatchId>0</BatchId>
<CommissionEndDate>0001-01-01T00:00:00</CommissionEndDate>
<CommissionStartDate>0001-01-01T00:00:00</CommissionStartDate>
<IsUnbatched>false</IsUnbatched>
<Label>String</Label>
<PaymentDate>0001-01-01T00:00:00</PaymentDate>
</TeamEarningsBatch>
</Batches>
<Earnings>
<TeamEarningsAgentBatch>
<AdjustmentCredit>0</AdjustmentCredit>
<AdjustmentDebit>0</AdjustmentDebit>
<AdjustmentLead>0</AdjustmentLead>
<AdjustmentNet>0</AdjustmentNet>
<Advance>0</Advance>
<AgentId>0</AgentId>
<AsEarned>0</AsEarned>
<Backend>0</Backend>
<BackendClawback>0</BackendClawback>
<BackendClawbackForgiven>0</BackendClawbackForgiven>
<BatchId>0</BatchId>
<Clawback>0</Clawback>
<ClawbackPolicyCount>0</ClawbackPolicyCount>
<DownlineOverrideAmount>0</DownlineOverrideAmount>
<ListingCount>0</ListingCount>
<ListingsNet>0</ListingsNet>
<NegativeTotal>0</NegativeTotal>
<NetEarnings>0</NetEarnings>
<Other>0</Other>
<OtherBonus>0</OtherBonus>
<OverrideBonus>0</OverrideBonus>
<PayoutPolicyCount>0</PayoutPolicyCount>
<PersonalProductionAmount>0</PersonalProductionAmount>
<PositiveTotal>0</PositiveTotal>
<Residual>0</Residual>
<SurvivalBonus>0</SurvivalBonus>
</TeamEarningsAgentBatch>
</Earnings>
<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>
<RootAgentId>0</RootAgentId>
</TeamEarningsResponse>