title: Retrieve parameter from a Jenkins REST query
body: <p><br/>
  The following REST query will return parameters of the last successful build of a job:
  <a href="https://localhost/job/test1/lastSuccessfulBuild/api/json" rel="noreferrer">https://localhost/job/test1/lastSuccessfulBuild/api/json</a> <br/>
  I'd be interested to retrieve one of the parameters of this build, the BUILD_VERSION:</p>
  
  <pre><code>{
  
      "_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
      "actions": [
          {
              "_class": "hudson.model.CauseAction",
              "causes": [
                  {
                      "_class": "hudson.model.Cause$UpstreamCause",
                      "shortDescription": "Started by upstream project \"continuous-testing-pipeline-for-nightly\" build number 114",
                      "upstreamBuild": 114,
                      "upstreamProject": "continuous-testing-pipeline-for-nightly",
                      "upstreamUrl": "job/continuous-testing-pipeline-for-nightly/"
                  }
              ]
          },
          { },
          {
              "_class": "hudson.model.ParametersAction",
              "parameters": [
  
                  {
                      "_class": "hudson.model.StringParameterValue",
                      "name": "BUILD_VERSION",
                      "value": "1.1.15"
  </code></pre>
  
  <p>Is there a way to retrieve the BUILD_VERSION (1.1.15) directly using the REST Api or do I have to parse manually the json string ?
  Thanks</p>