ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Accessing the ServicePoint JSON file

book

Article ID: 199144

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

Analyzing the documentation on REST API arose a doubt in one of the steps described in the "For testing the REST APIs, follow the steps:"

3. Download the JSON file from CA Service Point REST API page and paste it inside the dist folder.

We are trying to download the JSON but do not see a link to download. 

Environment

Release : 17.3

Component : SERVICE DESK MANAGER

Resolution

Due to the JSON file content being rendered in the documentation page display, one will need to access the JSON file content in a roundabout way.

1.  Go into the URL for the ServicePoint REST API using the Chrome Web Browser, or any browser with Developer Tools functionality.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/ca-service-management/17-3/using/rest-api/ca-service-point-rest-api.html

2.  From here, in Chrome, Press Control-Shift-I which will bring up the Developer Tools.

3.  Scroll through the content in the Developer Tools until you find an entry that starts with "Open-API Options".  This is where the JSON file content starts.

 

4.  You will need to copy and paste the entire text block into a text editor of your choice.

5.  From there you need to cleanup the json to contain only the swagger data.  Delete the "Open-API options: {..." all the way to and including " "spec": ".

6.  At the end of the file you delete one "}"

7.  Save it and you are all set, you have your json file.

Additional Information

For purposes of convenience, we have attached a text file that contains the JSON file content.  The file name extension should be changed from "txt" to "json" to allow the file to be used in REST Web Services.  The file content is accurate as of Sept 16, 2020, but may be out of date with respect to any current JSON file content.

REST API

CA Service Point REST API

Attachments

1600279191131__ServicePointREST-json.txt get_app