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.
| Operation | The operation you want PWS to perform | Yes | ContentSearch |
| ApiKey | Your ApiKey - used to authorize your request | Yes | |
| AgentId | Your AgentId - used to authorize your request | Yes | |
| AuthorId | Use the authorid to limit your result to content published by a specific author only | No | Valid value: |
| ItemId | Use the itemidto limit your results to content related to the specified phone. | No | Valid value: |
| CompanyId | Use the companyid to limit your results to content related to the specified company. | No | Valid value: |
| ContentSearchType | Optional 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
|
| Tag | Use 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
|
| Sort | Use the sort parameter to specify how your results will be ordered. | No | Valid value: (default value if not set is "featured") |
| PageIndex | The 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: |
| PageSize | Optionally you may choose to change the amount of results per page using the pagesize parameter. | No | Valid value: |