Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Retry PHDC on Devices

    Use this API to retry collecting product health data (PHD) on devices, assigned to a product health data collection (PHDC) configuration, on which an earlier attempt to collect PHD failed.

    URI

    https://[host] /api/juniper/servicenow/phdc-management/phdcs/{id} /retryOnFailedDevices (HTTP method = PUT)

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the PHDC configuration in which PHDC is to be retried on devices on which an earlier attempt to collect PHD failed

    Consumes

    • application/vnd.juniper.servicenow.phd-management.devices+ json;version=1;charset=UTF-8
    • application/vnd.juniper.servicenow.phd-management.devices+ xml;version=1;charset=UTF-8

    Request Element

    Element

    Type

    Description

    device

    device

    A device on which PHD collection is to be retried

    href

    String

    Link to the device on which PHD collection is to be retried

    uri

    String

    URI of the device on which PHD collection is to be retried

    Produces

    • application/vnd.juniper.servicenow.phd-management.phdStatusMsg+json;version=1
    • application/vnd.juniper.servicenow.phd-management.phdStatusMsg+xml;version=1

    Response Elements

    Element

    Type

    Description

    id

    Integer

    ID of the PHD collection retry job

    statusMessage

    String

    Status message of the PHD collection retry job

    Sample Input

    Sample XML Input

    <devices>
    <device href= "/api/juniper/servicenow/device-management/devices/1114128" uri="/api/juniper/servicenow/device-management/devices/1114128" />
    <device href= "/api/juniper/servicenow/device-management/devices/1114132" uri="/api/juniper/servicenow/device-management/devices/1114132" />
    </devices>
    

    Sample JSON Input

    {
       "devices": {
          "device": [
             {
                "@href": "/api/juniper/servicenow/device-management/devices/1114128",
                "@uri": "/api/juniper/servicenow/device-management/devices/1114128"
             },
             {
                "@href": "/api/juniper/servicenow/device-management/devices/1114132",
                "@uri": "/api/juniper/servicenow/device-management/devices/1114132"
             }
          ]
       }
    }

    Sample Output

    Sample XML Output

    <phdStatusMessage>
       <id>1182702</id>
       <statusMessage> Product Health Data Configuration will be retried on the selected devices </statusMessage>
    </phdStatusMessage>
    

    Sample JSON Output

    {
      "phdStatusMessage": {
        "id": "1182702",
        "statusMessage": "Product Health Data Configuration will be retried on the selected devices"
          }
    }
    

    Modified: 2016-08-10