PUT api/dbProducts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

dbProducts
NameDescriptionTypeAdditional information
id

integer

None.

parent

integer

None.

idCompany

integer

None.

caption

string

None.

image

string

None.

line1

string

None.

line2

string

None.

line3

string

None.

price

decimal number

None.

optionCaption

string

None.

optionSubCaption

string

None.

fileName

string

None.

active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "parent": 2,
  "idCompany": 3,
  "caption": "sample string 4",
  "image": "sample string 5",
  "line1": "sample string 6",
  "line2": "sample string 7",
  "line3": "sample string 8",
  "price": 1.1,
  "optionCaption": "sample string 9",
  "optionSubCaption": "sample string 10",
  "fileName": "sample string 11",
  "active": true
}

application/xml, text/xml

Sample:
<dbProducts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Composer">
  <active>true</active>
  <caption>sample string 4</caption>
  <fileName>sample string 11</fileName>
  <id>1</id>
  <idCompany>3</idCompany>
  <image>sample string 5</image>
  <line1>sample string 6</line1>
  <line2>sample string 7</line2>
  <line3>sample string 8</line3>
  <optionCaption>sample string 9</optionCaption>
  <optionSubCaption>sample string 10</optionSubCaption>
  <parent>2</parent>
  <price>1.1</price>
</dbProducts>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.