Update the specified conversation.

put

/social/api/v1/conversations/{conversationID}

Request

Supported Media Types
Path Parameters
Body ()
The request body defines the details of the request.
Root Schema : XV1ConversationUpdateInfo
Type: object
V1 Conversation Update Information.
Show Source
Nested Schema : XConversationUpdater
Type: object
Updater for conversations.
Show Source

Response

Supported Media Types

200 Response

Successful operation.
Body ()
V1 Conversation Information DTO.
Root Schema : XV1ConversationInfo
Type: object
V1 Conversation Information DTO.
Show Source
Nested Schema : XV1HierarchicalMembersInfo
Type: object
V1 Hierarchical Members Information DTO.
Show Source
Nested Schema : secondaryExternalIDs
Type: array
The secondary external IDs for this conversation.
Show Source
  • The secondary external IDs for this conversation.
Nested Schema : XV1ConversationState
Type: object
Show Source
  • Allowed Values: [ "CLOSED_CHAINED", "CLOSED_DISABLED", "CLOSED_DROPPED", "CLOSED_RESOLVED", "OPEN_ACTIVE" ]
    V1 Conversation States.
Nested Schema : XV1WallPostControlEnum
Type: object
Show Source
  • Allowed Values: [ "ANYONE_CAN_POST", "OWNER_ONLY_POSTS", "OWNER_TOP_LEVEL" ]
    V1 Wall Posting Control Enum.
Nested Schema : XV1FolderIDListInfo
Type: object
List of folder IDs.
Show Source
Nested Schema : XV1IgnoredMemberListInfo
Type: object
List of ignored members.
Show Source
Nested Schema : XV1IgnoredUserListInfo
Type: object
List of ignored users.
Show Source
Nested Schema : XV1HierarchicalMembersOperationType
Type: object
Show Source
  • Allowed Values: [ "ASSOCIATE_CONVERSATION", "CREATE_CONVERSATION", "MOVE_FILE", "MOVE_FOLDER", "MOVE_MEMBERS", "REMOVE_MEMBERS", "REMOVE_MEMBERS_OBJECT", "SHARE_FOLDER" ]
    V1 Collaboration API Operation Types on Hierarchical Members.
Nested Schema : ids
Type: array
List of folder IDs.
Show Source
Nested Schema : groups
Type: array
List of users.
Show Source
Nested Schema : users
Type: array
List of users.
Show Source
Nested Schema : users
Type: array
List of users.
Show Source

Examples

The following example shows how to update the specified conversation by submitting a PUT request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X PUT -c mycookies.jar -b mycookies.jar -H 'X-Waggle-RandomID:b97554e5a31e50a734899ee4f79218bd' -H 'Content-Type: application/json' https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006 -d '{ "updater" : {"State":"OPEN_ACTIVE", "Altitude":"15"}}'

Example of Request Body

The following shows an example of the request document in JSON format.

{
  "updater" : {"State":"OPEN_ACTIVE", "Altitude":"15"}
}

Example of Response Body

The following shows an example of the response JSON document.

"jeff.pringle@example.com",
  "createdByUserDisplayName" : "jeff.pringle@example.com",
  "createdByURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/people/11001",
  "createdDate" : 1455325485929,
  "modifiedByID" : "11001",
  "modifiedByUserName" : "jeff.pringle@example.com",
  "modifiedByUserDisplayName" : "jeff.pringle@example.com",
  "modifiedByURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/people/11001",
  "modifiedDate" : 1455326386743,
  "isRemoved" : false,
  "url" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006",
  "externalID" : "ext00055",
  "secondaryExternalIDs" : ["ext00055"],
  "isScoping" : false,
  "isScopingSame" : false,
  "isScoped" : false,
  "state" : "OPEN_ACTIVE",
  "isDiscoverable" : false,
  "wallPostControl" : "ANYONE_CAN_POST",
  "hasMembersLocked" : false,
  "isDisallowGuests" : false,
  "isDisallowOutsiders" : false,
  "nOutsiders" : 0,
  "isExtendedAccessControl" : false,
  "folderID" : "22011",
  "role" : "HOST",
  "isMuted" : false,
  "isNew" : true,
  "nChats" : 2,
  "nMarkableChats" : 1,
  "nUnread" : 0,
  "nFollowups" : 0,
  "membersURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/members",
  "membershipsURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/memberships",
  "messagesURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/messages",
  "propertiesURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/properties",
  "userPropertiesURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/userProperties",
  "starsURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/stars",
  "likesURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/likes",
  "gadgetsURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/gadgets",
  "archiveURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/conversations/22006/archive",
  "folderURL" : "https://socialnetwork06065-ustraveler15926.socialnetwork.dc1.c9dev1.example.com/osn/social/api/v1/folders/22011"
}