作业搜索,parentId用于指定父级文件夹,parentId为-1,表示搜索最外面一级目录;
搜索为精确搜索;
{
"searchString": "string",
"parentId": "string"
}
curl --location --request POST 'https://mcs-gateway.fscut.com/cn-api/api/job/list/v2' \
--header 'app-id: op191eb50f9b81873c' \
--header 'time-stamp: {{timeStamp}}' \
--header 'app-sign: {{sign}}' \
--header 'X-FS-Orgcode: TEAM001' \
--header 'Content-Type: application/json' \
--data-raw '{
"searchString": "string",
"parentId": "string"
}'
{
"data": [
{
"create_time": "2021-10-20 16:38:51",
"id": 4226,
"parent_id": 4215,
"status": 0,
"title": "作业名称",
"type": 1
}
],
"msg": "OK",
"status": 0
}