示例#1
0
        /// <summary>
        /// Retrieves a list of the items posted by the authenticated user, including
        /// the related item data.
        /// </summary>
        ///
        /// <param name="UserID">
        /// <br/><br/>
        /// <span class="tablenote"><strong>Note:</strong>
        /// This field should no longer be used, and will be ignored if it is included in a <b>GetSellerList</b> request. There are plans to remove this field from the public WSDL. The only eBay user ID that can be used is the one associated with the authentication token.
        /// </span>
        /// </param>
        ///
        /// <param name="MotorsDealerUserList">
        /// Specifies the list of Motors Dealer sellers for which a special set of
        /// metrics can be requested. Applies to eBay Motors Pro applications only.
        /// </param>
        ///
        /// <param name="EndTimeFrom">
        /// Specifies the earliest (oldest) date to use in a date range filter based on
        /// item end time. Specify either an end-time range or a start-time range
        /// filter in every call request. Each of the time ranges must be a value less than
        /// 120 days.
        /// </param>
        ///
        /// <param name="EndTimeTo">
        /// Specifies the latest (most recent) date to use in a date range filter based on item end time. Must be specified if <b>EndTimeFrom</b> is specified.
        /// </param>
        ///
        /// <param name="Sort">
        /// Specifies the order in which returned items are sorted (based on the end
        /// dates of the item listings). Valid values:
        ///
        /// 0 = No sorting
        /// 1 = Sort in descending order
        /// 2 = Sort in ascending order
        /// </param>
        ///
        /// <param name="StartTimeFrom">
        /// Specifies the earliest (oldest) date to use in a date range filter based on
        /// item start time. Each of the time ranges must be a value less than
        /// 120 days. In all calls, at least one date-range filter must be specified
        /// (i.e., you must specify either the end time range or start time range
        /// in every request).
        /// </param>
        ///
        /// <param name="StartTimeTo">
        /// Specifies the latest (most recent) date to use in a date range filter based on item start time. Must be specified if <b>StartTimeFrom</b> is specified.
        /// </param>
        ///
        /// <param name="Pagination">
        /// Contains the data controlling the pagination of the returned values. If you set a <b>DetailLevel</b> in this call, you must set pagination values. The <b>Pagination</b> field contains the number of items to be returned per page of data (per call), and the page number to return with the current call.
        /// </param>
        ///
        /// <param name="GranularityLevel">
        /// Specifies the subset of item and user fields to return. See <b>GetSellerList</b> for a list of the fields that are returned for each granularity level. For <b>GetSellerLis</b>t, use <b>DetailLevel</b> or <b>GranularityLevel</b> in a request, but not both. For <b>GetSellerList</b>, if <b>GranularityLevel</b> is specified, <b>DetailLevel</b> is ignored.
        /// </param>
        ///
        /// <param name="SKUArrayList">
        /// Container for a set of SKUs.
        /// Filters (reduces) the response to only include active listings
        /// that the seller listed with any of the specified SKUs.
        /// If multiple listings include the same SKU, they are
        /// all returned (assuming they also match the other criteria
        /// in the GetSellerList request).
        ///
        /// SKUArray can be used to retrieve items listed by the user
        /// identified in AuthToken or in UserID.
        ///
        /// <span class="tablenote"><b>Note:</b>
        /// Listings with matching SKUs are returned regardless of their
        /// Item.InventoryTrackingMethod settings.
        /// </span>
        /// </param>
        ///
        /// <param name="IncludeWatchCount">
        /// Specifies whether to include <b>WatchCount</b> in Item nodes returned. <b>WatchCount</b> is only returned with <b>DetailLevel ReturnAll</b>.
        /// </param>
        ///
        /// <param name="AdminEndedItemsOnly">
        /// Specifies whether to return only items that were administratively ended
        /// based on a policy violation.
        /// </param>
        ///
        /// <param name="CategoryID">
        /// The category ID for the items retrieved. If you specify <b>CategoryID</b> in a <b>GetSellerList</b> call, the response contains only items in the category you specify.
        /// </param>
        ///
        /// <param name="IncludeVariations">
        /// If true, the <b>Variations</b> node is returned for all multi-variation listings in the response.  <b>Note:</b> If the seller includes a large number of variations in many listings, using this flag may degrade the call's performance. Therefore, when you use this flag, you may need to reduce the total number of items you're requesting at once. <br/><br/> For example, you may need to use shorter time ranges in the <b>EndTime</b> or <b>StartTime</b> filters, fewer entries per page in <b>Pagination</b>, and/or <b>SKUArray</b>.
        /// </param>
        ///
        public ItemTypeCollection GetSellerList(string UserID, UserIDArrayType MotorsDealerUserList, DateTime EndTimeFrom, DateTime EndTimeTo, int Sort, DateTime StartTimeFrom, DateTime StartTimeTo, PaginationType Pagination, GranularityLevelCodeType GranularityLevel, StringCollection SKUArrayList, bool IncludeWatchCount, bool AdminEndedItemsOnly, int CategoryID, bool IncludeVariations)
        {
            this.UserID = UserID;
            this.MotorsDealerUserList = MotorsDealerUserList;
            this.EndTimeFrom          = EndTimeFrom;
            this.EndTimeTo            = EndTimeTo;
            this.Sort                = Sort;
            this.StartTimeFrom       = StartTimeFrom;
            this.StartTimeTo         = StartTimeTo;
            this.Pagination          = Pagination;
            this.GranularityLevel    = GranularityLevel;
            this.SKUArrayList        = SKUArrayList;
            this.IncludeWatchCount   = IncludeWatchCount;
            this.AdminEndedItemsOnly = AdminEndedItemsOnly;
            this.CategoryID          = CategoryID;
            this.IncludeVariations   = IncludeVariations;

            Execute();
            return(ApiResponse.ItemArray);
        }
		/// <summary>
		/// Retrieves all items the user is currently bidding on, and the ones they have won
		/// or purchased.
		/// </summary>
		/// 
		/// <param name="ActiveItemsOnly">
		/// Indicates whether or not to limit the result set to active items. If true, only
		/// active items are returned and the EndTimeFrom and EndTimeTo filters are
		/// ignored. If false (or not sent), both active and ended items are returned.
		/// </param>
		///
		/// <param name="EndTimeFrom">
		/// Used in conjunction with EndTimeTo. Limits returned items to only those for
		/// which the item's end date is on or after the date-time specified. Specify an
		/// end date within 30 days prior to today. Items that ended more than 30 days
		/// ago are omitted from the results. If specified, EndTimeTo must also be
		/// specified. Express date-time in the format YYYY-MM-DD HH:MM:SS, and in GMT.
		/// (For information on how to convert between your local time zone and GMT, see
		/// Time Values Note.) This field is ignored if ActiveItemsOnly is true.
		/// </param>
		///
		/// <param name="EndTimeTo">
		/// Used in conjunction with EndTimeFrom. Limits returned items to only those for
		/// which the item's end date is on or before the date-time specified. If
		/// specified, EndTimeFrom must also be specified. Express date-time in the format
		/// YYYY-MM-DD HH:MM:SS, and in GMT. This field is ignored if ActiveItemsOnly is
		/// true. Note that for GTC items, whose end times automatically increment by 30
		/// days every 30 days, an EndTimeTo within in the first 30 days of a listing will
		/// refer to the listing's initial end time.
		/// </param>
		///
		/// <param name="UserID">
		/// The user for whom information should be returned. If
		/// provided, overrides user defined via RequesterCredentials
		/// in header.
		/// </param>
		///
		/// <param name="GranularityLevel">
		/// You can control some of the fields returned in the response by specifying one
		/// of two values in the GranularityLevel field: Fine or Medium. Fine returns
		/// more fields than the default, while setting this field to Medium returns an
		/// abbreviated set of results.
		/// </param>
		///
		public ItemTypeCollection GetBidderList(bool ActiveItemsOnly, DateTime EndTimeFrom, DateTime EndTimeTo, string UserID, GranularityLevelCodeType GranularityLevel)
		{
			this.ActiveItemsOnly = ActiveItemsOnly;
			this.EndTimeFrom = EndTimeFrom;
			this.EndTimeTo = EndTimeTo;
			this.UserID = UserID;
			this.GranularityLevel = GranularityLevel;

			Execute();
			return ApiResponse.BidItemArray;
		}
示例#3
0
        /// <summary>
        /// Retrieves all items the user is currently bidding on, and the ones they have won
        /// or purchased.
        /// </summary>
        ///
        /// <param name="ActiveItemsOnly">
        /// Indicates whether or not to limit the result set to active items. If true, only
        /// active items are returned and the EndTimeFrom and EndTimeTo filters are
        /// ignored. If false (or not sent), both active and ended items are returned.
        /// </param>
        ///
        /// <param name="EndTimeFrom">
        /// Used in conjunction with EndTimeTo. Limits returned items to only those for
        /// which the item's end date is on or after the date-time specified. Specify an
        /// end date within 30 days prior to today. Items that ended more than 30 days
        /// ago are omitted from the results. If specified, EndTimeTo must also be
        /// specified. Express date-time in the format YYYY-MM-DD HH:MM:SS, and in GMT.
        /// (For information on how to convert between your local time zone and GMT, see
        /// Time Values Note.) This field is ignored if ActiveItemsOnly is true.
        /// </param>
        ///
        /// <param name="EndTimeTo">
        /// Used in conjunction with EndTimeFrom. Limits returned items to only those for
        /// which the item's end date is on or before the date-time specified. If
        /// specified, EndTimeFrom must also be specified. Express date-time in the format
        /// YYYY-MM-DD HH:MM:SS, and in GMT. This field is ignored if ActiveItemsOnly is
        /// true. Note that for GTC items, whose end times automatically increment by 30
        /// days every 30 days, an EndTimeTo within in the first 30 days of a listing will
        /// refer to the listing's initial end time.
        /// </param>
        ///
        /// <param name="UserID">
        /// The user for whom information should be returned. If
        /// provided, overrides user defined via RequesterCredentials
        /// in header.
        /// </param>
        ///
        /// <param name="GranularityLevel">
        /// You can control some of the fields returned in the response by specifying one
        /// of two values in the GranularityLevel field: Fine or Medium. Fine returns
        /// more fields than the default, while setting this field to Medium returns an
        /// abbreviated set of results.
        /// </param>
        ///
        public ItemTypeCollection GetBidderList(bool ActiveItemsOnly, DateTime EndTimeFrom, DateTime EndTimeTo, string UserID, GranularityLevelCodeType GranularityLevel)
        {
            this.ActiveItemsOnly  = ActiveItemsOnly;
            this.EndTimeFrom      = EndTimeFrom;
            this.EndTimeTo        = EndTimeTo;
            this.UserID           = UserID;
            this.GranularityLevel = GranularityLevel;

            Execute();
            return(ApiResponse.BidItemArray);
        }
示例#4
0
        /// <summary>
        /// Retrieves item listings based on keywords you specify. The keywords can
        /// include wildcards.
        /// </summary>
        /// 
        /// <param name="MotorsGermanySearchable">
        /// Limits the results based on each item's eligibility to appear on the
        /// mobile.de site. If false, excludes eligible items from search results. If
        /// true, queries for eligible items only. If not specified, the search
        /// results are not affected. Only applicable for items listed on the eBay
        /// Germany site (site ID 77) in subcategories of mobile.de search-enabled
        /// categories.
        /// </param>
        ///
        /// <param name="Query">
        /// A query that specifies a search string. The search string consists of one or more
        /// keywords to search for in the listing title and/or description.
        /// The words "and" and "or" are treated like any other word. Only use "and",
        /// "or", or "the" if you are searching for listings containing these words.
        /// You can use AND or OR logic by including certain modifiers.
        /// Wildcards (e.g., *) are also supported. Be careful when using spaces before
        /// or after modifiers and wildcards (+, -, or *). See the
        /// eBay Web Services Guide	for a list of valid modifiers and examples.
        /// Query is not applicable in combination with ExternalProductID or ProductID.
        /// </param>
        ///
        /// <param name="CategoryID">
        /// Limits the result set to items in the specified category.
        /// If no category ID is specified, all categories
        /// are searched by default.
        /// 
        /// <span class="tablenote"><b>Note:</b>
        /// CategoryID does not control whether you will see the
        /// item's categories in the response. Set the value of DetailLevel to
        /// ItemReturnCategories to retrieve each item's primary category and
        /// secondary category (if any) in the response.</span>
        /// 
        /// If the specified category ID doesn't match an existing category
        /// for the site, an invalid-category error message is returned.
        /// Here are a few ways to determine valid categories:
        /// - Use the Categories input field to retrieve
        /// matching categories, and then submit the request again with one of
        /// those categories.
        /// - Find items in all categories but set DetailLevel to
        /// ItemReturnCategories, determine the primary (or secondary)
        /// category ID for a similar item in the results, and then
        /// submit the request again with that category ID.
        /// - Use another call like GetCategories or GetSuggestedCategories to
        /// find a valid category ID.
        /// 
        /// You must pass ProductID, Query, ExternalProductID, or CategoryID
        /// in the request. CategoryID can be used in combination with Query.
        /// It is not allowed with ExternalProductID or ProductID.
        /// If you pass CategoryID without Query, it
        /// must specify a leaf category ID. That is, it cannot be a
        /// meta-category ID (e.g., 267 for "Books").
        /// </param>
        ///
        /// <param name="SearchFlagsList">
        /// Secondary search criterion that checks item descriptions for keywords that
        /// match the query, limits the search results to only charity items, limits
        /// the result set to those items with PayPal as a payment method, and/or
        /// provides other criteria to refine the search.
        /// </param>
        ///
        /// <param name="PriceRangeFilter">
        /// Limits the result set to just those items where the price is within the
        /// specified range. The PriceRangeFilterType includes a minimum and a maximum
        /// price.
        /// </param>
        ///
        /// <param name="ProximitySearch">
        /// Limits the result set to just those items whose location is within a
        /// specified distance of a postal code. The ProximitySearchType includes
        /// a maximum distance and a postal code.
        /// </param>
        ///
        /// <param name="ItemTypeFilter">
        /// Filters items based on the ListingType set for the items.
        /// If ItemTypeFilter is not
        /// specified (or if the AllItemTypes value of ItemTypeFilter is specified),
        /// all listing types can be returned unless another relevant filter is
        /// specified.
        /// </param>
        ///
        /// <param name="SearchType">
        /// Limits the listings in the result set based on whether they are in the
        /// Gallery. The choices are items in the Gallery or Gallery and non-Gallery
        /// items.
        /// </param>
        ///
        /// <param name="UserIdFilter">
        /// Limits the the result set to just those items listed by one or more
        /// specified sellers or those items not listed by the one or more specified
        /// sellers.
        /// </param>
        ///
        /// <param name="SearchLocationFilter">
        /// Limits the result set to just those items that meet location criteria:
        /// listed in a specified eBay site, location where the seller has the item,
        /// location from which the user is searching, and/or items listed with a
        /// specified currency.
        /// </param>
        ///
        /// <param name="StoreSearchFilter">
        /// Limits the result set to just those items that meet criteria related to
        /// eBay Stores sellers and eBay Stores. Use this to retrieve items listed in
        /// a particular seller's eBay Store or in all store sellers' eBay Stores.
        /// This filter always causes item description text to be searched with the
        /// string specified in the Query field. That is, StoreSearchFilter
        /// forces the type of search that would have occurred if you had specified
        /// SearchInDescription in the SearchFlags field.
        /// </param>
        ///
        /// <param name="Order">
        /// Specifies the order in which listings are returned in a result set.
        /// Listings may be sorted by end time, start time, and in other ways listed
        /// in the SearchSortOrderCodeType. Controls the way the listings are
        /// organized in the response (not the details to return for each listing).
        /// For most sites, the default sort order is by items ending soonest. Store
        /// Inventory listings are usually returned after other listing types,
        /// regardless of the sort order.
        /// </param>
        ///
        /// <param name="Pagination">
        /// Controls the pagination of the result set. Child elements specify the
        /// maximum number of item listings to return per call and which page of data
        /// to return. Controls the way the listings are organized in the response
        /// (not the details to return for each listing).
        /// </param>
        ///
        /// <param name="SearchRequest">
        /// A query consisting of a set of attributes (Item Specifics). Use this kind
        /// of query to search against the Item Specifics in listings (e.g., to search
        /// for a particular shoe size). If the query includes multiple attributes,
        /// the search engine will apply "AND" logic to the query and narrow the
        /// results. Use GetProductFinder to determine the list of valid attributes
        /// and how many are permitted for the specified characteristic set. Retrieves
        /// items along with any buying guide details that are associated with the
        /// specified product finder. Applicable in combination with the Query
        /// argument. Cannot be used in combination with ProductID or
        /// ExternalProductID.
        /// 
        /// If you are searching for tickets, see TicketFinder instead.
        /// </param>
        ///
        /// <param name="ProductID">
        /// An exclusive query to retrieve items that were listed with the specified
        /// eBay catalog product. You must pass ProductID, Query, ExternalProductID,
        /// or CategoryID in the request. If you use ProductID, do not use Query,
        /// ExternalProductID, or CategoryID.
        /// 
        /// Some sites (such as eBay US, Germany, Austria, and Switzerland) are updating,
        /// replacing, deleting, or merging some products (as a result of migrating from one
        /// catalog data provider to another). If you specify one of these products, the call may
        /// return a warning, or it may return an error if the product has been deleted.
        /// </param>
        ///
        /// <param name="ExternalProductID">
        /// An exclusive query to only retrieve items that were listed with the
        /// specified ISBN or UPC. Only applicable for items that were listed with
        /// Pre-filled Item Information in media categories (Books, Music, DVDs and
        /// Movies, and Video Games). You must pass ProductID, Query,
        /// ExternalProductID, or CategoryID in the request. If you use
        /// ExternalProductID, do not use Query, ProductID, or CategoryID.
        /// </param>
        ///
        /// <param name="Categories">
        /// Retrieves statistical (histogram) information about categories that contain items
        /// that match the query. Can also cause the result to include information
        /// about buying guides that are associated with the matching categories.
        /// Does not control the set of listings to return or the details to return
        /// for each listing.
        /// </param>
        ///
        /// <param name="TotalOnly">
        /// Retrieves the total quantity of matching items, without returning the item
        /// data. See PaginationResult.TotalNumberOfEntries in the response. If
        /// TotalOnly and Categories.CategoriesOnly are both specified in the request
        /// and their values are inconsistent with each other, TotalOnly overrides
        /// Categories.CategoriesOnly. That is, if TotalOnly is true and
        /// Categories.CategoriesOnly is false, the results include matching
        /// categories but no item data or buying guides. If TotalOnly is false and
        /// Categories.CategoriesOnly is true, the results include matching
        /// categories, item data, and buying guides. If TotalOnly is not specified,
        /// it has no logical effect.
        /// </param>
        ///
        /// <param name="EndTimeFrom">
        /// Limits the results to items ending within a time range. EndTimeFrom
        /// specifies the beginning of the time range. Specify a time in the future.
        /// If you specify a time in the past, the current time is used. If specified,
        /// EndTimeTo must also be specified (with a value equal to or later than
        /// EndTimeFrom). Specify the time in GMT. Cannot be used with the ModTimeFrom
        /// filter.
        /// </param>
        ///
        /// <param name="EndTimeTo">
        /// Limits the results to items ending within a time range. EndTimeTo specifies
        /// the end of the time range. If specified, EndTimeFrom must also be specified
        /// (with a value equal to or earlier than EndTimeTo). Specify the time in GMT.
        /// Cannot be used with the ModTimeFrom filter.
        /// </param>
        ///
        /// <param name="ModTimeFrom">
        /// Limits the results to active items whose status has changed
        /// since the specified time. Specify a time in the past.
        /// Time must be in GMT. Cannot be used with the EndTime filters.
        /// </param>
        ///
        /// <param name="IncludeGetItFastItems">
        /// When passed with a value of true, limits the results to Get It Fast listings.
        /// </param>
        ///
        /// <param name="PaymentMethod">
        /// Limits the results to items that accept a specific payment method or methods.
        /// </param>
        ///
        /// <param name="GranularityLevel">
        /// Optional tag that currently accepts only one value for this call: Coarse.
        /// Other values return an error. If you specify Coarse, the call
        /// returns the fields shown in the
        /// <a href="#GranularityLevel">GranularityLevel table</a>
        /// plus any tags resulting from the detail level you specify.
        /// Controls the fields to return for each listing (not the set of
        /// listings that match the query).
        /// </param>
        ///
        /// <param name="ExpandSearch">
        /// Expands search results when a small result set is returned. For example,
        /// on the US site (site ID 0), if a search would normally result in fewer
        /// than 10 items, then if you specify true for this tag, the search results
        /// are expanded. Specifically, the search returns items (if there are
        /// matches) in one or more of the following containers:
        /// InternationalExpansionArray (for items available from international
        /// sellers), FilterRemovedExpansionArray (items that would be returned if
        /// filters such as PriceRangeFilter are removed), StoreExpansionArray (for
        /// items listed in the Store Inventory Format), and
        /// AllCategoriesExpansionArray (for items available if category filters are
        /// removed). Maximum number of items returned in each expansion container is
        /// 6 to 10.
        /// </param>
        ///
        /// <param name="Lot">
        /// Limits the results to only those listings for which Item.LotSize is 2 or greater.
        /// </param>
        ///
        /// <param name="AdFormat">
        /// Restricts listings to return only items that have the Ad Format feature.
        /// If true, the values of ItemTypeFilter and
        /// StoreSearchFilter are ignored (if they are specified). That is, "AND"
        /// logic is not applied.
        /// </param>
        ///
        /// <param name="FreeShipping">
        /// If true, only items with free shipping for the user's location are
        /// returned. The user's location is determined from the site ID specified
        /// in the request. If false, no filtering is done via this attribute. A
        /// listing is not considered a free shipping listing if it requires
        /// insurance or requires pick up or requires a shipping surcharge.
        /// </param>
        ///
        /// <param name="Quantity">
        /// Limits the results to listings that offer a certain number of items
        /// matching the query. If Lot is also specified, then Quantity is the number
        /// of lots multiplied by the number of objects in each lot. Use
        /// QuantityOperator to specify that you are seeking listings with quantities
        /// greater than, equal to, or less than Quantity.
        /// </param>
        ///
        /// <param name="QuantityOperator">
        /// Limits the results to listings with quantities greater than, equal to, or
        /// less than Quantity. Controls the set of listings to return (not the
        /// details to return for each listing).
        /// </param>
        ///
        /// <param name="SellerBusinessType">
        /// Limits the results to those of a particular seller business type such as
        /// commercial or private. Applies only to the following sites: UK, France, and Germany.
        /// </param>
        ///
        /// <param name="IncludeCondition">
        /// If true, each item in the result set can also
        /// include the item condition (e.g., New or Used) in the
        /// ItemSpecific property of the response. An item only includes
        /// the condition in the response if the seller filled in the
        /// Item Condition in the Item Specifics section of the listing.
        /// (That is, the condition is not returned if the seller
        /// only put the word "New" in the listing's title.) 
        /// 
        /// Controls the details to return for each listing (not the set of
        /// listings that match the query). 
        /// To control whether to retrieve only new or used items,
        /// see ItemCondition (or SearchRequest).
        /// </param>
        ///
        /// <param name="IncludeFeedback">
        /// If true, each item in the result set also includes information about the
        /// seller's feedback. Controls the details to return for each listing (not
        /// the set of listings that match the query).
        /// 
        /// For GetSearchResults, if set to true will also return the seller's User ID.
        /// </param>
        ///
        /// <param name="CharityID">
        /// Restricts listings to return only items that support the specified
        /// nonprofit charity organization. Retrieve CharityID values with
        /// GetCharities.
        /// </param>
        ///
        /// <param name="LocalSearchPostalCode">
        /// Include local items in returning results near this postal code. This
        /// postal code is the basis for local search.
        /// </param>
        ///
        /// <param name="MaxRelatedSearchKeywords">
        /// The maximum number of related keywords to be retrieved.
        /// Use this field if you want the search results to include
        /// recommended keywords (that is, keywords matching one or more of the
        /// original keywords) in a RelatedSearchKeywordArray container.
        /// A value of 0 (the default) means no related search information is processed.
        /// </param>
        ///
        /// <param name="AffiliateTrackingDetails">
        /// Container for affiliate tags.
        /// If you use affiliate tags, it is possible to get affiliate commissions
        /// based on calls made by your application.
        /// (See the <a href="https://www.ebaypartnernetwork.com/" target="_blank">eBay Partner Network</a>
        /// for information about commissions.)
        /// Affiliate tags enable the tracking of user activity.
        /// You can use child tags of AffiliateTrackingDetails if you want
        /// call output to include a string that includes
        /// affiliate tracking information.
        /// </param>
        ///
        /// <param name="BidRange">
        /// Limits the results to items with a minimum or maximum number
        /// of bids. You also can specify a bid range by specifying
        /// both a minimum and maximum number of bids in one call.
        /// </param>
        ///
        /// <param name="ItemCondition">
        /// Limits the results to new or used items, plus items that have no
        /// condition specified.
        /// 
        /// Matches the new or used condition that the seller specified
        /// in the Item Specifics section of the listing.
        /// (That is, this won't specifically match on items where the seller
        /// only put the word "New" in the listing's title.)
        /// 
        /// Only applicable to sites and categories that support a
        /// sitewide (global) item condition. For example, the US site
        /// does not currently support this. See GetCategory2CS.
        /// To search for the item condition on the US site,
        /// use a product finder instead (see SearchRequest).
        /// </param>
        ///
        /// <param name="TicketFinder">
        /// Searches for event ticket listings only. If specified, this cannot be empty.
        /// For example, to search for all tickets (with no event, date, city, or quantity constraints),
        /// specify EventType with a value of Any.
        /// If specified, Query is optional. Query is useful when the user wants to search
        /// for a particular event name (like "eric clapton") or a venue that might be
        /// included in the listing title.
        /// If TicketFinder and SearchRequest are both specified in the same request,
        /// SearchRequest is ignored.
        /// </param>
        ///
        /// <param name="Group">
        /// You can group Best Match search results by category by specifying BestMatchCategoryGroup
        /// in the Order field. When you specify BestMatchCategoryGroup
        /// in the Order field, you can also specify Group.MaxEntriesPerGroup and/or Group.MaxGroups.
        /// When you specify BestMatchCategoryGroup
        /// in the Order field, there will be fewer results returned because Best Matches
        /// in lower-level (leaf) categories and higher-level categories are taken into account.
        /// There is not a direct correlation between the number of items returned in a 
        /// regular sort (or in a BestMatch sort) and the number of items that are returned 
        /// when you specify BestMatchCategoryGroup in the Order field.
        /// When you specify BestMatchCategoryGroup
        /// in the Order field, not more than 2 pages of results are returned.
        /// See also the GroupCategoryID element in ItemType.
        /// </param>
        ///
        /// <param name="HideDuplicateItems">
        /// Specifies whether or not to remove duplicate items from search results.
        /// When set to true, and there are duplicate items for an item in the
        /// search results, the subsequent duplicates will not appear in the
        /// results.
        /// Item listings are considered duplicates in the following
        /// conditions: 
        /// <ul>
        /// <li>Items are listed by the same seller</li>
        /// <li>Items have exactly the same item title</li>
        /// <li>Items have similar listing formats</li>
        /// <ul>
        /// <li>Auctions: Auction Items, Auction BIN items, Multi-Quantity
        /// Auctions, and Multi-Quantity Auctions BIN items</li>
        /// <li>Fixed Price: Fixed Price, Multi-quantity Fixed Price, Fixed
        /// Price with Best Offer, and Store Inventory Format items</li>
        /// <li>Classified Ads</li>
        /// </ul>
        /// </ul>
        /// For Auctions, items must also have the same price and number of bids to
        /// be considered duplicates.
        /// 
        /// Filtering of duplicate item listings is not supported on all sites.
        /// </param>
        ///
        public SearchResultItemTypeCollection GetSearchResults(bool MotorsGermanySearchable, string Query, string CategoryID, SearchFlagsCodeTypeCollection SearchFlagsList, PriceRangeFilterType PriceRangeFilter, ProximitySearchType ProximitySearch, ItemTypeFilterCodeType ItemTypeFilter, SearchTypeCodeType SearchType, UserIdFilterType UserIdFilter, SearchLocationFilterType SearchLocationFilter, SearchStoreFilterType StoreSearchFilter, SearchSortOrderCodeType Order, PaginationType Pagination, SearchRequestType SearchRequest, string ProductID, ExternalProductIDType ExternalProductID, RequestCategoriesType Categories, bool TotalOnly, DateTime EndTimeFrom, DateTime EndTimeTo, DateTime ModTimeFrom, bool IncludeGetItFastItems, PaymentMethodSearchCodeType PaymentMethod, GranularityLevelCodeType GranularityLevel, bool ExpandSearch, bool Lot, bool AdFormat, bool FreeShipping, int Quantity, QuantityOperatorCodeType QuantityOperator, SellerBusinessCodeType SellerBusinessType, bool IncludeCondition, bool IncludeFeedback, int CharityID, string LocalSearchPostalCode, int MaxRelatedSearchKeywords, AffiliateTrackingDetailsType AffiliateTrackingDetails, BidRangeType BidRange, ItemConditionCodeType ItemCondition, TicketDetailsType TicketFinder, GroupType Group, bool HideDuplicateItems)
        {
            this.MotorsGermanySearchable = MotorsGermanySearchable;
            this.Query = Query;
            this.CategoryID = CategoryID;
            this.SearchFlagsList = SearchFlagsList;
            this.PriceRangeFilter = PriceRangeFilter;
            this.ProximitySearch = ProximitySearch;
            this.ItemTypeFilter = ItemTypeFilter;
            this.SearchType = SearchType;
            this.UserIdFilter = UserIdFilter;
            this.SearchLocationFilter = SearchLocationFilter;
            this.StoreSearchFilter = StoreSearchFilter;
            this.Order = Order;
            this.Pagination = Pagination;
            this.SearchRequest = SearchRequest;
            this.ProductID = ProductID;
            this.ExternalProductID = ExternalProductID;
            this.Categories = Categories;
            this.TotalOnly = TotalOnly;
            this.EndTimeFrom = EndTimeFrom;
            this.EndTimeTo = EndTimeTo;
            this.ModTimeFrom = ModTimeFrom;
            this.IncludeGetItFastItems = IncludeGetItFastItems;
            this.PaymentMethod = PaymentMethod;
            this.GranularityLevel = GranularityLevel;
            this.ExpandSearch = ExpandSearch;
            this.Lot = Lot;
            this.AdFormat = AdFormat;
            this.FreeShipping = FreeShipping;
            this.Quantity = Quantity;
            this.QuantityOperator = QuantityOperator;
            this.SellerBusinessType = SellerBusinessType;
            this.IncludeCondition = IncludeCondition;
            this.IncludeFeedback = IncludeFeedback;
            this.CharityID = CharityID;
            this.LocalSearchPostalCode = LocalSearchPostalCode;
            this.MaxRelatedSearchKeywords = MaxRelatedSearchKeywords;
            this.AffiliateTrackingDetails = AffiliateTrackingDetails;
            this.BidRange = BidRange;
            this.ItemCondition = ItemCondition;
            this.TicketFinder = TicketFinder;
            this.Group = Group;
            this.HideDuplicateItems = HideDuplicateItems;

            Execute();
            return ApiResponse.SearchResultItemArray;
        }
示例#5
0
        /// <summary>
        /// For backward compatibility with old wrappers.
        /// </summary>
        public SearchResultItemTypeCollection GetSearchResults(bool MotorsGermanySearchable, string Query, string CategoryID, SearchFlagsCodeTypeCollection SearchFlagsList, PriceRangeFilterType PriceRangeFilter, ProximitySearchType ProximitySearch, ItemTypeFilterCodeType ItemTypeFilter, SearchTypeCodeType SearchType, UserIdFilterType UserIdFilter, SearchLocationFilterType SearchLocationFilter, SearchStoreFilterType StoreSearchFilter, SearchSortOrderCodeType Order, PaginationType Pagination, SearchRequestType SearchRequest, string ProductID, ExternalProductIDType ExternalProductID, RequestCategoriesType Categories, bool TotalOnly, DateTime EndTimeFrom, DateTime EndTimeTo, DateTime ModTimeFrom, bool IncludeGetItFastItems, PaymentMethodSearchCodeType PaymentMethod, GranularityLevelCodeType GranularityLevel, bool ExpandSearch, bool Lot, bool AdFormat, int Quantity, QuantityOperatorCodeType QuantityOperator, SellerBusinessCodeType SellerBusinessType, bool DigitalDelivery, bool IncludeCondition, bool IncludeFeedback, int CharityID)
        {
            this.MotorsGermanySearchable = MotorsGermanySearchable;
            this.Query = Query;
            this.CategoryID = CategoryID;
            this.SearchFlagsList = SearchFlagsList;
            this.PriceRangeFilter = PriceRangeFilter;
            this.ProximitySearch = ProximitySearch;
            this.ItemTypeFilter = ItemTypeFilter;
            this.SearchType = SearchType;
            this.UserIdFilter = UserIdFilter;
            this.SearchLocationFilter = SearchLocationFilter;
            this.StoreSearchFilter = StoreSearchFilter;
            this.Order = Order;
            this.Pagination = Pagination;
            this.SearchRequest = SearchRequest;
            this.ProductID = ProductID;
            this.ExternalProductID = ExternalProductID;
            this.Categories = Categories;
            this.TotalOnly = TotalOnly;
            this.EndTimeFrom = EndTimeFrom;
            this.EndTimeTo = EndTimeTo;
            this.ModTimeFrom = ModTimeFrom;
            this.IncludeGetItFastItems = IncludeGetItFastItems;
            this.PaymentMethod = PaymentMethod;
            this.GranularityLevel = GranularityLevel;
            this.ExpandSearch = ExpandSearch;
            this.Lot = Lot;
            this.AdFormat = AdFormat;
            this.Quantity = Quantity;
            this.QuantityOperator = QuantityOperator;
            this.SellerBusinessType = SellerBusinessType;
            this.IncludeCondition = IncludeCondition;
            this.IncludeFeedback = IncludeFeedback;
            this.CharityID = CharityID;

            Execute();
            return ApiResponse.SearchResultItemArray;
        }
		/// <summary>
		/// Returns a list of the items posted by the authenticated user, including
		/// the related item data.
		/// </summary>
		/// 
		/// <param name="UserID">
		/// Specifies the seller whose items will be returned. UserID is an optional
		/// input. If not specified, retrieves listings for the user identified by the
		/// authentication token passed in the request. Note that since user
		/// information is anonymous to everyone except the bidder and the seller
		/// (during an active auction), only sellers looking for information about
		/// their own listings and bidders who know the user IDs of their sellers will
		/// be able to make this API call successfully.
		/// </param>
		///
		/// <param name="MotorsDealerUserList">
		/// Specifies the list of Motors Dealer sellers for which a special set of
		/// metrics can be requested. Applies to eBay Motors Pro applications only.
		/// </param>
		///
		/// <param name="EndTimeFrom">
		/// Specifies the earliest (oldest) date to use in a date range filter based on
		/// item end time. Specify either an end-time range or a start-time range
		/// filter in every call request. Each of the time ranges must be a value less than
		/// 120 days.
		/// </param>
		///
		/// <param name="EndTimeTo">
		/// Specifies the latest (most recent) date to use in a date range filter based
		/// on item end time. Must be specified if EndTimeFrom is specified.
		/// </param>
		///
		/// <param name="Sort">
		/// Specifies the order in which returned items are sorted (based on the end
		/// dates of the item listings). Valid values:
		/// 
		/// 0 = No sorting
		/// 1 = Sort in descending order
		/// 2 = Sort in ascending order
		/// </param>
		///
		/// <param name="StartTimeFrom">
		/// Specifies the earliest (oldest) date to use in a date range filter based on
		/// item start time. Each of the time ranges must be a value less than
		/// 120 days. In all calls, at least one date-range filter must be specified
		/// (i.e., you must specify either the end time range or start time range
		/// in every request).
		/// </param>
		///
		/// <param name="StartTimeTo">
		/// Specifies the latest (most recent) date to use in a date range filter based
		/// on item start time. Must be specified if StartTimeFrom is specified.
		/// </param>
		///
		/// <param name="Pagination">
		/// Contains the data controlling the pagination of the returned values.
		/// If you set a DetailLevel in this call, you must set pagination values.
		/// The Pagination field contains
		/// the number of items to be returned per page of data (per call),
		/// and the page number to return with the current call.
		/// </param>
		///
		/// <param name="GranularityLevel">
		/// Specifies the subset of item and user fields to return. See GetSellerList
		/// in the eBay Features Guide for a list of the fields that are returned
		/// for each granularity level. For GetSellerList, use DetailLevel or
		/// GranularityLevel in a request, but not both. For GetSellerList, if
		/// GranularityLevel is specified, DetailLevel is ignored.
		/// </param>
		///
		/// <param name="SKUArrayList">
		/// Container for a set of SKUs.
		/// Filters (reduces) the response to only include active listings
		/// that the seller listed with any of the specified SKUs.
		/// If multiple listings include the same SKU, they are
		/// all returned (assuming they also match the other criteria
		/// in the GetSellerList request).
		/// 
		/// SKUArray can be used to retrieve items listed by the user
		/// identified in AuthToken or in UserID.
		/// 
		/// <span class="tablenote"><b>Note:</b>
		/// Listings with matching SKUs are returned regardless of their
		/// Item.InventoryTrackingMethod settings.
		/// </span>
		/// </param>
		///
		/// <param name="IncludeWatchCount">
		/// Specifies whether to include WatchCount in Item nodes returned.
		/// WatchCount is only returned with DetailLevel ReturnAll.
		/// </param>
		///
		/// <param name="AdminEndedItemsOnly">
		/// Specifies whether to return only items that were administratively ended
		/// based on a policy violation.
		/// </param>
		///
		/// <param name="CategoryID">
		/// The category ID for the items retrieved.
		/// If you specify CategoryID in a GetSellerList call,
		/// the response contains only items in the category you specify.
		/// </param>
		///
		/// <param name="IncludeVariations">
		/// If true, the Variations node is returned for all multi-variation
		/// listings in the response.
		/// 
		/// Please note that if the seller includes a large number of
		/// variations in many listings, using this flag may degrade the
		/// call's performance. Therefore, when you use this flag, you
		/// may need to reduce the total number of items you're requesting
		/// at once.
		/// For example, you may need to use shorter time ranges in the
		/// EndTime or StartTime filters, fewer entries per page in
		/// Pagination, and/or SKUArray.
		/// </param>
		///
		public ItemTypeCollection GetSellerList(string UserID, UserIDArrayType MotorsDealerUserList, DateTime EndTimeFrom, DateTime EndTimeTo, int Sort, DateTime StartTimeFrom, DateTime StartTimeTo, PaginationType Pagination, GranularityLevelCodeType GranularityLevel, StringCollection SKUArrayList, bool IncludeWatchCount, bool AdminEndedItemsOnly, int CategoryID, bool IncludeVariations)
		{
			this.UserID = UserID;
			this.MotorsDealerUserList = MotorsDealerUserList;
			this.EndTimeFrom = EndTimeFrom;
			this.EndTimeTo = EndTimeTo;
			this.Sort = Sort;
			this.StartTimeFrom = StartTimeFrom;
			this.StartTimeTo = StartTimeTo;
			this.Pagination = Pagination;
			this.GranularityLevel = GranularityLevel;
			this.SKUArrayList = SKUArrayList;
			this.IncludeWatchCount = IncludeWatchCount;
			this.AdminEndedItemsOnly = AdminEndedItemsOnly;
			this.CategoryID = CategoryID;
			this.IncludeVariations = IncludeVariations;

			Execute();
			return ApiResponse.ItemArray;
		}