Kapalı

Write to API via HTTP Post from PHP form

Use the following HTTP Post to post date to a web API from a PHP form. The PHP form is MULTI Page. Once lead is submitted at the end of the multi-page form, the Lead ID should be displayed for the user's reference. This will be implemented on THREE different/very similar forms. Do NOT interfere with the way in which the form saves to the SQL database.

Will send the addlead URL and form URLs to interested bidders.

Lead HTTP Post

An HTTP Post can be submitted to the API in order to create a Lead in the Database. On success, the API will send the Lead ID assigned in the HTTP response. If an error occurs and the lead could not be saved into CreditSoft, a message will be returned in the HTTP response.

Fields Sent via HTTP Post

FirstName

LastName

Address1

Address2

City

State

Zip

Email

HomePhone

WorkPhone

HomePhoneTime

DebtAmount

BillStatus

AdvertisingID (Must be the Advertising ID known to CreditSoft)

Post Examples

The web page that will process the HTTP POSTS is API_AddLead.aspx. There will be two ways of sending information to this page: Query String and Create HTTP POST request.

Add Lead using HTTP Post

<form name="API_AddLead" id="API_AddLead" method="POST" action="http://<WEBSERVER>/[url removed, login to view] " target="cnfm">

<input type="hidden" name="__VIEWSTATE" value="" />

<input name="FirstName" type="hidden" id="FirstName" value="John" />

<input name="lastname" type="hidden" id="lastname" value="Smith" />

<input name="address1" type="hidden" id="address1" value="1600 pennsylvania ave" />

<input name="address2" type="hidden" id="address2" value="" />

<input name="city" type="hidden" id="city" value="Jonestown" />

<input name="state" type="hidden" id="state" value="FL" />

<input name="zip" type="hidden" id="zip" value="99999" />

<input name="email" type="hidden" id="email" value="" />

<input name="homephone" type="hidden" id="homephone" value="9995551212" />

<input name="workphone" type="hidden" id="workphone" value="8995551212" />

<input name="homephonetime" type="hidden" id=" homephonetime " value="1300" />

<input name="debtamount" type="hidden" id="debtamount" value="50000" />

<input name="billstatus" type="hidden" id=" billstatus " value=" oneday " />

<input name="advertisingid" type="hidden" id="advertisingid" value="999" />

</form>

Responses

On Success

RESULT=SUCCESS<br>

LEADID=[CreditSoftLeadID]

On Failure

RESULT=FAILURE<BR>

ERROR=[ErrorMessage]

The possible error messages are:

Invalid Advertising ID

First Name is required

Last Name is required

Debt Amount must be numeric

Unknown error ocurred. Error Details: [ErrorDetails]

Beceriler: Elektronik Formlar, PHP

Daha fazlasını görün: api_addlead, value city, invalid email error, fl smith, be smith, write api php, php post form api, smith advertising, electronic advertising, write s, write query, write post, write api using php, web api, smith, post information, post advertising, php multi, oneday, numeric, input method, http://, http, http request, http post

İşveren Hakkında:
( 33 değerlendirme ) Raleigh, United States

Proje NO: #721894

20 freelancer bu iş için ortalamada 115$ teklif veriyor

toinnisfree

quick pro help. escrow required.

1 gün içinde 100$ USD
(513 Değerlendirme)
7.8
SigmaVisual

We can help in your project, please check PMB and our ratings/reviews to get idea of our experience.

in 5 gün içinde200$ USD
(219 Değerlendirme)
7.7
srinichal

I will deliver it with CURL

in 2 gün içinde80$ USD
(78 Değerlendirme)
6.8
arnab0143

--Hello Sir, Please check your pm. Thanks--

1 gün içinde 40$ USD
(67 Değerlendirme)
6.6
consus

Hello Sir We have done similar sort of project please see the video demonstration for this project in your inbox Thanks

in 7 gün içinde500$ USD
(17 Değerlendirme)
6.2
rajawi9999

Please check PM

in 2 gün içinde80$ USD
(122 Değerlendirme)
6.2
sidfishman

Please see PM, thanks.

in 0 gün içinde100$ USD
(66 Değerlendirme)
6.1
wincent

this is easy for me.

1 gün içinde 100$ USD
(79 Değerlendirme)
6.0
h114

please have a look at your pmb. thanks

1 gün içinde 32$ USD
(22 Değerlendirme)
6.0
dreamci

Hello, please check pm

1 gün içinde 50$ USD
(43 Değerlendirme)
5.5
ahmed613

Hey, I am PHP developer with 3 yrs experience.. I am ready to work on it. :)

1 gün içinde 30$ USD
(58 Değerlendirme)
4.9
cerven

Hello, only check PM please.

in 0 gün içinde40$ USD
(11 Değerlendirme)
4.5
univane

PLS CHECK PM

in 5 gün içinde150$ USD
(22 Değerlendirme)
4.4
dhayes82

This should be a straightforward task. I have approx 10 years experience with php/mysql, and love working with API integrations. I've developed many vtiger crm customizations including integrations with lead providers.

in 2 gün içinde100$ USD
(2 Değerlendirme)
3.6
wmbhs

hello, i'm php/mysql ajax expert with 5 years of experience. i can do this task without any problem. you can see my personal site [url removed, login to view] , thanks

in 3 gün içinde200$ USD
(1 Değerlendirme)
3.2
radford

I can write the javascript(AJAX) to perform the function for reuse in multiple forms. US Based.

in 3 gün içinde200$ USD
(6 Değerlendirme)
3.1
ecandra

I'm ready to start the work. Thanks.

in 0 gün içinde30$ USD
(5 Değerlendirme)
2.6
vtomljan

Hi, we can start now and You can get php code in 4-5 hours. Regards, Vedran

1 gün içinde 75$ USD
(6 Değerlendirme)
2.2
expertandhonest

hi i am ready to start. Many time i have worked with Api. I am also sending my details. Thanks

1 gün içinde 30$ USD
(0 Değerlendirme)
0.0
PrasadBhanage

I can do this in time.

in 10 gün içinde100$ USD
(0 Değerlendirme)
0.0