SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

StocksWithLocationPrice

Stock Module - Enquiry

Stocks API

Requires Authentication
Required permission:Stock-Setup.GET
The following routes are available for this service:
GET/StocksWithLocationPrice/Get records that since last changed for a given date.
StocksWithLocationPrice Parameters:
NameParameterData TypeRequiredDescription
AcLocationIDquerystringYesProvide Location ID to get it's Stock POS Price
EditDatequeryDateTime?NoRecord last modified date. Default: 1899-01-01
AcStockIDquerystringNoStock ID.
PageNumberqueryintYesPage Number. Default 1
RecordsPerPagequeryintYesRecords Per Page. Default 100
StocksWithLocationPriceResponse Parameters:
NameParameterData TypeRequiredDescription
StocksWithLocationPriceformList<AcStockLocation>No
ResponseStatusformResponseStatusNo
AcStockLocation Parameters:
NameParameterData TypeRequiredDescription
AcStockLocationIDformstringYesRecord ID
AcCompanyIDformstringYesCompany ID
AcLocationIDformstringYesLocation ID
AcStockIDformstringYesStock ID
AcStockUOMIDformstringYesStock UOM ID
StockPosPriceformstringYesPOS Price
StockIsActiveAtPOSformstringYesStock Is Active At POS
EditDateformDateTimeYesEdit 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

HTTP + JSON

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"}}}