Appsheet API webhook

亲爱的所有,

我希望这条消息发现你一切都好。虽然我没有任何编码经验,但我已经使用AppSheet一段时间了。最近,我一直致力于将Smartsheet集成到我们的项目管理流程中,特别是用于跟踪我们作为建筑公司的项目。

我们的要求之一是在智能表中将相关任务标记为“已开始”时更新其开始日期。这包括删除前一个任务并将开始日期更改为当前日期。最初,我使用AppSheet中的自动化实现了这一点。然而,每一行有35秒的显著同步延迟,这并不理想。

为了找到一个更好的解决方案,我尝试用AppSheet API使用下面的HTTP请求创建一个webhook。然而,尽管请求已经完成,我注意到Smartsheet表中没有任何变化。

{

“行动”:“编辑”,

"属性":{

“语言环境”:“pt-BR”,

},

“行”:(

{

“UniqueID”:“< < UniqueID > >”,

“先行者”:“”,

"Data de Início":"<>",

“行ID”:“< < [_THISROW]。[行ID] > >”

}

]

}

在我寻找替代解决方案的过程中,我在YouTube上看到了一个有用的视频,该视频表明在识别Row ID时可能存在问题。不幸的是,我还没有能够找到一种方法来获得行ID。

我恳请您协助找到解决这个问题的办法。

答案

Hi @cabbsman<\/a> <\/p>

I see you've received a response in the StackOverflow Community on this thread:<\/p>

\n \n https:\/\/stackoverflow.com\/questions\/76417418\/python-sdk-api-to-add-rows-with-multiple-columns-to-update-to-smartsheet\n <\/a>\n<\/div>

I would suggest following-up on that thread as it looks like there are some good tips\/tricks!<\/p>

Cheers,<\/p>

Genevieve<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":320,"name":"API & Developers","url":"https:\/\/community.smartsheet.com\/categories\/api-developers","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":227,"urlcode":"api-and-developers","name":"API and Developers"}]},{"discussionID":105822,"type":"question","name":"Smartsheet IP Addresses for Network Restrictions","excerpt":"Hi! I am using Smartsheet webhooks to stream events of updates on items Along with hmac authorization, I also want to restrict network access so that requests coming from Smartsheet server will be catered, and all other go unauthorized can I get the set of IPs of Smartsheet?","categoryID":320,"dateInserted":"2023-05-31T04:25:53+00:00","dateUpdated":null,"dateLastComment":"2023-06-01T12:28:16+00:00","insertUserID":161903,"insertUser":{"userID":161903,"name":"Shravan A","url":"https:\/\/community.smartsheet.com\/profile\/Shravan%20A","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-06T18:35:00+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":91566,"lastUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-06-09T12:32:37+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":60,"score":null,"hot":3371130249,"url":"https:\/\/community.smartsheet.com\/discussion\/105822\/smartsheet-ip-addresses-for-network-restrictions","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/105822\/smartsheet-ip-addresses-for-network-restrictions","format":"Rich","lastPost":{"discussionID":105822,"commentID":378281,"name":"Re: Smartsheet IP Addresses for Network Restrictions","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/378281#Comment_378281","dateInserted":"2023-06-01T12:28:16+00:00","insertUserID":91566,"insertUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-06-09T12:32:37+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"API & Developers","url":"https:\/\/community.smartsheet.com\/categories\/api-developers"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-06T18:36:38+00:00","dateAnswered":"2023-06-01T12:28:16+00:00","acceptedAnswers":[{"commentID":378281,"body":"

Hi @Shravan A<\/a> <\/p>

Smartsheet publishes a DNS A record at aws.relay.smartsheet.com which can be added to the Allowlist in your firewall. We recommend using the DNS record and not<\/strong> IP addresses because our IP addresses may change in the future. <\/p>

Here's the link to Authenticating Webhooks<\/a> in the API documentation. <\/p>

Cheers,<\/p>

Genevieve<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":320,"name":"API & Developers","url":"https:\/\/community.smartsheet.com\/categories\/api-developers","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":105733,"type":"question","name":"Reseting a row parentId","excerpt":"Hi, For some needs, i would like to reset the parentId value of a given row. what value should i be using to force the parentId to be reset ? I tried :0; null; \"0\"; \"null\" and none of them made any positive result :","categoryID":320,"dateInserted":"2023-05-26T14:22:47+00:00","dateUpdated":"2023-05-26T14:40:07+00:00","dateLastComment":"2023-05-26T20:12:12+00:00","insertUserID":105856,"insertUser":{"userID":105856,"name":"Etienne Mermillod","url":"https:\/\/community.smartsheet.com\/profile\/Etienne%20Mermillod","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!mjjbH0nZWJQ!cu9Yh9XS-Xo!wwrdU3Cq-QN","dateLastActive":"2023-06-08T15:36:26+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭"},"updateUserID":91566,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-08T18:05:48+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":46,"score":null,"hot":3370244699,"url":"https:\/\/community.smartsheet.com\/discussion\/105733\/reseting-a-row-parentid","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/105733\/reseting-a-row-parentid","format":"Rich","lastPost":{"discussionID":105733,"commentID":377787,"name":"Re: Reseting a row parentId","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/377787#Comment_377787","dateInserted":"2023-05-26T20:12:12+00:00","insertUserID":45516,"insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-08T18:05:48+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"API & Developers","url":"https:\/\/community.smartsheet.com\/categories\/api-developers"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/8JN94KOJFPH3\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-05-26T19:50:49+00:00","dateAnswered":"2023-05-26T19:47:30+00:00","acceptedAnswers":[{"commentID":377776,"body":"

Are you trying to outdent a row?<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":320,"name":"API & Developers","url":"https:\/\/community.smartsheet.com\/categories\/api-developers","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]}],"title":"Trending in API & Developers","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

API和开发者趋势