POST api/Efood/GetProductsForConnection

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
req
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "efoodProductConnectionRequests": [
    {
      "$id": "2",
      "EfoodID": "sample string 1",
      "ProductSizeID": 1,
      "ProductExtraID": 1
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "guid": "29f48846-dd29-43f4-a214-f1200b0c8e3b",
  "BranchID": 2,
  "isConnected": true,
  "ProductID": 3,
  "EfoodId": 4,
  "WebOrderId": 5,
  "efoodCancelReason": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EfoodRequest'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Outcome": 0,
  "Message": "sample string 1",
  "Data": [
    {
      "$id": "2",
      "ID": 1,
      "CompanyID": 2,
      "Text": "sample string 3",
      "SortOrder": 4,
      "Products": [
        {
          "$id": "3",
          "ID": 1,
          "CompanyID": 2,
          "Text": "sample string 3",
          "Text2": "sample string 4",
          "ProductCategoryID": 5,
          "ProductSizes": [
            {
              "$id": "4",
              "ID": 1,
              "ProductID": 2,
              "SizeID": 3,
              "Deleted": true,
              "ExternalId": "sample string 5",
              "EfoodInfo": {
                "$id": "5",
                "code": "sample string 1",
                "description": "sample string 2",
                "has_pending_self_service_changes": true,
                "has_times": true,
                "id": 5,
                "images": {
                  "$id": "6"
                },
                "images_meta": [
                  {
                    "$id": "7"
                  },
                  {
                    "$id": "8"
                  },
                  {
                    "$id": "9"
                  }
                ],
                "is_inside_working_hours": true,
                "items": [
                  {
                    "$id": "10",
                    "additional_tax": 1.1,
                    "additional_tax_included_in_price": true,
                    "allergens": [
                      {
                        "$id": "11"
                      },
                      {
                        "$id": "12"
                      },
                      {
                        "$id": "13"
                      }
                    ],
                    "allow_comments": true,
                    "auto_reset": true,
                    "barcode": {
                      "$id": "14"
                    },
                    "buyer": "sample string 6",
                    "buyer_price": 7,
                    "category_code": "sample string 8",
                    "category_codes": [
                      "sample string 1",
                      "sample string 2",
                      "sample string 3"
                    ],
                    "category_is_inside_working_hours": true,
                    "category_order": 10,
                    "code": "sample string 11",
                    "commissionable_price": 12.1,
                    "dailydish_type": 13,
                    "description": "sample string 14",
                    "excluded_from_minimum_order": true,
                    "food_labelling": {
                      "$id": "15"
                    },
                    "global_asset": {
                      "$id": "16"
                    },
                    "has_options": true,
                    "has_pending_self_service_changes": true,
                    "has_plus_sign": true,
                    "has_times": true,
                    "has_variations": true,
                    "hashcode": "sample string 23",
                    "id": 24,
                    "images": {
                      "$id": "17",
                      "original": {
                        "$id": "18"
                      },
                      "thumb": {
                        "$id": "19"
                      },
                      "banner": {
                        "$id": "20"
                      },
                      "editable": {
                        "$id": "21"
                      },
                      "featured": {
                        "$id": "22"
                      },
                      "menu": {
                        "$id": "23"
                      },
                      "popular": {
                        "$id": "24"
                      }
                    },
                    "images_meta": [
                      {
                        "$id": "25"
                      },
                      {
                        "$id": "26"
                      },
                      {
                        "$id": "27"
                      }
                    ],
                    "is_available": true,
                    "is_dailydish": true,
                    "is_hidden": true,
                    "is_inside_working_hours": true,
                    "is_reorder_available": true,
                    "material_tags": [
                      {
                        "$id": "28"
                      },
                      {
                        "$id": "29"
                      },
                      {
                        "$id": "30"
                      }
                    ],
                    "materialtags": "sample string 30",
                    "max_quantity_available": 31,
                    "max_quantity_per_order": 32,
                    "metric_description": "sample string 33",
                    "name": "sample string 34",
                    "need_server_calculation": true,
                    "option_codes": [
                      "sample string 1",
                      "sample string 2",
                      "sample string 3"
                    ],
                    "order": 36,
                    "pos_code": "sample string 37",
                    "price": 38.1,
                    "price_before_tax": {
                      "$id": "31"
                    },
                    "price_takeaway": {
                      "$id": "32"
                    },
                    "printed_name": "sample string 41",
                    "pvc_recycling_tax": 42,
                    "quick_add": true,
                    "schedules": {
                      "$id": "33"
                    },
                    "shortage": true,
                    "size_info": "sample string 46",
                    "special_instructions": "sample string 47",
                    "tags": [
                      {
                        "$id": "34"
                      },
                      {
                        "$id": "35"
                      },
                      {
                        "$id": "36"
                      }
                    ],
                    "tiers": [
                      {
                        "$id": "37",
                        "code": 1,
                        "created_at": "2025-10-28T23:01:53.5779493+02:00",
                        "dependency_code": 3,
                        "description": {
                          "$id": "38"
                        },
                        "free_options": 5,
                        "has_pending_self_service_changes": true,
                        "id": 7,
                        "is_deleted": true,
                        "item_code": "sample string 9",
                        "maximum_selections": 10,
                        "name": "sample string 11",
                        "options": [
                          {
                            "$id": "39",
                            "additional_tax": 1,
                            "auto_reset": true,
                            "code": 3,
                            "created_at": "2025-10-28T23:01:53.5779493+02:00",
                            "dependencies": [
                              {
                                "$id": "40"
                              },
                              {
                                "$id": "41"
                              },
                              {
                                "$id": "42"
                              }
                            ],
                            "has_pending_self_service_changes": true,
                            "id": 6,
                            "is_available": true,
                            "is_default": true,
                            "is_deleted": true,
                            "item_code": "sample string 10",
                            "name": "sample string 11",
                            "order": 12,
                            "price": 13.0,
                            "printed_name": "sample string 14",
                            "pvc_recycling_tax": 15,
                            "restaurant_id": 16,
                            "selected": true,
                            "shortage": true,
                            "tier_code": 19,
                            "tier_dependency_code": 20,
                            "updated_at": "2025-10-28T23:01:53.5779493+02:00",
                            "vendor_reference_id": {
                              "$id": "43"
                            },
                            "vendor_reference_metadata": {
                              "$id": "44"
                            }
                          },
                          {
                            "$ref": "39"
                          },
                          {
                            "$ref": "39"
                          }
                        ],
                        "order": 12,
                        "restaurant_id": 13,
                        "shortage": true,
                        "type": "sample string 15",
                        "updated_at": "2025-10-28T23:01:53.5779493+02:00",
                        "vendor_reference_id": {
                          "$id": "45"
                        },
                        "vendor_reference_metadata": {
                          "$id": "46"
                        }
                      },
                      {
                        "$ref": "37"
                      },
                      {
                        "$ref": "37"
                      }
                    ],
                    "type_details": {
                      "$id": "47"
                    },
                    "updated_at": "2025-10-28T23:01:53.5779493+02:00",
                    "vat": {
                      "$id": "48"
                    },
                    "vendor_reference_id": "sample string 51",
                    "vendor_reference_metadata": {
                      "$id": "49"
                    }
                  },
                  {
                    "$ref": "10"
                  },
                  {
                    "$ref": "10"
                  }
                ],
                "name": "sample string 8",
                "order": 9,
                "schedules": {
                  "$id": "50"
                },
                "tags": [
                  "sample string 1",
                  "sample string 2",
                  "sample string 3"
                ],
                "vendor_reference_id": "sample string 11",
                "vendor_reference_metadata": {
                  "$id": "51"
                }
              },
              "Size": {
                "$id": "52",
                "ID": 1,
                "CompanyID": 2,
                "Text": "sample string 3"
              }
            },
            {
              "$ref": "4"
            },
            {
              "$ref": "4"
            }
          ],
          "ProductExtras": [
            {
              "$id": "53",
              "ID": 1,
              "ProductID": 2,
              "ExtraID": 3,
              "ExternalId": "sample string 4",
              "EfoodInfo": {
                "$ref": "5"
              },
              "Extra": {
                "$id": "54",
                "ID": 1,
                "CompanyID": 2,
                "Text": "sample string 3"
              }
            },
            {
              "$ref": "53"
            },
            {
              "$ref": "53"
            }
          ]
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ]
}