Cdn Mobile API

<back to all web services

DealerDirectoryRequest

Cdn.MobileApi

The following routes are available for this service:
GET/DealerDirectoryRequest
DealerDirectoryRequest Parameters:
NameParameterData TypeRequiredDescription
KeywordsquerystringNo
CompanyNamequerystringNo
NamequerystringNo
CityquerystringNo
StatequerystringNo
CategoriesquerystringNo
PermalinkquerystringNo
SpecialsOnlyqueryboolNo
NonSpecialsOnlyqueryboolNo
MobileHomePagequeryboolNo
SkipqueryintNo
TakequeryintNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
DealerDirectoryResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<DealerDirectoryDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
DealerDirectoryDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
FirstNameformstringNo
LastNameformstringNo
CompanyformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateAbbrformstringNo
ZipCodeformstringNo
ProvinceRegionformstringNo
CountryformstringNo
EmailAddressformstringNo
PhoneNumberformstringNo
ActiveSubscriptionsformstringNo
AvatarUrlformstringNo
AuthorImageUrlformstringNo
AuthorBioformstringNo
ActiveSubscriberformboolNo
HasAvatarformboolNo
IsActiveCdnxformboolNo
IsFeaturedDealerformboolNo
ShowAvatarImageformboolNo
ShowAuthorImageformboolNo
ShowAuthorAsCompanyformboolNo
WebsiteUrlformstringNo
CategoriesformList<XCategoryDto>No
PermalinkformstringNo
CompanyDescriptionformstringNo
IndustryAffiliationsformstringNo
FacebookformstringNo
TwitterformstringNo
EbayIdformstringNo
InstagramformstringNo
SortNameformstringNo
XCategoryDto Parameters:
NameParameterData TypeRequiredDescription
CategoryNameformstringNo
CategoryPermaLinkformstringNo
IconformstringNo
IsValidDealerDirectoryformboolNo
IsValidEventsformboolNo
IsValidBlogformboolNo
SortOrderformintNo
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo
DealerDirectoryResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<DealerDirectoryDto>No

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.

GET /DealerDirectoryRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":[{"Id":0,"FirstName":"String","LastName":"String","Company":"String","Address1":"String","Address2":"String","City":"String","StateAbbr":"String","ZipCode":"String","ProvinceRegion":"String","Country":"String","EmailAddress":"String","PhoneNumber":"String","ActiveSubscriptions":"String","AvatarUrl":"String","AuthorImageUrl":"String","AuthorBio":"String","ActiveSubscriber":false,"HasAvatar":false,"IsActiveCdnx":false,"IsFeaturedDealer":false,"ShowAvatarImage":false,"ShowAuthorImage":false,"ShowAuthorAsCompany":false,"WebsiteUrl":"String","Categories":[{"CategoryName":"String","CategoryPermaLink":"String","Icon":"String","IsValidDealerDirectory":false,"IsValidEvents":false,"IsValidBlog":false,"SortOrder":0,"Id":0,"Active":false,"LastMod":"\/Date(-62135596800000-0000)\/","LastModBy":"String"}],"Permalink":"String","CompanyDescription":"String","IndustryAffiliations":"String","Facebook":"String","Twitter":"String","EbayId":"String","Instagram":"String","SortName":"String"}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}