Getting id returned by __create() in Client Script

Getting id returned by __create() in Client Script

Hi

Example:

var objJob = new ZDK.Apps.CRM.Jobs.Models.Jobs();
objJob.Name = 'Test';
response = objJob.__create();

I'm trying to get the id of the record I created, however response.details.id and response.__details.id are undefined.

How do I retrieve the id of the new record?

Thanks.

Best regards,

Marcus