API: Invoke add new row action not working

Hi everyone, 

I'm stuck at this moment and maybe someone else can help me.

I try to invoke an action in my application using the Appsheet API.

Here's information about my POST request:

API URL: https://api.appsheet.com/api/v2/apps/{myappid}/tables/task/Action

Headers
applicationAccessKey: {my applicationaccesskey}
ContentType: application/json

Body:

 

 

{

"Action": "Action for B04. Start Checklists",

"Properties": {

   "Locale": "nl-NL",

   "Location": "0.000000, 0.000000",

   "Selector": "Filter(task, [id] = <<id>>)",

   "Timezone": "W. Europe Standard Time"

  }

},

"Rows":  [

]

}

 

 

Value <<id>> is the ID of the Task table that I give in the request to invoke the following action: 

Donnykool_1-1664530921798.png

I need to invoke an action rather than just adding a new row because I want to trigger another bot with this action (which is not possible when I add this new row with the API).

I made this work with the Appsheet Zapier connection, so nothing is wrong with the action. I think I'm doing something wrong in my body request. I tried different variations of body requests but none of them fired the action.

Can someone help me?

0 3 209
3 REPLIES 3
Top Labels in this Space