Update: MasterCard has successfully resolved the issue with their commercial card systems. We're awaiting file deliveries now. For more information, please visit our status page.

Going to SuiteWorld in Las Vegas April 1-4? So are we! While you're there, you can stop by the Expensify booth in the Expo hall to chat about how the current features work, any questions you may have, or discuss what's next for this integration. We look forward to seeing you there!

API Report Exporter Returns "No Template Submitted"

RaeRae Posts: 5 Expensify Newcomer

I've copied the following curl request directly from the API documentation and imported it into Postman. The only parameter changes I made were to the partnerUserID, partnerUserSecret, startDate, endDate, and recipients. It returns {"responseMessage":"No Template Submitted","responseCode":410}. Can I not use the default template like I can for the Reconciliation file?

curl -X POST 'https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations' \
-d 'requestJobDescription={
"type":"file",
"credentials":{
"partnerUserID":"userId",
"partnerUserSecret":"userSecret"
},
"onReceive":{
"immediateResponse":["returnRandomFileName"]
},
"inputSettings":{
"type":"combinedReportData",
"reportState":"APPROVED,REIMBURSED",
"limit":"10",
"filters":{
"startDate":"2018-08-01",
"endDate":"2018-08-20",
"markedAsExported":"Expensify Export"
}
},
"outputSettings":{
"fileExtension":"xlsx",
"fileBasename":"myExport"
},
"onFinish":[
{"actionName":"markAsExported","label":"Expensify Export"},
{"actionName":"email","recipients":"[email protected]", "message":"Report is ready."}
]
}'
--data-urlencode '[email protected]_template.ftl'

Best Answer

Answers

Sign In or Register to comment.