HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/CRM_CampaignTemplateRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/csv
Content-Length: length
CampaignTemplateId,CRM_CampaignTemplate
0,"[{CampaignTemplateId:0,TemplateName:String,CampaignTypeId:0,Template:String,EmailTemplate:String,DateCreated:0001-01-01,DateDeleted:0001-01-01,Image:String,Thumbnail:String}]"
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,CRM_CampaignTemplate
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{CampaignTemplateId:0,TemplateName:String,CampaignTypeId:0,Template:String,EmailTemplate:String,DateCreated:0001-01-01,DateDeleted:0001-01-01,Image:String,Thumbnail:String}]"