Mobile API Documentation

Add To Buy List

Overview: Add a specific diamond to the buy list
All parameters are mandatory with every API call.

Input Parameters

Parameter Description
session_code String, as received from login API.
diamond_id Integer

Sample Request

HTTP JSON
Endpoint: https://mobapi.idexonline.com/buylist/api/v2.0/addtobuylist
{
  "session_code": "MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b",
  "diamond_id": 380175681
}

Sample Response

JSON Data with HTTP Code 200
If all goes well, the response will be an HTTP 200 code and the response_code in the JSON will be 0.
{
  "result_info": {
	"response_code": 0,
	"response_description": ""
  },
  "results": {
	"add_success": true
  }
}
		


Test the API


Generate JSON Request



POST






© IDEX Online 2024   -   www.idexonline.com