HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/AgentContactInfoRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/csv
Content-Length: length
AgentContactInfo,AgentId
"[{Id:00000000000000000000000000000000,AgentId:0,PhysicalAddress:String,PhysicalCity:String,PhysicalState:String,PhysicalZip:String,MailingAddress:String,MailingCity:String,MailingState:String,MailingZip:String,PhoneNumber:String,Reference1Name:String,Reference1Phone:String,Reference2Name:String,Reference2Phone:String,DateCreated:0001-01-01}]",0
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,AgentContactInfo
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{Id:00000000000000000000000000000000,AgentId:0,PhysicalAddress:String,PhysicalCity:String,PhysicalState:String,PhysicalZip:String,MailingAddress:String,MailingCity:String,MailingState:String,MailingZip:String,PhoneNumber:String,Reference1Name:String,Reference1Phone:String,Reference2Name:String,Reference2Phone:String,DateCreated:0001-01-01}]"