Send Contacts to Freeshbooks using PHP - php

Is there any way to send contacts(Name,address,Phn etc) to Freshbook using PHP ? I Am using a Form to get details from the user and i need to create a "client" in freshbook using this form field values . Is it possible ?

As you can see in the freshbooks developer site, there is a service for creating clients.
Since you were asking specifically about PHP, here's some sample code reference from the developer site. Some of the references are in PHP, and you'd probably have to adapt one of them to make it do exactly what you need.

Related

DocuSign API - autofill fields and require signature

This is my first time trying to use the DocuSign API and I haven't been able to find an example of what I'm looking for.
What I'm trying to do is have a user fill out a form on a page, then push the data to DocuSign and use it to auto populate fields, so all they have to do is sign it. Is this possible?
I looked into Power Forms, but I don't seem to have that option when I go to edit the template. Plus, I already have an existing, functioning form I'd like to use.
Right now I'm just using the demo PHP code, which can be found here: DocuSign demo code
Also, when I do use it, I'm not seeing the fields that I've added and the user is able to drag and drop any fields they'd like. The working example can ben seen here: just add your email address to the email parameter
There are two ways of doing it, one is through Powerform which needs that you create a template with the document and create all the datalabels of the document in which dynamic data will be populated using URL. Another way to do it through API, where using API you will send datalabel's values. You can see an example at https://loancosample.docusign.com/ how DocuSign works. Let us know what you have tried.
For populating Powerform, you can find details at
https://support.docusign.com/guides/cdse-powerforms-populating-fields-web-powerform or
Auto Populate DocuSign PowerForm
You can find many examples using API in stackoverflow

Developing REST API using PHP

I am new in API. I am supposed to develop an API that allows our content provider to give information pertaining soccer whereby he is supposed to create matches,update matches etc .I would like to know how to create a REST API in php that allows a client to enter the information. So far,I have created an API but I dont know how to enable the client enter the information.
Informations:
It is the basic form that you have to create and then you must allow the user to submit the form datas that he/she has filled and you have to post the data to the route that you have created.
You must submit the data and then you have to make the submitted data to be json_encode() so that it will work for the API.
Or Else if you are not designing the form and other such things you can directly go in for the API ADD ONS that the Firefox and the chrome has . Assuming you are using the chrome or Firefox as browsers.
https://addons.mozilla.org/en-US/firefox/addon/restclient/
https://addons.mozilla.org/en-US/firefox/addon/rest-easy/
https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en
Okay, assuming that you created a REST API already, download the Advanced REST client chrome extension: https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo
I hope that answers to your question.
P.S: May I know what framework did you use to design your REST API ? Additional details can help you further.
Building REST APIs is atually a rather easy task. That's primarily what I work on at work all day. If you have to use PHP (I'm a fan of PHP, so don't take that comment the wrong way :) ), I would reccommend using a framework like Laravel.
The logic to handle the information once it's requested wouldn't change. You would just need to make your requests/responses REST compliant.
Here is a great tutorial for doing just that!
Also, since you use Yii, this tutorial is probably better. I've never used Yii, so I can't really vouch for it, though.

sending automatic push notification from mysql to android mobile

I have a database that contains some data and i want to get notified automatically on my mobile app if any value in the database is changed without having to check the database every certain time,i have tried many methods and viewed several tutorials but it leads me no where,any help ??
This is not going to be possible with only database. You need to write down an RESTful API which your app needs to poll to look for changes.
Ideal way of doing it is using GSM to push notify your app when ever you change something in your app. This will again require PHP/ASP/NodeJS etc... There must be some way you are updating your database? This should go exactly there.

How to use jotform API to display forms

I am looking to find a way to display forms that are created in JotForm using the APIs. Basically, I'd like to make a call with the API and pass an ID to the API and then have it pull the necessary information back from JotForms in order to render the form that as been created in JotForm itself.
I've done a little research and I haven't found anything that suits my needs just yet. Was wondering if anyone knew of a set of scripts (possibly php) that would allow me to complete such a task?
Please visit this website for your required language code:
http://api.jotform.com/docs/

Can I use reCaptcha on PHP and ASP?

To be more clear, I have different forms on the website (it's my college's website), where they have all the forms on PHP but hey use an ASP engine to send all the info to the email assigned. My question is: on the Google website about the captcha it says to use the second code on a verify.php page but I would like to use the second code on a ASP engine. Is that possible? I tried everything, otherwise we will have to change all the engines we have to PHP.
It's completely possible. How to verify a reCaptcha attempt is publicly documented. The form post will have all the information you need to verify the submission about that individual user. You just need to share the private key between the two applications to make it work together.

Categories