How to
•
Upload inventory to RapNet
•
Download Rapaport price data
•
List RapNet inventory on my website
•
Upload certificates
•
Integrate the Rapaport Price List
•
Keep inventory on RapNet
•
Code samples
About
RapNet upload
Rapaport Price Lists
RapLink⢠Diamond Feed
TradeLink
RapNet06
Glossary
Community
Support forum
Developer forum
Standards forum
IT professional registration
Rapaport technical advisories
Latest updates
Downloads
RapNet 06
TradeLink
Rapaport online
www.diamonds.net
www.rapnet.com
RapLink code samples and helpful tips
Back to RapLink General information
Full HTTP POST Example (C#)
HTTP POST Example (PHP)
Web Service Example (C#)
RapNet Inventory Link
Plus
Web Service Example (C#)
Web Request Example (Java)
Web Request Example (Jython/Python)
Other code samples:
Save a byte array as a file in (C#)
Working with streams (C#)
Saving text files with TextWriter (C#)
Requesting a compressed Gzip response(C#)
//to save binary files:
//using System.IO;
//responseBytes is the byte array
FileStream
fs =
new
FileStream
(
"c:\\result3.csv"
,
FileMode
.Create,
FileAccess
.ReadWrite);
BinaryWriter
bw =
new
BinaryWriter
(fs);
bw.Write(responseBytes);
bw.Close();