<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx? in ThingWorx Developers</title>
    <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645547#M42094</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, my mistake. SaveWorkItem is the reference in (Windchill REST Services)WRS 1.5 documentation at page no 152.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check and assist. thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SaveWorkitem&lt;BR /&gt;The SaveWorkitem action saves the specified task. The action is bound to the&lt;BR /&gt;Workitem entity.&lt;BR /&gt;You must provide the following mandatory parameters as input to the action in the&lt;BR /&gt;request body:&lt;BR /&gt;{&lt;BR /&gt;"UserEventList":[&amp;lt;routing_options &amp;gt;],&lt;BR /&gt;"WorkitemComment":"&amp;lt;comment_for_the_workitem&amp;gt;",&lt;BR /&gt;"VoteAction":"&amp;lt;Vote_option_selected_by_the_participant&amp;gt;",&lt;BR /&gt;"AutomateFastTrack":&amp;lt;option_to_specify_if_change_notice_should_be_&lt;BR /&gt;explicitly_created, valid values true or false&amp;gt;,&lt;BR /&gt;"Variables":[&amp;lt;workflow_activity_variables&amp;gt;]&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 10:07:14 GMT</pubDate>
    <dc:creator>Prem-IKEA</dc:creator>
    <dc:date>2020-01-23T10:07:14Z</dc:date>
    <item>
      <title>How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645364#M42060</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to call a post method oData API with different set of params. I have attached a picture which has parameters and error thrown by API. Please assist, how to pass collection(edm.string) to oData API.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 11:59:26 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645364#M42060</guid>
      <dc:creator>Prem-IKEA</dc:creator>
      <dc:date>2020-01-22T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645544#M42092</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, there is no reference of&amp;nbsp; SaveUserTask service in ThingWorx documentation, but I recommend to try to set parameter only to : "we agree to this request"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;/P&gt;
&lt;P&gt;Raluca Edu&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:00:28 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645544#M42092</guid>
      <dc:creator>raluca_edu</dc:creator>
      <dc:date>2020-01-23T10:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645547#M42094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, my mistake. SaveWorkItem is the reference in (Windchill REST Services)WRS 1.5 documentation at page no 152.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check and assist. thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SaveWorkitem&lt;BR /&gt;The SaveWorkitem action saves the specified task. The action is bound to the&lt;BR /&gt;Workitem entity.&lt;BR /&gt;You must provide the following mandatory parameters as input to the action in the&lt;BR /&gt;request body:&lt;BR /&gt;{&lt;BR /&gt;"UserEventList":[&amp;lt;routing_options &amp;gt;],&lt;BR /&gt;"WorkitemComment":"&amp;lt;comment_for_the_workitem&amp;gt;",&lt;BR /&gt;"VoteAction":"&amp;lt;Vote_option_selected_by_the_participant&amp;gt;",&lt;BR /&gt;"AutomateFastTrack":&amp;lt;option_to_specify_if_change_notice_should_be_&lt;BR /&gt;explicitly_created, valid values true or false&amp;gt;,&lt;BR /&gt;"Variables":[&amp;lt;workflow_activity_variables&amp;gt;]&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:07:14 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645547#M42094</guid>
      <dc:creator>Prem-IKEA</dc:creator>
      <dc:date>2020-01-23T10:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645548#M42095</link>
      <description>&lt;P&gt;Even if we pass We Agree to the Request still issus exists. please refer the attachment&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:15:47 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645548#M42095</guid>
      <dc:creator>Prem-IKEA</dc:creator>
      <dc:date>2020-01-23T10:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645549#M42096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for info.&lt;/P&gt;
&lt;P&gt;Question: the same service is running from Postman?&lt;/P&gt;
&lt;P&gt;Please check Application.log/Error.log and Tomcat logs, it is useful to see a stacktrace of the error. (Enable Strack tracing and Enable Script Stack Tracing should be checked in LoggingSubsystem)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Raluca Edu&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:16:38 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645549#M42096</guid>
      <dc:creator>raluca_edu</dc:creator>
      <dc:date>2020-01-23T10:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645554#M42099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it is working from postman and enclosed the attachment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have enabled the stack trace in logging subsystem and still shows the same message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[context: com.thingworx.webservices.context.HttpExecutionContext@7b122fc6][message: Unable to Invoke Service SaveWorkitem on PSM_WindchillODataConnector_V1 : Your route exchange has failed. Resource Error [Illegal argument for type: Collection(Edm.String) value: We Agree to this request]]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:40:14 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/645554#M42099</guid>
      <dc:creator>Prem-IKEA</dc:creator>
      <dc:date>2020-01-23T10:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Collection(Edm.String) parameters to oData SaveUserTask POST API from ThingWorx?</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/646913#M42311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A case was open for this kind of error and a dedicated engineer is looking into the issue.&lt;/P&gt;
&lt;P&gt;Please follow that case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Raluca Edu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 13:15:15 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/How-to-pass-Collection-Edm-String-parameters-to-oData/m-p/646913#M42311</guid>
      <dc:creator>raluca_edu</dc:creator>
      <dc:date>2020-01-31T13:15:15Z</dc:date>
    </item>
  </channel>
</rss>

