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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"StocksWithLocationPrice":[{"AcStockLocationID":"String","AcCompanyID":"String","AcLocationID":"String","AcStockID":"String","AcStockUOMID":"String","StockPosPrice":"String","StockIsActiveAtPOS":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}