Cdn API

<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 .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.

POST /PricingToolAdsRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0,"Title":"String","ImageUrl1":"String","ImageUrl2":"String","ImageUrl3":"String","ImageUrl4":"String","StartDate":"\/Date(-62135596800000-0000)\/","EndDate":"\/Date(-62135596800000-0000)\/","SortOrder":0,"CustId":0,"ShowInactive":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":[{"Title":"String","ImageUrl1":"String","ImageUrl2":"String","ImageUrl3":"String","ImageUrl4":"String","StartDate":"\/Date(-62135596800000-0000)\/","StartDateDisplay":"String","EndDate":"\/Date(-62135596800000-0000)\/","EndDateDisplay":"String","SortOrder":0,"Id":0,"Active":false,"LastMod":"\/Date(-62135596800000-0000)\/","LastModBy":"String"}],"AccessRemaining":0,"PermitAccess":false,"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}