How to use REST web service GET operation to exclude internal activity logs for a ticket?

Document ID : KB000018767
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Currently when retrieve activity logs for a ticket from REST web service GET method, all activity logs return,including the internal logs. This tech doc provides the way to exclude the internal logs.

Solution:

In the GET endpoint, "and%20internal%3D0" would need to be added to the end of the URL to exclude the internal logs.

For example, for call request/incident/problem tickets, the endpoint will look like

BaseURI/alg?WC=call_req_id%3D'cr:xxxxxx'%20and%20internal%3D0

where cr:xxxxxx is the persid of the ticket.

For change order tickets, it will look like

BaseURI/chgalg?WC=change_id%3D'xxxxxx'%20and%20internal%3D0

where xxxxxx is the id of the change order ticket.

And for issue tickets, it will look like

BaseURI/issalg?WC=issue_id%3D'xxxxxx'%20and%20internal%3D0

where xxxxxx is the issue id.