Zoho creator integration with another webservice

Zoho creator integration with another webservice

Hi guys, i would like to put my app to integrate with one of the delivery service provider. without much knowledge on the API , i am here to seek for help as i cant find much information online.

what i want to do is to pump data from Zoho Creator to another webservice called Easyparcel. and i have got the required documentation and API key generated by the Easyparcel.

one of the action sample as below

<?php

$domain = "http://demo.connect.easyparcel.my/?ac=";

 

$action = "EPRateCheckingBulk";

$postparam = array(

                'api'         => ‘xxxxxxx’,

                'bulk'       => array(

                                                                array(

                                                                'pick_code'                            => "10050",

                                                                'pick_state'            => "png",

                                                                'pick_country'                        => "MY",

                                                                'send_code'                          => "11950",

                                                                'send_state'           => "png",

                                                                'send_country'                      => "MY",

                                                                'weight'                                   => 5,

                                                                'width'                                     => 0,

                                                                'length'                                   => 0,

                                                                'height'                                   => 0,

                                                                'date_coll'                              => date("Y-m-d")

                                                                ),

                                                                array(

                                                                'pick_code'                            => "14300",

                                                                'pick_state'            => "nt",

                                                                'pick_country'                        => "MY",

                                                                'send_code'                          => "81100",

                                                                'send_state'           => "jhr",

                                                                'send_country'                      => "MY",

                                                                'weight'                                   => 10,

                                                                'width'                                     => 0,

                                                                'length'                                   => 0,

                                                                'height'                                   => 0,

                                                                'date_coll'                              => date("Y-m-d")

                                                                ),

                                                )

);

 

 

 

$url = $domain.$action;

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postparam));

curl_setopt($ch, CURLOPT_HEADER, 0);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);

 

ob_start();

$return = curl_exec($ch);

ob_end_clean();

curl_close($ch);

 

$json = json_decode($return);

echo "<pre>"; print_r($json); echo "</pre>";

?>

but where should i place this code in Zoho creator to test it out?
it would be great if anyone can shed some light and i don'd mind paying development fee for this as my gratitude.

thanks,
Jeff