PUT api/Inventory

Request Information

URI Parameters

None.

Body Parameters

InventoryUpdateDto
NameDescriptionTypeAdditional information
Id

integer

None.

ReorderThreshold

integer

None.

OnHandLimit

integer

None.

DefaultLocation

string

None.

inventoryEntriesUpdateDtos

Collection of InventoryEntriesUpdateDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReorderThreshold": 2,
  "OnHandLimit": 3,
  "DefaultLocation": "sample string 4",
  "inventoryEntriesUpdateDtos": [
    {
      "Id": 1,
      "OnHandQty": 2,
      "Location": "sample string 3"
    },
    {
      "Id": 1,
      "OnHandQty": 2,
      "Location": "sample string 3"
    }
  ]
}

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

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Result

Object

None.

StatusCode

integer

None.

StatusGroup

string

None.

Details

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.