HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/CommissionTestCaseRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/csv
Content-Length: length
Id,CommissionTestCase
0,"[{Id:0,Name:String,PolicyProductId:0,SourceTypeId:0,PlanType:String,P2PTypeId:0,GrossCommission:0,WritingIndex:0,ProcessDate:0001-01-01,AppSubmitDate:0001-01-01,EffectiveDate:0001-01-01,InsuredAnnuitant:String,CommissionPolicyId:0,ControlledBusiness:False,GrossSign:String,Signature:String,Status:String,SourceCommissionRecordId:0,ApprovedBy:String,ApprovedDate:0001-01-01,DateCreated:0001-01-01,DateModified:0001-01-01,Levels:[{Id:0,CommissionTestCaseId:0,Position:0,AgentLevelId:0,ExpectedAmount:0}]}]"
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,CommissionTestCase
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{Id:0,Name:String,PolicyProductId:0,SourceTypeId:0,PlanType:String,P2PTypeId:0,GrossCommission:0,WritingIndex:0,ProcessDate:0001-01-01,AppSubmitDate:0001-01-01,EffectiveDate:0001-01-01,InsuredAnnuitant:String,CommissionPolicyId:0,ControlledBusiness:False,GrossSign:String,Signature:String,Status:String,SourceCommissionRecordId:0,ApprovedBy:String,ApprovedDate:0001-01-01,DateCreated:0001-01-01,DateModified:0001-01-01,Levels:[{Id:0,CommissionTestCaseId:0,Position:0,AgentLevelId:0,ExpectedAmount:0}]}]"