title: How to query certain document with Firestore Rest API runquery
body: <p>I have a firestore database as below
  <a href="https://i.stack.imgur.com/bnaW8.png" rel="nofollow noreferrer">My firestore database</a></p>
  
  <p>I would like to query the CASH AND CREDT amount for document 20191003.
  I used the below REST api</p>
  
  <p>POST <a href="https://firestore.googleapis.com/v1/projects/badansales/databases/(default)/documents/sales/20191003:runQuery?key=" rel="nofollow noreferrer">https://firestore.googleapis.com/v1/projects/badansales/databases/(default)/documents/sales/20191003:runQuery?key=</a>{YOUR_API_KEY}</p>
  
  <pre><code>{
   "structuredQuery": {
    "select": {
     "fields": [
      {
       "fieldPath": "CASH"
      },
      {
       "fieldPath": "CREDT"
      }
     ]
    }
   }
  }
  </code></pre>
  
  <p>But the response is as below</p>
  
  <pre><code>{
   "0": {
    "readTime": "2019-10-04T02:03:57.366908Z"
   }
  }
  </code></pre>
  
  <p>Can someone help on this? Thanks</p>