- Wefile (信天邮科技)
- 工作流(workflows)
- 任务(jobs)
- {job Id}
- result
- files
- output Documents/{output Document Id}/files
- 返回任务输出结果(Returns the result of a job.)
- 返回任务状态信息(Returns the state of a job.)
- 删除任务(Deletes a job.)
- result
- 返回多个任务的状态(Returns the states of multiple jobs.)GET
- 删除多个任务(Deletes multiple jobs.)DELETE
- 服务器(server)
- 许可(licenses)
- 队列(queue)
- 语言(languages)
- 统计分析(statistics)
- 工作站(stations)
- 返回部分服务器任务日志(Returns a portion of the server job log.)GET
- 返回服务器任务的统计信息(Returns the statistics of the server jobs.)GET
- 输出格式(output Formats)
创建一个多文件任务(Creates a new job from the specified files.)
POST
/api/workflows/{{workflowName}}/input/files
请求参数
Query 参数
serverLocation
string
必需
Header 参数
Content-Type
string
必需
示例值:
application/json
Accept
string
必需
示例值:
application/json
Body 参数application/json
array of:
FileContents
string
必需
FileName
string
必需
OpenPassword
string
必需
OwnerPassword
string
必需
LocationPath
string
必需
示例
[
{
"FileContents": "aute",
"FileName": "aute commodo esse",
"OpenPassword": "sint voluptate consequat proident",
"OwnerPassword": "elit nostrud enim adipisicing",
"LocationPath": "magna ad id consequat"
},
{
"FileContents": "laborum ",
"FileName": "aute officia id",
"OpenPassword": "Lorem qui ad dolor Excepteur",
"OwnerPassword": "pariatur exercitation",
"LocationPath": "pariatur"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://frstrial.wefile.com/FineReaderServer14//api/workflows/{{workflowName}}/input/files?serverLocation=' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"FileContents": "aute",
"FileName": "aute commodo esse",
"OpenPassword": "sint voluptate consequat proident",
"OwnerPassword": "elit nostrud enim adipisicing",
"LocationPath": "magna ad id consequat"
},
{
"FileContents": "laborum ",
"FileName": "aute officia id",
"OpenPassword": "Lorem qui ad dolor Excepteur",
"OwnerPassword": "pariatur exercitation",
"LocationPath": "pariatur"
}
]'
返回响应
🟢201The ID of the new job.
application/json
Body
No schema defined
示例
"Ut exercitation"
🟠400No input files supplied, or request format is invalid.
修改于 2024-04-24 10:31:56