Operation Definitions
Endpoints
GET /api/v1/menu/SICOM_MENU_ID
Use the Get Menu operation to obtain a full menu in JSON format.
In | Field Name | Type | Required | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator account | ||||||||||||
URL |
| string | Yes | The
|
Responses
Code | Description |
|---|---|
200 | Success Response. The response body includes a JSON formatted menu object. The menu object format is specific to the partner. |
404 | Error Response. Invalid URL. |
500 | Error Response. Server Error |
POST /api/v1/status/PARTNER_ID
Use the Update Status operation to notify Omni whether the menu update succeeded or failed.
In | Field Name | Type | Required | Description |
|---|---|---|---|---|
header |
| string | Yes | An authorization token linked to the integrator account |
URL |
| string | Yes | Identifies the partner. The |
body |
| Yes | The Update Status information |
Responses
Code | Description |
|---|---|
200 | Success Response |
401 | Error Response. Authentication Error |
403 | Error Response. Authentication Error |
400 | Error Response Bad Payload |
500 | Error Response. Internal Server Error |
Data Model
UpdateStatusRequestBody
Field Name | Type | Description |
|---|---|---|
| string | The |
| string | The result of the menu update. The available statuses are as follows:
|
| string | The reason that the menu update failed. For successful updates, do not set a value for this field. For failed updates, send predefined reason messages. |