Skip to content

Acknowledge menu tasks ​

PUT /tasks/hype-reports/menus

Hype Reports calls this HES endpoint to submit results for menu synchronization tasks it has already fetched and processed. Send each task's entity_task_id, processing status, and response. HES accepts the batch with 204 No Content.

This PUT records task results. To generate a report, use Request report generation.

Request ​

http
PUT https://es.dev.hype-software.com/tasks/hype-reports/menus
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
Content-Type: application/json

Request body

json
[
  {
    "entity_task_id": "a0ff034e-c2d4-4508-a367-b0ed546af60a",
    "status": 200,
    "response": {
      "id": "custom_id_1",
      "name": "Основно меню",
      "startDate": "",
      "endDate": "",
      "isActive": true,
      "isDefault": true
    }
  },
  {
    "entity_task_id": "a0ff034e-d59b-43de-8c49-90370f87238b",
    "status": 200,
    "response": {
      "id": "custom_id_2",
      "name": "Обедно меню",
      "startDate": "",
      "endDate": "",
      "isActive": true,
      "isDefault": false
    }
  }
]

Response examples ​

204 · Update menu tasks ​

Empty response body.

Hype Exchange Service API