Difference between revisions of "Bxp API - APP API"

From All n One's bxp software Wixi

Jump to: navigation, search
Line 57: Line 57:
  
 
Forms
 
Forms
* campaignlookup
+
* formlookup  [[Bxp_API_APP_-_Function_-_Diary]]
* insert_record
 
  
  
Line 70: Line 69:
 
* list_reminders  (future build)
 
* list_reminders  (future build)
 
* list_appointment  (future build)
 
* list_appointment  (future build)
 
+
* insert_formrecord
 
 
 
 
  
  
Line 79: Line 76:
  
  
# "A function must be provided"
+
For a full listing of all errors [[Bxp_API_APP_-_Error_Listing]]
# "A system must be provided"
 
# "Cross System Calls Not Possible [your call] [system location] "
 
# "Invalid Account Details"
 
# "Login - No Username"
 
# "Login - No Password"
 
# "Login - System Not Active"
 
# "Login - System Expired"
 
# "Login - Unrecognised username [username]"
 
# "Login - Unrecognised username and or password"
 
# "Login - IP Restriction Failure"
 
# "Unrecognised Function [function]"
 
# "Account Check - No client id"
 
# "Account Check - No session field"
 
# "Account Check - Account not found"
 
# "Diary - No Diary Id passed"
 
# "Diary - No permissions to access this diary [intDiary]"
 
# "Diary - Incorrect parameters"
 
  
  

Revision as of 13:21, 16 August 2015

1 Warning!

This document is under construction.


2 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.


3 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.


4 Functions

4.1 Function List

The functions are laid out in terms of usual order of processing

Initial


Lister


Diary


Forms


System

  • list_hamsters


Future build items

  • reminders (future build)
  • todo (future build)
  • list_reminders (future build)
  • list_appointment (future build)
  • insert_formrecord


5 Error Listing

For a full listing of all errors Bxp_API_APP_-_Error_Listing


6 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.