PUT api/Headphones/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Headphone
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Category

string

None.

Price

decimal number

None.

WarehouseId

integer

None.

Warehouse

Warehouse

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Category": "sample string 3",
  "Price": 4.0,
  "WarehouseId": 5,
  "Warehouse": {
    "Id": 1,
    "Warehouse_Name": "sample string 2"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.