Changes

Bxp API - APP API

1,628 bytes added, 20:13, 26 July 2015
Created page with "= Warning! = This document is under construction. = Introduction = The bxp API (Application Programming Interface) allows digital interaction with bxp without the need..."
= Warning! =


This document is under construction.



= Introduction =


The bxp API (Application Programming Interface) allows digital interaction with bxp without the need for a human to interact with bxp.


The bxp APP API is a subset of the bxp API designed specifically to work with APPs.


= How it works =


The APP API requires secure posts to be sent to the relevant system. This can be done using a number of DOM (Document Object Technologies)


The primary post is sent to https://ww3.allnone.ie/client/client_demo/cti/userAPP_Main.asp You must replace client_demo with the system you are communicating with.


A number of criteria must be passed for the process to work. The first process is a login process which will provide tokenisation for your app.


After login, all function calls must include the tokens in order for the API to respond correctly.


= Functions =

= Login Function =

You must post four key pair values. (not including the semi colons)

* strFunction:login
* strSystem:client_demo
* strClient_Username:Demo Account
* strClient_Password:demoPassword

The system will respond with XML.

<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<strFunction>login</function>
<strError></error>
<intClient_Id>123</userid>
<strClient_SessionField>asdfasdfasdf</strClient_SessionField>
</data>
</syntaxhighlight>



= History =


This API was developed to further the work of Calvin O'Brien and Adam McGivern who work as interns in All n One developing the bxp APP for iPhone, Android and Microsoft devices.

More details on the original project spec can be found here.
7,528
edits