Skip to content

markAssociationChatRead

Leon edited this page Oct 17, 2022 · 1 revision

/api/markAssociationChatRead/

Marks all association chat messages as read

  • URL

    /api/markAssociationChatRead/

  • Authentication:

    Logged in

    Not Blocked

  • Method:

    GET

  • URL Params

    None

  • Data Params

    Required:

    None

  • Success Response:

    • Code: 200
      Content: { status : "success"}
  • Error Response:

    • Code: 400 BAD REQUEST
      Content: { status : "error", msg : {title: "Fehler Titel", content: "Fehler Text"} }
  • Sample Call:

        $.ajax({
            url: "/api/markAssociationChatRead",
            dataType: "json",
            type : "GET",
            success : function(r) {
              console.log(r);
            }
        });
Clone this wiki locally