2017-07-13 18 views
0

我正在將多個應用程序項目中的數據遷移到一箇中。我能夠移動所有的數據,但我還需要移動註釋和文件。我知道API允許你從應用程序創建評論(我正在做),但我希望能夠創建評論並傳遞原始信息(消息,創建者,created_on)。Podio API使用其他屬性創建註釋

API文檔不顯示創建評論的所有「可能」屬性。

謝謝。

  • Rico。

回答

0

如何創建新的註釋所有的細節在這裏:https://developers.podio.com/doc/comments/add-comment-to-object-22340

{ 
    "value": The comment to be made, 
    "external_id": The external id of the comment, if any, 
    "file_ids": Temporary files that have been uploaded and should be attached to this comment, 
    [ 
    {file_id}, 
    .... (more file ids) 
    ], 
    "embed_id": [OPTIONAL] The id of an embedded link that has been created with the Add an mebed operation in the Embed area, 
    "embed_url": The url to be attached 
} 

請注意,你不能設置一些評論的屬性(如:creatorcreated_on)。

+0

感謝您的回覆。我看到了那些細節,但我希望能夠做到。這個擴展聲稱要這樣做。你知道他們會怎麼做嗎? https://podio.com/extensions/51 – Rico

+0

您可以在<原創評論日期/時間>上創建評論,如「評論<原創評論文字>」。然後有關創建和created_on的信息將被保存,但將成爲評論文本的一部分 –