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

Contract Start date using serial number

I am using Serial number to information API and i am getting contract end date but not start date, is there any other API where i can get contract number, start date and end date based on serial number? 

Thanks in advance

2 Replies 2

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @AbhinandanAelgani26094 

You can retrieve the contract from SN to Info API, then use the contract api to get the start date and end date:

 

GET : https://apx.cisco.com/cs/api/v1/contracts/contract-details

{
    "data": [
        {
            "customerId": 1234,
            "contractNumber": 94966374,
            "contractStatus": "ACTIVE",
            "contractStartDate": "2012-02-01T00:00:00",
            "contractEndDate": "2018-06-22T00:00:00",

Reference: https://developer.cisco.com/docs/service-apis/#!contracts/contracts-coverage 

 

Stay safe,

Sergiu

Thanks @Sergiu.Daniluk, I have used customer id to get contract details, but i am getting success 200 with the API but empty data sets 

{

data[];

}

do you have any information on solution to this

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: