Depending on applicable regulations or business limitations, specific API requests may not be available for your use.
Update a Message
This request update a message.
Available action include mark a message as read/not read or delete a message
Request URL
Syntax | PUT /restapi/members/{loginid}/messages |
---|---|
Example URL | https://api.uat.foliofn.com/restapi/members/testusername/messages |
Request Data Fields
Field | Description |
---|---|
Message Ids | List of message Ids to be updated |
Message Status | Status messages to be updated to: R(read)/U(unread)/D(delete) |
Request Example
PUT https://api.uat.foliofn.com/restapi/members/testusername/messages
Content-Type: application/json
{
"messageStatus": "R",
"messageIds": [
"acea1d31-abcd-9999-9er5-abcdefghijk",
"acea1d31-abcd-9999-9er5-abcdefghijk"
]
}
Response Example
HTTP/1.1 200 OK
Date: Thu, 07 Jun 2018 18:48:10 GMT
Content-Length: 0
Content-Language: en
Error Codes
Code | Description |
---|---|
messageid.invalid | The message id is invalid |
Change Log
03/05/2020
- Remove the extra empty line(s)
07/19/2018
- Created page.