RetailFeed
Click here for a complete list of operations.
GetStones
This method is obsolete. use the GetDiamonds method.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/RetailFeed/RetailFeed.asmx HTTP/1.1 Host: technet.rapaport.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://technet.rapaport.com/GetStones" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationTicketHeader xmlns="http://technet.rapaport.com/"> <Ticket>string</Ticket> </AuthenticationTicketHeader> </soap:Header> <soap:Body> <GetStones xmlns="http://technet.rapaport.com/"> <FeedID>int</FeedID> <Shape>ROUND or PEAR or PRINCESS or MARQUISE or OVAL or RADIANT or EMERALD or HEART or CUSHION or ASSCHER</Shape> <SizeFrom>double</SizeFrom> <SizeTo>double</SizeTo> <ColorFrom>D or E or F or G or H or I or J or K or L or M</ColorFrom> <ColorTo>D or E or F or G or H or I or J or K or L or M</ColorTo> <ClarityFrom>IF or VVS1 or VVS2 or VS1 or VS2 or SI1 or SI2 or SI3 or I1</ClarityFrom> <ClarityTo>IF or VVS1 or VVS2 or VS1 or VS2 or SI1 or SI2 or SI3 or I1</ClarityTo> <CutFrom>EXCELLENT or VERY_GOOD or GOOD or FAIR</CutFrom> <CutTo>EXCELLENT or VERY_GOOD or GOOD or FAIR</CutTo> <PriceFrom>double</PriceFrom> <PriceTo>double</PriceTo> <Page>int</Page> <PageSize>int</PageSize> <DiamondsFound>int</DiamondsFound> </GetStones> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetStonesResponse xmlns="http://technet.rapaport.com/"> <GetStonesResult>xmlxml</GetStonesResult> <DiamondsFound>int</DiamondsFound> </GetStonesResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/RetailFeed/RetailFeed.asmx HTTP/1.1 Host: technet.rapaport.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <AuthenticationTicketHeader xmlns="http://technet.rapaport.com/"> <Ticket>string</Ticket> </AuthenticationTicketHeader> </soap12:Header> <soap12:Body> <GetStones xmlns="http://technet.rapaport.com/"> <FeedID>int</FeedID> <Shape>ROUND or PEAR or PRINCESS or MARQUISE or OVAL or RADIANT or EMERALD or HEART or CUSHION or ASSCHER</Shape> <SizeFrom>double</SizeFrom> <SizeTo>double</SizeTo> <ColorFrom>D or E or F or G or H or I or J or K or L or M</ColorFrom> <ColorTo>D or E or F or G or H or I or J or K or L or M</ColorTo> <ClarityFrom>IF or VVS1 or VVS2 or VS1 or VS2 or SI1 or SI2 or SI3 or I1</ClarityFrom> <ClarityTo>IF or VVS1 or VVS2 or VS1 or VS2 or SI1 or SI2 or SI3 or I1</ClarityTo> <CutFrom>EXCELLENT or VERY_GOOD or GOOD or FAIR</CutFrom> <CutTo>EXCELLENT or VERY_GOOD or GOOD or FAIR</CutTo> <PriceFrom>double</PriceFrom> <PriceTo>double</PriceTo> <Page>int</Page> <PageSize>int</PageSize> <DiamondsFound>int</DiamondsFound> </GetStones> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetStonesResponse xmlns="http://technet.rapaport.com/"> <GetStonesResult>xmlxml</GetStonesResult> <DiamondsFound>int</DiamondsFound> </GetStonesResponse> </soap12:Body> </soap12:Envelope>