Update single ChatroomMessage

PUT /api/cp/chat/chatroom_message/{identifier}

Path parameters

  • identifier string Required

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

application/json

Body Required

  • data object
    Hide data attributes Show data attributes object
    • id integer
    • message_text string
    • completed boolean

Responses

  • 200 application/json

    Update single ChatroomMessage

    Hide response attributes Show response attributes object
    • id integer
    • message_text string
    • completed boolean
PUT /api/cp/chat/chatroom_message/{identifier}
curl \
 --request PUT 'https://replace-with-own-host.iw-erp.de/api/cp/chat/chatroom_message/{identifier}' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"id":42,"message_text":"string","completed":true}}'
Request examples
{
  "data": {
    "id": 42,
    "message_text": "string",
    "completed": true
  }
}
Response examples (200)
{
  "id": 42,
  "message_text": "string",
  "completed": true
}