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