Overview


Read API is used to read data from Gazelle Point-of-Sale. You will need to first authenticate using Authenticate API before invoking Read API.


Parameters


PARAMETER VALUE  
a <Gazelle Cloud ID>  REQUIRED
action read  REQUIRED
query <Query (possible values are listed below this table)>  REQUIRED
start <Starting index of data to be read>  OPTIONAL
end <Ending index of data to be read>  OPTIONAL
search <Keyword to be searched>  OPTIONAL


Possible Query : sale, item, purchase, staff, supplier, brand, customer, branch, paymentmethod, quickkey, taxcode


Examples


Reading the last 3 sale transactions:


PARAMETER VALUE
a

b0bfa14759

action read
query sale
start 1
end 3


URL: https://cloud.phostersoft.com/api?a=b0bfa14759&action=read&query=sale&start=1&end=3


Searching for an item with keyword APPLETV:


PARAMETER VALUE
a

b0bfa14759

action read
query item
start APPLETV


URL: https://cloud.phostersoft.com/api?a=b0bfa14759&action=read&query=item&search=APPLETV