The record of advice frozen when the proposal was sent
GET
/v1/firms/{firmId}/proposals/{proposalId}/advice-record.pdf
curl "https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/proposals/prp_01937f20a1b2c3d4e5f6a7b8c9d0e1f2/advice-record.pdf" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/proposals/prp_01937f20a1b2c3d4e5f6a7b8c9d0e1f2/advice-record.pdf", { headers: { Authorization: `Bearer ${process.env.IDEALX_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).error.code);const data = await res.json();import osimport requests
res = requests.get( "https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/proposals/prp_01937f20a1b2c3d4e5f6a7b8c9d0e1f2/advice-record.pdf", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”firmId
required
string
proposalId
required
string
Responses
Section titled “Responses”The record of advice as a PDF
Media typeapplication/pdf
string format: binary
Not sent yet, or no such proposal
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties
Example
{ "error": { "code": "validation_failed" }}