Here are some examples of methods you can use to interact with the information available in the My Page section of the website (there are too many methods to list them all).
Examples of methods to interact with My Page
- Retrieve open auctions: SellerAccountService.GetOpenArticles
- Retrieve sold auctions: SellerAccountService.GetSoldArticles
- Retrieve unsold auctions: SellerAccountService.GetUnsoldArticles
- Retrieve planned auctions: SellerAccountService.GetPlannedArticles
- Insert a question: BuyerAccountService.InsertQuestion
View this page for a short description of the kind of methods you can find in each service
My Page
JSON
- POST https://ws.ricardo.ch/ricardoapi/SellerAccountService.Json.svc/GetSoldArticles HTTP/1.1
- Content-Type: application/json
- Ricardo-Username: [YOUR TokenCredential]
- Host: ws.betaqxl.com
{
"getSoldArticlesParameter": {
"ArticleIdFilter": null,
"ArticleTitleFilter": null,
"ArticleTypeFilter": 0,
"AscendingSort": true,
"InternalReferenceFilter": null,
"IsArchived": false,
"IsCompletedTransaction": false,
"LastnameFilter": null,
"MinimumEndDate": "\/Date(1356994800000+0100)\/",
"NicknameFilter": null,
"PageNumber": 1,
"PageSize": 10,
"SortBy": 1
}
}
SOAP Example
- POST https://ws.ricardo.ch/RicardoApi/SellerAccountService.Soap.svc HTTP/1.1
- Content-Type: application/soap+xml; charset=utf-8
- Host: ws.betaqxl.com
- Accept-Encoding: gzip, deflate
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1">http://ricardo.contracts/ISellerAccountService/GetSoldArticles</a:Action>
<a:MessageID>urn:uuid:08e1c656-943f-4f6c-ab8d-e7b265883dbf</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<UsernameToken>
<Username>YOUR TOKEN</Username>
<Password></Password>
</UsernameToken>
</Security>
</s:Header>
<s:Body>
<GetSoldArticles xmlns="http://ricardo.contracts">
<getSoldArticlesParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ArticleIdFilter i:nil="true" />
<ArticleTitleFilter i:nil="true" />
<ArticleTypeFilter>All</ArticleTypeFilter>
<AscendingSort>true</AscendingSort>
<InternalReferenceFilter i:nil="true" />
<IsArchived>false</IsArchived>
<IsCompletedTransaction>false</IsCompletedTransaction>
<LastnameFilter i:nil="true" />
<MinimumEndDate>2013-01-01T00:00:00</MinimumEndDate>
<NicknameFilter i:nil="true" />
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<SortBy>SortByArticleId</SortBy>
</getSoldArticlesParameter>
</GetSoldArticles>
</s:Body>
</s:Envelope>