Parameter | Description |
---|---|
session_code | String, as received from login API. |
shape_type | String, can be "Round" or "Fancy" |
format | String, option is only "pdf". |
{ "session_code": "MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b", "shape_type_id": 2, "format": "pdf" }
{ "result_info": { "response_code": 61309, "response_description": "invalid or expired session" } }
You can also construct a direct download link, if you want to open this for example in the browser. The disadvantage for this approach is that this will not give any error handling. You will need to pass the same parameters in the query string part of the URL:
Endpoint: https://mobapi.idexonline.com/pricereport/api/v2.0/pricereportdownloadfilehttps://mobapi.idexonline.com/pricereport/api/v2.0/pricereportdownloadfile?session_code=MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b&shape_type_id=1&format=pdf