Home>
When retrieving records with kintone's REST API,
Even if you set the search condition with query, you can not narrow down well.
I want to get the following records by specifying the date.
Array
(
[Record] =>Array
(
[Record number] =>Array
(
[type] =>RECORD_NUMBER
[value] =>xx
)
[Updater] =>Array
(
[type] =>MODIFIER
[value] =>Array
(
[code] =>xxxx
[name] =>xxxx
)
)
...
[Date] =>Array
(
[type] =>DATE
[value] =>2019-12-04
)
...
)
)
curl -X GET "https: //xxxx/x/xx/records.json? app = xx" \
-H "X-Cybozu-API-Token: xxxxxxxxxxxxxxxx" \
-d '{"app": xx, "query": "date" = "2019-12-04"}'
With the above command, all records are returned from above without being narrowed down.
I think the reason is that the query specification method is wrong.
Reading the documentation and trying it out doesn't work.
How can I narrow it down?
I'd like someone professor.
Related questions
- json format response does not come back using rest in spring
- php : Tell me how to write the array correctly?
- c # - about restfull json data deserialization using wcf
- php - when json data is decoded, the contents become null when expanded
- php - chatupdate does not work well with slack
- api - about the order of the json response array
- http - receiving post with salesforce and returning it with rest
- api - extract from json with powershell
- Detailed ReST API for cURL to operate Openstack object storage
kintone's REST API
As far asWhen sending parameters in JSON format (when setting JSON data in the request body of HTTP request)
is seen
-d '{"app": xx, "query": "date" = "2019-12-04"}'
is in JSON format (xx
is assumed to contain a number).-d '{"app": xx, "query": "Date = \" 2019-12-04 \ ""}'
Now