Required permission: | Stock-Setup.GET |
GET | /StocksWithLocationPrice/ | Get records that since last changed for a given date. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcLocationID | query | string | Yes | Provide Location ID to get it's Stock POS Price |
EditDate | query | DateTime? | No | Record last modified date. Default: 1899-01-01 |
AcStockID | query | string | No | Stock ID. |
PageNumber | query | int | Yes | Page Number. Default 1 |
RecordsPerPage | query | int | Yes | Records Per Page. Default 100 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StocksWithLocationPrice | form | List<AcStockLocation> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcStockLocationID | form | string | Yes | Record ID |
AcCompanyID | form | string | Yes | Company ID |
AcLocationID | form | string | Yes | Location ID |
AcStockID | form | string | Yes | Stock ID |
AcStockUOMID | form | string | Yes | Stock UOM ID |
StockPosPrice | form | string | Yes | POS Price |
StockIsActiveAtPOS | form | string | Yes | Stock Is Active At POS |
EditDate | form | DateTime | Yes | Edit Date |
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 /StocksWithLocationPrice/ HTTP/1.1 Host: snr2u.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { StocksWithLocationPrice: [ { AcStockLocationID: String, AcCompanyID: String, AcLocationID: String, AcStockID: String, AcStockUOMID: String, StockPosPrice: String, StockIsActiveAtPOS: String, EditDate: 0001-01-01 } ], ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }