POST api_v2/CoreWorkerTasks/Add
Добавить задачу воркера
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
infoTask | Модель для создания задачи |
Define this parameter in the request body. |
Request body formats
application/xml, text/xml
Sample:
<Request> <TaskType>sample string 1</TaskType> <MethodName>sample string 2</MethodName> <TaskParams>sample string 3</TaskParams> <TaskName>sample string 4</TaskName> <Status>true</Status> </Request>
application/json, text/json
Sample:
{ "TaskType": "sample string 1", "MethodName": "sample string 2", "TaskParams": "sample string 3", "TaskName": "sample string 4", "Status": true }
Response Information
ИД задачи
Response body formats
application/xml, text/xml
Sample:
<Request> <SchedulerTaskID>f8a27825-397e-46eb-a0e9-354c9777b682</SchedulerTaskID> </Request>
application/json, text/json
Sample:
{ "SchedulerTaskID": "f8a27825-397e-46eb-a0e9-354c9777b682" }