Field Squared API Services

<back to all web services

ConversationEvent

The following routes are available for this service:
POST/{Workspace}/ConversationEvent
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class ConversationEvent
    {
        public String ObjectId = null;
        public String Workspace = null;
        public String Date = null;
        public String ConversationId = null;
        public String UserId = null;
        public String Text = null;
        public String ThumbnailId = null;
        public Boolean IsLink = null;
        
        public String getObjectId() { return ObjectId; }
        public ConversationEvent setObjectId(String value) { this.ObjectId = value; return this; }
        public String getWorkspace() { return Workspace; }
        public ConversationEvent setWorkspace(String value) { this.Workspace = value; return this; }
        public String getDate() { return Date; }
        public ConversationEvent setDate(String value) { this.Date = value; return this; }
        public String getConversationId() { return ConversationId; }
        public ConversationEvent setConversationId(String value) { this.ConversationId = value; return this; }
        public String getUserId() { return UserId; }
        public ConversationEvent setUserId(String value) { this.UserId = value; return this; }
        public String getText() { return Text; }
        public ConversationEvent setText(String value) { this.Text = value; return this; }
        public String getThumbnailId() { return ThumbnailId; }
        public ConversationEvent setThumbnailId(String value) { this.ThumbnailId = value; return this; }
        public Boolean getIsLink() { return IsLink; }
        public ConversationEvent setIsLink(Boolean value) { this.IsLink = value; return this; }
    }

}

Java ConversationEvent DTOs

To override the Content-type in your clients, use the 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 /{Workspace}/ConversationEvent HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ObjectId":"String","Workspace":"String","Date":"String","ConversationId":"String","UserId":"String","Text":"String","ThumbnailId":"String","IsLink":false}