cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
297
Views
0
Helpful
0
Replies

CSAPI Returning Null for important fields

NetDevOp
Level 1
Level 1

When I do the following API call, I get null back in almost every field. I checked this against every devices for my customer ID. I get thousands of results but the dates are all null:

 

https://apx.cisco.com/cs/api/v1/product-alerts/hardware-eol?customerId=<removed>&neInstanceId=<removed>

Here is an example of what I do get back:

{
  "data": [
    {
      "customerId": <removed>,
      "neInstanceId": <removed>,
      "managedNeInstanceId": <removed>,
      "hwType": "Fan",
      "currentHwEolMilestone": null,
      "nextHwEolMilestone": null,
      "hwInstanceId": <removed>,
      "productId": "C3KX-FAN-23CFM",
      "currentHwEolMilestoneDate": null,
      "nextHwEolMilestoneDate": null,
      "hwEolInstanceId": <removed>
    },
    {
      "customerId": <removed>,
      "neInstanceId": <removed>,
      "managedNeInstanceId": <removed>,
      "hwType": "Power Supply",
      "currentHwEolMilestone": null,
      "nextHwEolMilestone": null,
      "hwInstanceId": <removed>,
      "productId": "C3KX-PWR-1100WAC",
      "currentHwEolMilestoneDate": null,
      "nextHwEolMilestoneDate": null,
      "hwEolInstanceId": <removed>
    },
    {
      "customerId": <removed>,
      "neInstanceId": <removed>,
      "managedNeInstanceId": <removed>,
      "hwType": "Chassis",
      "currentHwEolMilestone": null,
      "nextHwEolMilestone": null,
      "hwInstanceId": <removed>,
      "productId": "WS-C3750X-48PF-S",
      "currentHwEolMilestoneDate": null,
      "nextHwEolMilestoneDate": null,
      "hwEolInstanceId": <removed>
    },
    {
      "customerId": <removed>,
      "neInstanceId": <removed>,
      "managedNeInstanceId": <removed>,
      "hwType": "Fan",
      "currentHwEolMilestone": null,
      "nextHwEolMilestone": null,
      "hwInstanceId": <removed>,
      "productId": "C3KX-FAN-23CFM",
      "currentHwEolMilestoneDate": null,
      "nextHwEolMilestoneDate": null,
      "hwEolInstanceId": <removed>
    },
    {
      "customerId": <removed>,
      "neInstanceId": <removed>,
      "managedNeInstanceId": <removed>,
      "hwType": "Module",
      "currentHwEolMilestone": null,
      "nextHwEolMilestone": null,
      "hwInstanceId": <removed>,
      "productId": "C3KX-NM-10G",
      "currentHwEolMilestoneDate": null,
      "nextHwEolMilestoneDate": null,
      "hwEolInstanceId": <removed>
    },
    {
      "customerId": <removed>,
      "neInstanceId": <removed>,
      "managedNeInstanceId": <removed>,
      "hwType": "Power Supply",
      "currentHwEolMilestone": null,
      "nextHwEolMilestone": null,
      "hwInstanceId": <removed>,
      "productId": "C3KX-PWR-1100WAC",
      "currentHwEolMilestoneDate": null,
      "nextHwEolMilestoneDate": null,
      "hwEolInstanceId": <removed>
    }
  ]
}

 

 

0 Replies 0