| GET,POST | /{Workspace}/Conversation | ||
|---|---|---|---|
| GET | /{Workspace}/Conversation/{ObjectId} | ||
| GET | /{Workspace}/Conversation/Search/{MemberId} | ||
| GET | /{Workspace}/Conversation/Search/{SearchType}/{SearchText} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ObjectId | path | string | No | |
| Workspace | path | string | No | |
| TeamId | body | string | No | |
| Members | body | List<string> | No | |
| Events | body | List<ConversationEvent> | No | |
| Unread | body | long | No | |
| MemberId | path | string | No | |
| SearchType | path | string | No | |
| SearchText | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ObjectId | form | string | No | |
| Workspace | form | string | No | |
| Date | form | string | No | |
| ConversationId | form | string | No | |
| UserId | form | string | No | |
| Text | form | string | No | |
| ThumbnailId | form | string | No | |
| IsLink | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /{Workspace}/Conversation HTTP/1.1
Host: dev.fieldsquared.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ObjectId":"String","Workspace":"String","TeamId":"String","Members":["String"],"Events":[{"ObjectId":"String","Workspace":"String","Date":"String","ConversationId":"String","UserId":"String","Text":"String","ThumbnailId":"String","IsLink":false}],"Unread":0,"MemberId":"String","SearchType":"String","SearchText":"String"}