07-09-2012 05:57 AM
Hi,
Please provide some steps how use the Rest API call CPO.
My requirement: Need to access Service Item from portal and get/update. some information using REST API (if any other solution provide it).
Thanks and regards,
Vignesh
07-09-2012 06:51 AM
If you want to call into CPO, use something like SOAP UI and plug into CPO's NBWS and then you'll get the XML payloads.
If you want to call out of it, use the HTTP request activity.
otherwise if you need more help and you have a support contract, open a TAC case.
-shaun
07-09-2012 07:22 AM
Hi Christopher,
Thanks for reply.
When i use HTTP reqest activity i am getting this error as below:
Unable to fully resolve expression, as Reference to Property ResolvedUser.Id of ProcessInstance . could not be resolved.
Relative Url Syntax:
http://
Eg:
http://
Method: GET
Version: 1.1
Target: Cisco Cloud Portal Request Center API
Provide some inputs to resolve this.
07-09-2012 12:55 PM
Hi Christopher,
Thanks for reply.
below is my requirement:
Need to get Service Item data using CPO process.
1) Is there any way to get Service Item information in CPO?
If it is the Web HTTP Request, is there any wsdl url to access service item?
CCP Providing RES API to acess the si data below is the url for it.
http://
How to use this in Web HTTP Request CPO activity to get the xml data ??
Regards,
Sivaram
07-09-2012 04:21 PM
yes there is. This is the way CIAC 3.0 or 3.0.1 works. You should look in that content for examples. I will not paste examples here as that's developed information and this is a public forum. If you have the CIAC 3.0+ content look in the Export Service Items process and you'll see how it has been developed. If not, then you need to get that content.
07-11-2012 01:29 PM
Thanks Christopher,
I have verified the Export Service Items process and tried an example as follows:
1) Establish Session ID
2) Login
3) Query the Service item.
When i run the process I am able to complete the first 2 activities and in 3rd step unauthorizaion exception was occured.
Error message:
The remote server returned an error: (401) Unauthorized.
When I tried in explorer with same query it is able to get XML as ouput.
What might be the error in this scenario? Is is it related to CCP admin previlages or it is from CPO end?
Please provide some inputs to resolve this?
Thanks and regards,
sivaram.
07-12-2012 09:48 AM
you need to make sure you are passing cookies properly from the login on. Also what user are you using?? It is the same one?
In standard CIAC, the NSAPI user must be a member of the site administration group, CPTA group, and site admin OU, and CPTA OU with the CPTA OU being their home OU.
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