1. iCS.GeneralService.WordReportService.Word.Create
調用接口說明
http 請求方式:POST
請求參數格式:JSON
POST數據示例
{
"FilePath": "http://localhost:14393/ServiceComponent/iCS.GeneralService.ReportingService.Word/Template/report-1.docx",//模板文檔地址
"ReplaceDataList": [//替換數據列表
{
"SourceFormat": "{Name}",//源數據
"Destination": "名稱"//目標數據
}
],
"ReplaceMkTextList": [//替換標籤數據列表
{
"SourceFormat": "BodySense_T",//源標籤名稱
"Destination": "好"//目標數據
}
],
"ReplaceMkHtmlList": [//替換標籤Html數據列表
{
"SourceFormat": "先天風格",//源標籤名稱
"Destination": "<html><head></head><body><h1>hello</h1></body></html>"//html目標數據
}
]
}
返回數據說明
{
"code": 0,//0:失敗,1:成功
"data": "string",//報道文檔地址
"msg": "string",//錯誤信息
}
C#調用示例