Support Forum [ All Topics | New Topic ]

Thread: HTTP POST(PHP Curl) CSV formated string

I am using php curl to Post  to upload stone data.

But It is giving below error.
Error: Lot file upload failed
API url we are using for HTTP POST is- https://technet.rapaport.com:449/HTTP/Upload/Upload.aspx?Method=string&ReplaceAll=true

I also sending token which I got after authentication and here is the requested data.
Array (     
[ticket] => f6dca1f8ca944b36838a7e2613e98704
[UploadCSVString] => AllowRapLinkFeed,Availability,Black Inclusion,Brand,Index Asking Price,CertificateNumber,CertFile,CityLocation,Clarity,Color,Comments,CountryLocation,Crown Angle,CrownHeight,Culet Condition,CuletSize,Cut,DepthPercent,DiamondImage,DisplayCert,Eye Clean,FancyColor,FancyColorIntensity,FluorescenceColor,FluorescenceIntensity,Girdle Percent,Girdle Condition,GirdleThick,GirdleThin,KeyToSymbols,Laboratory,Laser Inscription,Measurements,MeasurementsWidth,MeasHeight,MeasurementsLength,Member Comments,MatchedPairStockNumber,ParcelStoneCount,Pavilion Angle,Polish,RapnetDiscountPercent,PricePerCarat,ReportType,Report Issue Date,Report Issue Location,Seller Spec,Shape,Shade,ShowOnlyOnRapLink,Carat,StateLocation,StockNumber,Symmetry,TablePercent,TradeShow,Treatments,White Inclusions\nY,G,1,Hearts and Arrows,2940.00,6282620234,http://apitest.dfl.4livedemo.com/images/6282620234.pdf,DELHI,VS2,F,,INDIA,0.00,0.0000,,None,,54.4000,https://d305ukokfjetib.cloudfront.net/2018/11/8/imaged/5181471462-1/still.jpg,Y,Yes,,,None,None,6,Faceted,Slightly Thick,Very Thick,Feather, Crystal,GIA,GIA 6282620234,,5.1900,2.8200,7.9700,,,,0.00,VG,,2940.00,Diamond Grading Report,2018-04-03,DELHI,A1,Pear,,N,0.70,DELHI,01-00016782,VG,60.0000,,LD,WT0
)
I am not able to understand what is the wrong with my request data.



 


>> add a comment
Amit Sinduriya
07/23/2019 01:05


0 Replies: