parsing response header on rest model insert (POST)

I have a response to a REST model POST action that looks like this:

{ "statusCode": 201, "status": "Created", "setCookies": null, "headers": { "Location": "https://api.bookeo.com/v2/customers/41563X46EXC15DA3C39F70", "Content-Type": "application/json; charset=UTF-8", "Date": "Wed, 02 Aug 2017 16:24:52 GMT", "Content-Language": "en-US", "Content-Length": "0", "Expires": "Fri, 01 Jan 1990 00:00:00 GMT", "Pragma": "no-cache", "Cache-Control": "private, max-age=0, no-cache, no-store", "X-Frame-Options": "SAMEORIGIN" }, "error": null, "body": "" 

}

The Id for the newly created row is after the final slash in the “Location” header. How can I communicate that to the model?