C# Класс TradeMe.Api.Client.MyTradeMeMethods

The MyTradeMeMethods class contains the methods requried for making calls to the API related to My TradeMe.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddDeliveryAddress ( DeliveryAddress request ) : System.Xml.Linq.XDocument

Adds a delivery address to the authenticated user’s profile. POST

REQUIRES AUTHENTICATION.

AddFeedback ( FeedbackRequest request ) : System.Xml.Linq.XDocument

Adds feedback to a listing. POST

REQUIRES AUTHENTICATION.

AddMemberToBlackList ( BlacklistRequest request ) : System.Xml.Linq.XDocument

Adds a member to the authenticated user’s blacklist. POST

REQUIRES AUTHENTICATION.

AddNote ( SaveNoteRequest request ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Creates or updates the note on a listing. POST

REQUIRES AUTHENTICATION.

ClearSavedCreditCard ( ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Clears the authenticated member’s saved credit card information. DELETE

REQUIRES AUTHENTICATION.

DeleteDeliveryAddress ( string deliveryId ) : System.Xml.Linq.XDocument

Removes a delivery address from the authenticated user’s profile. DELETE

REQUIRES AUTHENTICATION.

DeleteListingFromWatchlist ( string listingId ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Save a listing to a member’s watchlist. DELETE

Will remove the listing with the listingId provided from the members watchlist. Creates a query string using the listingId provided.

REQUIRES AUTHENTICATION.

DeleteListingStatus ( string purchaseId ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Deletes the status from a listing in the authenticated user’s Sold Items list. DELETE

REQUIRES AUTHENTICATION.

DeleteListingStatus ( string listingId, string offerId ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Deletes the status from a listing in the authenticated user’s Sold Items list. DELETE

REQUIRES AUTHENTICATION.

DeleteNote ( string listingId, string noteId, string offerId ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Removes the note from a listing. DELETE

REQUIRES AUTHENTICATION.

FixedPriceOffers ( ) : FixedPriceOffers

Performs the My Trade Me Method: Retrieve a list of Fixed Price Offers.

Creates a query string and performs the request.

REQUIRES AUTHENTICATION.

FixedPriceOffers ( string query ) : FixedPriceOffers

Performs the My Trade Me Method: Retrieve a list of Fixed Price Offers

using the "query" string provided - should be the "MyTradeMe/FixedPriceOffers.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

GetBlacklistedMembers ( ) : Blacklist

Retrieves a list of all the members on the authenticated user’s blacklist. GET

REQUIRES AUTHENTICATION.

GetEmailPreferences ( ) : EmailOptions

Retrieves the authenticated user’s email preferences. GET

REQUIRES AUTHENTICATION.

GetJobAgentReport ( ) : JobAgentReport

Retrieves the Job Agent report for the authenticated user. GET

REQUIRES AUTHENTICATION.

GetLisingFees ( string listingId ) : SellingFee

Retrieves information about fees for a single listing. GET

REQUIRES AUTHENTICATION.

GetListOfDeliveryAddresses ( ) : Address

Retrieves a list of delivery addresses for the authenticated user. GET

REQUIRES AUTHENTICATION.

GetNote ( string listingId ) : NoteResponse

Retrieves the note for a listing, if there is one. GET

REQUIRES AUTHENTICATION.

GetPayNowLedgerBySettlement ( string batchId ) : PayNowLedger

Returns Pay Now ledger entries for a settlement into the authenticated user’s bank account. GET

REQUIRES AUTHENTICATION.

GetProductMappings ( ) : ProductMappings

Retrieves a list of product codes and stock levels associated with the authenticated user’s active listings. GET The results will return data from feeds and My Products.

REQUIRES AUTHENTICATION.

GetPropertyAgentReport ( ) : PropertyAgentReport

Retrieves the Property Agent report for the authenticated user. GET

REQUIRES AUTHENTICATION.

GetWeeklySalesStats ( ) : WeeklySales

Retrieve sales statistics for the authenticated user. GET

REQUIRES AUTHENTICATION.

LostItems ( LostItemsCriteria criteria, string page, string rows ) : Listings

Performs the My Trade Me Method: Retrieve a list of lost items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

LostItems ( string query ) : Listings

Performs the My Trade Me Method: Retrieve a list of lost items GET

using the "query" string provided - should be the "MyTradeMe/Lost.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

MemberLedger ( MemberLedgerCriteria criteria, string page, string rows ) : MemberLedger

Performs the My Trade Me method: Retrieve a member’s ledger.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

MemberLedger ( string query ) : MemberLedger

Performs the My Trade Me method: Retrieve a member’s ledger

using the "query" string provided - should be the "MyTradeMe/MemberLedger/All.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

MemberProfileSummary ( ) : MemberSummary

Performs the My Trade Me Method: Retrieves statistics and profile information for the authenticated user.

Constructs the query and performs the request.

REQUIRES AUTHENTICATION.

MemberProfileSummary ( string query ) : MemberSummary

Performs the My Trade Me Method: Retrieves statistics and profile information for the authenticated user.

using the "query" string provided - should be the "MyTradeMe/Summary.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

MyTradeMeMethods ( ConnectionMethods connect ) : System

Initializes a new instance of the MyTradeMeMethods class.

PayNowLedger ( string query ) : PayNowLedger

Performs the My Trade Me Method: Retrieve a member’s Pay Now ledger

using the "query" string provided - should be the "MyTradeMe/PayNowLedger/{criteria}.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

PayNowLedgerWithCriteria ( PayNowLedgerCriteria criteria ) : PayNowLedger

Performs the My Trade Me Method: Retrieve a member’s Pay Now ledger.

Creates a query string using the parameter provided - parameter can be null if it is not required for the request.

REQUIRES AUTHENTICATION.

RefundPayNowPayment ( PayNowRefundRequest request ) : System.Xml.Linq.XDocument

Refunds a Pay Now payment where the authenticated user is the seller. POST

REQUIRES AUTHENTICATION.

RemoveFeedback ( string feedbackId ) : System.Xml.Linq.XDocument

Removes feedback the authenticated user has posted against a listing. DELETE

REQUIRES AUTHENTICATION.

RemoveMemberFromBlacklist ( string memberId ) : System.Xml.Linq.XDocument

Removes a member from the authenticated user’s blacklist. DELETE

REQUIRES AUTHENTICATION.

RespondToFeedback ( FeedbackReplyRequest request ) : System.Xml.Linq.XDocument

Replies to feedback placed against a listing where the authenticated user was the seller. POST

REQUIRES AUTHENTICATION.

SaveListingToWatchlist ( SaveToWatchlistRequest request ) : System.Xml.Linq.XDocument

Performs the My Trade Me Method: Adds a listing to the authenticated user’s watchlist with the option to control when and if an email is sent to the member warning that the auction is closing soon. POST

REQUIRES AUTHENTICATION.

SaveOrUpdateListingStatus ( string purchaseId, string stat ) : StatusResponse

Saves a status to a listing in the authenticated user’s Sold Items list. POST

REQUIRES AUTHENTICATION.

SaveOrUpdateListingStatus ( string listingId, string offerId, string stat ) : StatusResponse

Saves a status to a listing in the authenticated user’s Sold Items list. POST

REQUIRES AUTHENTICATION.

SellingItems ( string query ) : Items

Performs the MyTradeMe method: Retrieve a list of items currently for sale

using the "query" string provided - should be the "MyTradeMe/SellingItems/All.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

SellingItemsWithCriteria ( SellingItemsCriteria criteria ) : Items

Performs the MyTradeMe method: Retrieve a list of items currently for sale.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

SetEmailPreferences ( EmailOptions request ) : System.Xml.Linq.XDocument

Sets the authenticated user’s email preferences. POST

REQUIRES AUTHENTICATION.

SoldItems ( SoldItemsCriteria criteria, string page, string rows ) : SoldItems

Performs the My Trade Me Method: Retrieve a list of sold items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

SoldItems ( string query ) : SoldItems

Performs the My Trade Me Method: Retrieve a list of sold items

using the "query" string provided - should be the "MyTradeMe/SoldItems/{criteria}.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

UnsoldItems ( UnsoldItemsCriteria criteria, string page, string rows ) : UnsoldItems

Performs the My Trade Me Method: Retrieve a list of unsold items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

UnsoldItems ( string query ) : UnsoldItems

Performs the My Trade Me Method: Retrieve a list of unsold items

using the "query" string provided - should be the "MyTradeMe/UnsoldItems.xml" part of the url it shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

UpdateDeliveryAddress ( DeliveryAddress request ) : System.Xml.Linq.XDocument

Modifies a delivery addresses in the authenticated user’s profile. POST

REQUIRES AUTHENTICATION.

UpdateFeedback ( FeedbackUpdateRequest request ) : System.Xml.Linq.XDocument

Modifies feedback the authenticated user has posted against a listing. POST

REQUIRES AUTHENTICATION.

Watchlist ( WatchlistCriteria criteria, string page, string rows ) : Watchlist

Performs the My Trade Me Method: Retrieve a member’s watchlist.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

Watchlist ( string query ) : Watchlist

Performs the My Trade Me Method: Retrieve a member’s watchlist

using the "query" string provided - should be the "MyTradeMe/Watchlist.xml part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

WonItems ( WonItemsCriteria criteria, string page, string rows ) : WonItems

Performs the My Trade Me Method: Retrieve a list of won items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.

WonItems ( string query ) : WonItems

Performs the My Trade Me Method: Retrieve a list of won items

using the "query" string provided - should be the "MyTradeMe/Won.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.

Описание методов

AddDeliveryAddress() публичный Метод

Adds a delivery address to the authenticated user’s profile. POST

REQUIRES AUTHENTICATION.
public AddDeliveryAddress ( DeliveryAddress request ) : System.Xml.Linq.XDocument
request DeliveryAddress DeliveryAddress
Результат System.Xml.Linq.XDocument

AddFeedback() публичный Метод

Adds feedback to a listing. POST

REQUIRES AUTHENTICATION.
public AddFeedback ( FeedbackRequest request ) : System.Xml.Linq.XDocument
request FeedbackRequest FeedbackRequest
Результат System.Xml.Linq.XDocument

AddMemberToBlackList() публичный Метод

Adds a member to the authenticated user’s blacklist. POST

REQUIRES AUTHENTICATION.
public AddMemberToBlackList ( BlacklistRequest request ) : System.Xml.Linq.XDocument
request BlacklistRequest BlacklistRequest
Результат System.Xml.Linq.XDocument

AddNote() публичный Метод

Performs the My Trade Me Method: Creates or updates the note on a listing. POST

REQUIRES AUTHENTICATION.
public AddNote ( SaveNoteRequest request ) : System.Xml.Linq.XDocument
request SaveNoteRequest SaveNoteRequest.
Результат System.Xml.Linq.XDocument

ClearSavedCreditCard() публичный Метод

Performs the My Trade Me Method: Clears the authenticated member’s saved credit card information. DELETE

REQUIRES AUTHENTICATION.
public ClearSavedCreditCard ( ) : System.Xml.Linq.XDocument
Результат System.Xml.Linq.XDocument

DeleteDeliveryAddress() публичный Метод

Removes a delivery address from the authenticated user’s profile. DELETE

REQUIRES AUTHENTICATION.
public DeleteDeliveryAddress ( string deliveryId ) : System.Xml.Linq.XDocument
deliveryId string deliveryId
Результат System.Xml.Linq.XDocument

DeleteListingFromWatchlist() публичный Метод

Performs the My Trade Me Method: Save a listing to a member’s watchlist. DELETE

Will remove the listing with the listingId provided from the members watchlist. Creates a query string using the listingId provided.

REQUIRES AUTHENTICATION.
public DeleteListingFromWatchlist ( string listingId ) : System.Xml.Linq.XDocument
listingId string The id of the listing that will be removed from the watchlist.
Результат System.Xml.Linq.XDocument

DeleteListingStatus() публичный Метод

Performs the My Trade Me Method: Deletes the status from a listing in the authenticated user’s Sold Items list. DELETE

REQUIRES AUTHENTICATION.
public DeleteListingStatus ( string purchaseId ) : System.Xml.Linq.XDocument
purchaseId string The ID of the purchase to modify.
Результат System.Xml.Linq.XDocument

DeleteListingStatus() публичный Метод

Performs the My Trade Me Method: Deletes the status from a listing in the authenticated user’s Sold Items list. DELETE

REQUIRES AUTHENTICATION.
public DeleteListingStatus ( string listingId, string offerId ) : System.Xml.Linq.XDocument
listingId string The id of the listing that will be removed from the watchlist.
offerId string The ID of the note.
Результат System.Xml.Linq.XDocument

DeleteNote() публичный Метод

Performs the My Trade Me Method: Removes the note from a listing. DELETE

REQUIRES AUTHENTICATION.
public DeleteNote ( string listingId, string noteId, string offerId ) : System.Xml.Linq.XDocument
listingId string The id of the listing that will be removed from the watchlist.
noteId string The ID of the note.
offerId string The ID of the offer the note is associated with. Should be 0 if the note is not associated with a fixed price offer.
Результат System.Xml.Linq.XDocument

FixedPriceOffers() публичный Метод

Performs the My Trade Me Method: Retrieve a list of Fixed Price Offers.

Creates a query string and performs the request.

REQUIRES AUTHENTICATION.
public FixedPriceOffers ( ) : FixedPriceOffers
Результат FixedPriceOffers

FixedPriceOffers() публичный Метод

Performs the My Trade Me Method: Retrieve a list of Fixed Price Offers

using the "query" string provided - should be the "MyTradeMe/FixedPriceOffers.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public FixedPriceOffers ( string query ) : FixedPriceOffers
query string The query string that will be added to the base url and used to connect to the API.
Результат FixedPriceOffers

GetBlacklistedMembers() публичный Метод

Retrieves a list of all the members on the authenticated user’s blacklist. GET

REQUIRES AUTHENTICATION.
public GetBlacklistedMembers ( ) : Blacklist
Результат Blacklist

GetEmailPreferences() публичный Метод

Retrieves the authenticated user’s email preferences. GET

REQUIRES AUTHENTICATION.
public GetEmailPreferences ( ) : EmailOptions
Результат EmailOptions

GetJobAgentReport() публичный Метод

Retrieves the Job Agent report for the authenticated user. GET

REQUIRES AUTHENTICATION.
public GetJobAgentReport ( ) : JobAgentReport
Результат JobAgentReport

GetLisingFees() публичный Метод

Retrieves information about fees for a single listing. GET

REQUIRES AUTHENTICATION.
public GetLisingFees ( string listingId ) : SellingFee
listingId string The ID of listing
Результат SellingFee

GetListOfDeliveryAddresses() публичный Метод

Retrieves a list of delivery addresses for the authenticated user. GET

REQUIRES AUTHENTICATION.
public GetListOfDeliveryAddresses ( ) : Address
Результат Address

GetNote() публичный Метод

Retrieves the note for a listing, if there is one. GET

REQUIRES AUTHENTICATION.
public GetNote ( string listingId ) : NoteResponse
listingId string The ID of the listing to retrieve the note for.
Результат NoteResponse

GetPayNowLedgerBySettlement() публичный Метод

Returns Pay Now ledger entries for a settlement into the authenticated user’s bank account. GET

REQUIRES AUTHENTICATION.
public GetPayNowLedgerBySettlement ( string batchId ) : PayNowLedger
batchId string The ID of the settlement. This can be retrieved from the Pay Now ledger API.
Результат PayNowLedger

GetProductMappings() публичный Метод

Retrieves a list of product codes and stock levels associated with the authenticated user’s active listings. GET The results will return data from feeds and My Products.

REQUIRES AUTHENTICATION.
public GetProductMappings ( ) : ProductMappings
Результат ProductMappings

GetPropertyAgentReport() публичный Метод

Retrieves the Property Agent report for the authenticated user. GET

REQUIRES AUTHENTICATION.
public GetPropertyAgentReport ( ) : PropertyAgentReport
Результат PropertyAgentReport

GetWeeklySalesStats() публичный Метод

Retrieve sales statistics for the authenticated user. GET

REQUIRES AUTHENTICATION.
public GetWeeklySalesStats ( ) : WeeklySales
Результат WeeklySales

LostItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of lost items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public LostItems ( LostItemsCriteria criteria, string page, string rows ) : Listings
criteria LostItemsCriteria The criteria.
page string Page number.
rows string Number of rows per page.
Результат Listings

LostItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of lost items GET

using the "query" string provided - should be the "MyTradeMe/Lost.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public LostItems ( string query ) : Listings
query string The query string that will be added to the base url and used to connect to the API with.
Результат Listings

MemberLedger() публичный Метод

Performs the My Trade Me method: Retrieve a member’s ledger.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public MemberLedger ( MemberLedgerCriteria criteria, string page, string rows ) : MemberLedger
criteria MemberLedgerCriteria The criteria.
page string Page number.
rows string Number of rows per page.
Результат MemberLedger

MemberLedger() публичный Метод

Performs the My Trade Me method: Retrieve a member’s ledger

using the "query" string provided - should be the "MyTradeMe/MemberLedger/All.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public MemberLedger ( string query ) : MemberLedger
query string The query string that will be added to the base url and used to connect to the API.
Результат MemberLedger

MemberProfileSummary() публичный Метод

Performs the My Trade Me Method: Retrieves statistics and profile information for the authenticated user.

Constructs the query and performs the request.

REQUIRES AUTHENTICATION.
public MemberProfileSummary ( ) : MemberSummary
Результат MemberSummary

MemberProfileSummary() публичный Метод

Performs the My Trade Me Method: Retrieves statistics and profile information for the authenticated user.

using the "query" string provided - should be the "MyTradeMe/Summary.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public MemberProfileSummary ( string query ) : MemberSummary
query string The query string that will be added to the base url and used to connect to the API.
Результат MemberSummary

MyTradeMeMethods() публичный Метод

Initializes a new instance of the MyTradeMeMethods class.
public MyTradeMeMethods ( ConnectionMethods connect ) : System
connect ConnectionMethods A ConnectionMethods class used to make calls to the API
Результат System

PayNowLedger() публичный Метод

Performs the My Trade Me Method: Retrieve a member’s Pay Now ledger

using the "query" string provided - should be the "MyTradeMe/PayNowLedger/{criteria}.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public PayNowLedger ( string query ) : PayNowLedger
query string The query string that will be added to the base url and used to connect to the API.
Результат PayNowLedger

PayNowLedgerWithCriteria() публичный Метод

Performs the My Trade Me Method: Retrieve a member’s Pay Now ledger.

Creates a query string using the parameter provided - parameter can be null if it is not required for the request.

REQUIRES AUTHENTICATION.
public PayNowLedgerWithCriteria ( PayNowLedgerCriteria criteria ) : PayNowLedger
criteria PayNowLedgerCriteria The criteria.
Результат PayNowLedger

RefundPayNowPayment() публичный Метод

Refunds a Pay Now payment where the authenticated user is the seller. POST

REQUIRES AUTHENTICATION.
public RefundPayNowPayment ( PayNowRefundRequest request ) : System.Xml.Linq.XDocument
request PayNowRefundRequest PayNowRefundRequest
Результат System.Xml.Linq.XDocument

RemoveFeedback() публичный Метод

Removes feedback the authenticated user has posted against a listing. DELETE

REQUIRES AUTHENTICATION.
public RemoveFeedback ( string feedbackId ) : System.Xml.Linq.XDocument
feedbackId string The ID of the feedback to remove.
Результат System.Xml.Linq.XDocument

RemoveMemberFromBlacklist() публичный Метод

Removes a member from the authenticated user’s blacklist. DELETE

REQUIRES AUTHENTICATION.
public RemoveMemberFromBlacklist ( string memberId ) : System.Xml.Linq.XDocument
memberId string memberId
Результат System.Xml.Linq.XDocument

RespondToFeedback() публичный Метод

Replies to feedback placed against a listing where the authenticated user was the seller. POST

REQUIRES AUTHENTICATION.
public RespondToFeedback ( FeedbackReplyRequest request ) : System.Xml.Linq.XDocument
request FeedbackReplyRequest FeedbackReplyRequest
Результат System.Xml.Linq.XDocument

SaveListingToWatchlist() публичный Метод

Performs the My Trade Me Method: Adds a listing to the authenticated user’s watchlist with the option to control when and if an email is sent to the member warning that the auction is closing soon. POST

REQUIRES AUTHENTICATION.
public SaveListingToWatchlist ( SaveToWatchlistRequest request ) : System.Xml.Linq.XDocument
request SaveToWatchlistRequest SaveToWatchlistRequest.
Результат System.Xml.Linq.XDocument

SaveOrUpdateListingStatus() публичный Метод

Saves a status to a listing in the authenticated user’s Sold Items list. POST

REQUIRES AUTHENTICATION.
public SaveOrUpdateListingStatus ( string purchaseId, string stat ) : StatusResponse
purchaseId string The ID of the purchase.
stat string The status you want to save, should be one of the following: EmailSent, PaymentReceived, GoodsShipped, SaleCompleted.
Результат StatusResponse

SaveOrUpdateListingStatus() публичный Метод

Saves a status to a listing in the authenticated user’s Sold Items list. POST

REQUIRES AUTHENTICATION.
public SaveOrUpdateListingStatus ( string listingId, string offerId, string stat ) : StatusResponse
listingId string The id of the listing that will be removed from the watchlist.
offerId string The ID of the note.
stat string The status you want to save, should be one of the following: EmailSent, PaymentReceived, GoodsShipped, SaleCompleted.
Результат StatusResponse

SellingItems() публичный Метод

Performs the MyTradeMe method: Retrieve a list of items currently for sale

using the "query" string provided - should be the "MyTradeMe/SellingItems/All.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public SellingItems ( string query ) : Items
query string The query string that will be added to the base url and used to connect to the API.
Результат Items

SellingItemsWithCriteria() публичный Метод

Performs the MyTradeMe method: Retrieve a list of items currently for sale.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public SellingItemsWithCriteria ( SellingItemsCriteria criteria ) : Items
criteria SellingItemsCriteria The criteria.
Результат Items

SetEmailPreferences() публичный Метод

Sets the authenticated user’s email preferences. POST

REQUIRES AUTHENTICATION.
public SetEmailPreferences ( EmailOptions request ) : System.Xml.Linq.XDocument
request EmailOptions EmailOptions
Результат System.Xml.Linq.XDocument

SoldItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of sold items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public SoldItems ( SoldItemsCriteria criteria, string page, string rows ) : SoldItems
criteria SoldItemsCriteria The criteria.
page string Page number.
rows string Number of rows per page.
Результат SoldItems

SoldItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of sold items

using the "query" string provided - should be the "MyTradeMe/SoldItems/{criteria}.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public SoldItems ( string query ) : SoldItems
query string The query string that will be added to the base url and used to connect to the API.
Результат SoldItems

UnsoldItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of unsold items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public UnsoldItems ( UnsoldItemsCriteria criteria, string page, string rows ) : UnsoldItems
criteria UnsoldItemsCriteria The criteria.
page string Page number.
rows string Number of rows per page.
Результат UnsoldItems

UnsoldItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of unsold items

using the "query" string provided - should be the "MyTradeMe/UnsoldItems.xml" part of the url it shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public UnsoldItems ( string query ) : UnsoldItems
query string The query string that will be added to the base url and used to connect to the API.
Результат UnsoldItems

UpdateDeliveryAddress() публичный Метод

Modifies a delivery addresses in the authenticated user’s profile. POST

REQUIRES AUTHENTICATION.
public UpdateDeliveryAddress ( DeliveryAddress request ) : System.Xml.Linq.XDocument
request DeliveryAddress DeliveryAddress
Результат System.Xml.Linq.XDocument

UpdateFeedback() публичный Метод

Modifies feedback the authenticated user has posted against a listing. POST

REQUIRES AUTHENTICATION.
public UpdateFeedback ( FeedbackUpdateRequest request ) : System.Xml.Linq.XDocument
request FeedbackUpdateRequest FeedbackUpdateRequest
Результат System.Xml.Linq.XDocument

Watchlist() публичный Метод

Performs the My Trade Me Method: Retrieve a member’s watchlist.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public Watchlist ( WatchlistCriteria criteria, string page, string rows ) : Watchlist
criteria WatchlistCriteria The criteria.
page string Page number.
rows string Number of rows per page.
Результат Watchlist

Watchlist() публичный Метод

Performs the My Trade Me Method: Retrieve a member’s watchlist

using the "query" string provided - should be the "MyTradeMe/Watchlist.xml part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public Watchlist ( string query ) : Watchlist
query string The query string that will be added to the base url and used to connect to the API.
Результат Watchlist

WonItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of won items.

Creates a query string using the parameters provided - parameters can be null if they are not required for the request.

REQUIRES AUTHENTICATION.
public WonItems ( WonItemsCriteria criteria, string page, string rows ) : WonItems
criteria WonItemsCriteria The criteria.
page string Page number.
rows string Number of rows per page.
Результат WonItems

WonItems() публичный Метод

Performs the My Trade Me Method: Retrieve a list of won items

using the "query" string provided - should be the "MyTradeMe/Won.xml" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

REQUIRES AUTHENTICATION.
public WonItems ( string query ) : WonItems
query string The query string that will be added to the base url and used to connect to the API.
Результат WonItems