kintone developer network

Specify Record List via Query String

Follow

 

Look through the Get RecordsGET (/records.json) section on this page to see the list of queries that can be used. URL encode the query with UTF-8.

Sample 1: Specifing a View list with a URL

https://{sub-domain}.kintone.com/k/{appId}/?view={viewId}

When you create a new view in the App settings, you will find the view ID in the URL of the view page.

Sample 2: Specifying a filtered list with a URL

https://{sub-domain}.kintone.com/k/{appId}/?query={UTF-8 encoded query}

Sample

Say that we are looking for records where the Single-line text field is "kintone", and the Single-choice field is "A". Consider an app with the following properties:

  • Sub domain: example
  • App ID: 123
  • Field code of the Single-line text field: text_field
  • Field code of the Single choice field: choice_field

The query for this would be:

text_field="kintone" and choice_field in ("A")

URL encode this, and place it as the value for the query, as below:

https://example.kintone.com/k/123/?query=text_field%3D%22kintone%22%20and%20choice_field%20in%20(%22A%22)

This will be doing the same filter as the following filter on kintone:

Limitations

This query can only be used on the Desktop

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Comments