ContentSearch

Use the ContentSearch operation to search through PhoneDog's complete catalog of news, articles and videos being posted on phonedog.com every day.

Request parameters

Request parameters specify the terms of your request and control the output data that is returned to you. The following parameters can be used with this operation.

OperationThe operation you want PWS to performYesContentSearch
ApiKeyYour ApiKey - used to authorize your requestYes 
AgentIdYour AgentId - used to authorize your requestYes 
AuthorIdUse the authorid to limit your result to content published by a specific author onlyNo

Valid value:

  • Valid author id (int)
ItemIdUse the itemidto limit your results to content related to the specified phone.No

Valid value:

CompanyIdUse the companyid to limit your results to content related to the specified company.No

Valid value:

ContentSearchTypeOptional parameter that allows filtering by a certain type of content.No

Valid value:

  • All
  • Videos
  • Articles
  • New Phones
  • Coming Soon Phones
Keyword

Use the keyword paramter to refine your search based on a specific word.

No

Valid value:

  • A keyword string no longer than 50 characters
TagUse the tag parameter to refine your search to a specific tag associated to all content items returned.No

Valid value:

  • Any valid string no longer than 50 characters
SortUse the sort parameter to specify how your results will be ordered.No

Valid value:

  • newest
  • featured
  • popular

(default value if not set is "featured")

PageIndexThe pageindex parameter allows you to create a paginated list of search results. This parameter returns the specified page. The first page containing 15 content items will be returned if left blank.No

Valid value:

  • 1 through 1000
PageSizeOptionally you may choose to change the amount of results per page using the pagesize parameter. No

Valid value:

  • 1 through 15