To reduce the amount of data retrieved by the GetDisplayArticleParameters method, you can specify which sections you need.
GetDisplayArticleParameters
- ArticleId: The article ID
- ArticleInformation: True to get the article information section (false otherwise)
- Pictures: True to get the pictures section (false otherwise)
- InternalReferences: True to get the internal references section (false otherwise)
- Deliveries: True to get the deliveries section (false otherwise)
- Descriptions: True to get the descriptions section (false otherwise)
- RelistInformation: True to get the relist information section (false otherwise)
- BidInformation: True to get the bid information section (false otherwise)
- BidHistoryMaxSize: To set the size of the bid information section
- QuestionsAnswers: True to get the questions and answers section (false otherwise)
JSON Example
- POST https://ws.ricardo.ch/ricardoapi/ArticleService.Json.svc/GetDisplayArticle HTTP/1.1
- Content-Type: application/json
- Ricardo-Username: [YOUR TokenCredential]
- Host: ws.betaqxl.com
{
"getDisplayArticleParameter": {
"ArticleId": 709719568,
"ArticleInformation": true,
"BidHistoryMaxSize": 10,
"BidInformation": true,
"Deliveries": true,
"Descriptions": true,
"InternalReferences": true,
"Pictures": false,
"QuestionsAnswers": true,
"RelistInformation": true,
"SellerInformation": true
}
}
SOAP example
- POST https://ws.ricardo.ch/RicardoApi/ArticleService.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/IArticleService/GetDisplayArticle</a:Action>
<a:MessageID>urn:uuid:56a971e4-00bc-4570-8642-08c1eed9168c</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>
<GetDisplayArticle xmlns="http://ricardo.contracts">
<getDisplayArticleParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ArticleId>709719568</ArticleId>
<ArticleInformation>true</ArticleInformation>
<BidHistoryMaxSize>10</BidHistoryMaxSize>
<BidInformation>true</BidInformation>
<Deliveries>true</Deliveries>
<Descriptions>true</Descriptions>
<InternalReferences>true</InternalReferences>
<Pictures>false</Pictures>
<QuestionsAnswers>true</QuestionsAnswers>
<RelistInformation>true</RelistInformation>
<SellerInformation>true</SellerInformation>
</getDisplayArticleParameter>
</GetDisplayArticle>
</s:Body>
</s:Envelope>