How to get data from response?
In deluge I used a simple statement to get a Zoho Sign Document response
- resp = zoho.sign.GetDocumentByID(XXXXXXX);
- info resp;
I get a response in this format
- {
"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
- resp = zoho.sign.GetDocumentByID(XXXXXXX);
- info resp;
- //get request_type_id
- //invoke url
- response_zs = invokeurl
- [
- url: "https://sign.zoho.com/api/v1/requests/"
- type: POST
- parameters:
- headers:{"Content-Type":"application/json"}
- ];
- info "Attempting to recall waiver..." + response;
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.