Required permission: | RFIDAntzStock.GET |
GET | /RFIDAntzStocks | ||
---|---|---|---|
GET | /RFIDAntzStocks/page/{Page} | Get records by given a page number | Each page consists of 20 records |
GET | /RFIDAntzStocks/simple/RFIDAntzStock/{RFIDSerialNumber} | Get a record by given a Serial Number | Header and Detail record would be return if found. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Page | path | int? | No | |
RFIDSerialNumber | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RFIDAntzStock | form | List<RFIDAntzStock> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentHeader | form | AcRFIDAntzStockCompany | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcRFIDAntzStockCompanyID | form | NVARCHAR(20) | Yes | Stock Adjustment Document Number |
AcStockID | form | NVARCHAR(40) | Yes | Stock ID |
AcStockUOMID | form | NVARCHAR(20) | Yes | Stock UOM ID |
AcCompanyID | form | NVARCHAR(20) | Yes | Company ID |
RFIDSerialNumber | form | NVARCHAR(60) | Yes | RFID Serial Number |
RFIDStatus | form | NVARCHAR(40) | Yes | RFID Status |
RFIDQuantityBalance | form | INT | Yes | RFID Quantity Balance |
IsPosSellable | form | NVARCHAR(1) | Yes | IsPosSellable |
CreateBy | form | NVARCHAR(20) | Yes | Create By |
CreateDate | form | DATETIME | Yes | Create Date |
EditBy | form | NVARCHAR(20) | Yes | Edit By |
EditDate | form | DATETIME | Yes | Create Date |
Stamp | form | INT | Yes | Record Stamp. Always 0 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RFIDAntzStocks HTTP/1.1 Host: snr2u.com Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"RFIDAntzStock":[{"DocumentHeader":{"AcRFIDAntzStockCompanyID":"String","AcStockID":"String","AcStockUOMID":"String","AcCompanyID":"String","RFIDSerialNumber":"String","RFIDStatus":"String","RFIDQuantityBalance":0,"IsPosSellable":"String","CreateBy":"String","CreateDate":"\/Date(-62135596800000-0000)\/","EditBy":"String","EditDate":"\/Date(-62135596800000-0000)\/","Stamp":0}}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}