Cdn API

<back to all web services

CustomerCatalogFavoriteRequest

Cdn.Api

The following routes are available for this service:
GET,POST/CustomerCatalogFavoriteRequest
CustomerCatalogFavoriteRequest Parameters:
NameParameterData TypeRequiredDescription
CustomerIdbodylongNo
NumberToRecordbodyintNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
CustomerCatalogFavoriteResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CustomerCatalogFavoriteDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CustomerCatalogFavoriteDto Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
PermalinkformstringNo
CatalogTypeformstringNo
SourceformstringNo
CountformintNo
DayformintNo
MonthformintNo
YearformintNo
CatalogNodeIdformlongNo
CustomerIdformlongNo
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo
CustomerCatalogFavoriteResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CustomerCatalogFavoriteDto>No

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.

POST /CustomerCatalogFavoriteRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	CustomerId: 0,
	NumberToRecord: 0,
	Id: 0,
	OrderBy: 
	[
		String
	],
	OrderDirections: 
	[
		Asc
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			Title: String,
			Permalink: String,
			CatalogType: String,
			Source: String,
			Count: 0,
			Day: 0,
			Month: 0,
			Year: 0,
			CatalogNodeId: 0,
			CustomerId: 0,
			Id: 0,
			Active: False,
			LastMod: 0001-01-01,
			LastModBy: String
		}
	],
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}