Nápověda

List comments on a ticket.

List comments on a ticket.

GET
/tickets/{id}/comments

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Path Parameters

id*string
Formatuuid

Query Parameters

$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer

Page size. Host OData:MaxTop is 10000.

Range0 <= value <= 10000
$skip?integer
Range0 <= value

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

Comment

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "value": [    {      "threadId": "51f72284-0555-48fe-a20a-4369ee94dc3e",      "text": "string",      "commentTypeId": "ce722d2e-a7b0-41a5-a5cf-d354604b4e36",      "originalUser": {        "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",        "userName": "string",        "person": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "firstName": "string",          "lastName": "string",          "company": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",        "tenantUser": {          "isAppUser": true,          "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",          "company": {            "roles": [              "Manufacturer"            ],            "identificationNumber": "string",            "emailAddress": "string",            "phoneNumber": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": {                "latitude": "string",                "longitude": "string"              },              "countryCode": "string"            },            "extensionValues": {},            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "isSoftDeleted": true,        "sortableFullName": "string",        "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "lastUser": {        "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",        "userName": "string",        "person": {          "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",          "firstName": "string",          "lastName": "string",          "company": {            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "tenantUserId": "317fdf58-24a9-48e5-8924-89e6013f4093",        "tenantUser": {          "isAppUser": true,          "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",          "company": {            "roles": [              "Manufacturer"            ],            "identificationNumber": "string",            "emailAddress": "string",            "phoneNumber": "string",            "address": {              "streetAddress1": "string",              "streetAddress2": "string",              "streetAddress3": "string",              "city": "string",              "cityDistrict": "string",              "postalCode": "string",              "coordinates": {                "latitude": "string",                "longitude": "string"              },              "countryCode": "string"            },            "extensionValues": {},            "name": "string",            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"          },          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"        },        "isSoftDeleted": true,        "sortableFullName": "string",        "avatarAttachmentId": "4f97b030-3bac-45e5-82f0-8fdcfd120829",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "parentCommentId": "32135137-e98b-4a27-b840-a577578abf9d",      "originalTimestamp": "2019-08-24T14:15:22Z",      "lastTimestamp": "2019-08-24T14:15:22Z",      "isInternal": true,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    }  ],  "count": 0}