Important!
This documentation has been deprecated. We are migrating Oempro help articles to our new help portal. Take a look at more detailed help articles on our new help portal.
Sections:
API allows developers to integrate different softwares easily. Oempro includes full-featured API. You can access to API function of almost every functionality that you can see on the Oempro user interface.
Oempro's API allows you to connect and integrate via HTTP POST and GET methods.
To give you an example, you can integrate your website shopping cart with Oempro easily. For every new customer, you can call Oempro's subscription API command and subscribe the new customer email address to a subscriber list and let Oempro to send your customer a series of post-purchase auto responders.
Oempro API gives you endless capabilities and opportunities.
We tried to list a few benefits that you will have with Oempro's API capabilities:
Sending Request To Oempro API
Oempro API can accept data in HTTP POST or HTTP GET method. Below, we provided an HTTP GET example that logs you into user area:
http://yourdomain.com/oempro/api.php?Command=User.Login&ResponseFormat=XML&
Username=admin&Password=admin
API Response
Once you execute the above API call, you will receive either a success data or error data:
On error:
<?xml version="1.0" encoding="utf-8"?>
<response>
<Success></Success>
<ErrorCode/>
<ErrorText/>
</response>
On success:
<?xml version="1.0" encoding="utf-8"?>
<response>
<Success><![CDATA[1]]></Success>
<ErrorCode><![CDATA[0]]></ErrorCode>
<ErrorText></ErrorText>
<SessionID><![CDATA[08be000c325a0cc466d85032bf9c9573]]></SessionID>
<UserInfo>
<UserID><![CDATA[1]]></UserID>
<RelUserGroupID><![CDATA[1]]></RelUserGroupID>
<EmailAddress><![CDATA[[email protected]]]></EmailAddress>
<Username><![CDATA[admin]]></Username>
<Password><![CDATA[21232f297a57a5a743894a0e4a801fc3]]></Password>
</UserInfo>
</response>
Stay connected!