Home
API Overview
Price Lists
Rapaport Price List API
Price List Structure
Upload Diamonds
Fields and Values
Upload CSV files
Keep Inventory Up-to-date
Upload Results
Images and Certificates
Upload Using Excel
Upload Using API
Upload Jewelry
Instant Inventory
Ready-to-use Widgets
Custom Integration
Generate your own code
Download Listing Service
Integration
Help and Support Forums
Support Forum
Developer Forum
Sample Code
More Information
Rapaport Websites
Download Center
Updates
Subscribe to Rapaport
Developer Forum
[ All Topics
|
New Topic ]
Thread:
Rapaport Price List Formats & API's error
Get price sheet - retrieve all Rapaport prices in one go
https://technet.rapaport.com/HTTP/JSON/Prices/GetPriceSheet.aspx
{
"shape": "round",
"low_size": 0.04,
"high_size": 0.07,
"color": "d",
"clarity": "if",
"c...-12-25"
},
>> add a comment
cuibty
01/06/2016 08:02
2
Replies:
hi
send only shape
{
"shape": "round"
}
see example :
http://technet.rapaport.com/Info/Prices/SampleCode/JSON_CodeSample.aspx
>> add a comment
Reuven
1/6/2016 10:45:00 AM
var client = new RestClient("https://technet.rapaport.com/HTTP/JSON/Prices/GetPriceSheet.aspx");
string Data = @"
{
'request': {
'header': {
'username': 'username',
'password': 'password'
},
'body': {
'shape': 'round'
}
}
}
";
var request = new RestRequest(Method.POST)
{
RequestFormat = DataFormat.Json
};
request.AddParameter("application/x-www-form-urlencoded", Data, ParameterType.RequestBody);
var res = client.Execute(request);
>> add a comment
cuibty
1/8/2016 3:05:00 AM
You must sign in before you can post a new topic or reply. Click here to sign in.