フィルターのクリア

syntax for updating values using webwrite

1 回表示 (過去 30 日間)
Oliver Warlow
Oliver Warlow 2020 年 12 月 26 日
コメント済み: Oliver Warlow 2020 年 12 月 30 日
Hi,
I am trying to get my head round the syntax required for updating some data using webread and an api. The API i am attemping to use is here (https://smartsheet-platform.github.io/api-docs/?shell#update-rows) and I am just trying to work out how to update single cell value. What I cannot workout is how I pass the required "Request Body" parameters to webread to update the value of a specific cell (speciified by its row and column id in this case I think).
Any ideas?
thanks
Oli.

採用された回答

Rohit Pappu
Rohit Pappu 2020 年 12 月 29 日
To make a POST request with request body, send() can be used, with the "Request Body" parameters passed in the body property of requestMessage object
  1 件のコメント
Oliver Warlow
Oliver Warlow 2020 年 12 月 30 日
Hi Rohit,
thanks for your answer. I have managed to use the send() class to retireve data using GET. I am still sruggling with using the PUT and POST however, the API doesn't seem to like the way I am formatting the json character string in the DATA part of the request message. This is perhaps something I need to clarify with the API developer. I have managed to do a work around using the "system()" function and calling cURL for which I have a working syntax, not ideal but something I can at least use for now.
thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWeb Services についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by