Cdn API

<back to all web services

ProductPurchaseReportRequest

Cdn.Api

The following routes are available for this service:
GET/ProductPurchaseReportRequest
ProductPurchaseReportRequest Parameters:
NameParameterData TypeRequiredDescription
TypequerystringNo
FromDatequerystringNo
ToDatequerystringNo
PagequeryintNo
Categoriesquerylong[]No
ClearCachequeryboolNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
ProductPurchaseReportResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformProductPurchaseItemDto[]No
CacheAgeformdoubleNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
ProductPurchaseItemDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DisplayNameformstringNo
ProductDisplayNameformstringNo
ShipMethodformstringNo
PayMethodformstringNo
ItemSpecificNameformstringNo
SourceOfSaleformstringNo
PriceformdecimalNo
ListPriceformdecimalNo
CustomerIdformlongNo
OrderDateformDateTimeNo
OrderDateDisplayformstringNo
ExpirationDateformDateTimeNo
ExpirationDateDisplayformstringNo
CategoryIdformlongNo
IsOnlineformboolNo
IsPrintformboolNo
IsRecurringformboolNo
IsSubscribableformboolNo
StatusformstringNo
SubscriptionStartDateDisplayformstringNo
EbayIdformstringNo
CdnxIdformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
ProvinceformstringNo
CountryformstringNo
EmailAddressformstringNo
PhoneNumberformstringNo
ProductPurchaseReportResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformProductPurchaseItemDto[]No
CacheAgeformdoubleNo

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 /ProductPurchaseReportRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			Id: 0,
			DisplayName: String,
			ProductDisplayName: String,
			ShipMethod: String,
			PayMethod: String,
			ItemSpecificName: String,
			SourceOfSale: String,
			Price: 0,
			ListPrice: 0,
			CustomerId: 0,
			OrderDate: 0001-01-01,
			OrderDateDisplay: String,
			ExpirationDate: 0001-01-01,
			ExpirationDateDisplay: String,
			CategoryId: 0,
			IsOnline: False,
			IsPrint: False,
			IsRecurring: False,
			IsSubscribable: False,
			Status: String,
			SubscriptionStartDateDisplay: String,
			EbayId: String,
			CdnxId: String,
			Address: String,
			Address2: String,
			City: String,
			State: String,
			Zip: String,
			Province: String,
			Country: String,
			EmailAddress: String,
			PhoneNumber: String
		}
	],
	CacheAge: 0,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}