Tradera Developer Program

PublicService

Documentation Version 3 > PublicService

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.

  • FetchToken

    Returns a previously created authorization token for the specified user.

    Parameters
    1. userId, The Id of the user
    2. secretKey, The secret key used when the token was created documentation
    Returns

    The authorization Token object

  • GetAcceptedBidderTypes

    Returns the available accepted bidder types.

    Returns

    Array of IdDescriptionPair objects

  • GetAttributeDefinitions

    Returns definitions of the attributes that may be used on items in the specified category.

    Returns

    A list of AttributeDefinition objects.

  • GetCategories

    Returns a hierarchy of Category objects.

    Returns

    Hierarchy of Category objects

  • GetCounties

    Returns a list of counties that can be used in the search query
    in the method GetSearchResultAdvanced .

    Returns

    Array of IdDescriptionPair objects

  • GetExpoItemTypes

    Returns the available expo item types. Includes the price in SEK as Value,
    for possible total fee calculation in the client application.

    Returns

    Array of IdDescriptionPair objects

  • GetFeedback

    This API method returns feedback information regarding a specific user.

    Parameters
    1. getFeedbackRequest, Request object containing user id and filters for the feedback data, see GetFeedbackRequest
    Returns

    A list of GetFeedback items

  • GetFeedbackSummary

    This API method returns feedback summary regarding a specific user.

    Parameters
    1. getFeedbackRequest, Request object containing user id GetFeedbackSummaryRequest
    Returns

    An object containing total number of positive and negative feedback, for the requested user, over the last month, last six months and last twleve months GetFeedbackSummaryResponse

  • GetItem

    Gets an Item.

    Parameters
    1. itemId, The Id of the Item (auction)
    Returns

    Item (auction) object

  • GetItemAddedDescriptions

  • GetItemFieldValues

    Returns an ItemFieldsResponse that holds available values for some of the item fields.

    Returns

    ItemFieldsResponse object.

  • GetItemTypes

    Returns the available item types.

    Returns

    Array of IdDescriptionPair objects

  • GetOfficalTime

    Returns the offical Tradera.com local time (for use with auction endings).

    Returns

    Offical Tradera.com local time

  • GetPaymentTypes

    DEPRECATED: Use GetItemFieldValues instead.

    Returns the available payment types.

    Returns

    Array of IdDescriptionPair objects

  • GetSearchResult

    DEPRECATED: Use Search in SearchService instead.

    Search for items.

    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
    Returns

    Filled SearchResult object

  • GetSearchResultAdvanced

    DEPRECATED: Use SearchAdvanced in SearchService instead.

    Search for items with advanced parameters.

    Parameters
    1. query, The Query with search parameters.
    Returns

    Filled SearchResult object

  • GetSearchResultAdvancedXml

    Search for items with advanced parameters, using an XML string.
    SOAP clients are encouraged to use the GetSearchResultAdvanced method instead.

    Parameters
    1. queryXml, XML data containing parameters for the query. XML format:

      <Query>
      <SearchWords>string</SearchWords>
      <CategoryId>int</CategoryId>
      <SearchInDescription>bool</SearchInDescription>
      <Mode>int or string</Mode>
      <PriceMinimum>int</PriceMinimum>
      <PriceMaximum>int</PriceMaximum>
      <BidsMinimum>int</BidsMinimum>
      <BidsMaximum>int</BidsMaximum>
      <ZipCode>string</ZipCode>
      <CountyId>int</CountyId>
      <Alias>string</Alias>
      <OrderBy>int or string</OrderBy>
      <ItemStatus>int or string</ItemStatus>
      <ItemType>int or string</ItemType>
      <OnlyAuctionsWithBuyNow>bool</OnlyAuctionsWithBuyNow>
      <OnlyItemsWithThumbnail>bool</OnlyItemsWithThumbnail>
      <ItemsPerPage>int</ItemsPerPage>
      <PageNumber>int</PageNumber>

      </Query>
      See the Query class for a description of the parameters.
    Returns

    Filled SearchResult object

  • GetSellerItems

    Gets items for a seller.

    Parameters
    1. userId, The user Id of the seller
    2. categoryId, The Id of the category to look for items in (use 0 for all categories)
    3. filterType, The filter to use:
      0 = All,
      1 = Only active items (EndDate > NOW),
      2 = Only inactive items (EndDate < NOW)

      Can be overridden with either the minEndDate or maxEndate parameters.
    4. minEndDate, Will return items with EndDate > than this parameter.
      Either send NULL or a DateTime <= DateTime.MinValue (0001-01-01 00:00:00) if not used.
    5. maxEndDate, Will return items with EndDate < than this parameter.
      Either send NULL or a DateTime >= DateTime.MaxValue (9999-12-31 00:00:00) if not used.
    Returns

    Array of items (auctions)

  • GetSellerItemsQuickInfo

    Returns minimal of item information. Usefull to get id's of newly created items

  • GetShippingOptions

    Gets the available shipping options from a list of countries.

    Parameters
    1. request, The GetShippingOptionsRequest with parameters.
    Returns

    A GetShippingOptionsResponse object with shipping options from the requested countries grouped by weight-span.

  • GetShippingTypes

    DEPRECATED: Use GetItemFieldValues instead.

    Returns the available types of shipping when the buyer pays freight.

    Returns

    Array of IdDescriptionPair objects

  • GetUserByAlias

    Gets an user based based on the alias

    Parameters
    1. alias, The alias of the user
    Returns

    User object with some fields populated

XHTML CSS