TicketComments

Get list of ticket comments

get/tickets/comments

Request

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

Query parameters

taskidinteger

Filter by task id

excludeautocommentstring[]

Array of autocomment values to exclude

includenullautocommentsboolean

Whether or not to include comment if autocomment is null, task comments have a autocomment of null by default

paginationStartnumber

Start of pagination

paginationPageLengthnumber

Pagination page length

Response

Ok

countinteger nullable

Number of ticket comments

hasMoreboolean

True if there are data to retrieve than the given page length

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"
      }
    }
  ],
  "count": 5
}

Changes

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