HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/CaseDesignOptimizedFundingSourceRequest HTTP/1.1
Host: testapi.responsible-advisor.com
Content-Type: text/csv
Content-Length: length
InputObject,Insert,Delete,Update
"{Id:0,CaseDesignId:0,FundingSourceId:0,AllocationType:0,DateModified:0001-01-01,DateCreated:0001-01-01,LastUpdatedUser:String,FundingSource:{Id:0,Name:String,Description:String,Formula:String,Available:False,IsRetirementPlan:False,ReducesAGI:False,Yearly:False,IsBalance:False,CanAllocateToDebt:False,CanAllocateToCollege:False,CanAllocateToRetirement:False,ApplyToCurrent:False,ApplyToOptimized:False,MaxTransferPercentage:0,AvailabilityOffsetDays:0,DateCreated:0001-01-01,DateUpdated:0001-01-01,UpdatedBy:String,CreatedBy:String}}",False,False,False
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
OutputObject,ResponseStatus
"[{Id:0,CaseDesignId:0,FundingSourceId:0,AllocationType:0,DateModified:0001-01-01,DateCreated:0001-01-01,LastUpdatedUser:String,FundingSource:{Id:0,Name:String,Description:String,Formula:String,Available:False,IsRetirementPlan:False,ReducesAGI:False,Yearly:False,IsBalance:False,CanAllocateToDebt:False,CanAllocateToCollege:False,CanAllocateToRetirement:False,ApplyToCurrent:False,ApplyToOptimized:False,MaxTransferPercentage:0,AvailabilityOffsetDays:0,DateCreated:0001-01-01,DateUpdated:0001-01-01,UpdatedBy:String,CreatedBy:String}}]","{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"