04-14-2015 09:09 AM
I have an external portal sending requests to the Cisco Prime Service Catalog via SOAP calls. In a particular service I need to include an Approval/Rejection task. Generally we add the task in the service plan to a Queue in such a situation. Can that task be updated and done with the SOAP call? I see no such Request in the WSDL when I have added to the SOAP UI. Could some one help me if I can have a SOAP call or NSAPI call or any other rest call for this?
Solved! Go to Solution.
04-14-2015 09:21 AM
You can use the following NSAPI (REST) call:
RequestCenter/nsapi/transaction/tasks/{task-id}/approve
Note that it does not use the requisition id; it uses the requisition ENTRY ID (task ID)
04-16-2015 02:29 AM
Sorry, I don't have an example readily available, but you should look at the getAuthorizations API to get the TaskID (documented in the Integration Guide).
04-14-2015 09:21 AM
You can use the following NSAPI (REST) call:
RequestCenter/nsapi/transaction/tasks/{task-id}/approve
Note that it does not use the requisition id; it uses the requisition ENTRY ID (task ID)
04-15-2015 11:40 PM
Hi derevan007,
Could you please send me an example how this can be done? Also could you please tell me where we can get the TaskID?
I have tried this with an example service created. But when I hit the URL as you said I can see only a 500 error page on the browser. I have got the RequisitionEntryID by using the SOAP call getRequisitionStatus.
Thanks & Regards,
Atchut.
04-16-2015 02:29 AM
Sorry, I don't have an example readily available, but you should look at the getAuthorizations API to get the TaskID (documented in the Integration Guide).
04-16-2015 03:27 AM
Thanks derevan007,
This worked. I have checked the Integration guide. and got the WSDL for Service Manager also. From there I can get the TaskID. Even we can approve the request with the SOAP call also.
Regards,
Atchut.
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