Pera ServiceStack

<back to all web services

ConversationRequest

The following routes are available for this service:
GET/v1/Conversation/{TableName}/{FieldName}/{RecordId}

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/ConversationRequest HTTP/1.1 
Host: api2.publicemployeeretirementassistance.com 
Content-Type: text/csv
Content-Length: length

TableName,FieldName,RecordId,ReadFlag
String,String,0,False

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

ResponseStatus,Conversation
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{Details:[{ConversationDetailId:00000000000000000000000000000000,ConversationHeaderId:00000000000000000000000000000000,Comment:String,DateCreated:0001-01-01T00:00:00.0000000+00:00,CreatedBy:00000000000000000000000000000000,CreatedByName:String,AttachmentId:00000000000000000000000000000000,IsDeletedComment:False}],ConversationHeaderId:00000000000000000000000000000000,TableName:String,FieldName:String,RecordId:0,OwnerHasRead:False}"