The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentHierarchyBonusRequest HTTP/1.1
Host: testapi3.teamifg.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
AgentId: 0,
DownlineAgentId: 0,
LifeProductsPercent: 0,
MedicareProductsPercent: 0,
MedicareSupplementFlat: 0,
AnnuityProductsPercent: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
HierarchyBonuses:
[
{
Id: 0,
AgentId: 0,
DownlineAgentId: 0,
DownlineAgentName: String,
LifeProductsPercent: 0,
MedicareProductsPercent: 0,
MedicareSupplementFlat: 0,
AnnuityProductsPercent: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}