I just tried it and below is my sample request. The time in UTC timestamp should be in millseconds. Also in case if you are not passing any parameter (which are optional) please keep the root elements intact, just removing the question marks.
Full blown request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:mod="http://model.api.dataservices.server.platform.nolio.com/" xmlns:dto="http://dto.webservice.model.api.dataservices.server.platform.nolio.com">
<soap:Header/>
<soap:Body>
<mod:scheduleProcessRun>
<!--Optional:-->
<mod:username>superuser</mod:username>
<!--Optional:-->
<mod:password>suser</mod:password>
<!--Optional:-->
<mod:scheduleName>s2</mod:scheduleName>
<!--Optional:-->
<mod:config>
<!--Optional:-->
<dto:agentInstances>
<!--Zero or more repetitions:-->
<dto:AgentInstanceWS>
<!--Optional:-->
<dto:agentHostOrIp>ibnqa000716</dto:agentHostOrIp>
<!--Optional:-->
<dto:serverTypeName>Server Type 1</dto:serverTypeName>
</dto:AgentInstanceWS>
</dto:agentInstances>
<!--Optional:-->
<dto:applicationName>My</dto:applicationName>
<!--Optional:-->
<dto:dependencies>
<!--Zero or more repetitions:-->
<dto:AgentInstancesDependencyWS>
<!--Optional:-->
<dto:source>
<!--Optional:-->
<dto:agentHostOrIp></dto:agentHostOrIp>
<!--Optional:-->
<dto:serverTypeName></dto:serverTypeName>
</dto:source>
<!--Optional:-->
<dto:target>
<!--Optional:-->
<dto:agentHostOrIp></dto:agentHostOrIp>
<!--Optional:-->
<dto:serverTypeName></dto:serverTypeName>
</dto:target>
</dto:AgentInstancesDependencyWS>
</dto:dependencies>
<!--Optional:-->
<dto:environmentName>Environment for Default Architecture</dto:environmentName>
<!--Optional:-->
<dto:parameters>
</dto:parameters>
<!--Optional:-->
<dto:processFullName>Processes/Delay</dto:processFullName>
<!--Optional:-->
<dto:processTag>1</dto:processTag>
</mod:config>
<mod:startTimeUTC>1570792638000</mod:startTimeUTC>
</mod:scheduleProcessRun>
</soap:Body>
</soap:Envelope>
Trimmed version of request: (On removing the parmeters root element even though I am not passing any parameter will result in Null exception).
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:mod="http://model.api.dataservices.server.platform.nolio.com/" xmlns:dto="http://dto.webservice.model.api.dataservices.server.platform.nolio.com">
<soap:Header/>
<soap:Body>
<mod:scheduleProcessRun>
<!--Optional:-->
<mod:username>superuser</mod:username>
<!--Optional:-->
<mod:password>suser</mod:password>
<!--Optional:-->
<mod:scheduleName>s4</mod:scheduleName>
<!--Optional:-->
<mod:config>
<!--Optional:-->
<dto:agentInstances>
<!--Zero or more repetitions:-->
<dto:AgentInstanceWS>
<!--Optional:-->
<dto:agentHostOrIp>ibnqa000716</dto:agentHostOrIp>
<!--Optional:-->
<dto:serverTypeName>Server Type 1</dto:serverTypeName>
</dto:AgentInstanceWS>
</dto:agentInstances>
<!--Optional:-->
<dto:applicationName>My</dto:applicationName>
<!--Optional:-->
<dto:environmentName>Environment for Default Architecture</dto:environmentName>
<!--Optional:-->
<dto:parameters>
</dto:parameters>
<!--Optional:-->
<dto:processFullName>Processes/Delay</dto:processFullName>
<!--Optional:-->
<dto:processTag>1</dto:processTag>
</mod:config>
<mod:startTimeUTC>1570792638000</mod:startTimeUTC>
</mod:scheduleProcessRun>
</soap:Body>
</soap:Envelope>
------------------------------
Regards,
Saurabh
------------------------------
Original Message:
Sent: 10-11-2019 04:02 AM
From: MariCarmen Vila
Subject: SOAP and Open API Method scheduleProcessRun
I am trying to execute this web service, the "scheduleProcessRun". The structure is: <mod:startTimeUTC>?</mod:startTimeUTC>.
Be supposed to is a long type number, but always throws this error, (using this web: https://www.epochconverter.com/)
Example: <mod:startTimeUTC>1570777227</mod:startTimeUTC>
Error: java.lang.NullPointerException : null
I tried with UTC formats too, and throws this error:
Example: <mod:startTimeUTC>2019-10-24 01:23:00</mod:startTimeUTC>
Example: <mod:startTimeUTC>2019:297:01:23:00</mod:startTimeUTC>
Error: For input string: "2019-10-24 01:23:00"
Anyone know the correct format?
Best regards :)