Topic
No replies
abcdefenagesh
abcdefenagesh
1 Post
ACCEPTED ANSWER

Pinned topic REST API Post method in the portlet factory

‏2009-03-31T04:36:54Z |
Hi,

I am using the RESTCall Builder to post the comments to the Quickr feed.
I got the following XML format that i need to send to the Quickr for posting a comment from the quickr team.

<entry>
<c_Body>Nages testing</c_Body> -
<c_EmailAddress>nage@edu.sg</c_EmailAddress>
<c_Form>Comment</c_Form>
<c_OriginatorDisplayName>Phani Kumar M</c_OriginatorDisplayName>
<c_ParentUnid>4861768718E13A684825758600092285</c_ParentUnid>
<h_Name>Comments by Phani Kumar M</h_Name>
</entry>

here

c_Body - Comments description
c_EmailAddress - User's email id
c_Form - Should be "Comment"
c_HomePage - User's Home page url
c_OriginatorDisplayName - User's common name (Ex: Phani Kumar M)
c_ParentUnid - Should contain unique id of parent document.
h_Name - Should contain this text -"Comment by <Name>" (EX: "Comment by Phani Kumar M")
I am doing the following operations for calling the post method.
1)Assignment!Variables/postRESTCallRestInputs=${Variables/putOperationData} - setting the input data
2)DataServices/postRESTCall/execute - calling the service.
3)Assignment!Variables/putResult=${DataServices/postRESTCall/execute/results} - saving the result.

I am not getting any exception when i do these operations.
But my commects is not updated in the Quickr and when i am printing the "putResult" i am getting "]]".

Please help me in this to post the comments to my quickr feed.

Please find the attached screen shot and also the model for testing.
I am thinking that is there any error in the content type or else any parameter is missing from my end.

Suggest me on this.

Please find the