Get Details of a PHDC Configuration
Use this API to retrieve a specific product health data collection (PHDC) configuration.
URI
https://[host]/api/juniper/servicenow/phdc-management/phdcs/{id} (HTTP method = GET)
URI Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | ID of the PHDC configuration to be retrieved |
Consumes
None
Produces
application/vnd.juniper.servicenow.phd-management.phdc+json;version=1
application/vnd.juniper.servicenow.phd-management.phdc+xml;version=1
Response Elements
Element | Type | Description |
---|---|---|
uri | String | URI of the PHDC configuration |
domainId | Integer | ID of the domain to which the PHDC configuration belongs. |
domainName | String | Name of the domain to which the PHDC configuration belongs |
id | Integer | ID of the PHDC configuration |
method | String | Methods applicable to the PHDC configuration |
name | String | Name of the PHDC configuration |
status | String | Status of the PHDC configuration Possible values:
|
devicesCount | String | Number of devices in the PHDC configuration |
collectionPeriodInDays | String | Number of days configured for collecting product health data (PHD) from devices |
uploadPHDFile | Boolean | Flag to upload PHD file to Juniper Support System (JSS) Possible Values:
|
deletePHDFileAfterUpload | Boolean | Flag to delete PHD files affter upload to JSS Possible Values:
|
maskIPAddress | Boolean | Flag to mask IP addresses in PHD files.
|
startTime | String | Date and time PHD collection started from devices included in the PHDC configuration |
endTime | String | Date and time PHD collection ended on devices included in the PHDC configuration |
lastModifiedTime | String | Date and time the PHDC configuration was last modifiied |
createdBy | String | Username of user who configured the PHDC |
domainId | Integer | ID of the domain to which the PHDC configuration is assigned |
Sample Output
Sample XML Output
<phdc uri="/api/juniper/servicenow/phdc-management/phdcs/35638"> <domainId>2</domainId> <domainName>Global</domainName> <id>35638</id> <method href="/api/juniper/servicenow/phdc-management/phdcs/35638/phdDeviceConfigurations"/> <method href="/api/juniper/servicenow/phdc-management/phdcs/35638/enable"/> <method href="/api/juniper/servicenow/phdc-management/phdcs/35638/disable"/> <method href="/api/juniper/servicenow/phdc-management/phdcs/35638/retryOnFailedDevices"/> <method href="/api/juniper/servicenow/phdc-management/phdcs/35638/abort"/> <name>EX-Group</name> <status>Running</status> <devicesCount>2</devicesCount> <collectionPeriodInDays>30</collectionPeriodInDays> <uploadPHDFile>true</uploadPHDFile> <deletePHDFileAfterUpload>false</deletePHDFileAfterUpload> <maskIPAddress>true</maskIPAddress> <startTime>2015-07-24 23:02:02 UTC</startTime> <endTime>2015-08-23 23:02:02 UTC</endTime> <lastModifiedTime>2015-07-24 23:02:50 UTC</lastModifiedTime> <createdBy>super</createdBy> <domainId>10</domainId> </phdc>
Sample JSON Output
{ "phdc": { "@uri": "/api/juniper/servicenow/phdc-management/phdcs/35638", "domainId": 2, "domainName": "Global", "id": 35638, "method": [ { "@href": "/api/juniper/servicenow/phdc-management/phdcs/35638/phdDeviceConfigurations"}, { "@href": "/api/juniper/servicenow/phdc-management/phdcs/35638/enable" }, { "@href": "/api/juniper/servicenow/phdc-management/phdcs/35638/disable" }, { "@href": "/api/juniper/servicenow/phdc-management/phdcs/35638/retryOnFailedDevices" }, { "@href": "/api/juniper/servicenow/phdc-management/phdcs/35638/abort" } ], "name": "EX-Group", "status": "Running", "devicesCount": 2, "collectionPeriodInDays": 30, "uploadPHDFile": true, "deletePHDFileAfterUpload": false, "maskIPAddress": true, "startTime": "2015-07-24 23:02:02 UTC", "endTime": "2015-08-23 23:02:02 UTC", "lastModifiedTime": "2015-07-24 23:02:50 UTC", "createdBy": "super", "domainId":"10" } }