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>2021-01-20T15:57:37.4150402+03:00</DateTimeDelayOperation>
  <CloudTaskId>067c073e-94f1-4d10-ac52-284cd0017101</CloudTaskId>
</Request>

application/json, text/json

Sample:
{
  "CloudTaskId": "067c073e-94f1-4d10-ac52-284cd0017101",
  "Comment": "sample string 2",
  "TaskParams": "sample string 3",
  "CoreWorkersId": 4,
  "DateTimeDelayOperation": "2021-01-20T15:57:37.4150402+03:00"
}

Response Information

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

Response body formats

application/xml, text/xml

Sample:
<Request>
  <Id>e8dc81a1-a640-4bea-a140-399e7cb89611</Id>
</Request>

application/json, text/json

Sample:
{
  "Id": "e8dc81a1-a640-4bea-a140-399e7cb89611"
}