endorium ,
Use below script assertion for the REST Request test step which will extract the id value and saves it at test case level custom property, say ID, which can be used used in further test steps of the same test case.
/**
* Script Assertion for REST Request test step
**/
//Change the value for below statement as needed
def expectedMatchingProperty = 'Action Code'
assert context.response, 'Response is empty or null
def json = new groovy.json.JsonSlurper().parseText(context.response)
context.testCase.setPropertyValue('ID', json.data.find {it.propertyName == expectedMatchingProperty}?.id?.toString())
Use ${#TestCase#ID} where it is required later in the test steps.