Developer Forum [ All Topics | New Topic ]

Thread: Invalid format Issue - GetPricesSheet

Hi Rapaport Team,

I want to integrate Rapaport Price List API. I have tried this link in postman https://technet.rapaport.com:449/Info/Prices/Format_Json.aspx with following request.

{
"request": {
"header": {
"username": "awesome",
"password": "jsonrocks"

},
"body": {
"shape": "round"
}
}
}

But I am getting error like below :


{
"response": {
"header": {
"error_code": 1001,
"error_message": "Invalid format"
},
"body": {}
}
}

Can you please help us to resolve it?
Can you please provide postman collection if you have?

Thanks


>> add a comment
Jignesh
07/02/2022 03:13


5 Replies:

Hi The code you should be using is 

{
"request": {
"header": {
"username": " ",
"password": " "
},
"body": {
'shape' : 'round',
'size' : 2.10,
'color' : 'E',
'clarity' : 'VS2'
}
}
}


Thanks 


>> add a comment
RapNet Technical
7/3/2022 5:52:00 AM
Still not working can you please provide php code or postman collection ?

>> add a comment
jignesh
7/3/2022 10:08:00 PM
Please can you provide me with your e-mail address so I can send the code to you directly 
Thanks 

>> add a comment
RapNet Technical
7/4/2022 1:59:00 AM
my email address is mjphp79@gmail.com

>> add a comment
Jignesh
7/4/2022 10:17:00 PM
I didn't received any code yet... Can you please send full working php code to my email address mjphp79@gmail.com?

>> add a comment
jignesh
7/5/2022 9:55:00 PM