SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

Cashiers

POS Management Module

Cashier API

Requires Authentication
Required permission:Cashier-Setup.GET
The following routes are available for this service:
GET/Cashiers
GET/Cashiers/page/{Page}Get records by given a page numberEach page consists of 20 records
GET/Cashiers/Code/{Code}Get records for given ID
Cashiers Parameters:
NameParameterData TypeRequiredDescription
Pagepathint?No
CodepathstringNo
CashiersResponse Parameters:
NameParameterData TypeRequiredDescription
CashiersformList<AcPersonal>No
ResponseStatusformResponseStatusNo
AcPersonal Parameters:
NameParameterData TypeRequiredDescription
CodeformNVARCHAR(10)NoCashier ID
NameformNVARCHAR(100)NoCashier Name
ActiveformNVARCHAR(1)NoActive (Y/N)

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Cashiers HTTP/1.1 
Host: snr2u.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Cashiers":[{"Code":"String","Name":"String","Active":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}