title: Want to retrieve random value from the response
body: <p>I have the following response payload and there are  4 <code>siteId</code> and I want to select any random <code>siteId</code> from it. This value of 4 can be change it will random, irrespective of it i want to select any random <code>siteId</code>.</p>
  <p><strong>Response Value</strong></p>
  <pre><code>{
      &quot;studyDTO&quot;: {
          &quot;studyId&quot;: 191,
          &quot;studyCode&quot;: null
      },
      &quot;sites&quot;: [
          {
              &quot;studyId&quot;: 191,
              &quot;siteRecid&quot;: 1,
              &quot;siteId&quot;: &quot;10000&quot;
          },
          {
              &quot;studyId&quot;: 191,
              &quot;siteRecid&quot;: 16521,
              &quot;siteId&quot;: &quot;11001&quot;
          },
          {
              &quot;studyId&quot;: 191,
              &quot;siteRecid&quot;: 16632,
              &quot;siteId&quot;: &quot;11011&quot;
          },
          {
              &quot;studyId&quot;: 191,
              &quot;siteRecid&quot;: 201,
              &quot;siteId&quot;: &quot;20000&quot;
          }
      ],
      &quot;subjects&quot;: [],
      &quot;visits&quot;: [],
      &quot;sftpLocations&quot;: [],
      &quot;dicomLocations&quot;: [],
      &quot;fileSystemLocations&quot;: [],
      &quot;rawFileSystemLocations&quot;: [],
      &quot;states&quot;: [],
      &quot;modalities&quot;: [],
      &quot;examDates&quot;: [],
      &quot;series&quot;: [],
      &quot;transferType&quot;: null,
      &quot;customFolder&quot;: false,
      &quot;customFile&quot;: false,
      &quot;folderStructure&quot;: null,
      &quot;fileStructure&quot;: null,
      &quot;allSites&quot;: false,
      &quot;allSubjects&quot;: false,
      &quot;allVisits&quot;: false,
      &quot;allStates&quot;: false,
      &quot;allExamDates&quot;: false,
      &quot;allModalities&quot;: false,
      &quot;allSeries&quot;: false,
      &quot;softEditOverride&quot;: false,
      &quot;includePS&quot;: false,
      &quot;includeSR&quot;: false,
      &quot;includeRTStruct&quot;: false,
      &quot;dicomTemplate&quot;: null,
      &quot;errorMessage&quot;: null,
      &quot;successMessage&quot;: null
  }
  </code></pre>