01-20-2021 02:20 PM
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
01-21-2021 11:12 AM
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
01-25-2021 03:01 PM - edited 02-11-2021 05:46 AM
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
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: