POST api_v1/BrainCenter/GetBrainCenterWorkerTasks

Получить список тасков воркера бреин центра.

Request Information

Body Parameters

RequestBrainCenterWorkerModel
NameDescriptionTypeAdditional information
BrainCenterWorkerId

globally unique identifier

None.

Request Formats

application/xml, text/xml

Sample:
<Request>
  <BrainCenterWorkerId>842ff09d-efe0-4821-8f7b-75df37108be8</BrainCenterWorkerId>
</Request>

application/json, text/json

Sample:
{
  "BrainCenterWorkerId": "842ff09d-efe0-4821-8f7b-75df37108be8"
}

Response Information

output может быть предоставлен в одном из следующих форматов:

  • json – задает вывод в формате JavaScript Object Notation (JSON)
  • xml – задает вывод в формате XML

Resource Description

BrainCenterWorkerTasksModel
NameDescriptionTypeAdditional information
BrainCenteTask

Collection of BrainCenteTaskModel

None.

Response Formats

application/xml, text/xml

Sample:
<BrainCenterWorkerTasks>
  <BrainCenteTask>
    <TaskId>89e7f074-aaa0-4118-9633-3b7bd0abef0d</TaskId>
    <Status>New</Status>
    <TimeCompleted>2</TimeCompleted>
    <TimeRecognition>3</TimeRecognition>
    <BrainCenterWaitingInOrder>1</BrainCenterWaitingInOrder>
    <DateCreated>2020-04-04T17:16:11.7039717+03:00</DateCreated>
    <DateCompleted>2020-04-04T17:16:11.7039717+03:00</DateCompleted>
  </BrainCenteTask>
  <BrainCenteTask>
    <TaskId>89e7f074-aaa0-4118-9633-3b7bd0abef0d</TaskId>
    <Status>New</Status>
    <TimeCompleted>2</TimeCompleted>
    <TimeRecognition>3</TimeRecognition>
    <BrainCenterWaitingInOrder>1</BrainCenterWaitingInOrder>
    <DateCreated>2020-04-04T17:16:11.7039717+03:00</DateCreated>
    <DateCompleted>2020-04-04T17:16:11.7039717+03:00</DateCompleted>
  </BrainCenteTask>
</BrainCenterWorkerTasks>

application/json, text/json

Sample:
{
  "BrainCenteTask": [
    {
      "TaskId": "89e7f074-aaa0-4118-9633-3b7bd0abef0d",
      "Status": 0,
      "TimeCompleted": 2,
      "TimeRecognition": 3,
      "BrainCenterWaitingInOrder": 1,
      "DateCreated": "2020-04-04T17:16:11.7039717+03:00",
      "DateCompleted": "2020-04-04T17:16:11.7039717+03:00"
    },
    {
      "TaskId": "89e7f074-aaa0-4118-9633-3b7bd0abef0d",
      "Status": 0,
      "TimeCompleted": 2,
      "TimeRecognition": 3,
      "BrainCenterWaitingInOrder": 1,
      "DateCreated": "2020-04-04T17:16:11.7039717+03:00",
      "DateCompleted": "2020-04-04T17:16:11.7039717+03:00"
    }
  ]
}