Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
Hello ASP.net & PHP GURUS!!Need your help pls

I developed software in PHP (xampp local server) for sales department, our headquarter developed software in ASP.net (online). MY boss asked me to integrate softwares that our salesagent don't need to enter customer data twice. Headquarter developer told they develop API for integration and sent me below code.

https://drive.google.com/file/d/0B-8cKGHuify_S0o1ajdReW4tWk0/view?usp=sharing

What I want is when salesperson enter customer name or anything related to customer record. Using internet, data related to that customer fetch to our webpage form and by submitting that form we can save data into our local database (mysql). Please let me know is it possible if so how?

NOTE: IP &amp; credentials in file are dummy.</pre>


What I have tried:

I don't have any idea, how to start working on it, which tool/software to use!!! please help
Posted
Updated 27-Feb-16 12:03pm
Comments
Sergey Alexandrovich Kryukov 27-Feb-16 12:07pm    
There is no such concept, "call data". And look what you are doing. You are posting some purely textual data on Google drive. Why anyone would go there and download or even view it (where it is not even formatted well enough to get it by copy/paste)? You have to post the code sample here. In the tags <pre lang="cs"> ... </pre>.
And even then, you have to explain the problem, show what you really tried, and so on. So far, this is a question about nothing.
—SA

1 solution

Hi NasH,
According to your document, ASP.Net developer created some API. You have to consume those API in your project means from php code. The API may return XML data. In your document there is API authentication, url, param, etc. You have to use those information to call the API from php. Check below link it may help you.

Consuming ASP.NET Web API services from PHP script

For more details, please search how to consume a API from php.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900