HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/CRM_ContactImportUploadRequest HTTP/1.1
Host: api2.publicemployeeretirementassistance.com
Content-Type: text/csv
Content-Length: length
AgentID,Attachment
0,"[{AttachmentId:00000000000000000000000000000000,TableName:String,FieldName:String,RecordId:0,AttachmentName:String,MimeType:String,AttachmentData:AA==,FileSizeInKB:0,CreatedDate:0001-01-01,CreatedBy:String,NeedsOCR:False,OCRDate:0001-01-01}]"
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,CRM_Attachment
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{AttachmentId:00000000000000000000000000000000,TableName:String,FieldName:String,RecordId:0,AttachmentName:String,MimeType:String,AttachmentData:AA==,FileSizeInKB:0,CreatedDate:0001-01-01,CreatedBy:String,NeedsOCR:False,OCRDate:0001-01-01}]"