Endpoint for "To" field in reports

hcKJ6Ss6664NvxJnDKWj
Expensify Customer Posts: 3
Hello,
I want to pull a report through the API that includes the standard report fields as shown in the UI; Name, Total, Policy, From, To, Submitted, Exported. I am unable to find an API endpoint for the "To" field. I queried report.actionlist however no values were returned. Is there an endpoint available that corresponds to the "To" field?
Thanks.
Best Answer
-
Ted Harris Expensify Success Coach - Admin, Expensify Team, Expensify Student Ambassador Posts: 359 Expensify Team
Hi @hcKJ6Ss6664NvxJnDKWj - are you referring to the
report.approvers
array? You can find a little more about this here.If not this, you might simply just want the
managerEmail
which will just export the last approver on the report.
Answers
-
Hey @Ted Peeters,
I tried
report.approvers
but it was blank.report.managerEmail
is exactly what I was looking for. Thanks for the help!