Notes

Get a list of note comments

Changed on

Retrieves a list of comments for a specific note (required scope notes:read)

get/v1/notes/{noteId}/comments

Request

  • Base URL
    https://api.bigchange.com
  • URL
    https://api.bigchange.com/v1/notes/{noteId}/comments
  • Auth
    HTTP bearer

Path parameters

noteIdinteger required

The unique identifier of the note

Query parameters

sortBy'createdAt' | 'dueAt' | 'progressedAt' | 'status' | 'progressPercentage'

Represents the fields that can be used to sort notes<p>Possible values:</p><ul><li><b>createdAt</b>: The creation date</li><li><b>dueAt</b>: The due date</li><li><b>progressedAt</b>: The last progress date</li><li><b>status</b>: The status</li><li><b>progressPercentage</b>: The progress percentage</li></ul>

Example:createdAt

The field to sort items in the page by

direction'ascending' | 'descending'

Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>

Example:ascending

The direction to apply the sort

pageNumberinteger

The page number being requested (minimum: 1, maximum: 2147483)

pageSizeinteger

The page size being requested (minimum: 1, maximum: 1000)

Headers

Customer-Idinteger required

The customer identifier

Response

OK

pageNumberinteger

The page number of the response where 1 is the first page

pageSizeinteger

The number of items requested for the current page

pageItemCountinteger

The number of items returned in the current page

Example response

{
  "items": [
    {
      "id": 5514123,
      "entityType": "contact",
      "entityId": 5514123,
      "contactId": 47644689,
      "typeId": 5514123,
      "createdAt": "2022-11-29T16:50:16.0000000+00:00",
      "subject": "Call Mr Brown",
      "parentId": 5514123,
      "dueAt": "2022-11-29T16:50:16.0000000+00:00",
      "progressedAt": "2022-11-29T16:50:16.0000000+00:00",
      "reference": "5514123",
      "status": "open",
      "description": "Message left by Mr Brown regarding the recent installation of his CCTC cameras. He can't get one of them working and needs some technical support.",
      "completionText": "Called the customer, he is now happy with the work",
      "progressPercentage": 50,
      "createdByUserName": "Mr. Jones",
      "ownedByUserId": 1245,
      "ownedByUserName": "Mr. Smith",
      "customFields": [
        {
          "definitionId": 5514123,
          "value": "Purple",
          "definition": {
            "caption": "Favourite colour",
            "type": "boolean",
            "listOptions": [
              "Red",
              "Blue",
              "Green",
              "Purple"
            ],
            "isRequired": true,
            "isEditable": true,
            "default": "10"
          },
          "systemListValueMetadata": {
            "label": "John Doe",
            "entityType": "resource"
          }
        }
      ]
    }
  ],
  "pageNumber": 2,
  "pageSize": 100,
  "pageItemCount": 55
}

Changes

    • info

      added the non-success response with the status

    • info

      added the new optional query request parameter direction

    • info

      added the new optional query request parameter pageNumber

    • info

      added the new optional query request parameter pageSize

    • info

      added the new optional query request parameter sortBy