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

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

book

Article ID: 18767

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

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.

Environment

Release: UAPMAC990JPP-12.9 or higher
Component:  CA Service Desk Manager

Resolution

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.