千家信息网

PDF web service

发表于:2025-02-11 作者:千家信息网编辑
千家信息网最后更新 2025年02月11日,The Now Platform supports programmatic retrieval of PDF data through an HTTP GET request.The request
千家信息网最后更新 2025年02月11日PDF web service

The Now Platform supports programmatic retrieval of PDF data through an HTTP GET request.

The request is triggered when you use the PDFURL parameter.

For example, to retrieve a list of "incidents" and save to a PDF file, issue an HTTP GET to the URL:

https://instance_name.service-now.com/incident_list.do?PDF

The "content-disposition" HTTP header in the response indicates the file name and extension of the extract. In the example, it will be "incident.pdf"Note: For PDF export, there is a distinction between targeting a table and targeting its list. To generate a PDF of a list of records, suffix the target with "_list". To target a single record, you must specify the sys_id parameter to identify the record for which you are generating the PDF.


0