PUT AlohaMenuLoopback/BulkUpsertItems

Documentation for 'BulkUpsertItems'.

Request Information

Parameters

NameDescriptionAdditional information
payload
Documentation for 'payload'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Items": {
    "$type": "System.Collections.Generic.List`1[[NCR.Silver.Shared.Contracts.DsesApi.ItemDto, NCR.Silver.Shared.Contracts]], mscorlib",
    "$values": [
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41",
        "RootEnterpriseUnitId": "2f12c0ae-6cf8-48e1-9ada-903615628449",
        "Status": "sample string 2",
        "BslCategoryNodeId": "sample string 3",
        "Name": "sample string 4",
        "Description": "sample string 5",
        "CookTime": 1,
        "ItemColor": "sample string 6",
        "KitchenName": "sample string 7",
        "PrintPriority": 1,
        "GuestCount": 1,
        "ExternalId": "sample string 8",
        "BslImageUrl": "sample string 9",
        "Barcodes": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ]
        },
        "LinkGroups": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ]
        },
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41"
        },
        "RootBslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "2f12c0ae-6cf8-48e1-9ada-903615628449"
        }
      },
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41",
        "RootEnterpriseUnitId": "2f12c0ae-6cf8-48e1-9ada-903615628449",
        "Status": "sample string 2",
        "BslCategoryNodeId": "sample string 3",
        "Name": "sample string 4",
        "Description": "sample string 5",
        "CookTime": 1,
        "ItemColor": "sample string 6",
        "KitchenName": "sample string 7",
        "PrintPriority": 1,
        "GuestCount": 1,
        "ExternalId": "sample string 8",
        "BslImageUrl": "sample string 9",
        "Barcodes": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ]
        },
        "LinkGroups": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ]
        },
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41"
        },
        "RootBslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "2f12c0ae-6cf8-48e1-9ada-903615628449"
        }
      },
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41",
        "RootEnterpriseUnitId": "2f12c0ae-6cf8-48e1-9ada-903615628449",
        "Status": "sample string 2",
        "BslCategoryNodeId": "sample string 3",
        "Name": "sample string 4",
        "Description": "sample string 5",
        "CookTime": 1,
        "ItemColor": "sample string 6",
        "KitchenName": "sample string 7",
        "PrintPriority": 1,
        "GuestCount": 1,
        "ExternalId": "sample string 8",
        "BslImageUrl": "sample string 9",
        "Barcodes": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ]
        },
        "LinkGroups": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ]
        },
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41"
        },
        "RootBslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "2f12c0ae-6cf8-48e1-9ada-903615628449"
        }
      }
    ]
  },
  "ItemsToStores": {
    "$type": "System.Collections.Generic.List`1[[NCR.Silver.Shared.Contracts.DsesApi.ItemToStoreDto, NCR.Silver.Shared.Contracts]], mscorlib",
    "$values": [
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemToStoreDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "854fcc53-2cb2-4e75-a7bd-2d029a766411",
        "StoreId": 2,
        "ToRemove": true,
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "854fcc53-2cb2-4e75-a7bd-2d029a766411"
        }
      },
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemToStoreDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "854fcc53-2cb2-4e75-a7bd-2d029a766411",
        "StoreId": 2,
        "ToRemove": true,
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "854fcc53-2cb2-4e75-a7bd-2d029a766411"
        }
      },
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemToStoreDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "854fcc53-2cb2-4e75-a7bd-2d029a766411",
        "StoreId": 2,
        "ToRemove": true,
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "854fcc53-2cb2-4e75-a7bd-2d029a766411"
        }
      }
    ]
  },
  "RootOnlyUpdates": {
    "$type": "System.Collections.Generic.List`1[[NCR.Silver.Shared.Contracts.DsesApi.ItemRootOnlyUpdateDto, NCR.Silver.Shared.Contracts]], mscorlib",
    "$values": [
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemRootOnlyUpdateDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "bd854704-8bca-440b-bccd-8ba610b1eecb",
        "RootEnterpriseUnitId": "c972ef6a-8441-40ab-94ea-9821c9707d12",
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "bd854704-8bca-440b-bccd-8ba610b1eecb"
        },
        "RootBslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "c972ef6a-8441-40ab-94ea-9821c9707d12"
        }
      },
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemRootOnlyUpdateDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "bd854704-8bca-440b-bccd-8ba610b1eecb",
        "RootEnterpriseUnitId": "c972ef6a-8441-40ab-94ea-9821c9707d12",
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "bd854704-8bca-440b-bccd-8ba610b1eecb"
        },
        "RootBslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "c972ef6a-8441-40ab-94ea-9821c9707d12"
        }
      },
      {
        "$type": "NCR.Silver.Shared.Contracts.DsesApi.ItemRootOnlyUpdateDto, NCR.Silver.Shared.Contracts",
        "ItemCode": "sample string 1",
        "EnterpriseUnitId": "bd854704-8bca-440b-bccd-8ba610b1eecb",
        "RootEnterpriseUnitId": "c972ef6a-8441-40ab-94ea-9821c9707d12",
        "BslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "bd854704-8bca-440b-bccd-8ba610b1eecb"
        },
        "RootBslId": {
          "$type": "NCR.Silver.Shared.Contracts.DsesApi.BslId, NCR.Silver.Shared.Contracts",
          "EntityCode": "sample string 1",
          "EnterpriseUnitId": "c972ef6a-8441-40ab-94ea-9821c9707d12"
        }
      }
    ]
  }
}

application/xml, text/xml

Sample:
<BulkUpsertItemsRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NCR.Silver.Shared.Contracts.DsesApi">
  <Items>
    <ItemDto>
      <Barcodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Barcodes>
      <BslCategoryNodeId>sample string 3</BslCategoryNodeId>
      <BslImageUrl>sample string 9</BslImageUrl>
      <CookTime>1</CookTime>
      <Description>sample string 5</Description>
      <EnterpriseUnitId>80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41</EnterpriseUnitId>
      <ExternalId>sample string 8</ExternalId>
      <GuestCount>1</GuestCount>
      <ItemCode>sample string 1</ItemCode>
      <ItemColor>sample string 6</ItemColor>
      <KitchenName>sample string 7</KitchenName>
      <LinkGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </LinkGroups>
      <Name>sample string 4</Name>
      <PrintPriority>1</PrintPriority>
      <RootEnterpriseUnitId>2f12c0ae-6cf8-48e1-9ada-903615628449</RootEnterpriseUnitId>
      <Status>sample string 2</Status>
    </ItemDto>
    <ItemDto>
      <Barcodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Barcodes>
      <BslCategoryNodeId>sample string 3</BslCategoryNodeId>
      <BslImageUrl>sample string 9</BslImageUrl>
      <CookTime>1</CookTime>
      <Description>sample string 5</Description>
      <EnterpriseUnitId>80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41</EnterpriseUnitId>
      <ExternalId>sample string 8</ExternalId>
      <GuestCount>1</GuestCount>
      <ItemCode>sample string 1</ItemCode>
      <ItemColor>sample string 6</ItemColor>
      <KitchenName>sample string 7</KitchenName>
      <LinkGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </LinkGroups>
      <Name>sample string 4</Name>
      <PrintPriority>1</PrintPriority>
      <RootEnterpriseUnitId>2f12c0ae-6cf8-48e1-9ada-903615628449</RootEnterpriseUnitId>
      <Status>sample string 2</Status>
    </ItemDto>
    <ItemDto>
      <Barcodes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </Barcodes>
      <BslCategoryNodeId>sample string 3</BslCategoryNodeId>
      <BslImageUrl>sample string 9</BslImageUrl>
      <CookTime>1</CookTime>
      <Description>sample string 5</Description>
      <EnterpriseUnitId>80fa6e7f-6a32-49c2-8c2c-ccdd858e3f41</EnterpriseUnitId>
      <ExternalId>sample string 8</ExternalId>
      <GuestCount>1</GuestCount>
      <ItemCode>sample string 1</ItemCode>
      <ItemColor>sample string 6</ItemColor>
      <KitchenName>sample string 7</KitchenName>
      <LinkGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </LinkGroups>
      <Name>sample string 4</Name>
      <PrintPriority>1</PrintPriority>
      <RootEnterpriseUnitId>2f12c0ae-6cf8-48e1-9ada-903615628449</RootEnterpriseUnitId>
      <Status>sample string 2</Status>
    </ItemDto>
  </Items>
  <ItemsToStores>
    <ItemToStoreDto>
      <EnterpriseUnitId>854fcc53-2cb2-4e75-a7bd-2d029a766411</EnterpriseUnitId>
      <ItemCode>sample string 1</ItemCode>
      <StoreId>2</StoreId>
      <ToRemove>true</ToRemove>
    </ItemToStoreDto>
    <ItemToStoreDto>
      <EnterpriseUnitId>854fcc53-2cb2-4e75-a7bd-2d029a766411</EnterpriseUnitId>
      <ItemCode>sample string 1</ItemCode>
      <StoreId>2</StoreId>
      <ToRemove>true</ToRemove>
    </ItemToStoreDto>
    <ItemToStoreDto>
      <EnterpriseUnitId>854fcc53-2cb2-4e75-a7bd-2d029a766411</EnterpriseUnitId>
      <ItemCode>sample string 1</ItemCode>
      <StoreId>2</StoreId>
      <ToRemove>true</ToRemove>
    </ItemToStoreDto>
  </ItemsToStores>
  <RootOnlyUpdates>
    <ItemRootOnlyUpdateDto>
      <EnterpriseUnitId>bd854704-8bca-440b-bccd-8ba610b1eecb</EnterpriseUnitId>
      <ItemCode>sample string 1</ItemCode>
      <RootEnterpriseUnitId>c972ef6a-8441-40ab-94ea-9821c9707d12</RootEnterpriseUnitId>
    </ItemRootOnlyUpdateDto>
    <ItemRootOnlyUpdateDto>
      <EnterpriseUnitId>bd854704-8bca-440b-bccd-8ba610b1eecb</EnterpriseUnitId>
      <ItemCode>sample string 1</ItemCode>
      <RootEnterpriseUnitId>c972ef6a-8441-40ab-94ea-9821c9707d12</RootEnterpriseUnitId>
    </ItemRootOnlyUpdateDto>
    <ItemRootOnlyUpdateDto>
      <EnterpriseUnitId>bd854704-8bca-440b-bccd-8ba610b1eecb</EnterpriseUnitId>
      <ItemCode>sample string 1</ItemCode>
      <RootEnterpriseUnitId>c972ef6a-8441-40ab-94ea-9821c9707d12</RootEnterpriseUnitId>
    </ItemRootOnlyUpdateDto>
  </RootOnlyUpdates>
</BulkUpsertItemsRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.