HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/TeamPolicyProductionRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: application/xml
Content-Length: length
<TeamPolicyProductionRequest 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>
<IncludeInactive>false</IncludeInactive>
<RootAgentId>0</RootAgentId>
</TeamPolicyProductionRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<TeamPolicyProductionResponse 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>
<ProductMix>
<TeamPolicyProductionProductMix>
<AgentId>0</AgentId>
<BatchId>0</BatchId>
<Policies>0</Policies>
<ProductType>String</ProductType>
</TeamPolicyProductionProductMix>
</ProductMix>
<Production>
<TeamPolicyProductionAgentBatch>
<AgentId>0</AgentId>
<BatchId>0</BatchId>
<Clawback>0</Clawback>
<ClawbackPolicies>0</ClawbackPolicies>
<Dead>0</Dead>
<FirstYearPolicies>0</FirstYearPolicies>
<Payout>0</Payout>
<Pending>0</Pending>
<Policies>0</Policies>
<Premium>0</Premium>
<PremiumBucket1>0</PremiumBucket1>
<PremiumBucket2>0</PremiumBucket2>
<PremiumBucket3>0</PremiumBucket3>
<PremiumBucket4>0</PremiumBucket4>
<PremiumBucketNone>0</PremiumBucketNone>
<PremiumPolicies>0</PremiumPolicies>
<RenewalPolicies>0</RenewalPolicies>
<Survived>0</Survived>
</TeamPolicyProductionAgentBatch>
</Production>
<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>
</TeamPolicyProductionResponse>