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!
11-23-2019 07:25 AM
Hi Rahul,
I tried contract detail api that you mentioned below and works fine.
https://apx.cisco.com/cs/api/v1/contracts/contract-details?customerId=XXXX
For token generation process for services API, please refer and confirm if you are using from below guide.
https://developer.cisco.com/docs/service-apis/#!services-apis-onboarding-process
Thanks,
Supriya
11-25-2019 01:54 AM
Hi Supriya,
Thank you so much for getting back.
I have followed your suggested link to get access to the services apis.
Although, the list of APIs i have access to in the left-hand column seem to have a mind of its own (contracts and alerts api's have disappeared automatically), I am able to generate the authtoken using the client ID and Secret. However, just don't seem to have any luck with services APIs. For instance, when I try GET customer details using
https://apx.cisco.com/cs/api/v1/customer-info/customer-details
I get exactly the same error, Access Denied
Any thoughts?
Thanks.
11-25-2019 08:13 AM
Hey Rahul,
You are looking at Service APIs that are available to SNTC customer and Partners.
You may want to review Welcome Toolkit documentation that contains all the information required to get registered to access the APIs and use them. Follow the steps from Role assignment process document which explains the steps your customer delegated administrator needs to take to grant you access to the APIs that provide access to their specific information.
Regards,
Suchita
11-26-2019 02:51 AM
Hi @Suchita Shewale ,
Thank you for shedding more light on app registration process. Following the Role Assignment Process Document, I've just tried to log into Cisco Services Access Management Tool to check the User Role Assignment and it suggests that I am not authorised the access.
We are Cisco Partners and are trying use Services APIs to fetch customer inventory and product alerts. Please can you explain how do we get access to Cisco Services Access Management Tool?
Kind regards,
Rahul
11-26-2019 07:26 AM - edited 11-26-2019 07:26 AM
Hi,
For partner user, it will be CBRAPIDeveloper role.
It will be two steps process.
SNTC Portal Administration and Management Guide: https://www.cisco.com/c/en/us/support/docs/services/sntc/portal_administration.html
Step 1 (This step is done by Partner company DA): Look for topic 'Add New Users to the Portal and Assign Roles' on above link. (NOTE: this step has to be done before step 2)
Step 2 (Only done by Customer company DA to assign CBRAPIDeveloper role): Look for topic 'Add Partners to the Portal and Assign Roles' on above link.
Please do let me know if you have any question.
Thanks,
Supriya
12-11-2019 04:02 AM
Hi @Supriya Patel,
Thank you for the steps. Please can I check whether we need 'PSS status' in order to assign CBRAPIDeveloper role to my user?
Kind regards,
Rahul
12-11-2019 10:50 AM
Hi Rahul,
I did not get your question. Partner who is trying to get services API access for end customer needs access as CBRAPIDeveloper.
Thanks,
Supriya
12-11-2019 10:59 AM
Hi @Supriya Patel,
I am under the impression that 'PSS' is a special status that partners need to acquire to access Services, Contracts and Coverage APIs. Also, PSS status is only available to Gold Partners or Cisco Managed Service Providers.
Is that correct? Sorry, I'm an ERP Consultant and so very new to Cisco world :-)
Thanks.
Rahul
12-11-2019 04:12 PM
Hi Rahul,
In your case, I believe you need to follow below link and look for topic - Request Partner Delegated Administrator (For Partners Only)
https://www.cisco.com/c/en/us/support/docs/services/sntc/portal_administration.html
Please assign DA for partner company if that has not been done.
Please private message me exact partner company name, contract # between partner company and end customer as well end customer company name.
Thanks,
Supriya
01-27-2020 01:49 AM
Hi @Supriya Patel ,
Not sure if you had the chance to look at my PM but just to let you know that we are Silver Partners (not Gold). Would greatly appreciate if you could respond back to my PM.
Thank you.
Rahul
01-27-2020 11:15 AM
Hi Rahul,
I do not see any in my inbox, could you please resend it?
Thanks,
Supriya
01-28-2020 01:01 AM - edited 01-28-2020 01:02 AM
Hi Supriya,
Thanks for getting back. Just tried sending a PM again but got the error
"You have reached the limit for number of private messages that you can send for now. Please try again later."
Please are you ok to reach out on my email rahul.sharma@forfusion.com. I'm also available on Cisco Teams.
Regards,
Rahul
01-28-2020 12:51 PM
Hi Rahul,
I have private message you support alias, please send me information via that alias.
Thanks,
Supriya
01-29-2020 02:08 AM
Hi @Supriya Patel ,
I've just sent the email as instructed. Hope you receive it this time.
Thanks.
Kind regards,
Rahul
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