PATCH API/V40/Interactive/Messages/{code}

Mark message as read

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

The request model.

UpdateMessageRequest
NameDescriptionTypeAdditional information
SessionToken

The token associated with this session of API interactions. This token should always be included in API calls, because it contains important session state information.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "sessionToken": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseContainerModel
NameDescriptionTypeAdditional information
SessionToken

The token associated with this session of API interactions. Generally this is the same token passed with the API request parameters, but under certain circumstances this can be changed before being sent back to the caller.

string

ResponsesIncluded

A list of response messages names contained in this composite message, for easy pre-parsing.

string

Responses

A list of response messages contained in this composite message.

Collection of Object

Status

The success status the composite message.

CompositeStatus

Response Formats

application/json, text/json

Sample:
{
  "sessionToken": "-OAK_TwU3YgKAAAAAAAAAAAAAAA.4hmXr-9HcACz0M_hv1aAqp0YXw6C7bKSZgFVF2qli6g",
  "responsesIncluded": "responseStatus",
  "responses": [
    {
      "responseStatus": {
        "succeeded": true
      }
    }
  ],
  "status": "Success"
}