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

coverage end date is blank

Frank
Level 1
Level 1

Hi,

I am polling Cisco API for 

Get Coverage Status by Serial Number

https://developer.cisco.com/docs/support-apis/#!serial-number-to-information/get-coverage-status-by-serial-numbers

The API call is successful but the API does not return anything in coverage_end_date.

Below is my API call and response.

https://apix.cisco.com/sn2info/v2/coverage/status/serial_numbers/<Serial Number>

{

    "serial_numbers": [

        {

            "sr_no": "<Serial Number>",

            "is_covered": "YES",

            "coverage_end_date": ""

        }

    ]

 

Does anyone know why?

 

Thanks

Frank

1 Accepted Solution

Accepted Solutions

Torbjørn
Spotlight
Spotlight

It seems that there is no connection between the user, contract and device. Here's an excerpt from the documentation of the API:

Note: If no connection is found between the user, contract, and device, this method returns data only for the following fields; coverage_end_date is visible but displays no data:

  • is_covered
  • sr_no
Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

1 Reply 1

Torbjørn
Spotlight
Spotlight

It seems that there is no connection between the user, contract and device. Here's an excerpt from the documentation of the API:

Note: If no connection is found between the user, contract, and device, this method returns data only for the following fields; coverage_end_date is visible but displays no data:

  • is_covered
  • sr_no
Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev