Pera ServiceStack

<back to all web services

CRM_DropboxRequest

The following routes are available for this service:
GET,POST,OPTIONS/v1/CRM_Dropbox
GET/v1/CRM_Dropbox/{AgentName}
POST,OPTIONS/v1/CRM_Dropbox/{AttachmentId}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/CRM_DropboxRequest HTTP/1.1 
Host: api.publicemployeeretirementassistance.com 
Content-Type: text/csv
Content-Length: length

Dropbox,AttachmentId,AgentName,TableName,FieldName,RecordIds,IsNewApplication,AgentId,AgentEmail,FullNameAttachee
"[{Id:0,AttachmentId:00000000000000000000000000000000,FirstName:String,LastName:String,Description:String,DateAdded:0001-01-01}]",String,String,String,String,[0],False,False,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ResponseStatus,Dropbox
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{AttachmentName:String,AgentName:String,MimeType:String,Id:0,AttachmentId:00000000000000000000000000000000,FirstName:String,LastName:String,Description:String,DateAdded:0001-01-01}]"