Cdn API - CPG Source

<back to all web services

PricingToolAdsRequest

Cdn.Api

The following routes are available for this service:
GET,POST,PUT,DELETE/PricingToolAdsRequest
PricingToolAdsRequest Parameters:
NameParameterData TypeRequiredDescription
IdbodylongNo
TitlebodystringNo
ImageUrl1bodystringNo
ImageUrl2bodystringNo
ImageUrl3bodystringNo
ImageUrl4bodystringNo
StartDatebodyDateTimeNo
EndDatebodyDateTimeNo
SortOrderbodyintNo
CustIdbodylongNo
ShowInactivebodyboolNo
PricingToolAdsResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<PricingToolAdDto>No
AccessRemainingformintNo
PermitAccessformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
PricingToolAdDto Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
ImageUrl1formstringNo
ImageUrl2formstringNo
ImageUrl3formstringNo
ImageUrl4formstringNo
StartDateformDateTimeNo
StartDateDisplayformstringNo
EndDateformDateTimeNo
EndDateDisplayformstringNo
SortOrderformintNo
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo

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

{
	Id: 0,
	Title: String,
	ImageUrl1: String,
	ImageUrl2: String,
	ImageUrl3: String,
	ImageUrl4: String,
	StartDate: 0001-01-01,
	EndDate: 0001-01-01,
	SortOrder: 0,
	CustId: 0,
	ShowInactive: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			Title: String,
			ImageUrl1: String,
			ImageUrl2: String,
			ImageUrl3: String,
			ImageUrl4: String,
			StartDate: 0001-01-01,
			StartDateDisplay: String,
			EndDate: 0001-01-01,
			EndDateDisplay: String,
			SortOrder: 0,
			Id: 0,
			Active: False,
			LastMod: 0001-01-01,
			LastModBy: String
		}
	],
	AccessRemaining: 0,
	PermitAccess: False,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}