Bombshell Agency Platform Service

<back to all web services

AgentHistoricalHierarchyRequest

The following routes are available for this service:
POST,OPTIONS/v1/AgentHistoricalHierarchy
GET,OPTIONS/v1/AgentHistoricalHierarchy/{AgentId}/{RecordDate}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/AgentHistoricalHierarchyRequest HTTP/1.1 
Host: api2.exactmedicare.com 
Content-Type: application/json
Content-Length: length

{"AgentId":0,"RecordDate":"0001-01-01T00:00:00.0000000","HierarchyDate":"0001-01-01T00:00:00.0000000","HierarchyDateEnd":"0001-01-01T00:00:00.0000000","AgentLevel":0,"Rank":"String","UseCurrentHierarchy":false,"Notes":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"AgentHistoricalHierarchy":[{"Upline1Current":0,"Upline1NameCurrent":"String","Upline1PercentCurrent":0,"Upline2Current":0,"Upline2NameCurrent":"String","Upline2PercentCurrent":0,"AgentId":0,"AgentNumber":"String","FirstName":"String","LastName":"String","AgentLevel":0,"Rank":"String","Upline1":0,"Upline1Name":"String","Upline1Percent":0,"Upline2":0,"Upline2Name":"String","Upline2Percent":0}]}