PUT api/Inventory?estId={estId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
estId

integer

Required

Body Parameters

Collection of InventoryItem
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

ImageId

integer

None.

ImageUrl

string

None.

BackupStock

integer

None.

OnTap

boolean

None.

OnDeck1

integer

None.

OnDeck2

integer

None.

OnDeck3

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 1",
    "ImageId": 1,
    "ImageUrl": "sample string 2",
    "BackupStock": 1,
    "OnTap": true,
    "OnDeck1": 1,
    "OnDeck2": 1,
    "OnDeck3": 1
  },
  {
    "Id": 1,
    "Name": "sample string 1",
    "ImageId": 1,
    "ImageUrl": "sample string 2",
    "BackupStock": 1,
    "OnTap": true,
    "OnDeck1": 1,
    "OnDeck2": 1,
    "OnDeck3": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventoryItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Crafted.DTO">
  <InventoryItem>
    <BackupStock>1</BackupStock>
    <Id>1</Id>
    <ImageId>1</ImageId>
    <ImageUrl>sample string 2</ImageUrl>
    <Name>sample string 1</Name>
    <OnDeck1>1</OnDeck1>
    <OnDeck2>1</OnDeck2>
    <OnDeck3>1</OnDeck3>
    <OnTap>true</OnTap>
  </InventoryItem>
  <InventoryItem>
    <BackupStock>1</BackupStock>
    <Id>1</Id>
    <ImageId>1</ImageId>
    <ImageUrl>sample string 2</ImageUrl>
    <Name>sample string 1</Name>
    <OnDeck1>1</OnDeck1>
    <OnDeck2>1</OnDeck2>
    <OnDeck3>1</OnDeck3>
    <OnTap>true</OnTap>
  </InventoryItem>
</ArrayOfInventoryItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.