Tradera.com logotype

Tradera Developer Program

SearchService

Documentation Version 3 > SearchService

Services that can be called without any specific authorization (except for a Developer account).

The following operations are supported. For a formal definition, please review the Service Description.

  • Search

    Search for items.
    Possible errors:
    "OrderByValidationError" - use of non-existing sort order (OrderBy).
    "SearchStringValidationError" - when searching for invalid search words.
    "InternalError" - internal error.

    Parameters
    1. query, The search query
    2. categoryId, The Id of the category to search in (0 for all categories)
    3. pageNumber, The page to return, starting with 1 for the first page.
    4. orderBy, How the results should be ordered
      Possible values:
      "Relevance" - order by relevance (default).
      "BidsAscending" - order by bid amount ascending.
      "BidsDescending" - order by bid amount descending.
      "PriceAscending" - order by price ascending.
      "PriceDescending" - order by price descending.
      "EndDateAscending" - order by end date ascending.
      "EndDateDescending" - order by end date descending.
    Returns

    Filled SearchResult object

  • SearchAdvanced

    Search for items with advanced parameters.
    Possible errors:
    "OrderByValidationError" - use of non-existing order by (OrderBy).
    "ItemTypeValidationError" - use of non-existing item type (ItemType).
    "SellerTypeValidationError" - use of non-existing seller type (SellerType).
    "ModeValidationError" - use of non-existing mode (Mode).
    "ItemStatusValidationError" - use of non-existing item status (ItemStatus).
    "ItemConditionValidationError" - use of non-existing item condition (ItemCondition).
    "SearchStringValidationError" - when searching for invalid search words.
    "InternalError" - internal error.

    Parameters
    1. request, The SearchAdvancedRequest with search parameters.
    Returns

    Filled SearchResult object

  • SearchByFixedCriteria

    Search with a fixed set of possible lists.

    Parameters
    1. request, The SearchByFixedCriteriaRequest with search parameters.
    Returns

    Filled SearchResult object

  • SearchByZipCode

    Search for items on given zip code.

    Parameters
    1. request, The SearchByZipCodeRequest with search parameters.
    Returns

    Filled SearchResult object

  • SearchCategoryCount

    Search for category count.
    Possible errors:
    "SellerTypeValidationError" - use of non-existing seller type (SellerType).
    "ModeValidationError" - use of non-existing mode (Mode).
    "ItemTypeValidationError" - use of non-existing item type (ItemType).
    "ItemStatusValidationError" - use of non-existing item status (ItemStatus).
    "ItemConditionValidationError" - use of non-existing item condition (ItemCondition).
    "SearchStringValidationError" - when searching for invalid search words.
    "InternalError" - internal error.

    Parameters
    1. request, The CategoryCountRequest with search parameters.
    Returns

    Filled CategoryCountResult object

XHTML CSS