mshughrue
Design Dabbler

Nintex for SharePoint 2016 API for a 3rd party application

Hi all,

I'm new to Nintex and have been trying to find an API to get, schedule, start and stop workflows from a 3rd party application(Using postman for testing it for now). I have found this endpoint "http://<site>/_vti_bin/NintexWorkflow/Workflow.asmx" which provides administrative functionalities, but when I send a POST request to it and include an "op" parameter such as "op=StartWorkflow" , I keep getting the "soap:ReceiverServer was unable to process request. ---> Value does not fall within the expected range." message. I did some research on that and none of the solutions have worked. I do not know if endpoint is the correct way to go. I would really appreciate any help!

0 Kudos
Reply
5 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Nintex for SharePoint 2016 API for a 3rd party application

Hi,

Please see the SDK documentation for the correct use of the web service.
https://help.nintex.com/en-US/sdks/sdk2013/#Reference/SOAP/NW_REF_SOAP_NAV_M.htm%3FTocPath%3DNintex%...
0 Kudos
Reply
mshughrue
Design Dabbler

Re: Nintex for SharePoint 2016 API for a 3rd party application

Thanks Simon for your reply! I am familiar with the SDK and its operations. I have been able to make it work internally, but that dose not really solve my problem because I want to do the same operation externally what I mean by that is, I can send a request from a third party application in this case postman and based on the SOAPAction I can accomplish the operation. This is the response I get back.

0 Kudos
Reply
SimonMuntz
Nintex Employee
Nintex Employee

Re: Nintex for SharePoint 2016 API for a 3rd party application

The screen shot is advising an issue finding the site. The screen shot is cutting of the URL that is being used. What is the URL being used?
0 Kudos
Reply
mshughrue
Design Dabbler

Re: Nintex for SharePoint 2016 API for a 3rd party application

Correct, I am getting the 500 level error. This is the url that I have been using http://<url:port>/tdl/1/_vti_bin/NintexWorkflow/Workflow.asmx. I have many Site Collection List which "tdl/1" is one of them. Same url works fine when I use it in the "Call web service" workflow actions and get the correct response. I am attaching the headers in a screenshot if that helps at all.

Thank you for helping!

0 Kudos
Reply
mshughrue
Design Dabbler

Re: Nintex for SharePoint 2016 API for a 3rd party application

I finally got it working! There were multiple things that had to be done in order to work. I wish Nintex had these instructions/steps on its website.

0 Kudos
Reply