POST TrendyolMenuIntegration/CheckBatchResult

Request Information

URI Parameters

None.

Body Parameters

BatchRequestCheckRequestWithRestaurant
NameDescriptionTypeAdditional information
batchRequestId

string

None.

updatedItems

Collection of PriceUpdateItem

None.

RestaurantID

integer

None.

SettingsID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "batchRequestId": "sample string 1",
  "updatedItems": [
    {
      "productId": 1,
      "sellingPrice": 2.1,
      "restaurantId": 1
    },
    {
      "productId": 1,
      "sellingPrice": 2.1,
      "restaurantId": 1
    }
  ],
  "RestaurantID": 2,
  "SettingsID": 3
}

application/xml, text/xml

Sample:
<TrendyolMenu.BatchRequestCheckRequestWithRestaurant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiApp.Models">
  <RestaurantID>2</RestaurantID>
  <SettingsID>3</SettingsID>
  <batchRequestId>sample string 1</batchRequestId>
  <updatedItems>
    <TrendyolMenu.PriceUpdateItem>
      <productId>1</productId>
      <restaurantId>1</restaurantId>
      <sellingPrice>2.1</sellingPrice>
    </TrendyolMenu.PriceUpdateItem>
    <TrendyolMenu.PriceUpdateItem>
      <productId>1</productId>
      <restaurantId>1</restaurantId>
      <sellingPrice>2.1</sellingPrice>
    </TrendyolMenu.PriceUpdateItem>
  </updatedItems>
</TrendyolMenu.BatchRequestCheckRequestWithRestaurant>

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 'BatchRequestCheckRequestWithRestaurant'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.