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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Offset: 0,
	Total: 0,
	Results: 
	[
		{
			HistoryId: 0,
			CUser: String,
			LastSupplyDate: 0001-01-01,
			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
		}
	}
}