PUT api/IC_STOCKS/PutIC_STOCKS/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

IC_STOCKS
NameDescriptionTypeAdditional information
STOCK_ID

integer

None.

STOCK_NAME

string

None.

Request Formats

application/json, text/json

Sample:
{
  "STOCK_ID": 1,
  "STOCK_NAME": "sample string 2"
}

application/xml, text/xml

Sample:
<IC_STOCKS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamSud.Models">
  <STOCK_ID>1</STOCK_ID>
  <STOCK_NAME>sample string 2</STOCK_NAME>
</IC_STOCKS>

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

Response Information

Resource Description

None.