TicketComments

Update a ticket comment

put/tickets/comments/{id}

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/tickets/comments/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

Id to the relevant resource

Request body

Example request

{
  "content": {
    "id": 1,
    "taskid": 1,
    "userid": 1,
    "comment": "A comment",
    "autocomment": "sms_task_created",
    "created": "2019-08-27 10:00:00",
    "smslog": {
      "id": 1,
      "size": 2,
      "gateway_id": 1000,
      "gateway_status": "DELIVERED",
      "gateway_time": 1576748431,
      "inbound": 1,
      "country": "DK",
      "template": "sms_task_created",
      "error_status": "PAYMENT_FAILED"
    }
  }
}

Response

Ok

Example response

{
  "content": {
    "id": 1,
    "taskid": 1,
    "userid": 1,
    "comment": "A comment",
    "autocomment": "sms_task_created",
    "created": "2019-08-27 10:00:00",
    "smslog": {
      "id": 1,
      "size": 2,
      "gateway_id": 1000,
      "gateway_status": "DELIVERED",
      "gateway_time": 1576748431,
      "inbound": 1,
      "country": "DK",
      "template": "sms_task_created",
      "error_status": "PAYMENT_FAILED"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.