HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/SlotDistrictRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/csv
Content-Length: length
SlotDistrict,ID
"{ID:0,Name:String,County:String,DistrictId:0,DistrictName:String,Address_Physical:String,Address_Mailing:String,City:String,Zip:String,Zip_4:String,StateId:0,State:String,Phone:String,NumEmployees:0,NumSchools:0,Type:String,Status_NLG:False,Status_Midland:False,Status_Great_American:False,Status_VOYA:False,MVP:0,RVP:0,Agents:[0],MilesAway:0,HasComments:False}",0
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,SlotDistrict
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{ID:0,Name:String,County:String,DistrictId:0,DistrictName:String,Address_Physical:String,Address_Mailing:String,City:String,Zip:String,Zip_4:String,StateId:0,State:String,Phone:String,NumEmployees:0,NumSchools:0,Type:String,Status_NLG:False,Status_Midland:False,Status_Great_American:False,Status_VOYA:False,MVP:0,RVP:0,Agents:[0],MilesAway:0,HasComments:False}]"