How to get data from response?

How to get data from response?

In deluge I used a simple statement to get a Zoho Sign Document response

  1. resp = zoho.sign.GetDocumentByID(XXXXXXX);
  2. info resp;

I get a response in this format

  1. {
     "code": 0,
     "requests": {
     "request_status": "completed",
     "notes": "",
     "attachments": [
     ],
     "reminder_period": 5,
     "owner_id": "10696000000009003",
     "description": "",
     "request_name": "AddFields_take1",
     "modified_time": 1573465341353,
     "action_time": 1573465457604,
     "is_deleted": false,
     "expiration_days": 15,
     "is_sequential": false,
     "sign_submitted_time": 1573465341406,
     "owner_first_name": "shawn",
     "sign_percentage": 100,
     "expire_by": 1574792940000,
     "owner_email": "test@zylker.com",
     "created_time": 1573036357477,
     "email_reminders": true,
     "document_ids": [
     {
     "document_name": "sample.pdf",
     "document_size": 2953,
     "document_order": "0",
     "total_pages": 2,
     "document_id": "10696000000014001"
     }
     ],
     "self_sign": false,
     "in_process": false,
     "validity": -1,
     "request_type_name": "Others",
     "request_id": "10696000000014007",
     "request_type_id": "10696000000000187",
     "owner_last_name": "shawn",
     "actions": [
     {
How do I use the response? 
In the example above I want to use a response field say "request_type_id" and insert it into the next bit of code starting at line 4?

For example

  1. resp = zoho.sign.GetDocumentByID(XXXXXXX);
  2. info resp;
  3. //get request_type_id

  4. //invoke url
  5. response_zs = invokeurl
  6. [
  7. url: "https://sign.zoho.com/api/v1/requests/"
  8. type: POST
  9. parameters: 
  10. headers:{"Content-Type":"application/json"}
  11. ];
  12. info "Attempting to recall waiver..." + response;