11-22-2019 05:34 AM
Hi
I'm trying to fetch basic contract details using the API below but keep getting Access Denied in response.
https://apx.cisco.com/cs/api/v1/contracts/contract-details?customerId=1234
I hope that my application (which I am using to generate the bearer authtoken) has got the right API permissions?
I am able to generate the bearer token and use it for fetching PSIRT Advisories perfectly but for the rest of the services, it just gives me Access Denied response. Please can someone suggest what I am doing wrong?
Thanks in advance!
01-29-2020 10:28 AM
Hi Rahul,
Yes, I did receive. Let me go over and will reply you soon.
Thanks,
Supriya
01-29-2020 11:10 AM
Hi Rahul,
Tim replied you with great detail. Please do let me know if you still have any question on process.
Thanks,
Supriya
01-29-2020 11:53 AM
Hi Supriya,
Thank you and Tim for your messages. We are trying to establish the next steps internally and will come back to you if we have any further issues.
Thanks so much for your help so far.
Regards,
Rahul
01-31-2020 01:06 AM
I wanted to check something with you, hope you don't mind providing a bit of clarity.
Just to reiterate, I am basically interested in fetching all customer inventory and contracts using Services APIs
https://developer.cisco.com/docs/service-apis/#!collections
As mentioned in my original post, at the moment any of the above API calls return 'Access Denied' response. This, as per your suggestion, requires me to be granted SNTC access by customer DA. The customer in question, doesn't currently have anyone signed up for CCO account. Following Tim's response when I read following steps to register customer DA
https://www.cisco.com/c/en/us/support/services/smart-net-total-care/index.html
I am under the impression that customer would need to upload their device inventory and contracts in the SNTC portal which then would be available for us to fetch via above Services APIs. Is that correct?
If so, then we are better off doing the inventory audit ourselves and build the database instead of relying on customer upload for accuracy reasons. I was under the impression that Cisco would have the database of all hardware/contracts sold against each customer which can be fetched via Services APIs, which doesn't seem to be the case?
Thanks.
Rahul
01-31-2020 03:10 PM
Hi Rahul,
SNTC APIs allows Customers and their Partners to programmatically access and consume Customer's collected Install Base Data that is known to SNTC Portal.
It is true that SNTC Portal does not have any way of knowing of customer's install base without customer uploading the collected data to SNTC either via API or CSPC collector.
From what you describe, you may want to explore Support API to help see if they serve your purpose. Support APIs do not link to your collected install base. If you need more information on this, please reach out to supportapis-help@cisco.com for more help.
Thanks,
Supriya
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