FlagAsRead method should be used to mark the read events. If not marked, next4biz can’t know whether you processed the event or not. Therefore, it is a best practice to call FlagAsRead right after you process the events you get by calling GetEvents method.
| Name | Value | |
|---|---|---|
| REST-API METHOD | FlagAsRead | |
| HTTP METHOD | POST | |
| RESPONSE TYPE | XML | |
| URL | https://api.csm.next4biz.net/api/RES/FlagAsRead?companyId={CompanyId}&userId={UserId}&eventId={EventId} | |
| REQUEST HEAD | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/json | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml |
true string if the method succeeds.
false