The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
RootAgentId: 0,
Agents:
[
{
AgentId: 0,
FirstName: String,
LastName: String,
AgentNumber: String,
AgentStatus: String,
Rank: String,
ParentAgentId: 0,
ParentName: String,
Depth: 0,
TreePath: String,
MasterAccount: 0,
PersonId: 0,
IsRoot: False
}
],
Production:
[
{
AgentId: 0,
BatchId: 0,
Policies: 0,
FirstYearPolicies: 0,
RenewalPolicies: 0,
PremiumPolicies: 0,
Premium: 0,
Payout: 0,
Clawback: 0,
ClawbackPolicies: 0,
Survived: 0,
Dead: 0,
Pending: 0,
PremiumBucketNone: 0,
PremiumBucket1: 0,
PremiumBucket2: 0,
PremiumBucket3: 0,
PremiumBucket4: 0
}
],
ProductMix:
[
{
AgentId: 0,
BatchId: 0,
ProductType: String,
Policies: 0
}
],
Batches:
[
{
BatchId: 0,
CommissionStartDate: 0001-01-01,
CommissionEndDate: 0001-01-01,
PaymentDate: 0001-01-01,
Label: String,
IsUnbatched: False
}
]
}