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

Issues with GET Product Information by Serial Number(s) API

Marek Z
Level 1
Level 1

Hi.

I’m having issues with „GET Product Information by Serial Number(s)” API.
The use case here is to validate if proper S/Ns were added to the CMDB (i.e. if motherboard serial number wasn’t used).

However I found some random cases that return errors, i.e.:
TSPXXXXXXXX – should return WS-C2960+24PC-L
CATXXXXXXXX – should return C9500-24Y4C-A

For some reason it returns (I wrote function in PowerShell to make a call against https://apix.cisco.com/product/v1/information/serial_numbers/) an error:

(Check-CiscoDetails -SerialNumbers TSPXXXXXXXX).ErrorResponse

 

APIError                                                                                                                                           
--------                                                                                                                                          
@{ErrorCode=NO_RECORDS_FOUND; ErrorDescription=No records found with the specified serial number; SuggestedAction=Please check given serial number}

 

However Coverage Checker (https://cway.cisco.com/sncheck/) returns the results:

MarekZ_1-1693900567484.png

Do you know where the issue lies?

0 Replies 0