This is the response.data I get from my post request. I only want to have the ObjectID out of this response
{
d: {
results: {
__metadata: [Object],
ObjectID: '00163E6CDDFC1EEA96C57123A5C6DDE5',
InformationLifeCycleStatusCode: 'AC',
ID: '9000001424'
}
}
}
This is what I got so far but i need to somehow get into the results object
const{"ObjectID: objectID} = res.data;