POST api_v2/CoreWorkerTasksQueue/Add

Добавить задачу

Request Information

Parameters

NameDescriptionAdditional information
taskInfo
Модель параметров задачи

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Request>
  <Comment>sample string 2</Comment>
  <TaskParams>sample string 3</TaskParams>
  <CoreWorkersId>4</CoreWorkersId>
  <DateTimeDelayOperation>2022-06-26T20:03:50.3851169+03:00</DateTimeDelayOperation>
  <CloudTaskId>56ebf110-14aa-40c8-bf19-3f91d2bfbefc</CloudTaskId>
</Request>

application/json, text/json

Sample:
{
  "CloudTaskId": "56ebf110-14aa-40c8-bf19-3f91d2bfbefc",
  "Comment": "sample string 2",
  "TaskParams": "sample string 3",
  "CoreWorkersId": 4,
  "DateTimeDelayOperation": "2022-06-26T20:03:50.3851169+03:00"
}

Response Information

ID созданной задачи

Response body formats

application/xml, text/xml

Sample:
<Request>
  <Id>07824ada-3ea6-4385-bed8-dd36226ae71c</Id>
</Request>

application/json, text/json

Sample:
{
  "Id": "07824ada-3ea6-4385-bed8-dd36226ae71c"
}