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>a804b9b1-ccdc-4338-ae21-6fd3b78c70f3</BrainCenterWorkerId>
</Request>

application/json, text/json

Sample:
{
  "BrainCenterWorkerId": "a804b9b1-ccdc-4338-ae21-6fd3b78c70f3"
}

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>81627788-caf2-4911-aa5a-fe7fd2bfa88d</TaskId>
    <Status>New</Status>
    <TimeCompleted>2</TimeCompleted>
    <TimeRecognition>3</TimeRecognition>
    <BrainCenterWaitingInOrder>1</BrainCenterWaitingInOrder>
    <DateCreated>2021-10-26T17:23:31.9756775+03:00</DateCreated>
    <DateCompleted>2021-10-26T17:23:31.9756775+03:00</DateCompleted>
  </BrainCenteTask>
  <BrainCenteTask>
    <TaskId>81627788-caf2-4911-aa5a-fe7fd2bfa88d</TaskId>
    <Status>New</Status>
    <TimeCompleted>2</TimeCompleted>
    <TimeRecognition>3</TimeRecognition>
    <BrainCenterWaitingInOrder>1</BrainCenterWaitingInOrder>
    <DateCreated>2021-10-26T17:23:31.9756775+03:00</DateCreated>
    <DateCompleted>2021-10-26T17:23:31.9756775+03:00</DateCompleted>
  </BrainCenteTask>
</BrainCenterWorkerTasks>

application/json, text/json

Sample:
{
  "BrainCenteTask": [
    {
      "TaskId": "81627788-caf2-4911-aa5a-fe7fd2bfa88d",
      "Status": 0,
      "TimeCompleted": 2,
      "TimeRecognition": 3,
      "BrainCenterWaitingInOrder": 1,
      "DateCreated": "2021-10-26T17:23:31.9756775+03:00",
      "DateCompleted": "2021-10-26T17:23:31.9756775+03:00"
    },
    {
      "TaskId": "81627788-caf2-4911-aa5a-fe7fd2bfa88d",
      "Status": 0,
      "TimeCompleted": 2,
      "TimeRecognition": 3,
      "BrainCenterWaitingInOrder": 1,
      "DateCreated": "2021-10-26T17:23:31.9756775+03:00",
      "DateCompleted": "2021-10-26T17:23:31.9756775+03:00"
    }
  ]
}