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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide