DocsAPI Reference
A

API Reference

Section Guide

Complete technical reference for all operations.

PUT - Create

Insert new records.

POST
/wb/
Parameters
Handshake Required
Name & TypeValues / Description
methodRequired
string (body)

"PUT"

tableRequired
string (body)

Table name.

where
string (body)

Optional unique constraint check.

200 OKSuccess Response Object
application/json
{"err":false,"status":200,"msg":"Data added!","id":123}

GET - Read

Retrieve multiple records.

POST
/wb/
Parameters
Handshake Required
Name & TypeValues / Description
methodRequired
string (body)

"GET"

tableRequired
string (body)

Table name.

whereRequired
string (body)

SQL WHERE clause.

200 OKSuccess Response Object
application/json
{"status":200,"data":[{"id":1,"name":"John Doe"}]}

GET_SELECTED - Select

Selective retrieval method.

POST
/wb/
Parameters
Handshake Required
Name & TypeValues / Description
methodRequired
string (body)

"GET_SELECTED"

tableRequired
string (body)

Table name.

whereRequired
string (body)

SQL WHERE condition.

200 OKSuccess Response Object
application/json
{"status":200,"data":[]}

UPDATE - Modify

Update existing records.

POST
/wb/
Parameters
Handshake Required
Name & TypeValues / Description
methodRequired
string (body)

"UPDATE"

tableRequired
string (body)

Table name.

whereRequired
string (body)

SQL WHERE clause.

act
string (body)

Set to "true" to Insert if Update fails.

200 OKSuccess Response Object
application/json
{"err":false,"msg":"Data updated!","code":200}

DELETE - Remove

Delete records permanently.

POST
/wb/
Parameters
Handshake Required
Name & TypeValues / Description
methodRequired
string (body)

"DELETE"

tableRequired
string (body)

Table name.

whereRequired
string (body)

SQL WHERE condition.

200 OKSuccess Response Object
application/json
{"err":false,"msg":"Data deleted!","code":200}