ApexERPHost

<back to all web services

QuerySupplierPriceHistory

Requires Authentication
The following routes are available for this service:
GET/Warehousing/Prices/SupplierPrices/HistoryQuery
QuerySupplierPriceHistory Parameters:
NameParameterData TypeRequiredDescription
CompanyIdqueryint?No
BranchIdqueryint?No
LastSupplyDateBetweenqueryDateTime[]No
Rnquerybool[]No
CUserquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SupplierPriceHistoryQueryView Parameters:
NameParameterData TypeRequiredDescription
HistoryIdformintNo
CUserformstringNo
LastSupplyDateformDateTime?No
CompanyIdformintNo
BranchIdformintNo
ProdPPIdformstringNo
Priceformdecimal?No
NewPriceformdecimal?No
OldPriceformdecimal?No
Vatformbool?No
NewVatformbool?No
OldVatformbool?No
CurrentMargineformdecimal?No
NewMargineformdecimal?No
OldMargineformdecimal?No
DiffPercentformdecimal?No
BCodeformstringNo
ProductNameformstringNo
PlusformintNo
RnformboolNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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 /Warehousing/Prices/SupplierPrices/HistoryQuery HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"HistoryId":0,"CUser":"String","LastSupplyDate":"\/Date(-62135596800000-0000)\/","CompanyId":0,"BranchId":0,"ProdPPId":"String","Price":0,"NewPrice":0,"OldPrice":0,"Vat":false,"NewVat":false,"OldVat":false,"CurrentMargine":0,"NewMargine":0,"OldMargine":0,"DiffPercent":0,"BCode":"String","ProductName":"String","Plus":0,"Rn":false}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}