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>fca769ae-aac7-4877-90cf-27ad991ad03f</BrainCenterWorkerId>
</Request>

application/json, text/json

Sample:
{
  "BrainCenterWorkerId": "fca769ae-aac7-4877-90cf-27ad991ad03f"
}

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>d8f035cc-bf33-4113-96fd-3322958480e3</TaskId>
    <Status>New</Status>
    <TimeCompleted>2</TimeCompleted>
    <TimeRecognition>3</TimeRecognition>
    <BrainCenterWaitingInOrder>1</BrainCenterWaitingInOrder>
    <DateCreated>2020-08-04T07:55:43.5227554+03:00</DateCreated>
    <DateCompleted>2020-08-04T07:55:43.5227554+03:00</DateCompleted>
  </BrainCenteTask>
  <BrainCenteTask>
    <TaskId>d8f035cc-bf33-4113-96fd-3322958480e3</TaskId>
    <Status>New</Status>
    <TimeCompleted>2</TimeCompleted>
    <TimeRecognition>3</TimeRecognition>
    <BrainCenterWaitingInOrder>1</BrainCenterWaitingInOrder>
    <DateCreated>2020-08-04T07:55:43.5227554+03:00</DateCreated>
    <DateCompleted>2020-08-04T07:55:43.5227554+03:00</DateCompleted>
  </BrainCenteTask>
</BrainCenterWorkerTasks>

application/json, text/json

Sample:
{
  "BrainCenteTask": [
    {
      "TaskId": "d8f035cc-bf33-4113-96fd-3322958480e3",
      "Status": 0,
      "TimeCompleted": 2,
      "TimeRecognition": 3,
      "BrainCenterWaitingInOrder": 1,
      "DateCreated": "2020-08-04T07:55:43.5227554+03:00",
      "DateCompleted": "2020-08-04T07:55:43.5227554+03:00"
    },
    {
      "TaskId": "d8f035cc-bf33-4113-96fd-3322958480e3",
      "Status": 0,
      "TimeCompleted": 2,
      "TimeRecognition": 3,
      "BrainCenterWaitingInOrder": 1,
      "DateCreated": "2020-08-04T07:55:43.5227554+03:00",
      "DateCompleted": "2020-08-04T07:55:43.5227554+03:00"
    }
  ]
}