Ejemplo n.º 1
0
        /// <summary>
        /// The <b>GetFeedback</b> call is to used to retrieve one, many, or all Feedback records for a specific eBay user. There is a filter option in the call request to limit Feedback records to those that are received, or to those that are left for other buyers, as well as a filter option to limit Feedback records to those that are received as a buyer or seller.
        /// </summary>
        ///
        /// <param name="UserID">
        /// The user's eBay User ID is specified in this field. If this field is used, all retrieved Feedback data will be for this eBay user. Specifies the user whose feedback data is to be returned. If this field is omitted in the call request, all retrieved Feedback records will be for the eBay user making the call.
        /// </param>
        ///
        /// <param name="FeedbackID">
        /// The unique identifier of a Feedback record. This field is used if the user wants to retrieve a specific Feedback record. If <b>FeedbackID</b> is specified in the call request, all other input fields are ignored.
        /// </param>
        ///
        /// <param name="ItemID">
        /// Unique identifier for an eBay item listing. A listing can have multiple
        /// order line items, but only one <b>ItemID</b>. If <b>ItemID</b> is
        /// specified in the <b>GetFeedback</b> request, the returned Feedback record(s) are
        /// restricted to the specified <b>ItemID</b>. The maximum number of Feedback records that can be returned is 100.
        /// </param>
        ///
        /// <param name="TransactionID">
        /// Unique identifier for an eBay order line item. A
        /// <b>TransactionID</b> can be paired up with its corresponding <b>ItemID</b> and used as
        /// an input filter in the <b>GetFeedback</b> request. If an <b>ItemID</b>/<b>TransactionID</b>
        /// pair or an <b>OrderLineItemID</b> value is used to retrieve a Feedback record
        /// on a specific order line item, the <b>FeedbackType</b> and <b>Pagination</b>
        /// fields (if included) are ignored.
        /// </param>
        ///
        /// <param name="CommentTypeList">
        /// This field is used to retrieve Feedback records of a specific type (Positive, Negative, or Neutral) in
        /// <b>FeedbackDetailArray</b>. You can include one or two <b>
        /// CommentType</b> fields in the request. If no
        /// <b>CommentType</b> value is specified,
        /// Feedback records of all types are returned.
        /// </param>
        ///
        /// <param name="FeedbackType">
        /// This field is used to restrict retrieved Feedback records to those that the user left for other buyers, Feedback records received as a seller, Feedback records received as a buyer, or Feedback records received as a buyer and seller. The default value is <b>FeedbackReceived</b>, so if the  <b>FeedbackType</b> field is omitted in the request, all Feedback records received by the user as a buyer and seller are returned in the response. "Feedback Left" data will not be returned in the call response.
        /// </param>
        ///
        /// <param name="Pagination">
        /// Controls the pagination of the result set. Child elements, <b>EntriesPerPage</b> and
        /// <b>PageNumber</b>, specify the maximum number of individual feedback records to return
        /// per call and which page of data to return. Only applicable if <b>DetailLevel</b> is
        /// set to <b>ReturnAll</b> and the call is returning feedback for a <b>UserID</b>. Feedback
        /// summary data is not paginated, but when pagination is used, it is returned
        /// after the last feedback detail entry.
        ///
        /// Accepted values for <b>Pagination.EntriesPerPage</b> for GetFeedback is 25 (the
        /// default), 50, 100, and 200. If you specify a value of zero, or a value
        /// greater than 200, the call fails with an error. If you specify a value between
        /// one and twenty-four, the value is rounded up to 25. Values between 26 and 199
        /// that are not one of the accepted values are rounded down to the nearest
        /// accepted value.
        /// </param>
        ///
        /// <param name="OrderLineItemID">
        /// <b>OrderLineItemID</b> is a unique identifier for an eBay order line item and
        /// is based upon the concatenation of <b>ItemID</b> and <b>TransactionID</b>, with a
        /// hyphen in between these two IDs. An <b>OrderLineItemID</b> can be used as an
        /// input filter in the <b>GetFeedback</b> request. If an <b>OrderLineItemID</b> value is
        /// used to retrieve a feedback record on a specific order line item, the
        /// <b>FeedbackType</b> and <b>Pagination</b> fields (if included) are ignored.
        /// </param>
        ///
        public FeedbackDetailTypeCollection GetFeedback(string UserID, string FeedbackID, string ItemID, string TransactionID, CommentTypeCodeTypeCollection CommentTypeList, FeedbackTypeCodeType FeedbackType, PaginationType Pagination, string OrderLineItemID)
        {
            this.UserID          = UserID;
            this.FeedbackID      = FeedbackID;
            this.ItemID          = ItemID;
            this.TransactionID   = TransactionID;
            this.CommentTypeList = CommentTypeList;
            this.FeedbackType    = FeedbackType;
            this.Pagination      = Pagination;
            this.OrderLineItemID = OrderLineItemID;

            Execute();
            return(ApiResponse.FeedbackDetailArray);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// The <b>GetFeedback</b> call is to used to retrieve one, many, or all Feedback records for a specific eBay user. There is a filter option in the call request to limit Feedback records to those that are received, or to those that are left for other buyers, as well as a filter option to limit Feedback records to those that are received as a buyer or seller.
        /// </summary>
        /// 
        /// <param name="UserID">
        /// The user's eBay User ID is specified in this field. If this field is used, all retrieved Feedback data will be for this eBay user. Specifies the user whose feedback data is to be returned. If this field is omitted in the call request, all retrieved Feedback records will be for the eBay user making the call.
        /// </param>
        ///
        /// <param name="FeedbackID">
        /// The unique identifier of a Feedback record. This field is used if the user wants to retrieve a specific Feedback record. If <b>FeedbackID</b> is specified in the call request, all other input fields are ignored. 
        /// </param>
        ///
        /// <param name="ItemID">
        /// Unique identifier for an eBay item listing. A listing can have multiple
        /// order line items, but only one <b>ItemID</b>. If <b>ItemID</b> is
        /// specified in the <b>GetFeedback</b> request, the returned Feedback record(s) are
        /// restricted to the specified <b>ItemID</b>. The maximum number of Feedback records that can be returned is 100.
        /// </param>
        ///
        /// <param name="TransactionID">
        /// Unique identifier for an eBay order line item. A
        /// <b>TransactionID</b> can be paired up with its corresponding <b>ItemID</b> and used as
        /// an input filter in the <b>GetFeedback</b> request. If an <b>ItemID</b>/<b>TransactionID</b>
        /// pair or an <b>OrderLineItemID</b> value is used to retrieve a Feedback record
        /// on a specific order line item, the <b>FeedbackType</b> and <b>Pagination</b>
        /// fields (if included) are ignored.
        /// </param>
        ///
        /// <param name="CommentTypeList">
        /// This field is used to retrieve Feedback records of a specific type (Positive, Negative, or Neutral) in 
        /// <b>FeedbackDetailArray</b>. You can include one or two <b>
        /// CommentType</b> fields in the request. If no
        /// <b>CommentType</b> value is specified,
        /// Feedback records of all types are returned.
        /// </param>
        ///
        /// <param name="FeedbackType">
        /// This field is used to restrict retrieved Feedback records to those that the user left for other buyers, Feedback records received as a seller, Feedback records received as a buyer, or Feedback records received as a buyer and seller. The default value is <b>FeedbackReceived</b>, so if the  <b>FeedbackType</b> field is omitted in the request, all Feedback records received by the user as a buyer and seller are returned in the response. "Feedback Left" data will not be returned in the call response.
        /// </param>
        ///
        /// <param name="Pagination">
        /// Controls the pagination of the result set. Child elements, <b>EntriesPerPage</b> and
        /// <b>PageNumber</b>, specify the maximum number of individual feedback records to return
        /// per call and which page of data to return. Only applicable if <b>DetailLevel</b> is
        /// set to <b>ReturnAll</b> and the call is returning feedback for a <b>UserID</b>. Feedback
        /// summary data is not paginated, but when pagination is used, it is returned
        /// after the last feedback detail entry.
        /// 
        /// Accepted values for <b>Pagination.EntriesPerPage</b> for GetFeedback is 25 (the
        /// default), 50, 100, and 200. If you specify a value of zero, or a value
        /// greater than 200, the call fails with an error. If you specify a value between
        /// one and twenty-four, the value is rounded up to 25. Values between 26 and 199
        /// that are not one of the accepted values are rounded down to the nearest
        /// accepted value.
        /// </param>
        ///
        /// <param name="OrderLineItemID">
        /// <b>OrderLineItemID</b> is a unique identifier for an eBay order line item and
        /// is based upon the concatenation of <b>ItemID</b> and <b>TransactionID</b>, with a
        /// hyphen in between these two IDs. An <b>OrderLineItemID</b> can be used as an
        /// input filter in the <b>GetFeedback</b> request. If an <b>OrderLineItemID</b> value is
        /// used to retrieve a feedback record on a specific order line item, the
        /// <b>FeedbackType</b> and <b>Pagination</b> fields (if included) are ignored.
        /// </param>
        ///
        public FeedbackDetailTypeCollection GetFeedback(string UserID, string FeedbackID, string ItemID, string TransactionID, CommentTypeCodeTypeCollection CommentTypeList, FeedbackTypeCodeType FeedbackType, PaginationType Pagination, string OrderLineItemID)
        {
            this.UserID = UserID;
            this.FeedbackID = FeedbackID;
            this.ItemID = ItemID;
            this.TransactionID = TransactionID;
            this.CommentTypeList = CommentTypeList;
            this.FeedbackType = FeedbackType;
            this.Pagination = Pagination;
            this.OrderLineItemID = OrderLineItemID;

            Execute();
            return ApiResponse.FeedbackDetailArray;
        }