You are on page 1of 2

Querry Para funciones Personalizadas

itemsacreator

Nombre de la función: itemsacreator

Módulo: articulo

itemID = item.get("item_id");

organizationID = organization.get("organization_id");

response = invokeurl

url :"https://books.zoho.com/api/v3/items/" + itemID + "?organization_id=" +


organizationID

type :GET

connection:"books_coneccion"

];

//info response;

data = Map();

data.put("Nombre",response.get("item").get("name"));

data.put("Item_Book",response.get("item").get("item_id"));

data.put("Precio",response.get("item").get("purchase_rate"));

data.put("Organization_ID",organizationID);

json = Map();

json.put("data",data);

response2 = invokeurl

url :"https://creator.zoho.com/api/v2/gerencia_residencialesdelsur/materiales/form/
Materiales"

type :POST

parameters:json.toString()

connection:"creator_coneccion"

];

info response2;

You might also like