Azure 使用API从NetSuite文件柜下载文件
我正在尝试创建一个解决方案,在该解决方案中,我使用保存的搜索运行SuiteScript,并将结果作为CSV导出到文件柜中。我有一个粗略的脚本和一个搜索,但我还没有找到通过默认API下载文件的方法 我已经阅读了NetSuite pdf中关于web服务和rest/SOAPAPI的内容,但对文件柜的唯一引用是webservices()。我也不知道如何使用模式浏览器() 我可以使用默认API(即SOAP/Rest)下载NetSuite文件吗?我需要调用什么API?URL是什么样子的?是否值得在NetSuite上创建新的集成 (我的最终目标是:SuiteScript+Search>CSV>通过API下载文件>上传到Azure Blob)使用SOAP webservice“get”调用从Netsuite检索文件,然后导出到Azure。下面是使用文件内部id的示例xml,如果id未知,请通过webservices搜索特定文件夹以获取所有文件id,然后调用NetsuiteAzure 使用API从NetSuite文件柜下载文件,azure,api,netsuite,suitescript,Azure,Api,Netsuite,Suitescript,我正在尝试创建一个解决方案,在该解决方案中,我使用保存的搜索运行SuiteScript,并将结果作为CSV导出到文件柜中。我有一个粗略的脚本和一个搜索,但我还没有找到通过默认API下载文件的方法 我已经阅读了NetSuite pdf中关于web服务和rest/SOAPAPI的内容,但对文件柜的唯一引用是webservices()。我也不知道如何使用模式浏览器() 我可以使用默认API(即SOAP/Rest)下载NetSuite文件吗?我需要调用什么API?URL是什么样子的?是否值得在NetSu
<soapenv:Envelope
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:platformCore='urn:core_2020_1.platform.webservices.netsuite.com'
xmlns:platformMsgs='urn:messages_2020_1.platform.webservices.netsuite.com'>
<soapenv:Header>
<passport xsi:type='platformCore:Passport'>
<email xsi:type='xsd:string'>p@***</email>
<password xsi:type='xsd:string'>*********</password>
<account xsi:type='xsd:string'>*****</account>
<role xsi:type='platformCore:RecordRef' internalId='3'/>
</passport>
<applicationInfo xsi:type='platformMsgs:ApplicationInfo'>
<applicationId xsi:type='xsd:string'>7*****</applicationId>
</applicationInfo>
</soapenv:Header>
<soapenv:Body>
<get xsi:type='platformMsgs:GetRequest'>
<baseRef xsi:type='platformCore:RecordRef' internalId='5902' type='file'/>
</get>
</soapenv:Body>
</soapenv:Envelope>
p@***
*********
*****
7*****
嘿,多姆!您使用哪个系统从API下载文件并上载到Azure?@jordanw,目前我正在尝试使用Postman和SuiteTalk API本地下载文件。但我计划使用PowerShell上传到Azure。(我想在Azure函数中运行它,这就是我试图计算下载量的原因)