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 IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

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.

Environment

Release: UAPMAC990JPP-12.9-Asset Portfolio Management-Asset Configuration
Component: