Required permission: | Cashier-Setup.GET |
GET | /Cashiers | ||
---|---|---|---|
GET | /Cashiers/page/{Page} | Get records by given a page number | Each page consists of 20 records |
GET | /Cashiers/Code/{Code} | Get records for given ID |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Page | path | int? | No | |
Code | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Cashiers | form | List<AcPersonal> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Code | form | NVARCHAR(10) | No | Cashier ID |
Name | form | NVARCHAR(100) | No | Cashier Name |
Active | form | NVARCHAR(1) | No | Active (Y/N) |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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 } } }